From d1c199d4bf895e3a1c8ecfbb1414c44c4a0fc718 Mon Sep 17 00:00:00 2001 From: LiuHao Date: Fri, 8 Mar 2024 18:22:28 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=E6=B5=81=E7=A8=8B?= =?UTF-8?q?=E9=A2=84=E8=A7=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/workflow/processInstance/index.ts | 2 +- src/components/BpmnView/index.vue | 140 +++++++++-------- src/components/Process/approvalRecord.vue | 176 ++++++++++++---------- 3 files changed, 172 insertions(+), 146 deletions(-) diff --git a/src/api/workflow/processInstance/index.ts b/src/api/workflow/processInstance/index.ts index 9a417c1..80f122f 100644 --- a/src/api/workflow/processInstance/index.ts +++ b/src/api/workflow/processInstance/index.ts @@ -41,7 +41,7 @@ export const getHistoryImage = (processInstanceId: string) => { /** * 通过流程实例id获取历史流程图运行中,历史等节点 */ -export const getHistoryList = (instanceId: string) => { +export const getHistoryList = (instanceId: string): AxiosPromise> => { return request({ url: `/workflow/processInstance/getHistoryList/${instanceId}` + '?t' + Math.random(), method: 'get' diff --git a/src/components/BpmnView/index.vue b/src/components/BpmnView/index.vue index ee0eaa6..75a89cd 100644 --- a/src/components/BpmnView/index.vue +++ b/src/components/BpmnView/index.vue @@ -1,37 +1,35 @@ -