浏览代码

流转卡号完成状态。

jiaxiaoqiang 9 月之前
父节点
当前提交
a19bd4d4a0
共有 2 个文件被更改,包括 3 次插入14 次删除
  1. 1 0
      src/store/modules/dictionary.ts
  2. 2 14
      src/views/process/components/transferNum.vue

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