update 调整设计器路由名称

This commit is contained in:
gssong 2024-11-16 14:42:21 +08:00
parent 0533115671
commit b8383fd54e
2 changed files with 3 additions and 2 deletions

View File

@ -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 }
}
]
}

View File

@ -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() {