refactor: 终止/转办/委托支持填写意见

This commit is contained in:
dap
2024-12-21 21:01:16 +08:00
parent 7ca161ed75
commit 2e4ae78ee0
4 changed files with 79 additions and 19 deletions

View File

@@ -97,7 +97,7 @@ export function getTaskByTaskId(taskId: string) {
* 终止任务
* @param data
*/
export function terminationTask(data: { taskId: string }) {
export function terminationTask(data: { comment?: string; taskId: string }) {
return requestClient.postWithMsg<void>(
'/workflow/task/terminationTask',
data,