1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
| import { DEFAULT_LAYOUT } from '../base';
| import { AppRouteRecordRaw } from '../types';
|
| const AUTHORITY: AppRouteRecordRaw = {
| path: '/authority',
| name: 'authority',
| component: DEFAULT_LAYOUT,
| meta: {
| locale: 'menu.authority',
| requiresAuth: true,
| icon: 'icon-lock',
| order: 5,
| },
| children: [
| {
| path: 'users',
| name: 'users',
| component: () => import('@/views/authority/users/index.vue'),
| meta: {
| locale: 'menu.user.title',
| requiresAuth: true,
| roles: ['*'],
| },
| },
| {
| path: 'organization',
| name: 'organization',
| component: () => import('@/views/authority/organization/index.vue'),
| meta: {
| locale: 'menu.organization.title',
| requiresAuth: true,
| roles: ['*'],
| },
| },
| {
| path: 'resource',
| name: 'resource',
| component: () => import('@/views/authority/resource/index.vue'),
| meta: {
| locale: 'menu.resource.title',
| requiresAuth: true,
| roles: ['*'],
| },
| },
| ],
| };
|
| export default AUTHORITY;
|
|