From 7ea5199fd2d022a3a4543def2466428df1367e94 Mon Sep 17 00:00:00 2001 From: may <1742057357@qq.com> Date: Fri, 25 Jul 2025 23:03:43 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E5=A2=9E=E5=8A=A0=E5=8F=98=E9=87=8F?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/workflow/instance/index.ts | 12 ++++ src/views/workflow/processInstance/index.vue | 71 ++++++++++++++++---- 2 files changed, 71 insertions(+), 12 deletions(-) diff --git a/src/api/workflow/instance/index.ts b/src/api/workflow/instance/index.ts index fde16a2..f92e02c 100644 --- a/src/api/workflow/instance/index.ts +++ b/src/api/workflow/instance/index.ts @@ -99,3 +99,15 @@ export const invalid = (data: any) => { data: data }); }; +/** + * 修改流程变量 + * @param data 参数 + * @returns + */ +export const updateVariable = (data: any) => { + return request({ + url: `/workflow/instance/updateVariable`, + method: 'put', + data: data + }); +}; diff --git a/src/views/workflow/processInstance/index.vue b/src/views/workflow/processInstance/index.vue index 3037147..95df069 100644 --- a/src/views/workflow/processInstance/index.vue +++ b/src/views/workflow/processInstance/index.vue @@ -20,14 +20,6 @@ -
@@ -154,8 +146,8 @@ - - + +