|
@@ -356,6 +356,7 @@ export default {
|
|
selecttionIndex: 2,
|
|
selecttionIndex: 2,
|
|
btnIndex: 0,
|
|
btnIndex: 0,
|
|
increasescapacity: 0, //增发电量
|
|
increasescapacity: 0, //增发电量
|
|
|
|
+ ChangZhan:[],
|
|
analyselist: [
|
|
analyselist: [
|
|
//理论平衡分析法
|
|
//理论平衡分析法
|
|
{ name: "风能利用率", label: "windenergy" },
|
|
{ name: "风能利用率", label: "windenergy" },
|
|
@@ -584,6 +585,7 @@ export default {
|
|
};
|
|
};
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
|
|
+ this.ChangZhanVal();
|
|
this.requestDataTable("月");
|
|
this.requestDataTable("月");
|
|
this.requestDataTop("月");
|
|
this.requestDataTop("月");
|
|
},
|
|
},
|
|
@@ -595,6 +597,11 @@ export default {
|
|
});
|
|
});
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ ChangZhanVal() {
|
|
|
|
+ api.benchmarkingWplist({}).then((res) => {
|
|
|
|
+ this.ChangZhan = res.data;
|
|
|
|
+ });
|
|
|
|
+ },
|
|
selectionClick(index) {
|
|
selectionClick(index) {
|
|
this.selecttionIndex = index;
|
|
this.selecttionIndex = index;
|
|
switch (index) {
|
|
switch (index) {
|
|
@@ -649,220 +656,216 @@ export default {
|
|
.then((res) => {
|
|
.then((res) => {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
res.data.forEach((item) => {
|
|
res.data.forEach((item) => {
|
|
- if (item.foreignkeyid === "SBQ_FDC") item.name = "石板泉";
|
|
|
|
- if (item.foreignkeyid === "MHS_FDC") item.name = "麻黄山";
|
|
|
|
- if (item.foreignkeyid === "NSS_FDC") item.name = "牛首山";
|
|
|
|
- if (item.foreignkeyid === "XS_FDC") item.name = "香山";
|
|
|
|
- if (item.foreignkeyid === "QS_FDC") item.name = "青山";
|
|
|
|
- item.mark = that.filter(item.mark);
|
|
|
|
- item.theoreticalpower = that.filter(item.theoreticalpower);
|
|
|
|
- item.actualpower = that.filter(item.actualpower);
|
|
|
|
- item.daynhgzssdl = that.filter(item.daynhgzssdl);
|
|
|
|
- item.daynhwhssdl = that.filter(item.daynhwhssdl);
|
|
|
|
- item.daynhxdssdl = that.filter(item.daynhxdssdl);
|
|
|
|
- item.daynhcfdl = that.filter(item.daynhcfdl);
|
|
|
|
- item.daynhqfdl = that.filter(item.daynhqfdl);
|
|
|
|
- item.windenergy = that.filter(item.windenergy);
|
|
|
|
- item.powerlossrate = that.filter(item.powerlossrate);
|
|
|
|
- item.performancelossrate = that.filter(item.performancelossrate);
|
|
|
|
- item.comprehensiverate = that.filter(item.comprehensiverate);
|
|
|
|
- item.utilizationhours = that.filter(item.utilizationhours);
|
|
|
|
- item.windpoweraccuracy = that.filter(item.windpoweraccuracy);
|
|
|
|
- item.agccurvefollowing = that.filter(item.agccurvefollowing);
|
|
|
|
- item.mtbf = that.filter(item.mtbf);
|
|
|
|
- item.mttf = that.filter(item.mttf);
|
|
|
|
- item.availability = that.filter(item.availability);
|
|
|
|
- item.availabilityfactor = that.filter(item.availabilityfactor);
|
|
|
|
- item.failurelossrate = that.filter(item.failurelossrate);
|
|
|
|
- item.mainlossrate = that.filter(item.mainlossrate);
|
|
|
|
- item.mttr = that.filter(item.mttr);
|
|
|
|
- item.hiddentimely = that.filter(item.hiddentimely);
|
|
|
|
- item.resettimelyrate = that.filter(item.resettimelyrate);
|
|
|
|
- item.statetransitionrate = that.filter(item.statetransitionrate);
|
|
|
|
- item.eliminationrate = that.filter(item.eliminationrate);
|
|
|
|
|
|
+ item.name = this.ChangZhan.filter(val => item.foreignkeyid === val.id)[0].name
|
|
|
|
+ item.mark = this.filter(item.mark);
|
|
|
|
+ item.theoreticalpower = this.filter(item.theoreticalpower);
|
|
|
|
+ item.actualpower = this.filter(item.actualpower);
|
|
|
|
+ item.daynhgzssdl = this.filter(item.daynhgzssdl);
|
|
|
|
+ item.daynhwhssdl = this.filter(item.daynhwhssdl);
|
|
|
|
+ item.daynhxdssdl = this.filter(item.daynhxdssdl);
|
|
|
|
+ item.daynhcfdl = this.filter(item.daynhcfdl);
|
|
|
|
+ item.daynhqfdl = this.filter(item.daynhqfdl);
|
|
|
|
+ item.windenergy = this.filter(item.windenergy);
|
|
|
|
+ item.powerlossrate = this.filter(item.powerlossrate);
|
|
|
|
+ item.performancelossrate = this.filter(item.performancelossrate);
|
|
|
|
+ item.comprehensiverate = this.filter(item.comprehensiverate);
|
|
|
|
+ item.utilizationhours = this.filter(item.utilizationhours);
|
|
|
|
+ item.windpoweraccuracy = this.filter(item.windpoweraccuracy);
|
|
|
|
+ item.agccurvefollowing = this.filter(item.agccurvefollowing);
|
|
|
|
+ item.mtbf = this.filter(item.mtbf);
|
|
|
|
+ item.mttf = this.filter(item.mttf);
|
|
|
|
+ item.availability = this.filter(item.availability);
|
|
|
|
+ item.availabilityfactor = this.filter(item.availabilityfactor);
|
|
|
|
+ item.failurelossrate = this.filter(item.failurelossrate);
|
|
|
|
+ item.mainlossrate = this.filter(item.mainlossrate);
|
|
|
|
+ item.mttr = this.filter(item.mttr);
|
|
|
|
+ item.hiddentimely = this.filter(item.hiddentimely);
|
|
|
|
+ item.resettimelyrate = this.filter(item.resettimelyrate);
|
|
|
|
+ item.statetransitionrate = this.filter(item.statetransitionrate);
|
|
|
|
+ item.eliminationrate = this.filter(item.eliminationrate);
|
|
});
|
|
});
|
|
|
|
|
|
// 合计列
|
|
// 合计列
|
|
let item = res.data;
|
|
let item = res.data;
|
|
let obj = {
|
|
let obj = {
|
|
name: "合计",
|
|
name: "合计",
|
|
- mark: that.filter(
|
|
|
|
|
|
+ mark: this.filter(
|
|
(Number(item[0].mark) +
|
|
(Number(item[0].mark) +
|
|
Number(item[1].mark) +
|
|
Number(item[1].mark) +
|
|
Number(item[2].mark) +
|
|
Number(item[2].mark) +
|
|
Number(item[3].mark)) /
|
|
Number(item[3].mark)) /
|
|
4
|
|
4
|
|
),
|
|
),
|
|
- capacity: that.filter(
|
|
|
|
|
|
+ capacity: this.filter(
|
|
Number(item[0].capacity) +
|
|
Number(item[0].capacity) +
|
|
Number(item[1].capacity) +
|
|
Number(item[1].capacity) +
|
|
Number(item[2].capacity) +
|
|
Number(item[2].capacity) +
|
|
Number(item[3].capacity)
|
|
Number(item[3].capacity)
|
|
),
|
|
),
|
|
- units: that.filter(
|
|
|
|
|
|
+ units: this.filter(
|
|
Number(item[0].units) +
|
|
Number(item[0].units) +
|
|
Number(item[1].units) +
|
|
Number(item[1].units) +
|
|
Number(item[2].units) +
|
|
Number(item[2].units) +
|
|
Number(item[3].units)
|
|
Number(item[3].units)
|
|
),
|
|
),
|
|
- theoreticalpower: that.filter(
|
|
|
|
|
|
+ theoreticalpower: this.filter(
|
|
Number(item[0].theoreticalpower) +
|
|
Number(item[0].theoreticalpower) +
|
|
Number(item[1].theoreticalpower) +
|
|
Number(item[1].theoreticalpower) +
|
|
Number(item[2].theoreticalpower) +
|
|
Number(item[2].theoreticalpower) +
|
|
Number(item[3].theoreticalpower)
|
|
Number(item[3].theoreticalpower)
|
|
),
|
|
),
|
|
- actualpower: that.filter(
|
|
|
|
|
|
+ actualpower: this.filter(
|
|
Number(item[0].actualpower) +
|
|
Number(item[0].actualpower) +
|
|
Number(item[1].actualpower) +
|
|
Number(item[1].actualpower) +
|
|
Number(item[2].actualpower) +
|
|
Number(item[2].actualpower) +
|
|
Number(item[3].actualpower)
|
|
Number(item[3].actualpower)
|
|
),
|
|
),
|
|
- daynhgzssdl: that.filter(
|
|
|
|
|
|
+ daynhgzssdl: this.filter(
|
|
Number(item[0].daynhgzssdl) +
|
|
Number(item[0].daynhgzssdl) +
|
|
Number(item[1].daynhgzssdl) +
|
|
Number(item[1].daynhgzssdl) +
|
|
Number(item[2].daynhgzssdl) +
|
|
Number(item[2].daynhgzssdl) +
|
|
Number(item[3].daynhgzssdl)
|
|
Number(item[3].daynhgzssdl)
|
|
),
|
|
),
|
|
- daynhwhssdl: that.filter(
|
|
|
|
|
|
+ daynhwhssdl: this.filter(
|
|
Number(item[0].daynhwhssdl) +
|
|
Number(item[0].daynhwhssdl) +
|
|
Number(item[1].daynhwhssdl) +
|
|
Number(item[1].daynhwhssdl) +
|
|
Number(item[2].daynhwhssdl) +
|
|
Number(item[2].daynhwhssdl) +
|
|
Number(item[3].daynhwhssdl)
|
|
Number(item[3].daynhwhssdl)
|
|
),
|
|
),
|
|
- daynhxdssdl: that.filter(
|
|
|
|
|
|
+ daynhxdssdl: this.filter(
|
|
Number(item[0].daynhxdssdl) +
|
|
Number(item[0].daynhxdssdl) +
|
|
Number(item[1].daynhxdssdl) +
|
|
Number(item[1].daynhxdssdl) +
|
|
Number(item[2].daynhxdssdl) +
|
|
Number(item[2].daynhxdssdl) +
|
|
Number(item[3].daynhxdssdl)
|
|
Number(item[3].daynhxdssdl)
|
|
),
|
|
),
|
|
- daynhcfdl: that.filter(
|
|
|
|
|
|
+ daynhcfdl: this.filter(
|
|
Number(item[0].daynhcfdl) +
|
|
Number(item[0].daynhcfdl) +
|
|
Number(item[1].daynhcfdl) +
|
|
Number(item[1].daynhcfdl) +
|
|
Number(item[2].daynhcfdl) +
|
|
Number(item[2].daynhcfdl) +
|
|
Number(item[3].daynhcfdl)
|
|
Number(item[3].daynhcfdl)
|
|
),
|
|
),
|
|
- daynhqfdl: that.filter(
|
|
|
|
|
|
+ daynhqfdl: this.filter(
|
|
Number(item[0].daynhqfdl) +
|
|
Number(item[0].daynhqfdl) +
|
|
Number(item[1].daynhqfdl) +
|
|
Number(item[1].daynhqfdl) +
|
|
Number(item[2].daynhqfdl) +
|
|
Number(item[2].daynhqfdl) +
|
|
Number(item[3].daynhqfdl)
|
|
Number(item[3].daynhqfdl)
|
|
),
|
|
),
|
|
- windenergy: that.filter(
|
|
|
|
|
|
+ windenergy: this.filter(
|
|
(Number(item[0].windenergy) +
|
|
(Number(item[0].windenergy) +
|
|
Number(item[1].windenergy) +
|
|
Number(item[1].windenergy) +
|
|
Number(item[2].windenergy) +
|
|
Number(item[2].windenergy) +
|
|
Number(item[3].windenergy)) /
|
|
Number(item[3].windenergy)) /
|
|
4
|
|
4
|
|
),
|
|
),
|
|
- powerlossrate: that.filter(
|
|
|
|
|
|
+ powerlossrate: this.filter(
|
|
(Number(item[0].powerlossrate) +
|
|
(Number(item[0].powerlossrate) +
|
|
Number(item[1].powerlossrate) +
|
|
Number(item[1].powerlossrate) +
|
|
Number(item[2].powerlossrate) +
|
|
Number(item[2].powerlossrate) +
|
|
Number(item[3].powerlossrate)) /
|
|
Number(item[3].powerlossrate)) /
|
|
4
|
|
4
|
|
),
|
|
),
|
|
- performancelossrate: that.filter(
|
|
|
|
|
|
+ performancelossrate: this.filter(
|
|
(Number(item[0].performancelossrate) +
|
|
(Number(item[0].performancelossrate) +
|
|
Number(item[1].performancelossrate) +
|
|
Number(item[1].performancelossrate) +
|
|
Number(item[2].performancelossrate) +
|
|
Number(item[2].performancelossrate) +
|
|
Number(item[3].performancelossrate)) /
|
|
Number(item[3].performancelossrate)) /
|
|
4
|
|
4
|
|
),
|
|
),
|
|
- comprehensiverate: that.filter(
|
|
|
|
|
|
+ comprehensiverate: this.filter(
|
|
(Number(item[0].comprehensiverate) +
|
|
(Number(item[0].comprehensiverate) +
|
|
Number(item[1].comprehensiverate) +
|
|
Number(item[1].comprehensiverate) +
|
|
Number(item[2].comprehensiverate) +
|
|
Number(item[2].comprehensiverate) +
|
|
Number(item[3].comprehensiverate)) /
|
|
Number(item[3].comprehensiverate)) /
|
|
4
|
|
4
|
|
),
|
|
),
|
|
- utilizationhours: that.filter(
|
|
|
|
|
|
+ utilizationhours: this.filter(
|
|
Number(item[0].utilizationhours) +
|
|
Number(item[0].utilizationhours) +
|
|
Number(item[1].utilizationhours) +
|
|
Number(item[1].utilizationhours) +
|
|
Number(item[2].utilizationhours) +
|
|
Number(item[2].utilizationhours) +
|
|
Number(item[3].utilizationhours)
|
|
Number(item[3].utilizationhours)
|
|
),
|
|
),
|
|
- windpoweraccuracy: that.filter(
|
|
|
|
|
|
+ windpoweraccuracy: this.filter(
|
|
(Number(item[0].windpoweraccuracy) +
|
|
(Number(item[0].windpoweraccuracy) +
|
|
Number(item[1].windpoweraccuracy) +
|
|
Number(item[1].windpoweraccuracy) +
|
|
Number(item[2].windpoweraccuracy) +
|
|
Number(item[2].windpoweraccuracy) +
|
|
Number(item[3].windpoweraccuracy)) /
|
|
Number(item[3].windpoweraccuracy)) /
|
|
4
|
|
4
|
|
),
|
|
),
|
|
- agccurvefollowing: that.filter(
|
|
|
|
|
|
+ agccurvefollowing: this.filter(
|
|
(Number(item[0].agccurvefollowing) +
|
|
(Number(item[0].agccurvefollowing) +
|
|
Number(item[1].agccurvefollowing) +
|
|
Number(item[1].agccurvefollowing) +
|
|
Number(item[2].agccurvefollowing) +
|
|
Number(item[2].agccurvefollowing) +
|
|
Number(item[3].agccurvefollowing)) /
|
|
Number(item[3].agccurvefollowing)) /
|
|
4
|
|
4
|
|
),
|
|
),
|
|
- mtbf: that.filter(
|
|
|
|
|
|
+ mtbf: this.filter(
|
|
Number(item[0].mtbf) +
|
|
Number(item[0].mtbf) +
|
|
Number(item[1].mtbf) +
|
|
Number(item[1].mtbf) +
|
|
Number(item[2].mtbf) +
|
|
Number(item[2].mtbf) +
|
|
Number(item[3].mtbf)
|
|
Number(item[3].mtbf)
|
|
),
|
|
),
|
|
- mttf: that.filter(
|
|
|
|
|
|
+ mttf: this.filter(
|
|
Number(item[0].mttf) +
|
|
Number(item[0].mttf) +
|
|
Number(item[1].mttf) +
|
|
Number(item[1].mttf) +
|
|
Number(item[2].mttf) +
|
|
Number(item[2].mttf) +
|
|
Number(item[3].mttf)
|
|
Number(item[3].mttf)
|
|
),
|
|
),
|
|
- availability: that.filter(
|
|
|
|
|
|
+ availability: this.filter(
|
|
(Number(item[0].availability) +
|
|
(Number(item[0].availability) +
|
|
Number(item[1].availability) +
|
|
Number(item[1].availability) +
|
|
Number(item[2].availability) +
|
|
Number(item[2].availability) +
|
|
Number(item[3].availability)) /
|
|
Number(item[3].availability)) /
|
|
4
|
|
4
|
|
),
|
|
),
|
|
- availabilityfactor: that.filter(
|
|
|
|
|
|
+ availabilityfactor: this.filter(
|
|
(Number(item[0].availabilityfactor) +
|
|
(Number(item[0].availabilityfactor) +
|
|
Number(item[1].availabilityfactor) +
|
|
Number(item[1].availabilityfactor) +
|
|
Number(item[2].availabilityfactor) +
|
|
Number(item[2].availabilityfactor) +
|
|
Number(item[3].availabilityfactor)) /
|
|
Number(item[3].availabilityfactor)) /
|
|
4
|
|
4
|
|
),
|
|
),
|
|
- failurelossrate: that.filter(
|
|
|
|
|
|
+ failurelossrate: this.filter(
|
|
(Number(item[0].failurelossrate) +
|
|
(Number(item[0].failurelossrate) +
|
|
Number(item[1].failurelossrate) +
|
|
Number(item[1].failurelossrate) +
|
|
Number(item[2].failurelossrate) +
|
|
Number(item[2].failurelossrate) +
|
|
Number(item[3].failurelossrate)) /
|
|
Number(item[3].failurelossrate)) /
|
|
4
|
|
4
|
|
),
|
|
),
|
|
- mainlossrate: that.filter(
|
|
|
|
|
|
+ mainlossrate: this.filter(
|
|
(Number(item[0].mainlossrate) +
|
|
(Number(item[0].mainlossrate) +
|
|
Number(item[1].mainlossrate) +
|
|
Number(item[1].mainlossrate) +
|
|
Number(item[2].mainlossrate) +
|
|
Number(item[2].mainlossrate) +
|
|
Number(item[3].mainlossrate)) /
|
|
Number(item[3].mainlossrate)) /
|
|
4
|
|
4
|
|
),
|
|
),
|
|
- mttr: that.filter(
|
|
|
|
|
|
+ mttr: this.filter(
|
|
Number(item[0].mttr) +
|
|
Number(item[0].mttr) +
|
|
Number(item[1].mttr) +
|
|
Number(item[1].mttr) +
|
|
Number(item[2].mttr) +
|
|
Number(item[2].mttr) +
|
|
Number(item[3].mttr)
|
|
Number(item[3].mttr)
|
|
),
|
|
),
|
|
- hiddentimely: that.filter(
|
|
|
|
|
|
+ hiddentimely: this.filter(
|
|
(Number(item[0].hiddentimely) +
|
|
(Number(item[0].hiddentimely) +
|
|
Number(item[1].hiddentimely) +
|
|
Number(item[1].hiddentimely) +
|
|
Number(item[2].hiddentimely) +
|
|
Number(item[2].hiddentimely) +
|
|
Number(item[3].hiddentimely)) /
|
|
Number(item[3].hiddentimely)) /
|
|
4
|
|
4
|
|
),
|
|
),
|
|
- resettimelyrate: that.filter(
|
|
|
|
|
|
+ resettimelyrate: this.filter(
|
|
(Number(item[0].resettimelyrate) +
|
|
(Number(item[0].resettimelyrate) +
|
|
Number(item[1].resettimelyrate) +
|
|
Number(item[1].resettimelyrate) +
|
|
Number(item[2].resettimelyrate) +
|
|
Number(item[2].resettimelyrate) +
|
|
Number(item[3].resettimelyrate)) /
|
|
Number(item[3].resettimelyrate)) /
|
|
4
|
|
4
|
|
),
|
|
),
|
|
- statetransitionrate: that.filter(
|
|
|
|
|
|
+ statetransitionrate: this.filter(
|
|
(Number(item[0].statetransitionrate) +
|
|
(Number(item[0].statetransitionrate) +
|
|
Number(item[1].statetransitionrate) +
|
|
Number(item[1].statetransitionrate) +
|
|
Number(item[2].statetransitionrate) +
|
|
Number(item[2].statetransitionrate) +
|
|
Number(item[3].statetransitionrate)) /
|
|
Number(item[3].statetransitionrate)) /
|
|
4
|
|
4
|
|
),
|
|
),
|
|
- eliminationrate: that.filter(
|
|
|
|
|
|
+ eliminationrate: this.filter(
|
|
(Number(item[0].eliminationrate) +
|
|
(Number(item[0].eliminationrate) +
|
|
Number(item[1].eliminationrate) +
|
|
Number(item[1].eliminationrate) +
|
|
Number(item[2].eliminationrate) +
|
|
Number(item[2].eliminationrate) +
|
|
@@ -871,9 +874,9 @@ export default {
|
|
),
|
|
),
|
|
};
|
|
};
|
|
item.push(obj);
|
|
item.push(obj);
|
|
- that.eltableData.data = res.data;
|
|
|
|
- that.setRank();
|
|
|
|
- that.echartData(that.eltableData.column[1].child.slice(3));
|
|
|
|
|
|
+ this.eltableData.data = res.data;
|
|
|
|
+ this.setRank();
|
|
|
|
+ this.echartData(this.eltableData.column[1].child.slice(3));
|
|
}
|
|
}
|
|
});
|
|
});
|
|
|
|
|
|
@@ -1238,7 +1241,7 @@ export default {
|
|
},
|
|
},
|
|
// 保留小数位l
|
|
// 保留小数位l
|
|
filter(num) {
|
|
filter(num) {
|
|
- return num % 1 === 0 ? num : num.toFixed(1);
|
|
|
|
|
|
+ return num % 1 === 0 ? num : num?.toFixed(1);
|
|
},
|
|
},
|
|
resetTableSize(themeName) {
|
|
resetTableSize(themeName) {
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|