Forráskód Böngészése

Signed-off-by: zhaobao <528046418@qq.com>

zhaobao 1 éve
szülő
commit
a353734b5c

+ 1 - 1
src/views/iiot/equipment/overview.vue

@@ -33,7 +33,7 @@
         </el-table-column>
         <el-table-column header-align="center" align="center" prop="goafSensorAlarmType" label="运行状态">
           <template v-slot="{row}">
-            <template v-if="row.goafSensorStatus===0">
+            <template v-if="row.goafSensorStatus===1">
               <span>离线</span>
             </template>
             <template v-else>

+ 1 - 1
src/views/iiot/sensor/index.vue

@@ -49,7 +49,7 @@
         <el-table-column prop="goafDevName" label="设备名称" align="center" />
         <el-table-column header-align="center" align="center" prop="goafSensorStatus" label="运行状态">
           <template v-slot="{row}">
-            <template v-if="row.goafSensorStatus===0">
+            <template v-if="row.goafSensorStatus===1">
               <span>离线</span>
             </template>
             <template v-else>