浏览代码

【ID1006555】bug修复

chenrui 4 年之前
父节点
当前提交
0085b7d766
共有 1 个文件被更改,包括 7 次插入7 次删除
  1. 7 7
      src/views/cleanManage/statisticalReport.vue

+ 7 - 7
src/views/cleanManage/statisticalReport.vue

@@ -393,15 +393,15 @@ export default {
       this.XdaysData1 = [] // x轴置空
       // 各回收物类型占比
       this.totalGroupRubbiData = {
-		  cleanWeight: 0,
-		  cleanReportData: []
+        cleanWeight: 0,
+        cleanReportData: []
       }
       // 各清运司机占比
       this.totalGroupUserData = {
-		  cleanWeight: 0,
-		  cleanReportData: []
+        cleanWeight: 0,
+        cleanReportData: []
       }
-	  // 重置清运量趋势图表数据
+      // 重置清运量趋势图表数据
       this.clearnChartData[0].data = []
       this.clearnChartData[1].data = []
       // 重置各回收物类型清运数据
@@ -434,8 +434,8 @@ export default {
       findTotalGroupDate(params).then(res => {
         console.log(res, '清运量趋势')
         if (res.status == 200) {
-          const a = res.data.cleanReportData
-          const b = res.data.deliveryReportData
+          const a = res.data.deliveryReportData
+          const b = res.data.cleanReportData
           for (const key in a) {
             const val = Number(a[key] / 1000).toFixed(3)
             this.clearnChartData[0].data.push(val)