feat:【ele】bpm task 的迁移

This commit is contained in:
YunaiV
2025-10-21 09:41:25 +08:00
parent ad00cf839c
commit 77ba1ee68f
12 changed files with 867 additions and 3 deletions

View File

@@ -13,6 +13,7 @@ export namespace BpmTaskApi {
status: number; // 监听器状态
event: string; // 监听事件
valueType: string; // 监听器值类型
processInstance?: BpmProcessInstanceApi.ProcessInstance; // 流程实例
}
// 流程任务
@@ -130,3 +131,10 @@ export const getChildrenTaskList = async (id: string) => {
`/bpm/task/list-by-parent-task-id?parentTaskId=${id}`,
);
};
// 撤回任务
export const withdrawTask = async (taskId: string) => {
return await requestClient.put('/bpm/task/withdraw', null, {
params: { taskId },
});
};