diff --git a/src/views/workflow/leave/index.vue b/src/views/workflow/leave/index.vue index 4f7c8e1..c18eb3d 100644 --- a/src/views/workflow/leave/index.vue +++ b/src/views/workflow/leave/index.vue @@ -51,9 +51,9 @@ - + @@ -101,7 +101,7 @@ import { cancelProcessApply } from '@/api/workflow/processInstance'; import { LeaveForm, LeaveQuery, LeaveVO } from '@/api/workflow/leave/types'; const { proxy } = getCurrentInstance() as ComponentInternalInstance; - +const { wf_business_status } = toRefs(proxy?.useDict('wf_business_status')); const leaveList = ref([]); const loading = ref(true); const showSearch = ref(true); diff --git a/src/views/workflow/processInstance/index.vue b/src/views/workflow/processInstance/index.vue index 0da78bc..06b59b4 100644 --- a/src/views/workflow/processInstance/index.vue +++ b/src/views/workflow/processInstance/index.vue @@ -70,10 +70,10 @@ 挂起 - + + + @@ -165,6 +165,7 @@ import workflowCommon from '@/api/workflow/workflowCommon'; import { RouterJumpVo } from '@/api/workflow/workflowCommon/types'; //审批记录组件 const { proxy } = getCurrentInstance() as ComponentInternalInstance; +const { wf_business_status } = toRefs(proxy?.useDict('wf_business_status')); const queryFormRef = ref(); const categoryTreeRef = ref(); diff --git a/src/views/workflow/task/allTaskWaiting.vue b/src/views/workflow/task/allTaskWaiting.vue index 45ec729..e1c72b7 100644 --- a/src/views/workflow/task/allTaskWaiting.vue +++ b/src/views/workflow/task/allTaskWaiting.vue @@ -64,9 +64,9 @@ - + @@ -139,6 +139,7 @@ const userSelectRef = ref>(); const queryFormRef = ref(); const { proxy } = getCurrentInstance() as ComponentInternalInstance; +const { wf_business_status } = toRefs(proxy?.useDict('wf_business_status')); // 遮罩层 const loading = ref(true); // 选中数组 diff --git a/src/views/workflow/task/myDocument.vue b/src/views/workflow/task/myDocument.vue index 8ccb3a5..7b72954 100644 --- a/src/views/workflow/task/myDocument.vue +++ b/src/views/workflow/task/myDocument.vue @@ -57,10 +57,10 @@ 挂起 - + + + @@ -120,6 +120,7 @@ import { ProcessInstanceQuery, ProcessInstanceVO } from '@/api/workflow/processI import workflowCommon from '@/api/workflow/workflowCommon'; import { RouterJumpVo } from '@/api/workflow/workflowCommon/types'; const { proxy } = getCurrentInstance() as ComponentInternalInstance; +const { wf_business_status } = toRefs(proxy?.useDict('wf_business_status')); const queryFormRef = ref(); const categoryTreeRef = ref(); diff --git a/src/views/workflow/task/taskCopyList.vue b/src/views/workflow/task/taskCopyList.vue index 7393999..88c38ed 100644 --- a/src/views/workflow/task/taskCopyList.vue +++ b/src/views/workflow/task/taskCopyList.vue @@ -48,9 +48,9 @@ - + @@ -78,6 +78,7 @@ import { RouterJumpVo } from '@/api/workflow/workflowCommon/types'; //审批记录组件 const queryFormRef = ref(); const { proxy } = getCurrentInstance() as ComponentInternalInstance; +const { wf_business_status } = toRefs(proxy?.useDict('wf_business_status')); // 遮罩层 const loading = ref(true); // 选中数组 diff --git a/src/views/workflow/task/taskWaiting.vue b/src/views/workflow/task/taskWaiting.vue index af609cb..5eb6d83 100644 --- a/src/views/workflow/task/taskWaiting.vue +++ b/src/views/workflow/task/taskWaiting.vue @@ -48,9 +48,9 @@ - + @@ -81,10 +81,10 @@ import { getPageByTaskWait, claim, returnTask } from '@/api/workflow/task'; import { TaskQuery, TaskVO } from '@/api/workflow/task/types'; import workflowCommon from '@/api/workflow/workflowCommon'; import { RouterJumpVo } from '@/api/workflow/workflowCommon/types'; - +const { proxy } = getCurrentInstance() as ComponentInternalInstance; +const { wf_business_status } = toRefs(proxy?.useDict('wf_business_status')); //提交组件 const queryFormRef = ref(); -const { proxy } = getCurrentInstance() as ComponentInternalInstance; // 遮罩层 const loading = ref(true); // 选中数组