feat(projects): 添加修改办理人,催办功能,优化组件样式

This commit is contained in:
AN
2025-09-05 13:28:47 +08:00
parent b07729edd1
commit bc44d2cddc
9 changed files with 187 additions and 9 deletions

View File

@ -122,3 +122,21 @@ export function fetchGetCopyTask(data: Api.Workflow.TaskSearchParams) {
params: data
});
}
/** 修改办理人 */
export function fetchTaskAssignee(taskIds: CommonType.IdType[], userId: CommonType.IdType) {
return request<boolean>({
url: `/workflow/task/updateAssignee/${userId}`,
method: 'put',
data: taskIds
});
}
/** 任务催办 */
export function fetchTaskUrge(data: Api.Workflow.TaskUrgeOperateParams) {
return request<boolean>({
url: '/workflow/task/urgeTask',
method: 'post',
data
});
}