Explorar o código

流转卡号完成状态。

jiaxiaoqiang hai 9 meses
pai
achega
a19bd4d4a0

+ 1 - 0
src/store/modules/dictionary.ts

@@ -15,6 +15,7 @@ export const useDictionaryStore = defineStore("dictionaryStore", () => {
     "plan_work_order_state",
     "disposal_measures_type",
     "escalation_fault_state",
+    "station_task_state",
   ];
   const dicts = ref<{ [key: string]: any[] }>({});
 

+ 2 - 14
src/views/process/components/transferNum.vue

@@ -37,21 +37,9 @@
                 >{{ item.seqNo }}</span
               >
             </el-tooltip>
-            <div
-              :class="
-                dictS.getLableByValue(
-                  'work_order_seq_state',
-                  String(item.state)
-                ) == '完成'
-                  ? 'status success'
-                  : 'status'
-              "
-            >
+            <div :class="item.state == '2' ? 'status success' : 'status'">
               {{
-                dictS.getLableByValue(
-                  "work_order_seq_state",
-                  String(item.state)
-                )
+                dictS.getLableByValue("station_task_state", String(item.state))
               }}
             </div>
           </div>