From 0d7d6fc9a5c40ccc90190b0f24039ec1362f120f Mon Sep 17 00:00:00 2001 From: “dzb” <2632970487@qq.com> Date: 星期一, 17 十月 2022 11:33:10 +0800 Subject: [PATCH] 新增设备管理、完善消息新增,修改bug --- src/router/index.js | 107 ++++++++++++++++++++++++++++++++++++----------------- 1 files changed, 72 insertions(+), 35 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index d1422bc..f4aa33d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -21,39 +21,76 @@ component: () => import('@/views/systemSetting'), children: [ { - path: "user", - name: "user", - component: () => import('@/views/systemSetting/baseSetting/user') + path: 'userSetting', + name: 'userSetting', + component: () => import('@/views/systemSetting/baseSetting'), + children: [ + { + path: "user", + name: "user", + component: () => import('@/views/systemSetting/baseSetting/user') + }, + { + path: 'role', + name: 'role', + component: () => import('@/views/systemSetting/baseSetting/role') + }, + { + path: 'authority', + name: 'authority', + component: () => import('@/views/systemSetting/baseSetting/authority') + }, + { + path: 'department', + name: 'department', + component: () => import('@/views/systemSetting/baseSetting/department') + }, + + ] }, { - path: 'role', - name: 'role', - component: () => import('@/views/systemSetting/baseSetting/role') + path: 'platform', + name: 'platform', + component: () => import('@/views/systemSetting/platform'), + children: [ + { + path: 'portalSetting', + name: 'portalSetting', + component: () => import('@/views/systemSetting/platform/portalSetting') + }, + { + path: 'otherInterface', + name: 'otherInterface', + component: () => import('@/views/systemSetting/platform/otherInterface') + }, + { + path: 'mySetting', + name: 'mySetting', + component: () => import('@/views/systemSetting/platform/mySetting') + } + ] }, { - path: 'authority', - name: 'authority', - component: () => import('@/views/systemSetting/baseSetting/authority') - }, - { - path: 'department', - name: 'department', - component: () => import('@/views/systemSetting/baseSetting/department') - }, - { - path: 'portalSetting', - name: 'portalSetting', - component: () => import('@/views/systemSetting/platform/portalSetting') - }, - { - path: 'otherInterface', - name: 'otherInterface', - component: () => import('@/views/systemSetting/platform/otherInterface') - }, - { - path: 'mySetting', - name: 'mySetting', - component: () => import('@/views/systemSetting/platform/mySetting') + path: 'device', + name: 'device', + component: () => import('@/views/systemSetting/device'), + children: [ + { + path: 'bayonet', + name: 'bayonet', + component: () => import('@/views/systemSetting/device/bayonet') + }, + { + path: 'grid', + name: 'grid', + component: () => import('@/views/systemSetting/device/grid'), + }, + { + path: 'point', + name: 'point', + component: () => import('@/views/systemSetting/device/point'), + } + ] } ] }, @@ -189,13 +226,13 @@ component: () => import('@/views/operate/car/myIndex'), }, { - path:'lawTrajectory', - name:'lawTrajectory', + path: 'lawTrajectory', + name: 'lawTrajectory', component: () => import('@/views/operate/car/lawCar'), }, { - path:'soilTrajectory', - name:'soilTrajectory', + path: 'soilTrajectory', + name: 'soilTrajectory', component: () => import('@/views/operate/car/soilCar'), } ] @@ -211,8 +248,8 @@ component: () => import('@/views/operate/message/myIndex'), }, { - path:'mycontrol', - name:'mycontrol', + path: 'mycontrol', + name: 'mycontrol', component: () => import('@/views/operate/message/mycontrol'), }, ] -- Gitblit v1.8.0