Browse Source

更新布局管理前端路由

lfeish 1 year ago
parent
commit
4e5c474aae
1 changed files with 26 additions and 6 deletions
  1. 26 6
      src/router/full-routes.ts

+ 26 - 6
src/router/full-routes.ts

@@ -130,20 +130,20 @@ const fullRoutes: AppRouteRecordRaw[] = [
         // 公司场景布局入口页,选择PC端还是手机端
         // 公司场景布局入口页,选择PC端还是手机端
         path: 'scene',
         path: 'scene',
         name: 'LayoutScene',
         name: 'LayoutScene',
-        component: '/page-config/PageConfig',
+        component: '/page-config/PageScene',
         meta: { 
         meta: { 
           icon: '',
           icon: '',
           title: '场景布局', 
           title: '场景布局', 
         },
         },
       },
       },
       {
       {
-        // 公司场景布局卡片列表 
+        // 公司场景布局卡片列表。菜单不可见
         path: 'scene-list',
         path: 'scene-list',
         name: 'LayoutSceneList',
         name: 'LayoutSceneList',
-        component: '/page-config/PageSceneLayout',
+        component: '/page-config/PageSceneList',
         meta: {
         meta: {
           icon: '',
           icon: '',
-          title: '场景布局列表'
+          title: '场景布局列表(菜单不可见)'
         }
         }
       },
       },
       {
       {
@@ -157,14 +157,34 @@ const fullRoutes: AppRouteRecordRaw[] = [
         }
         }
       },
       },
       {
       {
-        // 相机布局
+        // 相机布局入口页,选择PC端还是手机端
         path: 'camera',
         path: 'camera',
         name: 'LayoutCamera',
         name: 'LayoutCamera',
-        component: '/map-config/mini-map/MiniMapConfig',
+        component: '/page-config/PageCamera',
         meta: { 
         meta: { 
           icon: '',
           icon: '',
           title: '相机布局',
           title: '相机布局',
         }
         }
+      },
+      {
+        // 相机布局卡片列表。 菜单不可见
+        path: 'camera-list',
+        name: 'LayoutCameraList',
+        component: '/page-config/PageCameraList',
+        meta: { 
+          icon: '',
+          title: '相机布局列表(菜单不可见)',
+        }
+      },
+      {
+        // 相机布局配置
+        path: 'camera-config',
+        name: 'LayoutCameraConfig',
+        component: '/map-config/mini-map/MiniMapConfig',
+        meta: { 
+          icon: '',
+          title: '相机布局配置(菜单不可见)',
+        }
       }
       }
     ]
     ]
   },
   },