From 55691695c4b86ea28187728bc89dc4df656e6c4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Tue, 7 Oct 2025 16:21:07 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=20=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E5=8F=98=E9=87=8F=E5=90=8D=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/workflow/workflowCommon/types.ts | 2 +- src/views/workflow/leave/leaveEdit.vue | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/api/workflow/workflowCommon/types.ts b/src/api/workflow/workflowCommon/types.ts index 8ab5a67..4815554 100644 --- a/src/api/workflow/workflowCommon/types.ts +++ b/src/api/workflow/workflowCommon/types.ts @@ -10,5 +10,5 @@ export interface StartProcessBo { businessId: string | number; flowCode: string; variables: any; - flowInstanceBizExtBo: any; + bizExt: any; } diff --git a/src/views/workflow/leave/leaveEdit.vue b/src/views/workflow/leave/leaveEdit.vue index cbf1057..f6085f6 100644 --- a/src/views/workflow/leave/leaveEdit.vue +++ b/src/views/workflow/leave/leaveEdit.vue @@ -127,10 +127,10 @@ const submitFormData = ref({ businessId: '', flowCode: '', variables: {}, - flowInstanceBizExtBo: {} + bizExt: {} }); const taskVariables = ref>({}); -const flowInstanceBizExtBo = ref>({}); +const bizExt = ref>({}); const initFormData: LeaveForm = { id: undefined, @@ -244,12 +244,12 @@ const handleStartWorkFlow = async (data: LeaveForm) => { userList: ['1', '3', '4'] }; //流程实例业务扩展字段 - flowInstanceBizExtBo.value = { + bizExt.value = { businessTitle: '请假申请', businessCode: data.applyCode }; submitFormData.value.variables = taskVariables.value; - submitFormData.value.flowInstanceBizExtBo = flowInstanceBizExtBo.value; + submitFormData.value.bizExt = bizExt.value; const resp = await startWorkFlow(submitFormData.value); if (submitVerifyRef.value) { buttonLoading.value = false;