Ver Fonte

巡检统计

lipenghui há 4 semanas atrás
pai
commit
af5ca7dcfb

+ 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" />