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
2c82be36
Commit
2c82be36
authored
Jan 20, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
d6284daa
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
20 deletions
+12
-20
todayData.vue
src/components/work/todayData.vue
+12
-20
No files found.
src/components/work/todayData.vue
View file @
2c82be36
...
...
@@ -122,9 +122,10 @@
.label_Day
{
color
:
rgba
(
0
,
0
,
0
,
.5
);
font-size
:
14px
;
width
:
25
px
;
width
:
30
px
;
display
:
inline-block
;
text-align
:
left
;
text-align
:
right
;
margin-right
:
5px
;
}
.label_Number
{
...
...
@@ -445,7 +446,7 @@
<div
class=
"Data_One"
>
<span
class=
"label_Day"
>
昨日
</span>
<span
class=
"label_Cule"
>
{{
ConsultObj
.
YestodayRates
}}
%
{{
ConsultObj
.
YestodayRates
}}
%
</span>
</div>
<div
class=
"Data_One"
>
...
...
@@ -620,15 +621,14 @@
<span
class=
"Data_Span"
>
{{
ConsultObj
.
CurMonthOrderGoal
}}
</span>
<span
class=
"Data_Ci"
>
元
</span>
</div>
<div
class=
"Data_Right"
>
<div
class=
"Data_Right"
style=
"width:101px;"
>
<div
class=
"Data_One"
>
<span
class=
"label_Day"
>
完成进度
</span>
<span
class=
"label_Day"
style=
"width:56px;"
>
完成进度
</span>
<span
class=
"label_Cule"
:class=
"
{'greenClass':calcPercent(ConsultObj.CurMonthOrderSale,ConsultObj.CurMonthOrderGoal)>0}">
{{
calcPercent
(
ConsultObj
.
CurMonthOrderSale
,
ConsultObj
.
CurMonthOrderGoal
)
}}
%
</span>
</div>
</div>
</div>
</div>
...
...
@@ -867,26 +867,18 @@
this
.
series
[
0
].
data
=
[];
this
.
series
[
1
].
data
=
[];
this
.
series
[
2
].
data
=
[];
let
xArray
=
[];
tempData
.
forEach
(
x
=>
{
this
.
series
[
0
].
data
.
push
(
x
.
ClueCount
);
this
.
series
[
1
].
data
.
push
(
x
.
VisitCount
);
this
.
series
[
2
].
data
.
push
(
x
.
TrialLessonCount
);
xArray
.
push
(
x
.
DayStr
);
// this.chartOptions.xaxis.categories.push(x.DayStr);
this
.
chartOptions
.
xaxis
.
categories
.
push
(
x
.
DayStr
);
})
if
(
xArray
&&
xArray
.
length
>
0
)
{
// this.chartOptions = {
// xaxis: {
// categories: this.xArray
// }
// }
this
.
chartOptions
.
xaxis
.
categories
=
xArray
;
}
setTimeout
(()
=>
{
this
.
$refs
.
apex
.
updateSeries
(
this
.
series
)
},
200
)
this
.
$refs
.
apex
.
updateOptions
(
this
.
chartOptions
)
this
.
$refs
.
apex
.
resetSeries
()
// this.$refs.apex.updateSeries(this.series)
},
500
)
}
});
},
...
...
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