2 次代碼提交 875fd5d1f5 ... 1a5ed4cd28

作者 SHA1 備註 提交日期
  liubei@c-top.com.cn 1a5ed4cd28 Merge branch 'feature/work-test' of http://git.tjyourong.com.cn/ctop/adsp-vue into feature/work-test 3 年之前
  liubei@c-top.com.cn 8b30a71b97 数据总览汇总修改 3 年之前
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/views/modules/stockWatch/modules/new-keepManage/group-keepManage.vue

+ 4 - 0
src/views/modules/stockWatch/modules/new-keepManage/group-keepManage.vue

@@ -670,7 +670,11 @@
                           this.yesterdayList = res.result.yesterdayList.map((item)=>{
                            return item.totalCost
                           })
+                         
                           this.timeData = ['0:00', '2:00', '4:00', '6:00', '8:00', '10:00', '12:00','14:00','16:00','18:00','20:00','22:00'];
+                          this.timeData = res.result.yesterdayList.map((itemdate)=>{
+                            return itemdate.hour
+                        })
                           this.lengthData = ['today','yesterday'];
                          let consumptionSummary = [];
                           this.initEchart('accountIndexEchart',this.initAccountIndexEchart(this.todayList,this.yesterdayList,consumptionSummary,this.timeData,this.lengthData,this.yestadyNum))