Browse Source

5.5首页有效风量率修改-提交

lxh 13 hours ago
parent
commit
d4c094d246
1 changed files with 9 additions and 8 deletions
  1. 9 8
      src/views/vent/home/colliery/index.vue

+ 9 - 8
src/views/vent/home/colliery/index.vue

@@ -202,18 +202,19 @@
                 return { val: el };
               })
           : [];
-      if (centerList && centerList.zongfengliang && centerList.zongjinfeng) {
-        // 外部漏风率  (zongfengliang-zongjinfeng)/zongfengliang
-        navList[3].val =
-          (((parseFloat(centerList.zongfengliang) - parseFloat(centerList.zongjinfeng)) / parseFloat(centerList.zongfengliang)) * 100).toFixed(2) +
-          '%';
-      } else {
-        navList[3].val = '0%';
-      }
+      // if (centerList && centerList.zongfengliang && centerList.zongjinfeng) {
+      //   // 外部漏风率  (zongfengliang-zongjinfeng)/zongfengliang
+      //   navList[3].val =
+      //     (((parseFloat(centerList.zongfengliang) - parseFloat(centerList.zongjinfeng)) / parseFloat(centerList.zongfengliang)) * 100).toFixed(2) +
+      //     '%';
+      // } else {
+      //   navList[3].val = '0%';
+      // }
 
       // if (res.midinfo[0] && res.midinfo[0].sysinfo) {
       //   navList[4].val = (res.midinfo[0].sysinfo.useM3Perent ? res.midinfo[0].sysinfo.useM3Perent : '0') + '%';
       // }
+      navList[3].val=`${centerList.useM3Perent}%` || '--'
 
       flList.value = res.windrect || res.sys_wind;