From 4752b4eb01d5529eb4b107d1c6118b2c75213333 Mon Sep 17 00:00:00 2001 From: gssong <1742057357@qq.com> Date: Sun, 31 Mar 2024 19:30:31 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E8=B0=83=E6=95=B4=E6=B5=81=E7=A8=8B?= =?UTF-8?q?=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/workflow/leave/index.vue | 6 +++--- src/views/workflow/processInstance/index.vue | 7 ++++--- src/views/workflow/task/allTaskWaiting.vue | 5 +++-- src/views/workflow/task/myDocument.vue | 7 ++++--- src/views/workflow/task/taskCopyList.vue | 5 +++-- src/views/workflow/task/taskWaiting.vue | 8 ++++---- 6 files changed, 21 insertions(+), 17 deletions(-) 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); // 选中数组