瀏覽代碼

运行记录模板2

yuanchao 3 月之前
父節點
當前提交
b10f532bc6
共有 1 個文件被更改,包括 8 次插入5 次删除
  1. 8 5
      src/views/pms/iotopeationfill/index.vue

+ 8 - 5
src/views/pms/iotopeationfill/index.vue

@@ -7,7 +7,13 @@
         :key="index"
       >
         <template #label>
-          <span  @click="openFill(item.deviceCategoryId,item.deviceId,item.deptId,item.deviceName,item.deviceCode)">
+<!--          <span  @click="openFill(item.deviceCategoryId,item.deviceId,item.deptId,item.deviceName,item.deviceCode)">
+           {{item.deviceCode}} ({{ item.deviceName }})
+          </span>-->
+          <span class="custom-label" v-if='item.isFill === 1' @click="openFill(item.deviceCategoryId,item.deviceId,item.deptId,item.deviceName,item.deviceCode)">
+           {{item.deviceCode}} ({{ item.deviceName }})
+          </span>
+          <span v-else  @click="openFill(item.deviceCategoryId,item.deviceId,item.deptId,item.deviceName,item.deviceCode)">
            {{item.deviceCode}} ({{ item.deviceName }})
           </span>
         </template>
@@ -240,10 +246,7 @@ onMounted(() => {
 }
 
 .custom-label {
-  font-weight: 1000;
-  font-size: 17px;
-  padding: 0 10px;
-  color: #2bb673;
+  color: green;
 }
 ::v-deep .el-step__icon {
   background-color: #409eff;