|
@@ -40,6 +40,8 @@ export default {
|
|
|
fdcND: [],
|
|
|
fdcND1: "",
|
|
|
fdcND2: "",
|
|
|
+ wp_n_1: {},
|
|
|
+ wp_n_2: {},
|
|
|
wpIdslist: {
|
|
|
name: "",
|
|
|
id: "",
|
|
@@ -118,6 +120,9 @@ export default {
|
|
|
*/
|
|
|
queryApDataMx() {
|
|
|
this.dialogTableVisible = true;
|
|
|
+ this.wp_n_1 = {};
|
|
|
+ this.wp_n_2 = {};
|
|
|
+ this.getTableData = [];
|
|
|
if (
|
|
|
this.multipleSelection1.length + this.multipleSelection2.length ==
|
|
|
2
|
|
@@ -130,6 +135,9 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
if (this.multipleSelection.length == 2) {
|
|
|
+
|
|
|
+ this.wp_n_1 = this.multipleSelection[0];
|
|
|
+ this.wp_n_2 = this.multipleSelection[1];
|
|
|
this.pjName1 = this.multipleSelection[0].wtName;
|
|
|
this.pjName2 = this.multipleSelection[1].wtName;
|
|
|
this.fdcND1 =
|
|
@@ -163,16 +171,16 @@ export default {
|
|
|
this.multipleSelection[1].jxssl,
|
|
|
this.multipleSelection[1].gzssl
|
|
|
);
|
|
|
- for (let i = 0; i < this.multipleSelection.length; i++) {
|
|
|
- this.sortInOrde2.push({
|
|
|
- product: this.multipleSelection[i].wtName+" "+this.BASE.getBzDate(this.multipleSelection[i].recordDate,0),
|
|
|
- "限电损失电量单位:万KWh": this.multipleSelection[i].xdss,
|
|
|
- "故障损失电量单位:万KWh": this.multipleSelection[i].gzss,
|
|
|
- "检修损失电量单位:万KWh": this.multipleSelection[i].jxssl,
|
|
|
- "性能损失电量单位:万KWh": this.multipleSelection[i].xnssl,
|
|
|
- "受累损失电量单位:万KWh": this.multipleSelection[i].slss,
|
|
|
- });
|
|
|
- }
|
|
|
+ // for (let i = 0; i < this.multipleSelection.length; i++) {
|
|
|
+ // this.sortInOrde2.push({
|
|
|
+ // product: this.multipleSelection[i].wtName+" "+this.BASE.getBzDate(this.multipleSelection[i].recordDate,0),
|
|
|
+ // "限电损失电量单位:万KWh": this.multipleSelection[i].xdss,
|
|
|
+ // "故障损失电量单位:万KWh": this.multipleSelection[i].gzss,
|
|
|
+ // "检修损失电量单位:万KWh": this.multipleSelection[i].jxssl,
|
|
|
+ // "性能损失电量单位:万KWh": this.multipleSelection[i].xnssl,
|
|
|
+ // "受累损失电量单位:万KWh": this.multipleSelection[i].slss,
|
|
|
+ // });
|
|
|
+ // }
|
|
|
this.getTableData.push({
|
|
|
index: "发电量",
|
|
|
data1: this.multipleSelection[0].scadafdl,
|
|
@@ -246,7 +254,8 @@ export default {
|
|
|
}
|
|
|
this.$nextTick(function () {
|
|
|
this.ECZM.leida_tc("leiDaTu3" , this.sortInOrder,this.pjName1,this.sortInOrderTop,this.pjName2);
|
|
|
- this.ECZM.bar_tc_2("leiDaTu4",this.sortInOrde2);
|
|
|
+ this.ECZM.bar_tc("leiDaTu4" , this.wp_n_1 , this.wp_n_2 ,this.wp_n_1.wtId , this.wp_n_2.wtId);
|
|
|
+
|
|
|
});
|
|
|
},
|
|
|
/**
|