feat: 工作流支持审批人撤回

This commit is contained in:
LesanOuO
2025-08-02 14:15:34 +08:00
parent 9bce2e48f5
commit a164509565
4 changed files with 43 additions and 13 deletions

View File

@ -106,6 +106,11 @@ export const copyTask = async (data: any) => {
return await request.put({ url: '/bpm/task/copy', data })
}
// 撤回
export const withdrawTask = async (taskId: string) => {
return await request.put({ url: '/bpm/task/withdraw', params: { taskId } })
}
// 获取我的待办任务
export const myTodoTask = async (processInstanceId: string) => {
return await request.get({ url: '/bpm/task/my-todo?processInstanceId=' + processInstanceId })