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
e9b7d58f
Commit
e9b7d58f
authored
Dec 28, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e6673f14
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
20 deletions
+23
-20
commission.vue
src/components/work/commission.vue
+1
-1
sell.vue
src/components/work/sell.vue
+22
-19
No files found.
src/components/work/commission.vue
View file @
e9b7d58f
...
...
@@ -98,7 +98,7 @@
</div>
</div>
<div
class=
"statistic-block flex wrap justify-center content-center"
>
<div
class=
"statistic-price full-width flex justify-center items-baseline"
>
<div
class=
"statistic-price full-width flex
no-wrap
justify-center items-baseline"
>
<span
class=
"before"
>
¥
</span>
{{
formatInt
(
commissionData
.
WaitCommission
)
||
0
}}
<span
class=
"after"
>
{{
formatDecimal
(
commissionData
.
WaitCommission
)
}}
</span>
...
...
src/components/work/sell.vue
View file @
e9b7d58f
...
...
@@ -7,7 +7,7 @@
<div
class=
"sell-title"
>
市场/销售
</div>
</div>
</div>
<VueApexCharts
width=
"100%"
height=
"105"
:options=
"chartOptions"
:series=
"series"
>
<VueApexCharts
width=
"100%"
height=
"105"
:options=
"chartOptions"
:series=
"series"
ref=
"apex"
v-if=
"sellBlock!==2"
>
</VueApexCharts>
</div>
<div
class=
"bottom flex justify-between content-between"
>
...
...
@@ -69,7 +69,7 @@
</div>
</div>
<div
class=
"sell-block"
:class=
"
{'active-sell':sellBlock==3}" style="background-color:#E8FFF3"
@click="ckeckSell(3)">
@click="ckeckSell(3
,'到访','VisitCount'
)">
<div
class=
"flex no-wrap justify-between items-center"
>
<img
src=
"../../assets/images/newindex/sell3.png"
style=
"width:26px;height:26px"
>
<q-btn
size=
"sm"
dense
flat
round
icon=
"more_horiz"
>
...
...
@@ -98,7 +98,7 @@
</div>
</div>
<div
class=
"sell-block"
:class=
"
{'active-sell':sellBlock==4}" style="background-color:#F2FAFF;"
@click="ckeckSell(4)">
@click="ckeckSell(4
,'拜访','appointmentCount'
)">
<div
class=
"flex no-wrap justify-between items-center"
>
<img
src=
"../../assets/images/newindex/sell4.png"
style=
"width:26px;height:26px"
>
<q-btn
size=
"sm"
dense
flat
round
icon=
"more_horiz"
>
...
...
@@ -127,7 +127,7 @@
</div>
</div>
<div
class=
"sell-block"
:class=
"
{'active-sell':sellBlock==5}" style="background-color:#FFFAF5"
@click="ckeckSell(5)">
@click="ckeckSell(5
,'新同行','customerCount'
)">
<div
class=
"flex no-wrap justify-between items-center"
>
<img
src=
"../../assets/images/newindex/sell5.png"
style=
"width:26px;height:26px"
>
<q-btn
size=
"sm"
dense
flat
round
icon=
"more_horiz"
>
...
...
@@ -156,7 +156,7 @@
</div>
</div>
<div
class=
"sell-block"
:class=
"
{'active-sell':sellBlock==6}" style="background-color:#FEF4FE"
@click="ckeckSell(6)">
@click="ckeckSell(6
,'试听','trialLessonCount'
)">
<div
class=
"flex no-wrap justify-between items-center"
>
<img
src=
"../../assets/images/newindex/sell6.png"
style=
"width:26px;height:26px"
>
<q-btn
size=
"sm"
dense
flat
round
icon=
"more_horiz"
>
...
...
@@ -200,7 +200,7 @@
data
()
{
return
{
series
:
[{
name
:
"
新名单
"
,
name
:
""
,
data
:
[]
}],
chartOptions
:
{
...
...
@@ -248,26 +248,28 @@
getPersionNumData
()
{
queryPersonnelStatic
({}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
console
.
log
(
251
,
res
.
Data
)
this
.
PersionData
=
res
.
Data
;
this
.
ckeckSell
(
1
,
'新名单'
,
'AddCount'
)
this
.
ckeckSell
(
1
,
'新名单'
,
'AddCount'
)
}
});
},
ckeckSell
(
n
,
name
,
field
)
{
ckeckSell
(
n
,
name
,
field
)
{
this
.
sellBlock
=
n
;
this
.
series
[
0
].
name
=
name
;
this
.
series
[
0
].
data
=
[]
this
.
PersionData
.
dayList
.
map
(
item
=>
{
const
obj
=
{
x
:
item
.
x
,
y
:
item
[
field
]
}
this
.
series
[
0
].
data
.
push
(
obj
)
})
if
(
n
==
2
)
return
this
.
series
[
0
].
name
=
name
;
this
.
series
[
0
].
data
=
[]
this
.
PersionData
.
dayList
.
map
(
item
=>
{
const
obj
=
{
x
:
item
.
x
,
y
:
item
[
field
]
}
this
.
series
[
0
].
data
.
push
(
obj
)
})
this
.
$refs
.
apex
.
updateSeries
(
this
.
series
)
}
}
};
</
script
>
<
style
lang=
"scss"
scoped
>
.sell
{
...
...
@@ -340,4 +342,5 @@
.active-sell
{
box-shadow
:
1px
3px
49px
0px
rgba
(
0
,
158
,
247
,
0
.28
);
}
</
style
>
\ No newline at end of file
</
style
>
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