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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
| // +----------------------------------------------------------------------
| // | CMS [ CMS赋能开发者,助力企业发展 ]
| // +----------------------------------------------------------------------
| // | Copyright (c) 2016~2021 https://www.CMS.com All rights reserved.
| // +----------------------------------------------------------------------
| // | Licensed CMS并不是自由软件,未经许可不能去掉CMS相关版权
| // +----------------------------------------------------------------------
| // | Author: CMS Team <admin@CMS.com>
| // +----------------------------------------------------------------------
|
| import Layout from '@/layout'
|
| const operationRouter = {
| path: '/operation',
| component: Layout,
| redirect: '/operation/setting',
| name: 'Operation',
| meta: {
| title: '设置',
| icon: 'clipboard',
| roles: ['admin']
| },
| children: [
| {
| path: 'setting',
| name: 'setting',
| component: () => import('@/views/systemSetting/setting'),
| meta: {
| title: '系统设置',
| icon: 'clipboard'
| }
| },
| {
| path:'notification',
| name:'notification',
| component: () => import('@/views/systemSetting/notification'),
| meta:{
| title:'消息通知',
| icon:'clipboard'
| }
| },
|
| {
| path: 'roleManager',
| name: 'RoleManager',
| component: () => import('@/views/systemSetting/administratorAuthority'),
| meta: {
| title: '管理权限',
| icon: 'clipboard',
| roles: ['admin']
| },
| children: [
| {
| path: 'identityManager',
| component: () => import('@/views/systemSetting/administratorAuthority/identityManager'),
| name: 'identityManager',
| meta: { title: '角色管理', icon: '' }
| },
| {
| path: 'adminList',
| component: () => import('@/views/systemSetting/administratorAuthority/adminList'),
| name: 'adminList',
| meta: { title: '管理员列表', icon: '' }
| },
| {
| path: 'promiseRules',
| component: () => import('@/views/systemSetting/administratorAuthority/permissionRules'),
| name: 'promiseRules',
| meta: { title: '权限规则', icon: '' }
| }
| ]
| },
| {
| path: 'systemSms',
| component: () => import('@/views/sms'),
| name: 'systemSms',
| meta: {
| title: '短信设置',
| icon: 'clipboard',
| roles: ['admin']
| },
| children: [
| {
| path: 'config',
| component: () => import('@/views/sms/smsConfig'),
| name: 'SmsConfig',
| meta: { title: '短信账户', noCache: true }
| },
| {
| path: 'template',
| component: () => import('@/views/sms/smsTemplate'),
| name: 'SmsTemplate',
| meta: { title: '短信模板', noCache: true, activeMenu: `/operation/onePass` }
| },
| {
| path: 'pay',
| component: () => import('@/views/sms/smsPay'),
| name: 'SmsPay',
| meta: { title: '短信购买', noCache: true, activeMenu: `/operation/onePass` }
| },
| {
| path: 'message',
| component: () => import('@/views/sms/smsMessage'),
| name: 'SmsMessage',
| meta: { title: '短信开关', noCache: true }
| }
| ]
| },
|
| ]
| }
|
| export default operationRouter //collate
|
|