Browse Source

巡检统计

lipenghui 4 weeks ago
parent
commit
af5ca7dcfb
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/pms/inspect/order/detail/IotInspectOrderItemStat.vue

+ 2 - 1
src/views/pms/inspect/order/detail/IotInspectOrderItemStat.vue

@@ -62,7 +62,8 @@
       <el-table-column :label="t('inspect.InspectionItems')" align="center" prop="item" />
       <el-table-column :label="t('inspect.isException')" align="center" prop="ifNormal" >
         <template #default="scope">
-          <dict-tag :type="DICT_TYPE.INFRA_BOOLEAN_STRING" :value="scope.row.ifNormal" />
+          <span v-if="scope.row.ifNormal" style="color: dodgerblue">正常</span>
+          <span v-if="!scope.row.ifNormal" style="color: orangered">异常</span>
         </template>
       </el-table-column>
       <el-table-column :label="t('inspect.exceptionDes')" align="center" prop="description" />