feat-wip(projects): 新增待办任务功能,优化代码

This commit is contained in:
AN
2025-06-22 12:33:56 +08:00
parent ae5c7e8372
commit b3dccb542e
15 changed files with 406 additions and 38 deletions

View File

@ -25,3 +25,21 @@ export function fetchCompleteTask(data: Api.Workflow.CompleteTaskOperateParams)
data
});
}
/** 获取所有待办任务 */
export function fetchGetAllWaitingTask(data: Api.Workflow.TaskSearchParams) {
return request<Api.Workflow.TaskList>({
url: '/workflow/task/pageByAllTaskWait',
method: 'get',
params: data
});
}
/** 获取所有已办任务 */
export function fetchGetAllFinishedTask(data: Api.Workflow.TaskSearchParams) {
return request<Api.Workflow.HisTaskList>({
url: '/workflow/task/pageByAllTaskFinish',
method: 'get',
params: data
});
}