Commit 98a71b05 authored by 季圣华's avatar 季圣华
Browse files

优化首页的统计图表

parent 536f5603
...@@ -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'],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment