Explorar o código

健康报告文字异常修改

chenminghua %!s(int64=2) %!d(string=hai) anos
pai
achega
7d34bcc855
Modificáronse 1 ficheiros con 18 adicións e 7 borrados
  1. 18 7
      src/components/other/healthReport/index.vue

+ 18 - 7
src/components/other/healthReport/index.vue

@@ -82,7 +82,7 @@
               <p>
                 {{ datas.wtname }}于{{
                   new Date(healthreport.bwsj).formatDate("yyyy-MM-dd")
-                }}并网运行,服役{{
+                }}并网运行,运行{{
                   healthreport.fyts
                 }}天,统计周期内累计发电量为{{
                   Number(healthreport.yfdl).toFixed(1)
@@ -103,7 +103,7 @@
                   Number(faultclass[2] ? faultclass[2].monthwarningnum : 37)
                 }}次
               </p>
-              <p class="red" v-if="faultclass[0]">
+              <!-- <p class="red" v-if="faultclass[0]">
                 {{ faultclass[0].warningtype }}频次为{{
                   faultclass[0].monthwarningnum
                 }}次
@@ -112,7 +112,7 @@
                 {{ faultclass[1].warningtype }}频次为{{
                   faultclass[1].monthwarningnum
                 }}次
-              </p>
+              </p> -->
               <p class="purple" v-if="yhmxdbs2.length > 0">
                 隐患集中在{{ yhmxdbs2[0] }}、{{ yhmxdbs2[1] }}、{{
                   yhmxdbs2[2]
@@ -528,7 +528,7 @@
             >无量纲参数:峭度指标20,峰值指标50,波形指标90,脉冲指标77</el-form-item
           >
           <el-form-item class="text-indent-2"
-            >结合两种指标都发现明显劣化值</el-form-item
+            >结合两种指标都发现明显劣化值</el-form-item
           >
           <el-form-item class="text-indent-2"
             >频域分析法:根据震动检测提供频域分析结果,现有设备运行正常</el-form-item
@@ -613,13 +613,16 @@
       <div class="textBox">
         <el-form>
           <el-form-item class="imp fw text-indent-2">变桨</el-form-item>
-          <div class="infoBox">
-            <p>
+          <el-form-item class="text-indent-2"> 1)关键参数:变桨采用“变桨电机温度1”、“变桨电机温度2”
+              、“变桨电机温度3”、“变频器温度1”、“变频器温度2”
+              、“变频器温度3”为关键参数,该参数在统计周期内数据显示样本在安全运行区内,没有超过进入劣化区</el-form-item>
+          <!-- <div class="infoBox">
+            <p class="text-indent-2">
               1)关键参数:变桨采用“变桨电机温度1”、“变桨电机温度2”
               、“变桨电机温度3”、“变频器温度1”、“变频器温度2”
               、“变频器温度3”为关键参数,该参数在统计周期内数据显示样本在安全运行区内,没有超过进入劣化区
             </p>
-          </div>
+          </div> -->
           <div class="logHead">发电机关键参数值</div>
           <el-table
             empty-text="暂无数据"
@@ -1930,6 +1933,14 @@ export default {
             let ybmxdj = that.datas.healthreport.yhmxdbs;
             if (ybmxdj != null) {
               for (let item of ybmxdj) {
+                //‘温度温度’过滤为‘温度’
+                const idx=item.yhmx.indexOf("温度温度");
+                if(idx !== -1){
+                  const strL=item.yhmx.substring(0,idx);
+                  const strR=item.yhmx.substring(idx+2);
+                  item.yhmx=strL+strR
+                }
+
                 if (item.part.indexOf("传动链")) {
                   that.yhbjcount.cdlcount += item.count;
                   that.yhbjcount.cdltime += item.times;