Browse Source

数据总览汇总修改

liubei@c-top.com.cn 3 years ago
parent
commit
8b30a71b97

+ 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))