fix 修复 前端变量名错误
This commit is contained in:
@@ -10,5 +10,5 @@ export interface StartProcessBo {
|
|||||||
businessId: string | number;
|
businessId: string | number;
|
||||||
flowCode: string;
|
flowCode: string;
|
||||||
variables: any;
|
variables: any;
|
||||||
flowInstanceBizExtBo: any;
|
bizExt: any;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -127,10 +127,10 @@ const submitFormData = ref<StartProcessBo>({
|
|||||||
businessId: '',
|
businessId: '',
|
||||||
flowCode: '',
|
flowCode: '',
|
||||||
variables: {},
|
variables: {},
|
||||||
flowInstanceBizExtBo: {}
|
bizExt: {}
|
||||||
});
|
});
|
||||||
const taskVariables = ref<Record<string, any>>({});
|
const taskVariables = ref<Record<string, any>>({});
|
||||||
const flowInstanceBizExtBo = ref<Record<string, any>>({});
|
const bizExt = ref<Record<string, any>>({});
|
||||||
|
|
||||||
const initFormData: LeaveForm = {
|
const initFormData: LeaveForm = {
|
||||||
id: undefined,
|
id: undefined,
|
||||||
@@ -244,12 +244,12 @@ const handleStartWorkFlow = async (data: LeaveForm) => {
|
|||||||
userList: ['1', '3', '4']
|
userList: ['1', '3', '4']
|
||||||
};
|
};
|
||||||
//流程实例业务扩展字段
|
//流程实例业务扩展字段
|
||||||
flowInstanceBizExtBo.value = {
|
bizExt.value = {
|
||||||
businessTitle: '请假申请',
|
businessTitle: '请假申请',
|
||||||
businessCode: data.applyCode
|
businessCode: data.applyCode
|
||||||
};
|
};
|
||||||
submitFormData.value.variables = taskVariables.value;
|
submitFormData.value.variables = taskVariables.value;
|
||||||
submitFormData.value.flowInstanceBizExtBo = flowInstanceBizExtBo.value;
|
submitFormData.value.bizExt = bizExt.value;
|
||||||
const resp = await startWorkFlow(submitFormData.value);
|
const resp = await startWorkFlow(submitFormData.value);
|
||||||
if (submitVerifyRef.value) {
|
if (submitVerifyRef.value) {
|
||||||
buttonLoading.value = false;
|
buttonLoading.value = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user