add 添加委托

This commit is contained in:
gssong
2024-04-03 20:42:05 +08:00
parent d76f2b857d
commit c922ea3b9c
3 changed files with 56 additions and 17 deletions

View File

@ -226,3 +226,15 @@ export const getTaskNodeList = (processInstanceId: string) => {
method: 'get'
});
};
/**
* 委托任务
* @returns
*/
export const delegateTask = (data: any) => {
return request({
url: `/workflow/task/delegateTask`,
method: 'post',
data: data
});
};