|
@@ -69,6 +69,7 @@
|
|
|
import {defineProps, ref} from "vue";
|
|
|
import { useCrud } from "@/hooks/userCrud";
|
|
|
import { useCommonStoreHook } from "@/store";
|
|
|
+import dictDataUtil from "@/common/configs/dictDataUtil";
|
|
|
import { html2CanvasPrint } from "@/utils/common";
|
|
|
const { isShowTable, tableType } = toRefs(useCommonStoreHook());
|
|
|
const toPrintRef = ref(null);
|
|
@@ -152,7 +153,13 @@ option.value = Object.assign(option.value, {
|
|
|
prop: "state",
|
|
|
minWidth: 60,
|
|
|
type: "select",
|
|
|
- dicData: [{label: '正常',value: 0},{label: '冻结',value: 1},{label: '完成',value: 2}],
|
|
|
+ dicUrl:
|
|
|
+ dictDataUtil.request_url +
|
|
|
+ dictDataUtil.TYPE_CODE.work_order_seq_state,
|
|
|
+ props: {
|
|
|
+ label: "dictLabel",
|
|
|
+ value: "dictValue",
|
|
|
+ }
|
|
|
},
|
|
|
],
|
|
|
});
|