Commit 876f3491 authored by lixy's avatar lixy

路由

parent 7f0ec141
...@@ -77,17 +77,29 @@ export const constantRouterMap = [{ ...@@ -77,17 +77,29 @@ export const constantRouterMap = [{
component: _import('error/401'), component: _import('error/401'),
hidden: true hidden: true
}, },
{ {
path: '/', path: '/',
component: Layout, component: Layout,
redirect: '/baseManager/userManager', redirect: '/dashboard',
name: '首页', name: '首页',
hidden: true, hidden: true,
children: [{ children: [{
path: 'userManager', path: 'dashboard',
component: _import('admin/user/index') component: _import('dashboard/index')
}] }]
}, },
// {
// path: '/',
// component: Layout,
// redirect: '/baseManager/userManager',
// name: '首页',
// hidden: true,
// children: [{
// path: 'userManager',
// component: _import('admin/user/index')
// }]
// },
{ {
path: '/introduction', path: '/introduction',
component: Layout, component: Layout,
...@@ -347,13 +359,13 @@ export const asyncRouterMap = [{ ...@@ -347,13 +359,13 @@ export const asyncRouterMap = [{
component: _import('vehicle/vehicleSchedulManage/vehicleRecords'), component: _import('vehicle/vehicleSchedulManage/vehicleRecords'),
name: '车辆排班记录', name: '车辆排班记录',
authority: 'vehicleRecords' authority: 'vehicleRecords'
},
{
path: 'dispatchApply',
component: _import('vehicle/dispatchApply/index'),
name: '调度申请管理',
authority: 'dispatchApply'
} }
// {
// path: 'dispatchApply',
// component: _import('vehicle/dispatchApply/index'),
// name: '调度申请管理',
// authority: 'dispatchApply'
// }
] ]
}, },
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment