소스 검색

巡检统计

lipenghui 4 주 전
부모
커밋
af5ca7dcfb
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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" />