Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-report
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
4
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 46ebb05a
authored
Feb 10, 2022
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
d5d413d9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
9 deletions
src/assets/css/index.scss
src/components/Statistics.vue
src/components/StoresRanking.vue
src/assets/css/index.scss
View file @
46ebb05
...
@@ -152,18 +152,19 @@ color: #333333;
...
@@ -152,18 +152,19 @@ color: #333333;
padding
:
10px
;
padding
:
10px
;
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
/
deep
/
.time
{
.time
{
color
:
#a9a9a9
;
color
:
#a9a9a9
;
}
}
/
deep
/
.item
,
.item
,
/
deep
/
.time
{
.time
{
width
:
100%
;
width
:
100%
;
text-align
:
left
;
text-align
:
left
;
font-size
:
12px
;
font-size
:
12px
;
}
}
/
deep
/
.arc
{
.arc
{
border-radius
:
100%
;
border-radius
:
100%
;
font-size
:
5px
;
font-size
:
5px
;
margin-right
:
4px
;
margin-right
:
4px
;
}
}
}
}
\ No newline at end of file
\ No newline at end of file
src/components/Statistics.vue
View file @
46ebb05
...
@@ -15,11 +15,11 @@
...
@@ -15,11 +15,11 @@
<div
class=
"flex-between"
>
<div
class=
"flex-between"
>
<
template
v-if=
"statisticsObj.new&&statisticsObj.new.length > 0"
>
<
template
v-if=
"statisticsObj.new&&statisticsObj.new.length > 0"
>
<van-swipe
:loop=
"false"
:show-indicators=
"false"
:width=
"200"
>
<van-swipe
:loop=
"false"
:show-indicators=
"false"
:width=
"200"
>
<template
v-for=
"
add
in statisticsObj.new"
>
<template
v-for=
"
(add,addIndex)
in statisticsObj.new"
>
<van-swipe-item
class=
"container"
:key=
"add.id + 'new'"
>
<van-swipe-item
class=
"container"
:key=
"add.id + 'new'"
>
<div
class=
"text-message"
>
{{
add
.
title
}}
</div>
<div
class=
"text-message"
>
{{
add
.
title
}}
</div>
<div
class=
"flex-between"
>
<div
class=
"flex-between"
>
<span
class=
"add-count"
><label
v-if=
"tabIndex == 1"
>
¥
</label>
{{
add
.
value
(
reportData
)
}}
</span>
<span
class=
"add-count"
><label
v-if=
"tabIndex == 1"
>
<template
v-if=
"addIndex == 0"
>
¥
</
template
>
</label>
{{ add.value(reportData) }}
</span>
<
template
v-if=
"add.sequential(reportData)"
>
<
template
v-if=
"add.sequential(reportData)"
>
<div
class=
"ratio text-message flex"
>
<div
class=
"ratio text-message flex"
>
<!--
{{
reportType
==
0
?
'周环比'
:
'月环比'
}}
-->
<!--
{{
reportType
==
0
?
'周环比'
:
'月环比'
}}
-->
...
...
src/components/StoresRanking.vue
View file @
46ebb05
...
@@ -56,9 +56,10 @@ export default {
...
@@ -56,9 +56,10 @@ export default {
1
:
'商城订单'
,
1
:
'商城订单'
,
2
:
'直播订单'
,
2
:
'直播订单'
,
3
:
'活动订单'
,
3
:
'活动订单'
,
4
:
'门店套餐'
,
4
:
'门店
服务
套餐'
,
5
:
'精品升级'
,
5
:
'精品升级'
,
6
:
'权益提单'
6
:
'权益提单'
,
7
:
'商城订单'
}
}
}
}
},
},
...
@@ -126,7 +127,7 @@ export default {
...
@@ -126,7 +127,7 @@ export default {
this
.
chart
.
pieLabel
({
this
.
chart
.
pieLabel
({
sidePadding
:
10
,
sidePadding
:
10
,
activeShape
:
true
,
activeShape
:
true
,
label1
(
data
,
color
)
{
label1
(
data
,
color
)
{
return
{
return
{
text
:
`
${
orderSource
[
data
.
orderSource
]}
-占
${
data
.
newProductionValueRate
}
`
,
text
:
`
${
orderSource
[
data
.
orderSource
]}
-占
${
data
.
newProductionValueRate
}
`
,
fill
:
color
fill
:
color
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment