提交 | 用户 | age
|
5dfa4a
|
1 |
/* |
J |
2 |
* @Author: your name |
|
3 |
* @Date: 2022-03-03 17:45:27 |
|
4 |
* @LastEditTime: 2022-03-03 18:03:24 |
|
5 |
* @LastEditors: your name |
|
6 |
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE |
|
7 |
* @FilePath: \sms_center_backstage\src\router\system_router.js |
|
8 |
*/ |
2a61f6
|
9 |
// 路由配置文件 |
L |
10 |
import Layout from '@/layout' |
|
11 |
|
|
12 |
export default { |
|
13 |
path: '/system', |
|
14 |
component: Layout, |
|
15 |
redirect: '/system/role', |
|
16 |
name: 'system', |
|
17 |
meta: { |
|
18 |
title: '系统管理', |
|
19 |
icon: 'system' |
|
20 |
}, |
|
21 |
children: [ |
|
22 |
{ |
|
23 |
path: 'admin', |
|
24 |
component: () => import('@/pages/system/admin'), // Parent router-view |
|
25 |
name: 'systemAdmin', |
|
26 |
meta: { title: '管理员管理' }, |
|
27 |
auth: 'sys_admin_see' |
|
28 |
}, |
|
29 |
{ |
|
30 |
path: 'role', |
|
31 |
component: () => import('@/pages/system/role'), |
|
32 |
name: 'systemRole', |
3f3c98
|
33 |
meta: { title: '角色管理', keepAlive: true }, |
2a61f6
|
34 |
auth: 'sys_admin_role_see' |
L |
35 |
}, |
5dfa4a
|
36 |
// { |
J |
37 |
// path: 'banner', |
|
38 |
// component: () => import('@/pages/system/banner'), |
|
39 |
// name: 'systemBanner', |
|
40 |
// meta: { title: '轮播图管理' }, |
|
41 |
// auth: 'banner_see' |
|
42 |
// }, |
037956
|
43 |
{ |
2a61f6
|
44 |
path: 'basic', |
L |
45 |
component: () => import('@/pages/system/basic'), |
|
46 |
name: 'systemBasic', |
|
47 |
meta: { title: '基础设置' }, |
|
48 |
auth: 'system_set' |
|
49 |
}, |
|
50 |
{ |
|
51 |
path: 'roleAdd', |
|
52 |
component: () => import('@/pages/system/roleAdd'), |
|
53 |
name: 'systemRoleAdd', |
|
54 |
meta: { title: '新增角色', noCache: true, activeMenu: '/system/role' }, |
|
55 |
hidden: true |
|
56 |
}, |
|
57 |
{ |
|
58 |
path: 'roleEdit', |
|
59 |
component: () => import('@/pages/system/roleEdit'), |
|
60 |
name: 'systemRoleEdit', |
|
61 |
meta: { title: '编辑角色', noCache: true, activeMenu: '/system/role' }, |
|
62 |
hidden: true |
|
63 |
} |
|
64 |
] |
|
65 |
} |
|
66 |
|