Commit 8e5d7127 by zhangmengjie

23.4.7

parent b57580b8
......@@ -51,7 +51,7 @@
</template>
<script>
import { getCache } from "@/api/monitor/cache";
// import { getCache } from "@/api/monitor/cache";
import * as echarts from "echarts";
import { reportFormsGET} from '@/api/orderform/index'
......@@ -113,7 +113,7 @@ export default {
show: false
},
data: [
{ value: 300, name: '累计成交额' }
{ value: this.cache.totalMoney, name: '累计成交额' }
]
}
]
......@@ -148,7 +148,7 @@ export default {
show: false
},
data: [
{ value: 300, name: 'Video Ads' }
{ value: this.cache.accomplish, name: '已完成订单量' }
]
}
]
......@@ -183,7 +183,7 @@ export default {
show: false
},
data: [
{ value: 300, name: 'Video Ads' }
{ value: this.cache.reject, name: '已驳回订单量' }
]
}
]
......@@ -218,18 +218,18 @@ export default {
show: false
},
data: [
{ value: 300, name: 'Video Ads' }
{ value: this.cache.refund, name: '已退款订单量' }
]
}
]
});
this.usedmemory = echarts.init(this.$refs.usedmemory, "macarons");
this.usedmemory.setOption({
title: {
text: 'Referer of a Website',
subtext: 'Fake Data',
left: 'center'
},
// title: {
// text: 'Referer of a Website',
// subtext: 'Fake Data',
// left: 'center'
// },
tooltip: {
trigger: 'item'
},
......@@ -243,8 +243,8 @@ export default {
type: 'pie',
radius: '50%',
data: [
{ value: 1048, name: 'Search Engine' },
{ value: 735, name: 'Direct' },
{ value: this.cache.accomplish, name: '已完成订单' },
{ value: this.cache.contrastOrder, name: '未完成订单' },
],
emphasis: {
itemStyle: {
......
Markdown is supported
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