add 增加示例

This commit is contained in:
gssong 2024-12-15 00:24:19 +08:00
parent 0df893a1bf
commit 000c8458ea

View File

@ -99,6 +99,10 @@ const flowCodeOptions = [
{
value: 'leave2',
label: '请假申请-排他网关'
},
{
value: 'leave3',
label: '请假申请-并行网关'
}
];
@ -236,10 +240,8 @@ const handleStartWorkFlow = async (data: LeaveVO) => {
submitFormData.value.businessKey = data.id;
//
taskVariables.value = {
entity: data,
leaveDays: data.leaveDays,
userList: ['1', '3'],
userList2: ['1', '3']
userList: ['1', '3']
};
submitFormData.value.variables = taskVariables.value;
const resp = await startWorkFlow(submitFormData.value);