mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(projects): 添加修改办理人,催办功能,优化组件样式
This commit is contained in:
@ -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
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user