Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
rd-data-screen
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f8ca975b
authored
Jun 26, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
更新sass+代码
1 parent
f7125f68
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
17 deletions
src/components/Legend.vue
src/components/PieChart.vue
src/views/equity/components/EquityContentLeft.vue
src/views/sassPlus/conversionPlus/conversionLeft.vue
src/components/Legend.vue
View file @
f8ca975
...
@@ -25,7 +25,7 @@ export default {
...
@@ -25,7 +25,7 @@ export default {
},
},
colors
:
{
colors
:
{
type
:
Array
,
type
:
Array
,
default
:
()
=>
[
'#FF6E76'
,
'#7CFFB2'
,
' #FDF006'
,
'#4FA0FF'
,
'#EB6001'
,
'#BF98FF'
,
'#
BF98FF'
,
'#58D9F9
'
]
default
:
()
=>
[
'#FF6E76'
,
'#7CFFB2'
,
' #FDF006'
,
'#4FA0FF'
,
'#EB6001'
,
'#BF98FF'
,
'#
58D9F9'
,
'#C1EBDD'
,
'#FFC851'
,
'#5A5476
'
]
}
}
},
},
watch
:
{
watch
:
{
...
...
src/components/PieChart.vue
View file @
f8ca975
...
@@ -39,7 +39,7 @@ export default {
...
@@ -39,7 +39,7 @@ export default {
},
},
colors
:
{
colors
:
{
type
:
Array
,
type
:
Array
,
default
:
()
=>
[
'#FF6E76'
,
'#7CFFB2'
,
' #FDF006'
,
'#4FA0FF'
,
'#EB6001'
,
'#BF98FF'
,
'#58D9F9'
]
default
:
()
=>
[
'#FF6E76'
,
'#7CFFB2'
,
' #FDF006'
,
'#4FA0FF'
,
'#EB6001'
,
'#BF98FF'
,
'#58D9F9'
,
'#C1EBDD'
,
'#FFC851'
,
'#5A5476'
]
},
},
size
:
{
size
:
{
type
:
String
,
type
:
String
,
...
@@ -106,7 +106,7 @@ export default {
...
@@ -106,7 +106,7 @@ export default {
color
:
this
.
colors
,
color
:
this
.
colors
,
series
:
[
series
:
[
{
{
name
:
'客户年龄分布'
,
//
name: '客户年龄分布',
type
:
'pie'
,
type
:
'pie'
,
radius
:
this
.
radius
,
radius
:
this
.
radius
,
center
:
[
'50%'
,
'50%'
],
center
:
[
'50%'
,
'50%'
],
...
@@ -124,15 +124,14 @@ export default {
...
@@ -124,15 +124,14 @@ export default {
show
:
true
,
show
:
true
,
fontSize
:
this
.
size
,
fontSize
:
this
.
size
,
fontWeight
:
'bold'
,
fontWeight
:
'bold'
,
color
:
'#fff'
,
color
:
'#fff'
,
formatter
:
'{d}%'
formatter
:
'{d}%'
}
}
},
},
labelLine
:
{
labelLine
:
{
show
:
false
show
:
false
},
},
data
:
this
.
viewData
,
data
:
this
.
viewData
minAngle
:
30
}
}
]
]
}
}
...
...
src/views/equity/components/EquityContentLeft.vue
View file @
f8ca975
...
@@ -18,10 +18,14 @@
...
@@ -18,10 +18,14 @@
</div>
</div>
</div>
</div>
<div
class=
'day-trend'
>
<div
class=
'day-trend'
>
<view-sub-title
title=
'每
日
订单成功门店数趋势'
/>
<view-sub-title
title=
'每
月
订单成功门店数趋势'
/>
<div
class=
'line-bar-chart'
>
<div
class=
'line-bar-chart'
>
<LineBar
domId=
'dayTrend'
:isDatazoom=
'true'
:dataList=
'dayTrend'
:displayName=
'displayName'
<LineBar
boxHeight=
'46vh'
></LineBar>
domId=
'dayTrend'
:isDatazoom=
'true'
:dataList=
'dayTrend'
:displayName=
'displayName'
boxHeight=
'46vh'
></LineBar>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -42,8 +46,8 @@ export default {
...
@@ -42,8 +46,8 @@ export default {
components
:
{
RankContent
,
EquityOrder
,
SelectOptions
,
LineBar
},
components
:
{
RankContent
,
EquityOrder
,
SelectOptions
,
LineBar
},
data
()
{
data
()
{
return
{
return
{
orderList
:
null
,
//
订单
orderList
:
null
,
//
订单
memberMonthlyTrend
:
null
,
//
近12个月订单量、订单收入趋势
memberMonthlyTrend
:
null
,
//
近12个月订单量、订单收入趋势
dayTrend
:
null
,
dayTrend
:
null
,
displayName
:
{
displayName
:
{
xName
:
'statDate'
,
xName
:
'statDate'
,
...
@@ -76,9 +80,9 @@ export default {
...
@@ -76,9 +80,9 @@ export default {
//
//
this
.
getMemberMonthlyTrend
()
// 获取月度趋势
this
.
getMemberMonthlyTrend
()
// 获取月度趋势
this
.
getMerchantOrderNumTrend
()
//每日订单成功的门店数趋势
this
.
getMerchantOrderNumTrend
()
//
每日订单成功的门店数趋势
this
.
getTotalRate
()
//获取订单总数、今年新增订单量、收入总额的占比
this
.
getTotalRate
()
//
获取订单总数、今年新增订单量、收入总额的占比
},
},
handleParamsAndMethod
(
methodName
,
resName
,
hasEmitEvent
)
{
handleParamsAndMethod
(
methodName
,
resName
,
hasEmitEvent
)
{
...
@@ -89,7 +93,6 @@ export default {
...
@@ -89,7 +93,6 @@ export default {
}
else
{
}
else
{
this
[
resName
]
=
res
.
data
.
dataList
this
[
resName
]
=
res
.
data
.
dataList
}
}
}
}
})
})
},
},
...
...
src/views/sassPlus/conversionPlus/conversionLeft.vue
View file @
f8ca975
...
@@ -38,10 +38,10 @@ export default {
...
@@ -38,10 +38,10 @@ export default {
data
()
{
data
()
{
return
{
return
{
diffsTitle
:
{
diffsTitle
:
{
'transWork'
:
'各
类商品每月订单数
'
,
'transWork'
:
'各
月各商品订单量排名
'
,
'expandedGold'
:
'各
活动场次订单量
'
,
'expandedGold'
:
'各
月各活动订单量排名
'
,
'crowdFunding'
:
'各月各商品订单量排名'
,
'crowdFunding'
:
'各月各商品订单量排名'
,
'noWorries'
:
'各
类商品每月订单数
'
'noWorries'
:
'各
月各商品订单量排名
'
},
},
diffsGoodsName
:
{
diffsGoodsName
:
{
'transWork'
:
'goodsName'
,
'transWork'
:
'goodsName'
,
...
...
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