|
@@ -1096,7 +1096,7 @@ export default {
|
|
|
pjmxs: [],
|
|
|
wttragetreportcharts: [],
|
|
|
|
|
|
- zhrank: 2,
|
|
|
+ zhrank: null,
|
|
|
// 维修换件频次
|
|
|
wxhjpc: [
|
|
|
{
|
|
@@ -1713,6 +1713,7 @@ export default {
|
|
|
if (res.code == 200) {
|
|
|
that.datas = res.data;
|
|
|
that.healthreport = res.data.healthreport;
|
|
|
+ console.log(that.healthreport, 'healthreport')
|
|
|
that.randomInitDate();
|
|
|
|
|
|
that.qxpcls = [];
|
|
@@ -2163,202 +2164,206 @@ export default {
|
|
|
// 评价结果明细
|
|
|
that.xnpjmx = [];
|
|
|
let pjmx = that.datas.healthreport.pjmxs[0];
|
|
|
- that.zhrank = pjmx.rank;
|
|
|
- let xnpjmx1 = {
|
|
|
- lx: "",
|
|
|
- zb: "发电量",
|
|
|
- sz: pjmx.dayfdl,
|
|
|
- pm: pjmx.monthfdl,
|
|
|
- pf: pjmx.yearfdl == null ? 0 : pjmx.yearfdl,
|
|
|
- };
|
|
|
- let xnpjmx2 = {
|
|
|
- lx: "",
|
|
|
- zb: "理论发电量",
|
|
|
- sz: pjmx.dayllfdl,
|
|
|
- pm: pjmx.monthllfdl,
|
|
|
- pf: pjmx.yearllfdl == null ? 0 : pjmx.yearllfdl,
|
|
|
- };
|
|
|
- let xnpjmx3 = {
|
|
|
- lx: "",
|
|
|
- zb: "平均功率",
|
|
|
- sz: pjmx.daygl,
|
|
|
- pm: pjmx.monthgl,
|
|
|
- pf: pjmx.yeargl == null ? 0 : pjmx.yeargl,
|
|
|
- };
|
|
|
- let xnpjmx4 = {
|
|
|
- lx: "",
|
|
|
- zb: "故障损失电量",
|
|
|
- sz: pjmx.daygzssdl,
|
|
|
- pm: pjmx.monthgzssdl,
|
|
|
- pf: pjmx.yeargzssdl == null ? 0 : pjmx.yeargzssdl,
|
|
|
- };
|
|
|
- let xnpjmx5 = {
|
|
|
- lx: "",
|
|
|
- zb: "限电损失电量",
|
|
|
- sz: pjmx.dayxdssdl,
|
|
|
- pm: pjmx.monthxdssdl,
|
|
|
- pf: pjmx.yearxdssdl == null ? 0 : pjmx.yearxdssdl,
|
|
|
- };
|
|
|
- let xnpjmx6 = {
|
|
|
- lx: "",
|
|
|
- zb: "维护损失电量",
|
|
|
- sz: pjmx.daywhssdl,
|
|
|
- pm: pjmx.monthwhssdl,
|
|
|
- pf: pjmx.yearwhssdl == null ? 0 : pjmx.yearwhssdl,
|
|
|
- };
|
|
|
- let xnpjmx7 = {
|
|
|
- lx: "",
|
|
|
- zb: "故障时间",
|
|
|
- sz: pjmx.daygzsj,
|
|
|
- pm: pjmx.monthgzsj,
|
|
|
- pf: pjmx.yeargzsj == null ? 0 : pjmx.yeargzsj,
|
|
|
- };
|
|
|
- let xnpjmx8 = {
|
|
|
- lx: "",
|
|
|
- zb: "维护时间",
|
|
|
- sz: pjmx.daywhsj,
|
|
|
- pm: pjmx.monthwhsj,
|
|
|
- pf: pjmx.yearwhsj == null ? 0 : pjmx.yearwhsj,
|
|
|
- };
|
|
|
- let xnpjmx9 = {
|
|
|
- lx: "",
|
|
|
- zb: "运行时间",
|
|
|
- sz: pjmx.dayyxsj,
|
|
|
- pm: pjmx.monthyxsj,
|
|
|
- pf: pjmx.yearyxsj == null ? 0 : pjmx.yearyxsj,
|
|
|
- };
|
|
|
- let xnpjmx10 = {
|
|
|
- lx: "",
|
|
|
- zb: "停机时间",
|
|
|
- sz: pjmx.daytjsj,
|
|
|
- pm: pjmx.monthtjsj,
|
|
|
- pf: pjmx.yeartjsj == null ? 0 : pjmx.yeartjsj,
|
|
|
- };
|
|
|
- let xnpjmx11 = {
|
|
|
- lx: "性能",
|
|
|
- zb: "平均切入风速",
|
|
|
- sz: pjmx.dayxfqr,
|
|
|
- pm: pjmx.monthxfqr,
|
|
|
- pf: pjmx.yearxfqr == null ? 0 : pjmx.yearxfqr,
|
|
|
- };
|
|
|
- let xnpjmx12 = {
|
|
|
- lx: "性能",
|
|
|
- zb: "性能损失电量",
|
|
|
- sz: pjmx.dayxnssdl,
|
|
|
- pm: pjmx.monthxnssdl,
|
|
|
- pf: pjmx.yearxnssdl == null ? 0 : pjmx.yearxnssdl,
|
|
|
- };
|
|
|
- let xnpjmx13 = {
|
|
|
- lx: "性能",
|
|
|
- zb: "拟合优度",
|
|
|
- sz: pjmx.dayNHYD,
|
|
|
- pm: pjmx.monthNHYD,
|
|
|
- pf: pjmx.yearNHYD == null ? 0 : pjmx.yearNHYD,
|
|
|
- };
|
|
|
- let xnpjmx14 = {
|
|
|
- lx: "性能",
|
|
|
- zb: "功率一致性系数",
|
|
|
- sz: pjmx.dayglyzxxs,
|
|
|
- pm: 9,
|
|
|
- pf: pjmx.yearglyzxxs == null ? 0 : pjmx.yearglyzxxs,
|
|
|
- };
|
|
|
- let xnpjmx15 = {
|
|
|
- lx: "可靠性管理",
|
|
|
- zb: "利用小时",
|
|
|
- sz: pjmx.dayLYXS,
|
|
|
- pm: pjmx.monthLYXS,
|
|
|
- pf: pjmx.yearLYXS == null ? 0 : pjmx.yearLYXS,
|
|
|
- };
|
|
|
- let xnpjmx16 = {
|
|
|
- lx: "可靠性管理",
|
|
|
- zb: "设备可利用率",
|
|
|
- sz: pjmx.daySBKLYL,
|
|
|
- pm: pjmx.monthSBKLYL,
|
|
|
- pf: pjmx.yearSBKLYL == null ? 0 : pjmx.yearSBKLYL,
|
|
|
- };
|
|
|
- let xnpjmx17 = {
|
|
|
- lx: "可靠性管理",
|
|
|
- zb: "等效可利用系数",
|
|
|
- sz: pjmx.dayDXKYXS,
|
|
|
- pm: pjmx.monthDXKYXS,
|
|
|
- pf: pjmx.yearDXKYXS == null ? 0 : pjmx.yearDXKYXS,
|
|
|
- };
|
|
|
- let xnpjmx18 = {
|
|
|
- lx: "可靠性管理",
|
|
|
- zb: "有效风时数",
|
|
|
- sz: pjmx.dayyxfss,
|
|
|
- pm: pjmx.monthyxfss,
|
|
|
- pf: pjmx.yearyxfss == null ? 0 : pjmx.yearyxfss,
|
|
|
- };
|
|
|
- let xnpjmx19 = {
|
|
|
- lx: "资源",
|
|
|
- zb: "平均风速",
|
|
|
- sz: pjmx.dayfs,
|
|
|
- pm: pjmx.monthfs,
|
|
|
- pf: pjmx.yearfs == null ? 0 : pjmx.yearfs,
|
|
|
- };
|
|
|
- let xnpjmx20 = {
|
|
|
- lx: "资源",
|
|
|
- zb: "静风频率",
|
|
|
- sz: pjmx.dayjfpl,
|
|
|
- pm: pjmx.monthjfpl,
|
|
|
- pf: pjmx.yearjfpl == null ? 0 : pjmx.yearjfpl,
|
|
|
- };
|
|
|
- that.xnpjmx.push(xnpjmx1);
|
|
|
- that.xnpjmx.push(xnpjmx2);
|
|
|
- that.xnpjmx.push(xnpjmx3);
|
|
|
- that.xnpjmx.push(xnpjmx4);
|
|
|
- that.xnpjmx.push(xnpjmx5);
|
|
|
- that.xnpjmx.push(xnpjmx6);
|
|
|
- that.xnpjmx.push(xnpjmx7);
|
|
|
- that.xnpjmx.push(xnpjmx8);
|
|
|
- that.xnpjmx.push(xnpjmx9);
|
|
|
- that.xnpjmx.push(xnpjmx10);
|
|
|
- that.xnpjmx.push(xnpjmx11);
|
|
|
- that.xnpjmx.push(xnpjmx12);
|
|
|
- that.xnpjmx.push(xnpjmx13);
|
|
|
- that.xnpjmx.push(xnpjmx14);
|
|
|
- that.xnpjmx.push(xnpjmx15);
|
|
|
- that.xnpjmx.push(xnpjmx16);
|
|
|
- that.xnpjmx.push(xnpjmx17);
|
|
|
- that.xnpjmx.push(xnpjmx18);
|
|
|
- that.xnpjmx.push(xnpjmx19);
|
|
|
- that.xnpjmx.push(xnpjmx20);
|
|
|
+ if(pjmx){
|
|
|
+ that.zhrank = pjmx.rank;
|
|
|
+ let xnpjmx1 = {
|
|
|
+ lx: "",
|
|
|
+ zb: "发电量",
|
|
|
+ sz: pjmx.dayfdl,
|
|
|
+ pm: pjmx.monthfdl,
|
|
|
+ pf: pjmx.yearfdl == null ? 0 : pjmx.yearfdl,
|
|
|
+ };
|
|
|
+ let xnpjmx2 = {
|
|
|
+ lx: "",
|
|
|
+ zb: "理论发电量",
|
|
|
+ sz: pjmx.dayllfdl,
|
|
|
+ pm: pjmx.monthllfdl,
|
|
|
+ pf: pjmx.yearllfdl == null ? 0 : pjmx.yearllfdl,
|
|
|
+ };
|
|
|
+ let xnpjmx3 = {
|
|
|
+ lx: "",
|
|
|
+ zb: "平均功率",
|
|
|
+ sz: pjmx.daygl,
|
|
|
+ pm: pjmx.monthgl,
|
|
|
+ pf: pjmx.yeargl == null ? 0 : pjmx.yeargl,
|
|
|
+ };
|
|
|
+ let xnpjmx4 = {
|
|
|
+ lx: "",
|
|
|
+ zb: "故障损失电量",
|
|
|
+ sz: pjmx.daygzssdl,
|
|
|
+ pm: pjmx.monthgzssdl,
|
|
|
+ pf: pjmx.yeargzssdl == null ? 0 : pjmx.yeargzssdl,
|
|
|
+ };
|
|
|
+ let xnpjmx5 = {
|
|
|
+ lx: "",
|
|
|
+ zb: "限电损失电量",
|
|
|
+ sz: pjmx.dayxdssdl,
|
|
|
+ pm: pjmx.monthxdssdl,
|
|
|
+ pf: pjmx.yearxdssdl == null ? 0 : pjmx.yearxdssdl,
|
|
|
+ };
|
|
|
+ let xnpjmx6 = {
|
|
|
+ lx: "",
|
|
|
+ zb: "维护损失电量",
|
|
|
+ sz: pjmx.daywhssdl,
|
|
|
+ pm: pjmx.monthwhssdl,
|
|
|
+ pf: pjmx.yearwhssdl == null ? 0 : pjmx.yearwhssdl,
|
|
|
+ };
|
|
|
+ let xnpjmx7 = {
|
|
|
+ lx: "",
|
|
|
+ zb: "故障时间",
|
|
|
+ sz: pjmx.daygzsj,
|
|
|
+ pm: pjmx.monthgzsj,
|
|
|
+ pf: pjmx.yeargzsj == null ? 0 : pjmx.yeargzsj,
|
|
|
+ };
|
|
|
+ let xnpjmx8 = {
|
|
|
+ lx: "",
|
|
|
+ zb: "维护时间",
|
|
|
+ sz: pjmx.daywhsj,
|
|
|
+ pm: pjmx.monthwhsj,
|
|
|
+ pf: pjmx.yearwhsj == null ? 0 : pjmx.yearwhsj,
|
|
|
+ };
|
|
|
+ let xnpjmx9 = {
|
|
|
+ lx: "",
|
|
|
+ zb: "运行时间",
|
|
|
+ sz: pjmx.dayyxsj,
|
|
|
+ pm: pjmx.monthyxsj,
|
|
|
+ pf: pjmx.yearyxsj == null ? 0 : pjmx.yearyxsj,
|
|
|
+ };
|
|
|
+ let xnpjmx10 = {
|
|
|
+ lx: "",
|
|
|
+ zb: "停机时间",
|
|
|
+ sz: pjmx.daytjsj,
|
|
|
+ pm: pjmx.monthtjsj,
|
|
|
+ pf: pjmx.yeartjsj == null ? 0 : pjmx.yeartjsj,
|
|
|
+ };
|
|
|
+ let xnpjmx11 = {
|
|
|
+ lx: "性能",
|
|
|
+ zb: "平均切入风速",
|
|
|
+ sz: pjmx.dayxfqr,
|
|
|
+ pm: pjmx.monthxfqr,
|
|
|
+ pf: pjmx.yearxfqr == null ? 0 : pjmx.yearxfqr,
|
|
|
+ };
|
|
|
+ let xnpjmx12 = {
|
|
|
+ lx: "性能",
|
|
|
+ zb: "性能损失电量",
|
|
|
+ sz: pjmx.dayxnssdl,
|
|
|
+ pm: pjmx.monthxnssdl,
|
|
|
+ pf: pjmx.yearxnssdl == null ? 0 : pjmx.yearxnssdl,
|
|
|
+ };
|
|
|
+ let xnpjmx13 = {
|
|
|
+ lx: "性能",
|
|
|
+ zb: "拟合优度",
|
|
|
+ sz: pjmx.dayNHYD,
|
|
|
+ pm: pjmx.monthNHYD,
|
|
|
+ pf: pjmx.yearNHYD == null ? 0 : pjmx.yearNHYD,
|
|
|
+ };
|
|
|
+ let xnpjmx14 = {
|
|
|
+ lx: "性能",
|
|
|
+ zb: "功率一致性系数",
|
|
|
+ sz: pjmx.dayglyzxxs,
|
|
|
+ pm: 9,
|
|
|
+ pf: pjmx.yearglyzxxs == null ? 0 : pjmx.yearglyzxxs,
|
|
|
+ };
|
|
|
+ let xnpjmx15 = {
|
|
|
+ lx: "可靠性管理",
|
|
|
+ zb: "利用小时",
|
|
|
+ sz: pjmx.dayLYXS,
|
|
|
+ pm: pjmx.monthLYXS,
|
|
|
+ pf: pjmx.yearLYXS == null ? 0 : pjmx.yearLYXS,
|
|
|
+ };
|
|
|
+ let xnpjmx16 = {
|
|
|
+ lx: "可靠性管理",
|
|
|
+ zb: "设备可利用率",
|
|
|
+ sz: pjmx.daySBKLYL,
|
|
|
+ pm: pjmx.monthSBKLYL,
|
|
|
+ pf: pjmx.yearSBKLYL == null ? 0 : pjmx.yearSBKLYL,
|
|
|
+ };
|
|
|
+ let xnpjmx17 = {
|
|
|
+ lx: "可靠性管理",
|
|
|
+ zb: "等效可利用系数",
|
|
|
+ sz: pjmx.dayDXKYXS,
|
|
|
+ pm: pjmx.monthDXKYXS,
|
|
|
+ pf: pjmx.yearDXKYXS == null ? 0 : pjmx.yearDXKYXS,
|
|
|
+ };
|
|
|
+ let xnpjmx18 = {
|
|
|
+ lx: "可靠性管理",
|
|
|
+ zb: "有效风时数",
|
|
|
+ sz: pjmx.dayyxfss,
|
|
|
+ pm: pjmx.monthyxfss,
|
|
|
+ pf: pjmx.yearyxfss == null ? 0 : pjmx.yearyxfss,
|
|
|
+ };
|
|
|
+ let xnpjmx19 = {
|
|
|
+ lx: "资源",
|
|
|
+ zb: "平均风速",
|
|
|
+ sz: pjmx.dayfs,
|
|
|
+ pm: pjmx.monthfs,
|
|
|
+ pf: pjmx.yearfs == null ? 0 : pjmx.yearfs,
|
|
|
+ };
|
|
|
+ let xnpjmx20 = {
|
|
|
+ lx: "资源",
|
|
|
+ zb: "静风频率",
|
|
|
+ sz: pjmx.dayjfpl,
|
|
|
+ pm: pjmx.monthjfpl,
|
|
|
+ pf: pjmx.yearjfpl == null ? 0 : pjmx.yearjfpl,
|
|
|
+ };
|
|
|
+ that.xnpjmx.push(xnpjmx1);
|
|
|
+ that.xnpjmx.push(xnpjmx2);
|
|
|
+ that.xnpjmx.push(xnpjmx3);
|
|
|
+ that.xnpjmx.push(xnpjmx4);
|
|
|
+ that.xnpjmx.push(xnpjmx5);
|
|
|
+ that.xnpjmx.push(xnpjmx6);
|
|
|
+ that.xnpjmx.push(xnpjmx7);
|
|
|
+ that.xnpjmx.push(xnpjmx8);
|
|
|
+ that.xnpjmx.push(xnpjmx9);
|
|
|
+ that.xnpjmx.push(xnpjmx10);
|
|
|
+ that.xnpjmx.push(xnpjmx11);
|
|
|
+ that.xnpjmx.push(xnpjmx12);
|
|
|
+ that.xnpjmx.push(xnpjmx13);
|
|
|
+ that.xnpjmx.push(xnpjmx14);
|
|
|
+ that.xnpjmx.push(xnpjmx15);
|
|
|
+ that.xnpjmx.push(xnpjmx16);
|
|
|
+ that.xnpjmx.push(xnpjmx17);
|
|
|
+ that.xnpjmx.push(xnpjmx18);
|
|
|
+ that.xnpjmx.push(xnpjmx19);
|
|
|
+ that.xnpjmx.push(xnpjmx20);
|
|
|
+ }
|
|
|
// 评价明细蜘蛛图
|
|
|
let pjmxsE = that.datas.healthreport.pjmxs[0];
|
|
|
- that.pjmxs = [
|
|
|
- {
|
|
|
- indicator: [
|
|
|
- "平均切入风速",
|
|
|
- "性能损失电量",
|
|
|
- "拟合优度",
|
|
|
- "功率一致性系数",
|
|
|
- "利用小时",
|
|
|
- "设备利用率",
|
|
|
- "等效可利用系数",
|
|
|
- "有效风时数",
|
|
|
- "平均风速",
|
|
|
- "静风频率",
|
|
|
- ],
|
|
|
- data: [
|
|
|
- {
|
|
|
- value: [
|
|
|
- pjmxsE.dayxfqr,
|
|
|
- pjmxsE.dayxnssdl,
|
|
|
- pjmxsE.dayNHYD,
|
|
|
- pjmxsE.dayglyzxxs,
|
|
|
- pjmxsE.dayLYXS,
|
|
|
- pjmxsE.daySBKLYL,
|
|
|
- pjmxsE.dayDXKYXS,
|
|
|
- pjmxsE.dayyxfss,
|
|
|
- pjmxsE.dayfs,
|
|
|
- pjmxsE.dayjfpl,
|
|
|
- ],
|
|
|
- name: "量化评级分析",
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- ];
|
|
|
+ if(pjmxsE){
|
|
|
+ that.pjmxs = [
|
|
|
+ {
|
|
|
+ indicator: [
|
|
|
+ "平均切入风速",
|
|
|
+ "性能损失电量",
|
|
|
+ "拟合优度",
|
|
|
+ "功率一致性系数",
|
|
|
+ "利用小时",
|
|
|
+ "设备利用率",
|
|
|
+ "等效可利用系数",
|
|
|
+ "有效风时数",
|
|
|
+ "平均风速",
|
|
|
+ "静风频率",
|
|
|
+ ],
|
|
|
+ data: [
|
|
|
+ {
|
|
|
+ value: [
|
|
|
+ pjmxsE.dayxfqr,
|
|
|
+ pjmxsE.dayxnssdl,
|
|
|
+ pjmxsE.dayNHYD,
|
|
|
+ pjmxsE.dayglyzxxs,
|
|
|
+ pjmxsE.dayLYXS,
|
|
|
+ pjmxsE.daySBKLYL,
|
|
|
+ pjmxsE.dayDXKYXS,
|
|
|
+ pjmxsE.dayyxfss,
|
|
|
+ pjmxsE.dayfs,
|
|
|
+ pjmxsE.dayjfpl,
|
|
|
+ ],
|
|
|
+ name: "量化评级分析",
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ ];
|
|
|
+ }
|
|
|
|
|
|
// 部件劣化状态4张图表
|
|
|
let fdj = [
|