From b8383fd54e1d08a8235da45fc91084f5071612c0 Mon Sep 17 00:00:00 2001 From: gssong <1742057357@qq.com> Date: Sat, 16 Nov 2024 14:42:21 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E8=B0=83=E6=95=B4=E8=AE=BE=E8=AE=A1?= =?UTF-8?q?=E5=99=A8=E8=B7=AF=E7=94=B1=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 2 +- src/views/workflow/processDefinition/design.vue | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 831b9b7..cc6337f 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -187,7 +187,7 @@ export const dynamicRoutes: RouteRecordRaw[] = [ path: 'index', component: () => import('@/views/workflow/processDefinition/design.vue'), name: 'design', - meta: { title: '请假申请', activeMenu: '/workflow/processDefinition', noCache: true } + meta: { title: '流程设计', activeMenu: '/workflow/processDefinition', noCache: true } } ] } diff --git a/src/views/workflow/processDefinition/design.vue b/src/views/workflow/processDefinition/design.vue index b71e6d5..b5c75e9 100644 --- a/src/views/workflow/processDefinition/design.vue +++ b/src/views/workflow/processDefinition/design.vue @@ -23,8 +23,9 @@ const iframeLoaded = () => { }; }; const open = async (definitionId) => { - let url = baseUrl + `/warm-flow-ui/index.html?id=${definitionId}&disabled=false&Authorization=${getToken}`; + let url = baseUrl + `/warm-flow-ui/index.html?id=${definitionId}&disabled=false`; iframeUrl.value = url + '&Authorization=Bearer ' + getToken() + '&clientid=' + import.meta.env.VITE_APP_CLIENT_ID; + console.log(iframeUrl.value); }; /** 关闭按钮 */ function close() {