Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
confucius
Commits
efb65685
Commit
efb65685
authored
Jan 20, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
995e204f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
51 additions
and
81 deletions
+51
-81
todayData.vue
src/components/work/todayData.vue
+51
-81
No files found.
src/components/work/todayData.vue
View file @
efb65685
...
...
@@ -368,17 +368,23 @@
<div
class=
"Data_Right"
>
<div
class=
"Data_One"
>
<span
class=
"label_Day"
>
日
</span>
<span
class=
"label_Cule"
>
<span
class=
"label_Cule"
:class=
"
{'greenClass':calcPercent(ConsultObj.TrialLessonCount,ConsultObj.YestodayTrialLesson)>0}">
{{
calcPercent
(
ConsultObj
.
TrialLessonCount
,
ConsultObj
.
YestodayTrialLesson
)
}}
%
</span>
</div>
<div
class=
"Data_One"
>
<span
class=
"label_Day"
>
周
</span>
<span
class=
"label_Cule"
>
<span
class=
"label_Cule"
:class=
"
{'greenClass':calcPercent(ConsultObj.CurWeekTrialLesson,ConsultObj.LastWeekTrialLesson)>0}">
{{
calcPercent
(
ConsultObj
.
CurWeekTrialLesson
,
ConsultObj
.
LastWeekTrialLesson
)
}}
%
</span>
</div>
<div
class=
"Data_One"
>
<span
class=
"label_Day"
>
月
</span>
<span
class=
"label_Cule"
>
<span
class=
"label_Cule"
:class=
"
{'greenClass':calcPercent(ConsultObj.CurMonthTrialLesson,ConsultObj.LastMonthTrialLesson)>0}">
{{
calcPercent
(
ConsultObj
.
CurMonthTrialLesson
,
ConsultObj
.
LastMonthTrialLesson
)
}}
%
</span>
</div>
</div>
...
...
@@ -388,7 +394,7 @@
<div
class=
"Data_List"
>
<div
class=
"Data_Inner"
>
<div
class=
"Data_Title"
>
到访累计
</div>
<div
class=
"Data_Time"
>
{{
ConsultObj
.
DayStr
}}
周四
</div>
<div
class=
"Data_Time"
>
{{
ConsultObj
.
DayStr
}}
{{
ConsultObj
.
WeekStr
}}
</div>
<div
class=
"Data_wrapper"
>
<div
class=
"Data_Left"
>
<span
class=
"Data_Span"
>
{{
ConsultObj
.
VisitCount
}}
</span>
...
...
@@ -423,32 +429,29 @@
<div
class=
"Data_List"
>
<div
class=
"Data_Inner"
>
<div
class=
"Data_Title"
>
转化率
</div>
<div
class=
"Data_Time"
>
{{
ConsultObj
.
DayStr
}}
周四
</div>
<div
class=
"Data_Time"
>
{{
ConsultObj
.
DayStr
}}
{{
ConsultObj
.
WeekStr
}}
</div>
<div
class=
"Data_wrapper"
>
<div
class=
"Data_Left"
>
<span
class=
"Data_Span"
>
{{
ConsultObj
.
Rates
}}
</span>
<span
class=
"Data_Ci"
>
次
</span>
<span
class=
"Data_Ci"
>
%
</span>
</div>
<div
class=
"Data_Right"
>
<div
class=
"Data_One"
>
<span
class=
"label_Day"
>
日
</span>
<span
class=
"label_Cule"
:class=
"
{'greenClass':calcPercent(ConsultObj.Rates,ConsultObj.YestodayRates)>0}">
{{
calcPercent
(
ConsultObj
.
Rates
,
ConsultObj
.
YestodayRates
)
}}
%
<span
class=
"label_Day"
>
昨日
</span>
<span
class=
"label_Cule"
>
{{
ConsultObj
.
YestodayRates
}}
%
</span>
</div>
<div
class=
"Data_One"
>
<span
class=
"label_Day"
>
周
</span>
<span
class=
"label_Cule"
:class=
"
{'greenClass':calcPercent(ConsultObj.CurWeekRates,ConsultObj.LastWeekRates)>0}">
{{
calcPercent
(
ConsultObj
.
CurWeekRates
,
ConsultObj
.
LastWeekRates
)
}}
%
<span
class=
"label_Cule"
>
{{
ConsultObj
.
CurWeekRates
}}
%
</span>
</div>
<div
class=
"Data_One"
>
<span
class=
"label_Day"
>
月
</span>
<span
class=
"label_Cule"
:class=
"
{'greenClass':calcPercent(ConsultObj.CurMonthRates,ConsultObj.LastMonthRates)>0}">
{{
calcPercent
(
ConsultObj
.
CurMonthRates
,
ConsultObj
.
LastMonthRates
)
}}
%
<span
class=
"label_Cule"
>
{{
ConsultObj
.
CurMonthRates
}}
%
</span>
</div>
</div>
...
...
@@ -458,32 +461,32 @@
<div
class=
"Data_List"
>
<div
class=
"Data_Inner"
>
<div
class=
"Data_Title"
>
有效回访总量
</div>
<div
class=
"Data_Time"
>
{{
ConsultObj
.
DayStr
}}
周四
</div>
<div
class=
"Data_Time"
>
{{
ConsultObj
.
DayStr
}}
{{
ConsultObj
.
WeekStr
}}
</div>
<div
class=
"Data_wrapper"
>
<div
class=
"Data_Left"
>
<span
class=
"Data_Span"
>
{{
ConsultObj
.
Rates
}}
</span>
<span
class=
"Data_Span"
>
{{
ConsultObj
.
FollowCount
}}
</span>
<span
class=
"Data_Ci"
>
次
</span>
</div>
<div
class=
"Data_Right"
>
<div
class=
"Data_One"
>
<span
class=
"label_Day"
>
日
</span>
<span
class=
"label_Cule"
:class=
"
{'greenClass':calcPercent(ConsultObj.
Rates,ConsultObj.YestodayRates
)>0}">
{{
calcPercent
(
ConsultObj
.
Rates
,
ConsultObj
.
YestodayRates
)
}}
%
:class=
"
{'greenClass':calcPercent(ConsultObj.
FollowCount,ConsultObj.YestodayFollow
)>0}">
{{
calcPercent
(
ConsultObj
.
FollowCount
,
ConsultObj
.
YestodayFollow
)
}}
%
</span>
</div>
<div
class=
"Data_One"
>
<span
class=
"label_Day"
>
周
</span>
<span
class=
"label_Cule"
:class=
"
{'greenClass':calcPercent(ConsultObj.CurWeek
Rates,ConsultObj.LastWeekRates
)>0}">
{{
calcPercent
(
ConsultObj
.
CurWeek
Rates
,
ConsultObj
.
LastWeekRates
)
}}
%
:class=
"
{'greenClass':calcPercent(ConsultObj.CurWeek
Follow,ConsultObj.LastWeekFollow
)>0}">
{{
calcPercent
(
ConsultObj
.
CurWeek
Follow
,
ConsultObj
.
LastWeekFollow
)
}}
%
</span>
</div>
<div
class=
"Data_One"
>
<span
class=
"label_Day"
>
月
</span>
<span
class=
"label_Cule"
:class=
"
{'greenClass':calcPercent(ConsultObj.CurMonth
Rates,ConsultObj.LastMonthRates
)>0}">
{{
calcPercent
(
ConsultObj
.
CurMonth
Rates
,
ConsultObj
.
LastMonthRates
)
}}
%
:class=
"
{'greenClass':calcPercent(ConsultObj.CurMonth
Follow,ConsultObj.LastMonthFollow
)>0}">
{{
calcPercent
(
ConsultObj
.
CurMonth
Follow
,
ConsultObj
.
LastMonthFollow
)
}}
%
</span>
</div>
</div>
...
...
@@ -493,32 +496,29 @@
<div
class=
"Data_List"
>
<div
class=
"Data_Inner"
>
<div
class=
"Data_Title"
>
单资源回访平均数
</div>
<div
class=
"Data_Time"
>
{{
ConsultObj
.
DayStr
}}
周四
</div>
<div
class=
"Data_Time"
>
{{
ConsultObj
.
DayStr
}}
{{
ConsultObj
.
WeekStr
}}
</div>
<div
class=
"Data_wrapper"
>
<div
class=
"Data_Left"
>
<span
class=
"Data_Span"
>
{{
ConsultObj
.
Rates
}}
</span>
<span
class=
"Data_Span"
>
{{
ConsultObj
.
AgFollow
}}
</span>
<span
class=
"Data_Ci"
>
次
</span>
</div>
<div
class=
"Data_Right"
>
<div
class=
"Data_One"
>
<span
class=
"label_Day"
>
日
</span>
<span
class=
"label_Cule"
:class=
"
{'greenClass':calcPercent(ConsultObj.Rates,ConsultObj.YestodayRates)>0}">
{{
calcPercent
(
ConsultObj
.
Rates
,
ConsultObj
.
YestodayRates
)
}}
%
<span
class=
"label_Cule"
>
{{
ConsultObj
.
YestodayAgFollow
}}
%
</span>
</div>
<div
class=
"Data_One"
>
<span
class=
"label_Day"
>
周
</span>
<span
class=
"label_Cule"
:class=
"
{'greenClass':calcPercent(ConsultObj.CurWeekRates,ConsultObj.LastWeekRates)>0}">
{{
calcPercent
(
ConsultObj
.
CurWeekRates
,
ConsultObj
.
LastWeekRates
)
}}
%
<span
class=
"label_Cule"
>
{{
ConsultObj
.
CurWeekAgFollow
}}
%
</span>
</div>
<div
class=
"Data_One"
>
<span
class=
"label_Day"
>
月
</span>
<span
class=
"label_Cule"
:class=
"
{'greenClass':calcPercent(ConsultObj.CurMonthRates,ConsultObj.LastMonthRates)>0}">
{{
calcPercent
(
ConsultObj
.
CurMonthRates
,
ConsultObj
.
LastMonthRates
)
}}
%
<span
class=
"label_Cule"
>
{{
ConsultObj
.
CurMonthAgFollow
}}
%
</span>
</div>
</div>
...
...
@@ -527,33 +527,18 @@
</div>
<div
class=
"Data_List"
>
<div
class=
"Data_Inner"
>
<div
class=
"Data_Title"
>
当周新签数(以周为单位)
</div>
<div
class=
"Data_Time"
>
{{
ConsultObj
.
DayStr
}}
周四
</div>
<div
class=
"Data_Title"
>
本周新签数
</div>
<div
class=
"Data_Time"
>
{{
ConsultObj
.
DayStr
}}
{{
ConsultObj
.
WeekStr
}}
</div>
<div
class=
"Data_wrapper"
>
<div
class=
"Data_Left"
>
<span
class=
"Data_Span"
>
{{
ConsultObj
.
Rates
}}
</span>
<span
class=
"Data_Ci"
>
次
</span>
<span
class=
"Data_Span"
>
{{
ConsultObj
.
CurWeekOrderNum
}}
</span>
<span
class=
"Data_Ci"
>
单
</span>
</div>
<div
class=
"Data_Right"
>
<div
class=
"Data_One"
>
<span
class=
"label_Day"
>
日
</span>
<span
class=
"label_Cule"
:class=
"
{'greenClass':calcPercent(ConsultObj.Rates,ConsultObj.YestodayRates)>0}">
{{
calcPercent
(
ConsultObj
.
Rates
,
ConsultObj
.
YestodayRates
)
}}
%
</span>
</div>
<div
class=
"Data_One"
>
<span
class=
"label_Day"
>
周
</span>
<span
class=
"label_Cule"
:class=
"
{'greenClass':calcPercent(ConsultObj.CurWeekRates,ConsultObj.LastWeekRates)>0}">
{{
calcPercent
(
ConsultObj
.
CurWeekRates
,
ConsultObj
.
LastWeekRates
)
}}
%
</span>
</div>
<div
class=
"Data_One"
>
<span
class=
"label_Day"
>
月
</span>
<span
class=
"label_Cule"
:class=
"
{'greenClass':calcPercent(ConsultObj.CurMonthRates,ConsultObj.LastMonthRates)>0}">
{{
calcPercent
(
ConsultObj
.
CurMonthRates
,
ConsultObj
.
LastMonthRates
)
}}
%
<span
class=
"label_Day"
>
上周
</span>
<span
class=
"label_Cule"
>
{{
ConsultObj
.
LastWeekOrderNum
}}
单
</span>
</div>
</div>
...
...
@@ -562,33 +547,18 @@
</div>
<div
class=
"Data_List"
>
<div
class=
"Data_Inner"
>
<div
class=
"Data_Title"
>
当周签约金额(以周为单位)
</div>
<div
class=
"Data_Time"
>
{{
ConsultObj
.
DayStr
}}
周四
</div>
<div
class=
"Data_Title"
>
本周签约金额
</div>
<div
class=
"Data_Time"
>
{{
ConsultObj
.
DayStr
}}
{{
ConsultObj
.
WeekStr
}}
</div>
<div
class=
"Data_wrapper"
>
<div
class=
"Data_Left"
>
<span
class=
"Data_Span"
>
{{
ConsultObj
.
Rates
}}
</span>
<span
class=
"Data_Ci"
>
次
</span>
<span
class=
"Data_Span"
>
{{
ConsultObj
.
CurWeekOrderSale
}}
</span>
<span
class=
"Data_Ci"
>
元
</span>
</div>
<div
class=
"Data_Right"
>
<div
class=
"Data_One"
>
<span
class=
"label_Day"
>
日
</span>
<span
class=
"label_Cule"
:class=
"
{'greenClass':calcPercent(ConsultObj.Rates,ConsultObj.YestodayRates)>0}">
{{
calcPercent
(
ConsultObj
.
Rates
,
ConsultObj
.
YestodayRates
)
}}
%
</span>
</div>
<div
class=
"Data_One"
>
<span
class=
"label_Day"
>
周
</span>
<span
class=
"label_Cule"
:class=
"
{'greenClass':calcPercent(ConsultObj.CurWeekRates,ConsultObj.LastWeekRates)>0}">
{{
calcPercent
(
ConsultObj
.
CurWeekRates
,
ConsultObj
.
LastWeekRates
)
}}
%
</span>
</div>
<div
class=
"Data_One"
>
<span
class=
"label_Day"
>
月
</span>
<span
class=
"label_Cule"
:class=
"
{'greenClass':calcPercent(ConsultObj.CurMonthRates,ConsultObj.LastMonthRates)>0}">
{{
calcPercent
(
ConsultObj
.
CurMonthRates
,
ConsultObj
.
LastMonthRates
)
}}
%
<span
class=
"label_Cule"
>
{{
ConsultObj
.
LastWeekOrderSale
}}
%
</span>
</div>
</div>
...
...
@@ -598,11 +568,11 @@
<div
class=
"Data_List"
>
<div
class=
"Data_Inner"
>
<div
class=
"Data_Title"
>
新签数累计
</div>
<div
class=
"Data_Time"
>
{{
ConsultObj
.
DayStr
}}
周四
</div>
<div
class=
"Data_Time"
>
{{
ConsultObj
.
DayStr
}}
{{
ConsultObj
.
WeekStr
}}
</div>
<div
class=
"Data_wrapper"
>
<div
class=
"Data_Left"
>
<span
class=
"Data_Span"
>
{{
ConsultObj
.
Rates
}}
</span>
<span
class=
"Data_Ci"
>
次
</span>
<span
class=
"Data_Ci"
>
单
</span>
</div>
<div
class=
"Data_Right"
>
<div
class=
"Data_One"
>
...
...
@@ -756,7 +726,7 @@
data
()
{
return
{
dateList
:
[],
comType
:
1
,
//1-市场部;2-课程顾问部
comType
:
2
,
//1-市场部;2-课程顾问部
msg
:
{
startTime
:
""
,
endTime
:
""
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment