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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
| /**
| * 菜单列表
| * key, path需要保持唯一
| * permKey表示权限Key值
| */
| const menus = [
| {
| key: '/',
| name: '首页',
| path: '/',
| icon: 'home',
| permKey: '/index',
| children: [
| {
| key: '/index',
| name: '工作台',
| path: '/index',
| permKey: '/index',
| parentKey: '/',
| children: [],
| },
| {
| key: '/index/rules',
| name: '规章制度',
| path: '/index/rules',
| permKey: '/index/rules',
| parentKey: '/',
| children: [],
| },
| ],
| },
| {
| key: 'workOffice',
| name: '办公',
| path: 'http://120.79.193.119:9090/',
| icon: 'desktop',
| permKey: 'workOffice',
| children: [
| {
| key: 'workOffice',
| name: 'Teambition',
| path: 'https://account.teambition.com/login/password',
| permKey: 'https://account.teambition.com/login/password',
| children: [],
| parentKey: 'workOffice',
| type: 'open',
| },
| {
| key: 'workOffice',
| name: '钉钉',
| path: 'https://im.dingtalk.com/',
| permKey: 'https://im.dingtalk.com/',
| children: [],
| parentKey: 'workOffice',
| type: 'open',
| },
| {
| key: 'workOffice',
| name: 'GitBilt',
| path: 'http://120.79.193.119:9090/',
| permKey: 'http://120.79.193.119:9090/',
| children: [],
| parentKey: 'workOffice',
| type: 'open',
| },
| ],
| },
| {
| key: '/document',
| name: '文档管理',
| path: '/document',
| icon: 'file',
| permKey: 'document',
| children: [
| {
| key: '/document/create',
| name: '新建文档',
| path: '/document/create',
| permKey: '/document/create',
| parentKey: '/document',
| children: [],
| },
| ],
| },
| {
| key: '/logManage',
| name: '系统管理',
| path: '/logManage',
| icon: 'setting',
| permKey: 'logManage',
| children: [
| {
| key: '/logManage/browseLog',
| name: '浏览日志',
| path: '/logManage/browseLog',
| permKey: '/logManage/browseLog',
| parentKey: '/logManage',
| children: [],
| },
| {
| key: '/logManage/operLog',
| name: '操作日志',
| path: '/logManage/operLog',
| permKey: '/logManage/operLog',
| parentKey: '/logManage',
| children: [],
| },
| {
| key: '/logManage/rawler',
| name: '爬虫词条管理',
| path: '/logManage/rawler',
| permKey: '/logManage/rawler',
| parentKey: '/logManage',
| children: [],
| },
| ],
| },
| // {
| // key: 'administration',
| // name: '用户管理',
| // path: 'administration',
| // icon: 'team',
| // permKey: 'administration',
| // children: [
| // {
| // key: '/administration',
| // name: '用户中心',
| // path: 'http://120.79.193.119:9074/base/login.html#/',
| // permKey: 'http://120.79.193.119:9074/base/login.html#/',
| // children: [],
| // parentKey: 'administration',
| // type: 'open',
| // },
| // ],
| // },
| {
| key: 'personal',
| name: '个人中心',
| path: 'personal',
| icon: 'user',
| permKey: 'personal',
| children: [
| {
| key: '/personal/information',
| name: '个人信息',
| path: '/personal/information',
| permKey: '/personal/information',
| children: [],
| parentKey: 'personal',
| },
| ],
| },
| {
| key: 'merits',
| name: '绩效管理',
| path: 'merits',
| icon: 'user',
| permKey: 'merits',
| children: [
| {
| key: '/merits/meritsOverview',
| name: '绩效总览',
| path: '/merits/meritsOverview',
| permKey: '/merits/meritsOverview',
| children: [],
| parentKey: 'merits',
| },
| {
| key: '/merits/meritsExamine',
| name: '绩效考核',
| path: '/merits/meritsExamine',
| permKey: '/merits/meritsExamine',
| children: [],
| parentKey: 'merits',
| },
| {
| key: '/merits/meritsDispose',
| name: '绩效指标',
| path: '/merits/meritsDispose',
| permKey: '/merits/meritsDispose',
| children: [],
| parentKey: 'merits',
| }
| ],
| },
| ];
|
| export default menus;
|
|