|
@@ -98,7 +98,7 @@
|
|
|
</p>
|
|
|
<p>
|
|
|
统计期内故障发生{{
|
|
|
- Number(faultclass[0] ? faultclass[0].monthwarningnum : 0) +
|
|
|
+ Number(faultclass[0] ? faultclass[0].monthwarningnum : 0) +
|
|
|
Number(faultclass[1] ? faultclass[1].monthwarningnum : 0) +
|
|
|
Number(faultclass[2] ? faultclass[2].monthwarningnum : 0)
|
|
|
}}次
|
|
@@ -121,7 +121,9 @@
|
|
|
<p class="info">功率对部件温度影响较高是齿轮箱、主轴</p>
|
|
|
<p class="info">部件劣化较高是发电机、主轴</p>
|
|
|
<p>定捡已超过三个月,近三个月无维修记录</p>
|
|
|
- <p v-if="Number(datas.isrecommend) == 1">该机组总体运行状态不佳,可安排检修人员排查。</p>
|
|
|
+ <p v-if="Number(datas.isrecommend) == 1">
|
|
|
+ 该机组总体运行状态不佳,可安排检修人员排查。
|
|
|
+ </p>
|
|
|
<p v-else>该机组总体运行状态良好,不需要作为重点关注。</p>
|
|
|
</div>
|
|
|
</el-form>
|
|
@@ -142,7 +144,7 @@
|
|
|
<normal-line-chart :list="qxpcls" />
|
|
|
</el-form>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div class="textBox">
|
|
|
<el-form>
|
|
|
<el-form-item class="imp fw text-indent-2">对风偏差:</el-form-item>
|
|
@@ -194,7 +196,7 @@
|
|
|
/>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div class="textBox">
|
|
|
<el-form>
|
|
|
<el-form-item class="imp fw text-indent-2">切入切出:</el-form-item>
|
|
@@ -227,7 +229,7 @@
|
|
|
</el-table>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div class="textBox">
|
|
|
<el-form>
|
|
|
<el-form-item class="imp fw text-indent-2"
|
|
@@ -254,14 +256,34 @@
|
|
|
}}分钟。
|
|
|
</el-form-item>
|
|
|
<el-form-item class="text-indent-2" v-if="bjyhcount.length > 0">
|
|
|
- <font v-if="bjyhcount[0].yhmx">其中以{{ bjyhcount[0].yhmx }}发生频次最高,为{{ bjyhcount[0].count }}次;</font>
|
|
|
- <font v-if="bjyhcount[1].yhmx">{{ bjyhcount[1].yhmx }}次之,为{{ bjyhcount[1].count }}次;</font>
|
|
|
- <font v-if="bjyhcount[2].yhmx">{{ bjyhcount[2].yhmx }}第三,为{{ bjyhcount[0].count }}次。</font>
|
|
|
+ <font v-if="bjyhcount[0].yhmx"
|
|
|
+ >其中以{{ bjyhcount[0].yhmx }}发生频次最高,为{{
|
|
|
+ bjyhcount[0].count
|
|
|
+ }}次;</font
|
|
|
+ >
|
|
|
+ <font v-if="bjyhcount[1].yhmx"
|
|
|
+ >{{ bjyhcount[1].yhmx }}次之,为{{ bjyhcount[1].count }}次;</font
|
|
|
+ >
|
|
|
+ <font v-if="bjyhcount[2].yhmx"
|
|
|
+ >{{ bjyhcount[2].yhmx }}第三,为{{ bjyhcount[0].count }}次。</font
|
|
|
+ >
|
|
|
</el-form-item>
|
|
|
- <el-form-item class="text-indent-2" >
|
|
|
- <font v-if="bjyhcount[3].yhmx">其中以{{ bjyhcount[3].yhmx }}发生时长最长,为{{ bjyhcount[3].times }}分钟;</font>
|
|
|
- <font v-if="bjyhcount[4].yhmx">{{ bjyhcount[4].yhmx }}次之,为{{ bjyhcount[4].yhmx }}分钟;</font>
|
|
|
- <font v-if="bjyhcount[5].yhmx">{{ bjyhcount[5].yhmx }}第三,为{{ bjyhcount[5].yhmx }}分钟。</font>
|
|
|
+ <el-form-item class="text-indent-2">
|
|
|
+ <font v-if="bjyhcount[3].yhmx"
|
|
|
+ >其中以{{ bjyhcount[3].yhmx }}发生时长最长,为{{
|
|
|
+ bjyhcount[3].times
|
|
|
+ }}分钟;</font
|
|
|
+ >
|
|
|
+ <font v-if="bjyhcount[4].yhmx"
|
|
|
+ >{{ bjyhcount[4].yhmx }}次之,为{{
|
|
|
+ bjyhcount[4].yhmx
|
|
|
+ }}分钟;</font
|
|
|
+ >
|
|
|
+ <font v-if="bjyhcount[5].yhmx"
|
|
|
+ >{{ bjyhcount[5].yhmx }}第三,为{{
|
|
|
+ bjyhcount[5].yhmx
|
|
|
+ }}分钟。</font
|
|
|
+ >
|
|
|
</el-form-item>
|
|
|
<div class="logHead">部件隐患对比(次|分钟)</div>
|
|
|
<el-table
|
|
@@ -334,7 +356,7 @@
|
|
|
</el-table>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div class="textBox">
|
|
|
<el-form>
|
|
|
<el-form-item class="imp fw text-indent-2">故障分类:</el-form-item>
|
|
@@ -388,7 +410,7 @@
|
|
|
</el-table>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div class="textBox">
|
|
|
<el-form>
|
|
|
<el-form-item class="imp fw text-indent-2"
|
|
@@ -428,7 +450,7 @@
|
|
|
</el-table>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div class="textBox">
|
|
|
<el-form>
|
|
|
<el-form-item class="imp fw text-indent-2"
|
|
@@ -459,7 +481,7 @@
|
|
|
</el-table>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div class="textBox">
|
|
|
<el-form>
|
|
|
<el-form-item class="imp fw text-indent-2">发电机:</el-form-item>
|
|
@@ -488,7 +510,7 @@
|
|
|
</el-table>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div class="textBox">
|
|
|
<el-form>
|
|
|
<el-form-item class="imp fw text-indent-2"
|
|
@@ -517,7 +539,7 @@
|
|
|
>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div class="textBox">
|
|
|
<el-form>
|
|
|
<el-form-item class="imp fw text-indent-2">齿轮箱:</el-form-item>
|
|
@@ -612,7 +634,7 @@
|
|
|
<el-table-column prop="scz" label="实测值"></el-table-column>
|
|
|
<el-table-column prop="df" label="得分"></el-table-column>
|
|
|
</el-table>
|
|
|
-
|
|
|
+
|
|
|
<el-form-item class="imp fw text-indent-2">震动监测:</el-form-item>
|
|
|
<el-form-item class="text-indent-2">时域分析分析法</el-form-item>
|
|
|
<el-form-item class="text-indent-2"
|
|
@@ -638,7 +660,7 @@
|
|
|
>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div class="textBox">
|
|
|
<el-form>
|
|
|
<el-form-item class="imp fw text-indent-2"
|
|
@@ -692,7 +714,7 @@
|
|
|
</el-table>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div class="textBox">
|
|
|
<el-form>
|
|
|
<el-form-item class="imp fw text-indent-2"
|
|
@@ -739,7 +761,7 @@
|
|
|
:label="sbklyls[0].date"
|
|
|
></el-table-column>
|
|
|
</el-table>
|
|
|
-
|
|
|
+
|
|
|
<el-form-item class="imp fw text-indent-2"
|
|
|
>2、设备可利用率</el-form-item
|
|
|
>
|
|
@@ -823,7 +845,7 @@
|
|
|
<div class="logHead">
|
|
|
{{ datas.year }}年{{ datas.month }}月性能评价明细
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<table
|
|
|
border="1"
|
|
|
class="xnpjfx"
|
|
@@ -863,7 +885,7 @@
|
|
|
</table>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div class="textBox" v-if="Number(datas.isrecommend) == 1">
|
|
|
<el-form>
|
|
|
<el-form-item class="imp fw"><b>推荐检修方案</b></el-form-item>
|
|
@@ -875,7 +897,9 @@
|
|
|
>中频:{{ datas.mediatefrequency }}</el-form-item
|
|
|
>
|
|
|
<el-form-item class="m-b-10 text-indent-4"
|
|
|
- >低频:{{ datas.fowfrequency == 'null'?'暂无数据':datas.fowfrequency }}</el-form-item
|
|
|
+ >低频:{{
|
|
|
+ datas.fowfrequency == "null" ? "暂无数据" : datas.fowfrequency
|
|
|
+ }}</el-form-item
|
|
|
>
|
|
|
<el-form-item class="text-indent-2"
|
|
|
>推荐检修理由:{{ datas.reason }}</el-form-item
|
|
@@ -914,7 +938,7 @@
|
|
|
>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div class="textBox">
|
|
|
<el-form>
|
|
|
<el-form-item class="fw" style="margin: 10px 0; text-align: center"
|
|
@@ -997,18 +1021,22 @@ export default {
|
|
|
{
|
|
|
title: "曲线偏差率",
|
|
|
yAxisIndex: 0,
|
|
|
- value: [{
|
|
|
+ value: [
|
|
|
+ {
|
|
|
text: "1",
|
|
|
value: 0,
|
|
|
- }],
|
|
|
+ },
|
|
|
+ ],
|
|
|
},
|
|
|
{
|
|
|
title: "基准值",
|
|
|
yAxisIndex: 0,
|
|
|
- value: [{
|
|
|
+ value: [
|
|
|
+ {
|
|
|
text: "1",
|
|
|
value: 0,
|
|
|
- },],
|
|
|
+ },
|
|
|
+ ],
|
|
|
},
|
|
|
],
|
|
|
// 隐患部件频次统计
|
|
@@ -1108,7 +1136,7 @@ export default {
|
|
|
xnpjmx: [],
|
|
|
pjmxs: [],
|
|
|
wttragetreportcharts: [],
|
|
|
-
|
|
|
+
|
|
|
zhrank: 2,
|
|
|
// 维修换件频次
|
|
|
wxhjpc: [
|
|
@@ -1607,7 +1635,7 @@ export default {
|
|
|
reqData: {},
|
|
|
};
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
props: {
|
|
|
show: {
|
|
|
type: Boolean,
|
|
@@ -1619,14 +1647,13 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
created() {
|
|
|
- this.getReport();
|
|
|
+ this.getReport();
|
|
|
},
|
|
|
beforeUpdate() {
|
|
|
var that = this;
|
|
|
that.$nextTick(() => {
|
|
|
that.others();
|
|
|
});
|
|
|
-
|
|
|
},
|
|
|
mounted() {
|
|
|
this.dialogVisible = this.show;
|
|
@@ -1691,22 +1718,22 @@ export default {
|
|
|
"健康评价报告概述"
|
|
|
);
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// 关闭弹窗
|
|
|
dialogClosed() {
|
|
|
this.dialogVisible = false;
|
|
|
this.$emit("closed", false);
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// 改变列颜色
|
|
|
columnStyle({ row, column, rowIndex, columnIndex }) {
|
|
|
if (columnIndex === 0) {
|
|
|
return "background:rgb(204,255,255);";
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
// 获取报告详情
|
|
|
- getReport(wtid,recorddate) {
|
|
|
+ getReport(wtid, recorddate) {
|
|
|
let that = this;
|
|
|
let reqData = this.params;
|
|
|
that.API.requestData({
|
|
@@ -1715,8 +1742,8 @@ export default {
|
|
|
baseURL: "http://10.155.32.4:8034/",
|
|
|
subUrl: "/healthreport/healthReport",
|
|
|
data: {
|
|
|
- // wtid: reqData.wtId,
|
|
|
- // date: reqData.recorddate,
|
|
|
+ // wtid: reqData.wtId,
|
|
|
+ // date: reqData.recorddate,
|
|
|
wtid: wtid,
|
|
|
date: recorddate,
|
|
|
}, // 请求所携带参数,默认为空,可缺省
|
|
@@ -1725,7 +1752,7 @@ export default {
|
|
|
that.datas = res.data;
|
|
|
that.healthreport = res.data.healthreport;
|
|
|
that.randomInitDate();
|
|
|
-
|
|
|
+
|
|
|
that.qxpcls = [];
|
|
|
// 功率曲线拟合
|
|
|
let glqxnh = [
|
|
@@ -1740,22 +1767,23 @@ export default {
|
|
|
value: [],
|
|
|
},
|
|
|
];
|
|
|
- res.data.healthreport.nhglqxs && res.data.healthreport.nhglqxs.forEach((item) => {
|
|
|
- if (Number(item.speed) % 1 == 0) {
|
|
|
- glqxnh[0].value.push({
|
|
|
- text: item.speed,
|
|
|
- value: item.bzgl,
|
|
|
- });
|
|
|
- glqxnh[1].value.push({
|
|
|
- text: item.speed,
|
|
|
- value: item.nhgl,
|
|
|
- });
|
|
|
- }
|
|
|
- });
|
|
|
+ res.data.healthreport.nhglqxs &&
|
|
|
+ res.data.healthreport.nhglqxs.forEach((item) => {
|
|
|
+ if (Number(item.speed) % 1 == 0) {
|
|
|
+ glqxnh[0].value.push({
|
|
|
+ text: item.speed,
|
|
|
+ value: item.bzgl,
|
|
|
+ });
|
|
|
+ glqxnh[1].value.push({
|
|
|
+ text: item.speed,
|
|
|
+ value: item.nhgl,
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
that.glqxnh = glqxnh;
|
|
|
-
|
|
|
+
|
|
|
//曲线偏差率
|
|
|
- that.qxpcls = [];
|
|
|
+ that.qxpcls = [];
|
|
|
let qxpcls = [
|
|
|
{
|
|
|
title: "曲线偏差率",
|
|
@@ -1768,25 +1796,27 @@ export default {
|
|
|
value: [],
|
|
|
},
|
|
|
];
|
|
|
- console.log(11111,res.data.healthreport.qxpcls)
|
|
|
- if(res.data.healthreport.qxpcls){
|
|
|
- let qxpcl = res.data.healthreport.qxpcls.sort(that.compare("date"));
|
|
|
- if (qxpcl != null && qxpcl != undefined) {
|
|
|
- for (var i = qxpcl.length - 1; i >= 0; i--) {
|
|
|
- qxpcls[0].value.push({
|
|
|
- text: new Date(qxpcl[i].date).formatDate("yyyy-MM-dd"),
|
|
|
- value: Number(qxpcl[i].qxpcl).toFixed(2),
|
|
|
- });
|
|
|
- qxpcls[1].value.push({
|
|
|
- text: new Date(qxpcl[i].date).formatDate("yyyy-MM-dd"),
|
|
|
- value: Number(qxpcl[i].jzz).toFixed(2),
|
|
|
- });
|
|
|
- }
|
|
|
- that.qxpcls = qxpcls;
|
|
|
- console.log(11111,that.qxpcls)
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
+ console.log(11111, res.data.healthreport.qxpcls);
|
|
|
+ if (res.data.healthreport.qxpcls) {
|
|
|
+ let qxpcl = res.data.healthreport.qxpcls.sort(
|
|
|
+ that.compare("date")
|
|
|
+ );
|
|
|
+ if (qxpcl != null && qxpcl != undefined) {
|
|
|
+ for (var i = qxpcl.length - 1; i >= 0; i--) {
|
|
|
+ qxpcls[0].value.push({
|
|
|
+ text: new Date(qxpcl[i].date).formatDate("yyyy-MM-dd"),
|
|
|
+ value: Number(qxpcl[i].qxpcl).toFixed(2),
|
|
|
+ });
|
|
|
+ qxpcls[1].value.push({
|
|
|
+ text: new Date(qxpcl[i].date).formatDate("yyyy-MM-dd"),
|
|
|
+ value: Number(qxpcl[i].jzz).toFixed(2),
|
|
|
+ });
|
|
|
+ }
|
|
|
+ that.qxpcls = qxpcls;
|
|
|
+ console.log(11111, that.qxpcls);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
// 对风偏差
|
|
|
that.dfpc = [];
|
|
|
let dfpc = {
|
|
@@ -1812,29 +1842,32 @@ export default {
|
|
|
},
|
|
|
],
|
|
|
};
|
|
|
- res.data.healthreport.nipples && res.data.healthreport.nipples.forEach((item) => {
|
|
|
- let obj = {
|
|
|
- text: item.pcl,
|
|
|
- value: item.count,
|
|
|
- };
|
|
|
- dfpc.nipples[0].value.push(obj);
|
|
|
- });
|
|
|
- res.data.healthreport.dfpclpowers && res.data.healthreport.dfpclpowers.forEach((item) => {
|
|
|
- let obj = {
|
|
|
- text: item.power,
|
|
|
- value: item.dfpcl,
|
|
|
- };
|
|
|
- dfpc.dfpclpowers[0].value.push(obj);
|
|
|
- });
|
|
|
- res.data.healthreport.dfpclSpeeds && res.data.healthreport.dfpclSpeeds.forEach((item) => {
|
|
|
- let obj = {
|
|
|
- text: item.speed,
|
|
|
- value: item.dfpcl,
|
|
|
- };
|
|
|
- dfpc.dfpclSpeeds[0].value.push(obj);
|
|
|
- });
|
|
|
+ res.data.healthreport.nipples &&
|
|
|
+ res.data.healthreport.nipples.forEach((item) => {
|
|
|
+ let obj = {
|
|
|
+ text: item.pcl,
|
|
|
+ value: item.count,
|
|
|
+ };
|
|
|
+ dfpc.nipples[0].value.push(obj);
|
|
|
+ });
|
|
|
+ res.data.healthreport.dfpclpowers &&
|
|
|
+ res.data.healthreport.dfpclpowers.forEach((item) => {
|
|
|
+ let obj = {
|
|
|
+ text: item.power,
|
|
|
+ value: item.dfpcl,
|
|
|
+ };
|
|
|
+ dfpc.dfpclpowers[0].value.push(obj);
|
|
|
+ });
|
|
|
+ res.data.healthreport.dfpclSpeeds &&
|
|
|
+ res.data.healthreport.dfpclSpeeds.forEach((item) => {
|
|
|
+ let obj = {
|
|
|
+ text: item.speed,
|
|
|
+ value: item.dfpcl,
|
|
|
+ };
|
|
|
+ dfpc.dfpclSpeeds[0].value.push(obj);
|
|
|
+ });
|
|
|
that.dfpc = dfpc;
|
|
|
-
|
|
|
+
|
|
|
// 部件隐患对比
|
|
|
that.bjyhdbs = [];
|
|
|
that.bjyhdbs = that.datas.healthreport.bjyhdbs;
|
|
@@ -1886,13 +1919,13 @@ export default {
|
|
|
}
|
|
|
if (that.yhmxdbs2.length == 3) break;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
// 部件隐患数据频次时长统计
|
|
|
let ybmxdj1 = Object.assign([], ybmxdj);
|
|
|
let ybmxdj2 = Object.assign([], ybmxdj);
|
|
|
let array1 = ybmxdj1.sort(that.compare("count"));
|
|
|
let array2 = ybmxdj2.sort(that.compare("times"));
|
|
|
- if (array1.length > 0 && array2.length > 0){
|
|
|
+ if (array1.length > 0 && array2.length > 0) {
|
|
|
that.bjyhcount = [];
|
|
|
that.bjyhcount.push(array1[0]);
|
|
|
that.bjyhcount.push(array1[1]);
|
|
@@ -1904,14 +1937,15 @@ export default {
|
|
|
}
|
|
|
//切入切出对比
|
|
|
that.qrqcs = [];
|
|
|
- res.data.healthreport.qrqcs && res.data.healthreport.qrqcs.forEach((item) => {
|
|
|
- item.xfqr = item.xfqr == null ? 0 : item.xfqr.toFixed(2);
|
|
|
- item.xfqc = item.xfqc == null ? 0 : item.xfqc.toFixed(2);
|
|
|
- item.dfqr = item.dfqr == null ? 0 : item.dfqr.toFixed(2);
|
|
|
- item.dfqc = item.dfqc == null ? 0 : item.dfqc.toFixed(2);
|
|
|
- that.qrqcs.push(item);
|
|
|
- });
|
|
|
-
|
|
|
+ res.data.healthreport.qrqcs &&
|
|
|
+ res.data.healthreport.qrqcs.forEach((item) => {
|
|
|
+ item.xfqr = item.xfqr == null ? 0 : item.xfqr.toFixed(2);
|
|
|
+ item.xfqc = item.xfqc == null ? 0 : item.xfqc.toFixed(2);
|
|
|
+ item.dfqr = item.dfqr == null ? 0 : item.dfqr.toFixed(2);
|
|
|
+ item.dfqc = item.dfqc == null ? 0 : item.dfqc.toFixed(2);
|
|
|
+ that.qrqcs.push(item);
|
|
|
+ });
|
|
|
+
|
|
|
//设备可利用率
|
|
|
let sbklyls = that.datas.healthreport.sbklyls;
|
|
|
that.sbklyls = sbklyls;
|
|
@@ -1967,7 +2001,7 @@ export default {
|
|
|
that.sbklyls2.push(sbklyls5);
|
|
|
that.sbklyls2.push(sbklyls6);
|
|
|
that.sbklyls2.push(sbklyls7);
|
|
|
-
|
|
|
+
|
|
|
// 风能利用率
|
|
|
let fnlyl = that.datas.healthreport.fnlyls;
|
|
|
let fnlyl1 = {
|
|
@@ -2034,55 +2068,56 @@ export default {
|
|
|
that.fnlyls.push(fnlyl8);
|
|
|
that.fnlyls.push(fnlyl9);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
// 故障分类
|
|
|
that.faultclass = that.datas.healthreport.faultclass.sort(
|
|
|
that.compare("monthwarningnum")
|
|
|
);
|
|
|
-
|
|
|
+
|
|
|
// 功率对部件温度影响
|
|
|
that.partwds = [];
|
|
|
let partwds = that.datas.healthreport.partwds;
|
|
|
let partwd = [];
|
|
|
- partwds && partwds.forEach((item, i) => {
|
|
|
- let bj = "";
|
|
|
- if (item.part == "zk") {
|
|
|
- bj = "主控";
|
|
|
- } else if (item.part == "fdj") {
|
|
|
- bj = "发电机";
|
|
|
- } else if (item.part == "clx") {
|
|
|
- bj = "齿轮箱";
|
|
|
- } else if (item.part == "bj") {
|
|
|
- bj = "变桨";
|
|
|
- } else if (item.part.indexOf("ph")) {
|
|
|
- bj = "偏航";
|
|
|
- } else if (item.part == "bj") {
|
|
|
- bj = "变桨";
|
|
|
- } else if (item.part.indexOf("yy")) {
|
|
|
- bj = "液压";
|
|
|
- } else if (item.part.indexOf("cdl")) {
|
|
|
- bj = "传动链";
|
|
|
- } else if (item.part.indexOf("cf")) {
|
|
|
- bj = "测风系统";
|
|
|
- }
|
|
|
-
|
|
|
- partwd.push({
|
|
|
- bj: bj,
|
|
|
- wdcd: item.type,
|
|
|
- min0: item.power == "0kw-150kw" ? item.value : 0,
|
|
|
- min150: item.power == "150kw-300kw" ? item.value : 0,
|
|
|
- min300: item.power == "300kw-450kw" ? item.value : 0,
|
|
|
- min450: item.power == "450kw-600kw" ? item.value : 0,
|
|
|
- min600: item.power == "600kw-750kw" ? item.value : 0,
|
|
|
- min750: item.power == "750kw-900kw" ? item.value : 0,
|
|
|
- min900: item.power == "900kw-1050kw" ? item.value : 0,
|
|
|
- min1050: item.power == "1050kw-1200kw" ? item.value : 0,
|
|
|
- min1200: item.power == "1200kw-1350kw" ? item.value : 0,
|
|
|
- min1350: item.power == "1350kw-1500kw" ? item.value : 0,
|
|
|
+ partwds &&
|
|
|
+ partwds.forEach((item, i) => {
|
|
|
+ let bj = "";
|
|
|
+ if (item.part == "zk") {
|
|
|
+ bj = "主控";
|
|
|
+ } else if (item.part == "fdj") {
|
|
|
+ bj = "发电机";
|
|
|
+ } else if (item.part == "clx") {
|
|
|
+ bj = "齿轮箱";
|
|
|
+ } else if (item.part == "bj") {
|
|
|
+ bj = "变桨";
|
|
|
+ } else if (item.part.indexOf("ph")) {
|
|
|
+ bj = "偏航";
|
|
|
+ } else if (item.part == "bj") {
|
|
|
+ bj = "变桨";
|
|
|
+ } else if (item.part.indexOf("yy")) {
|
|
|
+ bj = "液压";
|
|
|
+ } else if (item.part.indexOf("cdl")) {
|
|
|
+ bj = "传动链";
|
|
|
+ } else if (item.part.indexOf("cf")) {
|
|
|
+ bj = "测风系统";
|
|
|
+ }
|
|
|
+
|
|
|
+ partwd.push({
|
|
|
+ bj: bj,
|
|
|
+ wdcd: item.type,
|
|
|
+ min0: item.power == "0kw-150kw" ? item.value : 0,
|
|
|
+ min150: item.power == "150kw-300kw" ? item.value : 0,
|
|
|
+ min300: item.power == "300kw-450kw" ? item.value : 0,
|
|
|
+ min450: item.power == "450kw-600kw" ? item.value : 0,
|
|
|
+ min600: item.power == "600kw-750kw" ? item.value : 0,
|
|
|
+ min750: item.power == "750kw-900kw" ? item.value : 0,
|
|
|
+ min900: item.power == "900kw-1050kw" ? item.value : 0,
|
|
|
+ min1050: item.power == "1050kw-1200kw" ? item.value : 0,
|
|
|
+ min1200: item.power == "1200kw-1350kw" ? item.value : 0,
|
|
|
+ min1350: item.power == "1350kw-1500kw" ? item.value : 0,
|
|
|
+ });
|
|
|
});
|
|
|
- });
|
|
|
that.partwds = partwd;
|
|
|
-
|
|
|
+
|
|
|
// 性能评价结果
|
|
|
that.xnpjjg = [];
|
|
|
let pjmxs = that.datas.healthreport.pjjgs;
|
|
@@ -2115,7 +2150,7 @@ export default {
|
|
|
that.xnpjjg.push(xnpj3);
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
// 评价结果明细
|
|
|
that.xnpjmx = [];
|
|
|
let pjmx = that.datas.healthreport.pjmxs[0];
|
|
@@ -2315,7 +2350,7 @@ export default {
|
|
|
],
|
|
|
},
|
|
|
];
|
|
|
-
|
|
|
+
|
|
|
// 部件劣化状态4张图表
|
|
|
let fdj = [
|
|
|
{
|
|
@@ -2345,33 +2380,34 @@ export default {
|
|
|
value: [],
|
|
|
},
|
|
|
];
|
|
|
-
|
|
|
- res.data.healthreport.wttragetreportcharts && res.data.healthreport.wttragetreportcharts.forEach((item) => {
|
|
|
- var recorddate = new Date(item.recorddate).formatDate(
|
|
|
- "yyyy-MM-dd hh:mm"
|
|
|
- );
|
|
|
- if (item.partid === "fdj") {
|
|
|
- fdj[0].value.push({
|
|
|
- text: recorddate,
|
|
|
- value: item.value,
|
|
|
- });
|
|
|
- } else if (item.partid == "clx") {
|
|
|
- clx[0].value.push({
|
|
|
- text: recorddate,
|
|
|
- value: item.value,
|
|
|
- });
|
|
|
- } else if (item.partid == "zk") {
|
|
|
- zk[0].value.push({
|
|
|
- text: recorddate,
|
|
|
- value: item.value,
|
|
|
- });
|
|
|
- } else if (item.partid == "bj") {
|
|
|
- bj[0].value.push({
|
|
|
- text: recorddate,
|
|
|
- value: item.value,
|
|
|
- });
|
|
|
- }
|
|
|
- });
|
|
|
+
|
|
|
+ res.data.healthreport.wttragetreportcharts &&
|
|
|
+ res.data.healthreport.wttragetreportcharts.forEach((item) => {
|
|
|
+ var recorddate = new Date(item.recorddate).formatDate(
|
|
|
+ "yyyy-MM-dd hh:mm"
|
|
|
+ );
|
|
|
+ if (item.partid === "fdj") {
|
|
|
+ fdj[0].value.push({
|
|
|
+ text: recorddate,
|
|
|
+ value: item.value,
|
|
|
+ });
|
|
|
+ } else if (item.partid == "clx") {
|
|
|
+ clx[0].value.push({
|
|
|
+ text: recorddate,
|
|
|
+ value: item.value,
|
|
|
+ });
|
|
|
+ } else if (item.partid == "zk") {
|
|
|
+ zk[0].value.push({
|
|
|
+ text: recorddate,
|
|
|
+ value: item.value,
|
|
|
+ });
|
|
|
+ } else if (item.partid == "bj") {
|
|
|
+ bj[0].value.push({
|
|
|
+ text: recorddate,
|
|
|
+ value: item.value,
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
that.wttragetreportcharts = {
|
|
|
fdj: fdj,
|
|
|
clx: clx,
|
|
@@ -2501,11 +2537,11 @@ export default {
|
|
|
this.bjzb.push(obj14);
|
|
|
},
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
watch: {
|
|
|
show(value) {
|
|
|
this.dialogVisible = value;
|
|
|
- // console.log(value)
|
|
|
+ // console.log(value)
|
|
|
// if (value) {
|
|
|
// this.datas();
|
|
|
// }
|
|
@@ -2520,62 +2556,62 @@ export default {
|
|
|
<style lang="less" scoped>
|
|
|
.cDialog {
|
|
|
position: relative;
|
|
|
-
|
|
|
+
|
|
|
.pdfDom {
|
|
|
padding: 30px 50px;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.title {
|
|
|
text-align: center;
|
|
|
font-size: 24px;
|
|
|
font-weight: 700;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.tableBox {
|
|
|
width: 100%;
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
align-items: center;
|
|
|
-
|
|
|
+
|
|
|
.l,
|
|
|
.r {
|
|
|
width: 49%;
|
|
|
align-self: flex-start;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.fw {
|
|
|
font-weight: 700;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.infoBox {
|
|
|
margin-top: 10px;
|
|
|
font-size: 16px;
|
|
|
-
|
|
|
+
|
|
|
.red {
|
|
|
color: #f25656;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.purple {
|
|
|
color: rgb(112, 88, 209);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.info {
|
|
|
color: #1595fa;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
p {
|
|
|
text-indent: 2em;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.textBox {
|
|
|
width: 100%;
|
|
|
margin-top: 10px;
|
|
|
font-size: 16px;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.logHead {
|
|
|
display: flex;
|
|
|
width: 100%;
|
|
@@ -2586,23 +2622,23 @@ export default {
|
|
|
justify-content: center;
|
|
|
margin-top: 15px;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.border-b {
|
|
|
border-bottom: 1px solid #c0ccda;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.p-5 {
|
|
|
padding: 5px;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.m-b-10 {
|
|
|
margin-bottom: 10px;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.text-indent-2 {
|
|
|
text-indent: 2em;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.text-indent-4 {
|
|
|
text-indent: 4em;
|
|
|
}
|
|
@@ -2613,23 +2649,23 @@ export default {
|
|
|
.cell {
|
|
|
text-align: center;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.el-dialog__body {
|
|
|
max-height: 850px;
|
|
|
overflow-y: scroll;
|
|
|
padding: 0;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.el-form-item.imp {
|
|
|
.el-form-item__content {
|
|
|
font-size: 24px;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.el-form-item {
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
.el-table td {
|
|
|
color: black;
|
|
|
}
|