@@ -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[] }>({});
@@ -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'">
{{
- "work_order_seq_state",
- )
+ dictS.getLableByValue("station_task_state", String(item.state))
}}
</div>