From 5f48033e214d7dab45e411ef33afa2e558fcd194 Mon Sep 17 00:00:00 2001 From: 13404089107 <puwei@sinata.cn> Date: 星期一, 07 四月 2025 10:39:27 +0800 Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/H5/shehong-vehicle-supervision --- src/router/router.js | 77 +++++++++++++++++++++++++++++++------- 1 files changed, 62 insertions(+), 15 deletions(-) diff --git a/src/router/router.js b/src/router/router.js index bfca4bf..127dfd6 100644 --- a/src/router/router.js +++ b/src/router/router.js @@ -47,20 +47,6 @@ ] }, { - path: '/driver', - component: Layout, - children: [ - { - path: '/driver', - component: () => import('@/view/driver'), - meta: { - title: '驾驶员管理', - icon: 'driver' - } - } - ] - }, - { path: '/car', component: Layout, children: [ @@ -78,6 +64,14 @@ meta: { title: '车辆详情', icon: 'car', + hide: true + } + }, + { + path: '/car-playback', + component: () => import('@/view/playback'), + meta: { + title: '车辆回放', hide: true } } @@ -125,6 +119,59 @@ } ] }, - + { + path: '/systemManage', + meta: { + title: "系统管理", + icon: 'sys', + }, + component: Layout, + children: [ + { + path: 'driver', + component: () => import('@/view/systemManage/driver'), + meta: { + title: '驾驶员列表', + } + }, + { + path: 'type', + component: () => import('@/view/car-type'), + meta: { + title: '车辆分类', + } + }, + { + path: 'user', + component: () => import('@/view/systemManage/user'), + meta: { + title: '用户管理', + } + }, + { + path: 'role', + component: () => import('@/view/systemManage/role'), + meta: { + title: '角色管理', + } + }, + { + path: 'add-role', + component: () => import('@/view/systemManage/role/addEdit.vue'), + meta: { + title: '添加角色', + hide: true + } + }, + { + path: 'role-detail', + component: () => import('@/view/systemManage/role/detail'), + meta: { + title: '角色详情', + hide: true + } + } + ] + } ] -- Gitblit v1.7.1