优化首页的统计图表
This commit is contained in:
@@ -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 @@
|
|||||||
loading: true,
|
loading: true,
|
||||||
center: null,
|
center: null,
|
||||||
statistics: {},
|
statistics: {},
|
||||||
|
yaxisText: '金额',
|
||||||
buyPriceData: [],
|
buyPriceData: [],
|
||||||
salePriceData: [],
|
salePriceData: [],
|
||||||
visitFields:['ip','visit'],
|
visitFields:['ip','visit'],
|
||||||
|
|||||||
Reference in New Issue
Block a user