Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
glsk-data-view-pd
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 abf27aae
authored
Aug 02, 2023
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.0.0' into v1.3.0
2 parents
4d20eebc
39910d7b
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
27 additions
and
18 deletions
src/components/PieChart.vue
src/views/boutique/BarOptions.js
src/views/boutique/BoutiqueLeft.vue
src/views/boutique/rightCompoments/BarTrends.vue
src/views/boutique/rightCompoments/BusinessTrends.vue
src/views/boutique/rightCompoments/MerchantsRanking.vue
src/views/boutique/rightCompoments/StaffRanking.vue
src/views/boutique/rightCompoments/StoreMap.vue
src/views/boutiqueDetail/BusinessDetailTrends.vue
src/views/boutiqueDetail/GoodsPayPropertion.vue
src/views/boutiqueDetail/GoodsSupplierPropertion.vue
src/views/solar/RightViewContent.vue
src/components/PieChart.vue
View file @
abf27aa
...
@@ -53,7 +53,8 @@ export default {
...
@@ -53,7 +53,8 @@ export default {
formatterName
:
{
formatterName
:
{
type
:
String
,
type
:
String
,
default
:
''
default
:
''
}
},
formtUnit
:
String
},
},
data
()
{
data
()
{
...
@@ -161,7 +162,7 @@ export default {
...
@@ -161,7 +162,7 @@ export default {
_html
=
`{a|¥
${
_purchaseamount
}
}\n{b|均价¥
${
_avarage
}
}`
_html
=
`{a|¥
${
_purchaseamount
}
}\n{b|均价¥
${
_avarage
}
}`
break
break
case
'total'
:
case
'total'
:
_html
=
`
${
_this
.
formatterName
}
\n
${
_totalValue
}
`
_html
=
`
${
_this
.
formatterName
}
\n
{c|
${
_totalValue
}${
_this
.
formtUnit
||
''
}
}`
break
break
case
'none'
:
case
'none'
:
_html
=
''
_html
=
''
...
@@ -179,6 +180,9 @@ export default {
...
@@ -179,6 +180,9 @@ export default {
color
:
'#ffffff66'
,
color
:
'#ffffff66'
,
fontSize
:
'12px'
,
fontSize
:
'12px'
,
lineHeight
:
'28'
lineHeight
:
'28'
},
c
:
{
lineHeight
:
'20'
}
}
}
}
}
}
...
...
src/views/boutique/BarOptions.js
View file @
abf27aa
...
@@ -20,7 +20,7 @@ function getBarLineOptions(obj) {
...
@@ -20,7 +20,7 @@ function getBarLineOptions(obj) {
data
:
[]
data
:
[]
},
},
yAxis
:
{
yAxis
:
{
name
:
''
,
name
:
'
家
'
,
type
:
'value'
,
type
:
'value'
,
// min: 0,
// min: 0,
// max: 100,
// max: 100,
...
...
src/views/boutique/BoutiqueLeft.vue
View file @
abf27aa
...
@@ -132,7 +132,7 @@ export default {
...
@@ -132,7 +132,7 @@ export default {
value
:
'0'
value
:
'0'
}
}
],
],
tabList
:
[
'
业务趋势
'
,
'区域门店数据'
],
tabList
:
[
'
趋势分析
'
,
'区域门店数据'
],
activeName
:
0
activeName
:
0
}
}
},
},
...
...
src/views/boutique/rightCompoments/BarTrends.vue
View file @
abf27aa
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
-->
-->
<
template
>
<
template
>
<div
class=
"trends-box"
>
<div
class=
"trends-box"
>
<box-title
title=
"
业务趋势
"
></box-title>
<box-title
title=
"
趋势分析
"
></box-title>
<BarChart
ref=
"barTrendsRef"
height=
"44.89vh"
domId=
"barTrends"
:dataList
.
sync=
"dataList"
:tooltipFormatterObj=
"tooltipFormatterObj"
></BarChart>
<BarChart
ref=
"barTrendsRef"
height=
"44.89vh"
domId=
"barTrends"
:dataList
.
sync=
"dataList"
:tooltipFormatterObj=
"tooltipFormatterObj"
></BarChart>
<div
class=
"legend"
>
<div
class=
"legend"
>
<div
class=
"legend-item"
>
<div
class=
"legend-item"
>
...
...
src/views/boutique/rightCompoments/BusinessTrends.vue
View file @
abf27aa
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
-->
-->
<
template
>
<
template
>
<div
class=
"trends-box"
>
<div
class=
"trends-box"
>
<box-title
title=
"
业务趋势
"
></box-title>
<box-title
title=
"
趋势分析
"
></box-title>
<div
v-if=
"!isEmpty"
>
<div
v-if=
"!isEmpty"
>
<div
class=
"legend"
>
<div
class=
"legend"
>
<div
class=
"legend-item"
>
<div
class=
"legend-item"
>
...
...
src/views/boutique/rightCompoments/MerchantsRanking.vue
View file @
abf27aa
...
@@ -63,8 +63,9 @@ export default {
...
@@ -63,8 +63,9 @@ export default {
// },
// },
{
{
name
:
'num'
,
name
:
'num'
,
width
:
'6vw'
,
width
:
'8vw'
,
type
:
'number'
type
:
'number'
,
preunit
:
'¥'
}
}
],
],
rankPercentObj
:
[
rankPercentObj
:
[
...
...
src/views/boutique/rightCompoments/StaffRanking.vue
View file @
abf27aa
...
@@ -45,12 +45,13 @@ export default {
...
@@ -45,12 +45,13 @@ export default {
},
},
{
{
name
:
'merchantname'
,
name
:
'merchantname'
,
width
:
'
9.7
2vw'
width
:
'
1
2vw'
},
},
{
{
name
:
'num'
,
name
:
'num'
,
width
:
'5.5vw'
,
width
:
'6.5vw'
,
type
:
'number'
type
:
'number'
,
preunit
:
'¥'
}
}
],
],
rankPercentObj
:
[
rankPercentObj
:
[
...
@@ -60,11 +61,11 @@ export default {
...
@@ -60,11 +61,11 @@ export default {
},
},
{
{
name
:
'merchantname'
,
name
:
'merchantname'
,
width
:
'
9.7
2vw'
width
:
'
1
2vw'
},
},
{
{
name
:
'num'
,
name
:
'num'
,
width
:
'
4
vw'
,
width
:
'
3
vw'
,
type
:
'decimal'
type
:
'decimal'
}
}
]
]
...
...
src/views/boutique/rightCompoments/StoreMap.vue
View file @
abf27aa
...
@@ -39,7 +39,8 @@ export default {
...
@@ -39,7 +39,8 @@ export default {
width
:
'9.72vw'
width
:
'9.72vw'
},
},
{
{
name
:
'num'
name
:
'num'
,
sufunit
:
'家'
}
}
],
],
isEmpty
:
false
isEmpty
:
false
...
...
src/views/boutiqueDetail/BusinessDetailTrends.vue
View file @
abf27aa
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
-->
-->
<
template
>
<
template
>
<div
class=
"trends-box"
>
<div
class=
"trends-box"
>
<box-title
title=
"
业务趋势
"
></box-title>
<box-title
title=
"
趋势分析
"
></box-title>
<div
v-if=
"!isEmpty"
>
<div
v-if=
"!isEmpty"
>
<div
class=
"legend"
>
<div
class=
"legend"
>
<div
class=
"legend-item"
>
<div
class=
"legend-item"
>
...
...
src/views/boutiqueDetail/GoodsPayPropertion.vue
View file @
abf27aa
...
@@ -37,7 +37,8 @@ export default {
...
@@ -37,7 +37,8 @@ export default {
height
:
'15.34vh'
,
height
:
'15.34vh'
,
colors
:
[
'#34AFFF'
,
'#16E193'
,
'#FFC200'
],
colors
:
[
'#34AFFF'
,
'#16E193'
,
'#FFC200'
],
formatter
:
'total'
,
formatter
:
'total'
,
formatterName
:
'支付订单'
formatterName
:
'支付订单'
,
formtUnit
:
'单'
},
},
goodsPayLegend
:
[
goodsPayLegend
:
[
{
{
...
...
src/views/boutiqueDetail/GoodsSupplierPropertion.vue
View file @
abf27aa
...
@@ -44,7 +44,8 @@ export default {
...
@@ -44,7 +44,8 @@ export default {
height
:
'15.34vh'
,
height
:
'15.34vh'
,
colors
:
[
'#16E193'
,
'#34AFFF'
],
colors
:
[
'#16E193'
,
'#34AFFF'
],
formatter
:
'total'
,
formatter
:
'total'
,
formatterName
:
'总商品数'
formatterName
:
'总商品数'
,
formtUnit
:
'件'
},
},
propertionLegend
:
[
propertionLegend
:
[
{
{
...
...
src/views/solar/RightViewContent.vue
View file @
abf27aa
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
-->
-->
<
template
>
<
template
>
<div
class=
"main-box"
>
<div
class=
"main-box"
>
<pie-chart
class=
"pie-chart"
:id=
"chart.id"
:list=
"listData"
:keys=
"chart.keys"
:formatter=
"chart.formatter"
:formatterName=
"chart.formatterName"
:height=
"chart.height"
:colors=
"chart.colors"
></pie-chart>
<pie-chart
class=
"pie-chart"
:id=
"chart.id"
:list=
"listData"
:keys=
"chart.keys"
:formatter=
"chart.formatter"
:formatterName=
"chart.formatterName"
:height=
"chart.height"
:colors=
"chart.colors"
:formtUnit=
"chart.formtUnit"
></pie-chart>
<Legend
class=
"legend"
:list=
"listData"
:legentList=
"legentList"
:colors=
"legendColors"
></Legend>
<Legend
class=
"legend"
:list=
"listData"
:legentList=
"legentList"
:colors=
"legendColors"
></Legend>
</div>
</div>
</
template
>
</
template
>
...
...
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