From a8d9d85572e939f887d7d7f6e39120f156d35cee Mon Sep 17 00:00:00 2001 From: gssong <1742057357@qq.com> Date: Wed, 14 Jun 2023 23:02:33 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E6=B7=BB=E5=8A=A0=E8=8A=82=E7=82=B9?= =?UTF-8?q?=E6=82=AC=E6=B5=AE=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/workflow/processInstance/index.ts | 2 +- src/components/Process/approvalRecord.vue | 102 ++++++++++++++++++---- 2 files changed, 84 insertions(+), 20 deletions(-) diff --git a/src/api/workflow/processInstance/index.ts b/src/api/workflow/processInstance/index.ts index ef77277..7d35b32 100644 --- a/src/api/workflow/processInstance/index.ts +++ b/src/api/workflow/processInstance/index.ts @@ -6,7 +6,7 @@ import { getToken } from '@/utils/auth'; * 通过流程实例id获取历史流程图 */ export const getHistoryProcessImage = (processInstanceId: string) => { - return baseUrl + `/workflow/processInstance/getHistoryProcessImage/${processInstanceId}` + '?Authorization=Bearer ' + getToken(); + return baseUrl + `/workflow/processInstance/getHistoryProcessImage/${processInstanceId}` + '?Authorization=Bearer ' + getToken()+'&t'+ Math.random() }; /** diff --git a/src/components/Process/approvalRecord.vue b/src/components/Process/approvalRecord.vue index 1a27624..cf2b45d 100644 --- a/src/components/Process/approvalRecord.vue +++ b/src/components/Process/approvalRecord.vue @@ -1,7 +1,42 @@