|
@@ -253,7 +253,8 @@
|
|
|
disabled: false
|
|
|
}
|
|
|
],
|
|
|
- sumQuantity:0,
|
|
|
+ sumQuantity:0,
|
|
|
+ allKwh:0,
|
|
|
// u-radio-group的v-model绑定的值如果设置为某个radio的name,就会被默认选中
|
|
|
value: '1',
|
|
|
oldvalue: '1',
|
|
@@ -412,7 +413,8 @@
|
|
|
|
|
|
API.timeSlotStatistics(this.FormData2).then((response) => {
|
|
|
uni.hideLoading();
|
|
|
- this.hourMap=response.data.hourMap
|
|
|
+ this.hourMap=response.data.hourMap
|
|
|
+ this.sumQuantity=response.data.allKwh
|
|
|
this.getPle(this.hourMap)
|
|
|
}).catch(error => {
|
|
|
uni.showToast({
|
|
@@ -438,7 +440,7 @@
|
|
|
sumQuantity+=list[i]
|
|
|
|
|
|
}
|
|
|
- this.sumQuantity=sumQuantity.toFixed(2)
|
|
|
+ //this.sumQuantity=sumQuantity.toFixed(2)
|
|
|
var headitemby=""
|
|
|
var showkey = "";
|
|
|
var option = {
|