From 0ed65d2b6b8dbfeaeda4720964ee5fbf3f42197e Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期一, 04 八月 2025 16:03:54 +0800 Subject: [PATCH] feat(bigScreen): 添加大屏故障页面并更新相关路由和权限- 在 pageEnum.ts 中添加 BIG_FAULT 路径 - 在 permissionGuard.ts 中添加 BIG_FAULT_PATH 到白名单路径列表 - 更新路由配置,将 BigFault组件指向新的 BigFault-tjt.vue 文件 - 新增 BigEqp-two.vue 组件,用于展示设备分割图像 --- src/router/routes/index.ts | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 52 insertions(+), 1 deletions(-) diff --git a/src/router/routes/index.ts b/src/router/routes/index.ts index b31d73a..853938a 100644 --- a/src/router/routes/index.ts +++ b/src/router/routes/index.ts @@ -39,6 +39,57 @@ }, } +export const BigScreen: AppRouteRecordRaw = { + path: '/bigScreen', + name: 'BigScreen', + component: () => import('/@/views/dry/bigScreen/BigWorkShop-tjt.vue'), + meta: { + title: t('big.screen.workshop'), + }, +} +export const BigScreenN: AppRouteRecordRaw = { + path: '/bigScreenN', + name: 'BigScreenN', + component: () => import('/@/views/dry/bigScreen/BigWorkShop2.vue'), + meta: { + title: t('big.screen.workshopn'), + }, +} +export const BigEqp: AppRouteRecordRaw = { + path: '/bigEqp', + name: 'BigEqp', + component: () => import('/src/views/dry/bigScreen/BigEqp-tjt.vue'), + meta: { + title: t('big.screen.eqp'), + }, +} +export const BigEqpCloud: AppRouteRecordRaw = { + path: '/bigEqpCloud', + name: 'BigEqpCloud', + component: () => import('/@/views/dry/bigScreen/BigEqpCloud.vue'), + meta: { + title: t('big.screen.eqpCloud'), + }, +} + +export const BigFaultCloud: AppRouteRecordRaw = { + path: '/bigFaultCloud', + name: 'BigFaultCloud', + component: () => import('/@/views/dry/bigScreen/BigFaultCloud.vue'), + meta: { + title: t('big.screen.faultCloud'), + }, +} + +export const BigFault: AppRouteRecordRaw = { + path: '/bigFault', + name: 'BigFault', + component: () => import('/@/views/dry/bigScreen/BigFault-tjt.vue'), + meta: { + title: t('big.screen.fault'), + }, +} + //update-begin---author:wangshuai ---date:20220629 for锛歛uth2鐧诲綍椤甸潰璺敱------------ export const Oauth2LoginRoute: AppRouteRecordRaw = { path: '/oauth2-app/login', @@ -66,4 +117,4 @@ } // Basic routing without permission -export const basicRoutes = [LoginRoute, RootRoute, ...mainOutRoutes, REDIRECT_ROUTE, PAGE_NOT_FOUND_ROUTE, TokenLoginRoute, Oauth2LoginRoute] +export const basicRoutes = [LoginRoute, RootRoute, ...mainOutRoutes, REDIRECT_ROUTE, PAGE_NOT_FOUND_ROUTE, TokenLoginRoute, Oauth2LoginRoute,BigScreen,BigScreenN,BigEqp,BigEqpCloud,BigFaultCloud,BigFault] -- Gitblit v1.9.3