add 增加示例
This commit is contained in:
parent
54f1d2588d
commit
39b52f200b
@ -103,6 +103,10 @@ const flowCodeOptions = [
|
|||||||
{
|
{
|
||||||
value: 'leave3',
|
value: 'leave3',
|
||||||
label: '请假申请-并行网关'
|
label: '请假申请-并行网关'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: 'leave4',
|
||||||
|
label: '请假申请-会签'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -241,7 +245,7 @@ const handleStartWorkFlow = async (data: LeaveVO) => {
|
|||||||
//流程变量
|
//流程变量
|
||||||
taskVariables.value = {
|
taskVariables.value = {
|
||||||
leaveDays: data.leaveDays,
|
leaveDays: data.leaveDays,
|
||||||
userList: ['1', '3']
|
userList: ['1', '3', '4']
|
||||||
};
|
};
|
||||||
submitFormData.value.variables = taskVariables.value;
|
submitFormData.value.variables = taskVariables.value;
|
||||||
const resp = await startWorkFlow(submitFormData.value);
|
const resp = await startWorkFlow(submitFormData.value);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user