From 2392f64233fd6eb2288b0e7d94f67024d2c63f8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Mon, 28 Jul 2025 16:25:29 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=20getBackTaskNode?= =?UTF-8?q?=20=E8=8E=B7=E5=8F=96=E9=A9=B3=E5=9B=9E=E8=8A=82=E7=82=B9?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=20=E5=A6=82=E6=9E=9C=E6=98=AF=E5=A7=94?= =?UTF-8?q?=E6=B4=BE=E7=9B=B4=E6=8E=A5=E8=BF=94=E5=9B=9E=E5=BD=93=E5=89=8D?= =?UTF-8?q?=E8=8A=82=E7=82=B9=20=E4=B8=8D=E5=85=81=E8=AE=B8=E9=A9=B3?= =?UTF-8?q?=E5=9B=9E=E5=88=B0=E5=85=B6=E4=BB=96=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 87f7a1e..dc52f62 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 = (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' }); }; diff --git a/src/components/Process/submitVerify.vue b/src/components/Process/submitVerify.vue index a28fc43..835cddf 100644 --- a/src/components/Process/submitVerify.vue +++ b/src/components/Process/submitVerify.vue @@ -328,7 +328,7 @@ const handleBackProcessOpen = async () => { backVisible.value = true; backLoading.value = true; backButtonDisabled.value = true; - const data = await getBackTaskNode(task.value.definitionId, task.value.nodeCode); + const data = await getBackTaskNode(task.value.id, task.value.nodeCode); taskNodeList.value = data.data; backLoading.value = false; backButtonDisabled.value = false;