Skip to content

Commit 5569169

Browse files
committed
fix 修复 前端变量名错误
1 parent 53e7d03 commit 5569169

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/api/workflow/workflowCommon/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ export interface StartProcessBo {
1010
businessId: string | number;
1111
flowCode: string;
1212
variables: any;
13-
flowInstanceBizExtBo: any;
13+
bizExt: any;
1414
}

src/views/workflow/leave/leaveEdit.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,10 @@ const submitFormData = ref<StartProcessBo>({
127127
businessId: '',
128128
flowCode: '',
129129
variables: {},
130-
flowInstanceBizExtBo: {}
130+
bizExt: {}
131131
});
132132
const taskVariables = ref<Record<string, any>>({});
133-
const flowInstanceBizExtBo = ref<Record<string, any>>({});
133+
const bizExt = ref<Record<string, any>>({});
134134
135135
const initFormData: LeaveForm = {
136136
id: undefined,
@@ -244,12 +244,12 @@ const handleStartWorkFlow = async (data: LeaveForm) => {
244244
userList: ['1', '3', '4']
245245
};
246246
//流程实例业务扩展字段
247-
flowInstanceBizExtBo.value = {
247+
bizExt.value = {
248248
businessTitle: '请假申请',
249249
businessCode: data.applyCode
250250
};
251251
submitFormData.value.variables = taskVariables.value;
252-
submitFormData.value.flowInstanceBizExtBo = flowInstanceBizExtBo.value;
252+
submitFormData.value.bizExt = bizExt.value;
253253
const resp = await startWorkFlow(submitFormData.value);
254254
if (submitVerifyRef.value) {
255255
buttonLoading.value = false;

0 commit comments

Comments
 (0)