Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
98a71b05
Commit
98a71b05
authored
Sep 18, 2021
by
季圣华
Browse files
优化首页的统计图表
parent
536f5603
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/dashboard/IndexChart.vue
View file @
98a71b05
...
@@ -37,12 +37,12 @@
...
@@ -37,12 +37,12 @@
<a-row
:gutter=
"24"
>
<a-row
:gutter=
"24"
>
<a-col
:sm=
"24"
:md=
"12"
:xl=
"12"
:style=
"
{ marginBottom: '24px' }">
<a-col
:sm=
"24"
:md=
"12"
:xl=
"12"
:style=
"
{ marginBottom: '24px' }">
<a-card
:loading=
"loading"
:bordered=
"false"
:body-style=
"
{paddingRight: '5'}">
<a-card
:loading=
"loading"
:bordered=
"false"
:body-style=
"
{paddingRight: '5'}">
<bar
title=
"销售统计"
:dataSource=
"salePriceData"
/>
<bar
title=
"销售统计"
:yaxisText=
"yaxisText"
:dataSource=
"salePriceData"
/>
</a-card>
</a-card>
</a-col>
</a-col>
<a-col
:sm=
"24"
:md=
"12"
:xl=
"12"
:style=
"
{ marginBottom: '24px' }">
<a-col
:sm=
"24"
:md=
"12"
:xl=
"12"
:style=
"
{ marginBottom: '24px' }">
<a-card
:loading=
"loading"
:bordered=
"false"
:body-style=
"
{paddingRight: '5'}">
<a-card
:loading=
"loading"
:bordered=
"false"
:body-style=
"
{paddingRight: '5'}">
<bar
title=
"采购统计"
:dataSource=
"buyPriceData"
/>
<bar
title=
"采购统计"
:yaxisText=
"yaxisText"
:dataSource=
"buyPriceData"
/>
</a-card>
</a-card>
</a-col>
</a-col>
</a-row>
</a-row>
...
@@ -94,6 +94,7 @@
...
@@ -94,6 +94,7 @@
loading
:
true
,
loading
:
true
,
center
:
null
,
center
:
null
,
statistics
:
{},
statistics
:
{},
yaxisText
:
'
金额
'
,
buyPriceData
:
[],
buyPriceData
:
[],
salePriceData
:
[],
salePriceData
:
[],
visitFields
:[
'
ip
'
,
'
visit
'
],
visitFields
:[
'
ip
'
,
'
visit
'
],
...
...
Write
Preview
Supports
Markdown
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