From 1ecbe5917e221feadd4d55d7ab3dfa7558e7c8b8 Mon Sep 17 00:00:00 2001 From: gssong <1742057357@qq.com> Date: Sat, 21 Dec 2024 13:25:57 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E8=B0=83=E6=95=B4=E5=8F=AF=E9=A9=B3?= =?UTF-8?q?=E5=9B=9E=E7=9A=84=E8=8A=82=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/workflow/task/index.ts | 4 ++-- src/components/Process/submitVerify.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/workflow/task/index.ts b/src/api/workflow/task/index.ts index 3ac98b2..55ede45 100644 --- a/src/api/workflow/task/index.ts +++ b/src/api/workflow/task/index.ts @@ -148,9 +148,9 @@ export const terminationTask = (data: any) => { * 获取可驳回得任务节点 * @returns */ -export const getBackTaskNode = (processInstanceId: string) => { +export const getBackTaskNode = (definitionId: string, nodeCode: string) => { return request({ - url: `/workflow/task/getBackTaskNode/${processInstanceId}`, + url: `/workflow/task/getBackTaskNode/${definitionId}/${nodeCode}`, method: 'get' }); }; diff --git a/src/components/Process/submitVerify.vue b/src/components/Process/submitVerify.vue index 0ce1980..4c2ea88 100644 --- a/src/components/Process/submitVerify.vue +++ b/src/components/Process/submitVerify.vue @@ -236,7 +236,7 @@ const handleBackProcessOpen = async () => { backVisible.value = true; backLoading.value = true; backButtonDisabled.value = true; - let data = await getBackTaskNode(task.value.instanceId); + let data = await getBackTaskNode(task.value.definitionId, task.value.nodeCode); taskNodeList.value = data.data; backLoading.value = false; backButtonDisabled.value = false;