update 调整key
This commit is contained in:
parent
c53f051bea
commit
f8d8ea6aaa
@ -340,13 +340,14 @@ const handleExport = () => {
|
||||
|
||||
//提交申请
|
||||
const handleStartWorkFlow = async (data: LeaveVO) => {
|
||||
submitFormData.value.processKey = 'test';
|
||||
submitFormData.value.processKey = 'leave1';
|
||||
submitFormData.value.businessKey = data.id;
|
||||
//流程变量
|
||||
taskVariables.value = {
|
||||
entity: data,
|
||||
leaveDays: data.leaveDays,
|
||||
userList: [1, 2]
|
||||
userList: [1, 2],
|
||||
userList2: [1, 2]
|
||||
};
|
||||
submitFormData.value.variables = taskVariables.value;
|
||||
const resp = await startWorkFlow(submitFormData.value);
|
||||
|
Loading…
x
Reference in New Issue
Block a user