update 优化 getBackTaskNode 获取驳回节点接口 如果是委派直接返回当前节点 不允许驳回到其他节点

This commit is contained in:
疯狂的狮子Li
2025-07-28 16:25:29 +08:00
parent 1565ec1996
commit 2392f64233
2 changed files with 3 additions and 3 deletions

View File

@@ -148,9 +148,9 @@ export const terminationTask = (data: any) => {
* 获取可驳回得任务节点
* @returns
*/
export const getBackTaskNode = (definitionId: string, nodeCode: string) => {
export const getBackTaskNode = (taskId: string | number, nodeCode: string) => {
return request({
url: `/workflow/task/getBackTaskNode/${definitionId}/${nodeCode}`,
url: `/workflow/task/getBackTaskNode/${taskId}/${nodeCode}`,
method: 'get'
});
};