|
@@ -125,23 +125,16 @@
|
|
text: "周",
|
|
text: "周",
|
|
}, ],
|
|
}, ],
|
|
rightTableData: [
|
|
rightTableData: [
|
|
- {
|
|
|
|
- name: '风能利用率年排名',
|
|
|
|
- data: dataJson.data.fnlyl
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- name: '设备可利用率年排名',
|
|
|
|
- data: dataJson.data.sbklyl
|
|
|
|
- },
|
|
|
|
|
|
+
|
|
],
|
|
],
|
|
ForecastPower: [],
|
|
ForecastPower: [],
|
|
fnlyl: dataJson.data.fnlyl,
|
|
fnlyl: dataJson.data.fnlyl,
|
|
- zbtqdb: dataJson.data.zbtqdb,
|
|
|
|
|
|
+ zbtqdb: null,
|
|
sbklyl: {},
|
|
sbklyl: {},
|
|
lgxzkh: {},
|
|
lgxzkh: {},
|
|
- planData: dataJson.data.planData,
|
|
|
|
|
|
+ planData: null,
|
|
planBtnName: "全部",
|
|
planBtnName: "全部",
|
|
- Powertrend: dataJson.data.Powertrend,
|
|
|
|
|
|
+ Powertrend: null,
|
|
PowertrendYAxises: [{
|
|
PowertrendYAxises: [{
|
|
name: "限电量",
|
|
name: "限电量",
|
|
min: 0,
|
|
min: 0,
|
|
@@ -157,7 +150,7 @@
|
|
position: "right",
|
|
position: "right",
|
|
},
|
|
},
|
|
],
|
|
],
|
|
- Powerloss: dataJson.data.Powerloss,
|
|
|
|
|
|
+ Powerloss: null,
|
|
PowerlossYAxises: [{
|
|
PowerlossYAxises: [{
|
|
name: "损失电量",
|
|
name: "损失电量",
|
|
min: 0,
|
|
min: 0,
|
|
@@ -173,7 +166,7 @@
|
|
position: "right",
|
|
position: "right",
|
|
},
|
|
},
|
|
],
|
|
],
|
|
- Powersend: dataJson.data.Powersend,
|
|
|
|
|
|
+ Powersend: null,
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
@@ -203,6 +196,8 @@
|
|
}
|
|
}
|
|
that.zbtqdb = res.data.zbtqdb
|
|
that.zbtqdb = res.data.zbtqdb
|
|
}
|
|
}
|
|
|
|
+ }).catch(e => {
|
|
|
|
+ that.zbtqdb = dataJson.data.zbtqdb
|
|
})
|
|
})
|
|
homeright({
|
|
homeright({
|
|
periodType: this.activeIndex === 0 ? "year" : this.activeIndex === 1 ? "month" : "week"
|
|
periodType: this.activeIndex === 0 ? "year" : this.activeIndex === 1 ? "month" : "week"
|
|
@@ -222,6 +217,16 @@
|
|
// },
|
|
// },
|
|
]
|
|
]
|
|
}
|
|
}
|
|
|
|
+ }).catch(e => {
|
|
|
|
+ that.rightTableData = [{
|
|
|
|
+ name: '风能利用率年排名',
|
|
|
|
+ data: dataJson.data.fnlyl
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ name: '设备可利用率年排名',
|
|
|
|
+ data: dataJson.data.sbklyl
|
|
|
|
+ },
|
|
|
|
+ ]
|
|
})
|
|
})
|
|
homemiddle().then(res =>{
|
|
homemiddle().then(res =>{
|
|
if (res.data) {
|
|
if (res.data) {
|
|
@@ -230,6 +235,11 @@
|
|
that.Powersend = res.data.Powersend
|
|
that.Powersend = res.data.Powersend
|
|
that.Powerloss = res.data.Powerloss
|
|
that.Powerloss = res.data.Powerloss
|
|
}
|
|
}
|
|
|
|
+ }).catch(e => {
|
|
|
|
+ that.planData = dataJson.data.planData
|
|
|
|
+ that.Powertrend = dataJson.data.Powertrend
|
|
|
|
+ that.Powersend = dataJson.data.Powersend
|
|
|
|
+ that.Powerloss = dataJson.data.Powerloss
|
|
})
|
|
})
|
|
},
|
|
},
|
|
}
|
|
}
|