diff --git a/src/view/VHome.vue b/src/view/VHome.vue index 1cf8d1c..628b7cd 100644 --- a/src/view/VHome.vue +++ b/src/view/VHome.vue @@ -153,10 +153,10 @@ export default { orgIds: this.GLOBAL.orignId }).then((response)=>{ let data = response.data.data - this.incometotal = data.totalPay + this.incometotal = (data.totalPay/100).toFixed(0) this.barChartData = { - seriesData:[data.aliPay,data.wxPay,data.otherPay], - total:1 + seriesData:[(data.aliPay/100).toFixed(0),(data.wxPay/100).toFixed(0),(data.otherPay/100).toFixed(0)], + total:(data.totalPay/100).toFixed(0) } }).catch((response)=>{ console.log(response);