Browse Source

[Mod 0000] 修改安全监控字段解析值

hongrunxia 2 days ago
parent
commit
2bab815e9e

BIN
public/video/gate1.mp4


BIN
public/video/wind1.mp4


BIN
public/video/window1.mp4


+ 0 - 4
src/views/vent/monitorManager/nitrogen/nitrogen.data.1.ts

@@ -96,11 +96,7 @@ export async function getMonitorData() {
       return await import('./nitrogen.data.jh');
     case 'hnqymdktymk': //核桃峪
       return await import('./nitrogen.data.hty');
-    case 'sdmtjthlgmk': //核桃峪
-      return await import('./nitrogen.data.hty');
     default: //默认
-      // return await import('./nitrogen.dataCc_2');
-      // return await import('./nitrogen.data.hty');
       return await import('./nitrogen.dataTest');
   }
 }

+ 5 - 2
src/views/vent/monitorManager/safetyMonitor/index.vue

@@ -68,8 +68,11 @@
                 <a-tag v-if="column.dataIndex === 'exceptionType_str'" :color="record.exceptionType_str == '正常' ? 'green' : '#f00'">
                   {{ record.exceptionType_str == '正常' ? '正常' : '异常' }}</a-tag
                 >
-                <a-tag v-if="column.dataIndex === 'netStatus_str'" :color="record.netStatus_str == '正常' ? 'green' : '#f00'">{{
-                  record.netStatus_str == '正常' ? '正常' : '异常'
+                <a-tag v-if="column.dataIndex === 'netStatus'" :color="record.netStatus == '1' ? 'green' : '#f00'">{{
+                  record.netStatus == '1' ? '正常' : '异常'
+                }}</a-tag>
+                <a-tag v-if="column.dataIndex === 'warnFlag'" :color="record.warnFlag == '0' ? 'green' : '#f00'">{{
+                  record.warnFlag == '0' ? '正常' : '异常'
                 }}</a-tag>
               </template>
             </MonitorTable>