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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
| import { access } from "fs";
|
| export default [
| {
| path: '/user',
| layout: false,
| routes: [{ name: '登录', path: '/user/login', component: './User/Login' }],
| },
| { path: '/welcome', name: '欢迎', icon: 'smile', component: './Welcome' },
| {
| path: '/admin',
| name: '管理页',
| icon: 'crown',
| routes: [
| { path: '/admin', redirect: '/admin/sub-page' },
| { path: '/admin/sub-page', access: 'canAdmin', name: '二级管理页', component: './Admin' },
| ],
| },
| // {
| // path: '/myWork',
| // name: '我的工作',
| // icon: 'crown',
| // routes: [
| // { access: 'canUser', path: '/myWork', redirect: '/admin/sub-page' },
| // { path: '/myWork/taskManagement', name: '任务管理', component: './myWork/taskManagement' },
| // {
| // path: '/myWork/AnnouncementManagement',
| // access: 'canAdmin',
| // name: '公告管理',
| // component: './Admin',
| // },
| // { path: '/myWork/messageManagement', name: '消息管理', component: './Admin' },
| // ],
| // },
| {
| path: '/myWork',
| name: '我的工作',
| icon: 'crown',
| routes: [
| { path: '/myWork', redirect: '/admin/sub-page' },
| { path: '/myWork/taskManagement', name: '任务管理', component: './myWork/taskManagement' },
| { path: '/myWork/AnnouncementManagement', name: '公告管理', component: './Admin' },
| { path: '/myWork/messageManagement', name: '消息管理', component: './Admin' },
| ],
| },
| {
| path: '/organizationDesign',
| name: '组织设计',
| icon: 'crown',
| routes: [
| { path: '/organizationDesign', redirect: '/admin/sub-page' },
| { path: '/organizationDesign/OrganizationalStructureConfiguration', name: '组织机构配置', component: './organizationDesign/OrganizationalStructureConfiguration' },
| { path: '/organizationDesign/DepartmentalInformationConfiguration', name: '部门信息配置', component: './organizationDesign/DepartmentalInformationConfiguration' },
| { path: '/organizationDesign/JobInformationConfiguration', name: '职位信息配置', component: './organizationDesign/JobInformationConfiguration' },
| { path: '/organizationDesign/jobLevelInformationConfiguration', name: '职级信息配置', component: './organizationDesign/jobLevelInformationConfiguration' },
| { path: '/organizationDesign/postInformationConfiguration', name: '岗位信息配置', component: './organizationDesign/postInformationConfiguration' },
| { path: '/organizationDesign/departmentalEmployeeInformation', name: '部门员工信息', component: './Admin' },
| { path: '/organizationDesign/organizationChart', name: '组织结构图', component: './Admin' },
| { path: '/organizationDesign/organizationalStructureChanges', name: '组织结构变迁', component: './Admin' },
| ],
| },
| {
| path: '/humanResourcePlanning',
| name: '人力资源规划',
| icon: 'crown',
| routes: [
| { path: '/humanResourcePlanning', redirect: '/admin/sub-page' },
| { path: '/humanResourcePlanning/organizationalStrategyFormulation', name: '组织战略制定', component: './humanResourcePlanning/organizationalStrategyFormulation' },
| { path: '/humanResourcePlanning/personnelRequirementAnalysis', name: '人员需求分析', component: './Admin' },
| { path: '/humanResourcePlanning/analysisOfHumanResourceSupply', name: '人力资源供给分析', component: './Admin' },
| { path: '/humanResourcePlanning/humanResourcesBudget', name: '人力资源预算', component: './Admin' },
| { path: '/humanResourcePlanning/jobAnalysis', name: '工作分析', component: './Admin' },
| { path: '/humanResourcePlanning/jobEvaluation', name: '工作评价', component: './Admin' },
| ],
| },
| {
| path: '/Recruiting',
| name: '招聘管理',
| icon: 'crown',
| routes: [
| { path: '/Recruiting', redirect: '/admin/sub-page' },
| { path: '/Recruiting/recruitmentNeeds', name: '招聘需求', component: './Admin' },
| { path: '/Recruiting/recruitingPlan', name: '招聘计划', component: './Admin' },
| { path: '/Recruiting/jobPosting', name: '岗位发布', component: './Admin' },
| { path: '/Recruiting/workApplicationApproval', name: '工作申请审批', component: './Admin' },
| { path: '/Recruiting/select', name: '甄选', component: './Admin' },
| { path: '/Recruiting/physicalExamination', name: '体检', component: './Admin' },
| {
| path: '/Recruiting/employmentInformationRelease',
| name: '录用信息发布',
| component: './Admin',
| },
| { path: '/Recruiting/newEmployeeRegistration', name: '新员工报到', component: './Admin' },
| { path: '/Recruiting/recruitmentEvaluation', name: '录用评估', component: './Admin' },
| { path: '/Recruiting/costManagement', name: '费用管理', component: './Admin' },
| { path: '/Recruiting/talentPoolMaintenance', name: '人才库维护', component: './Admin' },
| ],
| },
| {
| path: '/humanResourceManagement',
| name: '人事管理',
| icon: 'crown',
| routes: [
| { path: '/humanResourceManagement', redirect: '/admin/sub-page' },
| { path: '/humanResourceManagement/employeeInformation', name: '员工信息', component: './Admin' },
| { path: '/humanResourceManagement/contractManagement', name: '合同管理', component: './HumanResourceManagement/contractManagement' },
| { path: '/humanResourceManagement/nominationForAppointment', name: '任职提名', component: './HumanResourceManagement/nominationForAppointment' },
| { path: '/humanResourceManagement/dismissalApplication', name: '免职申请', component: './Admin' },
| { path: '/humanResourceManagement/transferApplication', name: '调入申请', component: './Admin' },
| { path: '/humanResourceManagement/transferOutApplication', name: '调出申请', component: './Admin' },
| { path: '/humanResourceManagement/changeRequest', name: '变动申请', component: './Admin' },
| // { path: '/humanResourceManagement/transferApplication', name: '转任申请', component: './Admin' },
| { path: '/humanResourceManagement/applicationForSecondment', name: '挂职申请', component: './Admin' },
| { path: '/humanResourceManagement/challengeForCause', name: '回避申请', component: './Admin' },
| { path: '/humanResourceManagement/resignationApplication', name: '离职申请', component: './Admin' },
| // { path: '/humanResourceManagement/dismissalApplication', name: '辞退申请', component: './Admin' },
| // { path: '/humanResourceManagement/retirementManagement', name: '离休管理', component: './Admin' },
| { path: '/humanResourceManagement/retirementManagement', name: '退休管理', component: './Admin' },
| { path: '/humanResourceManagement/compulsoryRetirementApplication', name: '强制退休申请', component: './Admin' },
| ],
| },
| {
| path: '/trainingManagement',
| name: '培训管理',
| icon: 'crown',
| routes: [
| { path: '/trainingManagement', redirect: '/admin/sub-page' },
| { path: '/trainingManagement/培训机构管理', name: '培训机构管理', component: './Admin' },
| { path: '/trainingManagement/contractManagement', name: '基础资料管理', component: './Admin' },
| { path: '/trainingManagement/nominationForAppointment', name: '培训需求管理', component: './Admin' },
| // { path: '/trainingManagement/dismissalApplication', name: '培训计划管理', component: './Admin' },
| { path: '/trainingManagement/transferApplication', name: '培训计划管理', component: './Admin' },
| { path: '/trainingManagement/transferOutApplication', name: '培训日程管理', component: './Admin' },
| { path: '/trainingManagement/changeRequest', name: '培训效果管理', component: './Admin' },
| // { path: '/trainingManagement/transferApplication', name: '培训费用管理', component: './Admin' },
|
| ],
| },
| // { name: '查询表格', icon: 'table', path: '/list', component: './TableList' },
| // { name: '机构管理', icon: 'crown', headerRender: true, path: '/org', component: './orgManage' },
| // {
| // path: '/organizationDesign',
| // name: '组织设计',
| // icon: 'crown',
| // access: 'canUser',
| // routes: [
| // { path: '/organizationDesign', redirect: '/admin/sub-page' },
| // {
| // path: '/organizationDesign/OrganizationalStructureConfiguration',
| // name: '组织机构配置',
| // component: './organizationDesign/OrganizationalStructureConfiguration',
| // },
| // {
| // path: '/organizationDesign/DepartmentalInformationConfiguration',
| // name: '部门信息配置',
| // component: './organizationDesign/DepartmentalInformationConfiguration',
| // },
| // {
| // path: '/organizationDesign/JobInformationConfiguration',
| // name: '职位信息配置',
| // component: './organizationDesign/JobInformationConfiguration',
| // },
| // {
| // path: '/organizationDesign/jobLevelInformationConfiguration',
| // name: '职级信息配置',
| // component: './organizationDesign/jobLevelInformationConfiguration',
| // },
| // {
| // path: '/organizationDesign/postInformationConfiguration',
| // name: '岗位信息配置',
| // component: './organizationDesign/postInformationConfiguration',
| // },
| // {
| // path: '/organizationDesign/departmentalEmployeeInformation',
| // name: '部门员工信息',
| // component: './Admin',
| // },
| // { path: '/organizationDesign/organizationChart', name: '组织结构图', component: './Admin' },
| // {
| // path: '/organizationDesign/organizationalStructureChanges',
| // name: '组织结构变迁',
| // component: './Admin',
| // },
| // ],
| // },
| // {
| // path: '/humanResourcePlanning',
| // name: '人力资源规划',
| // icon: 'crown',
| // access: 'canUser',
| // routes: [
| // { path: '/humanResourcePlanning', redirect: '/admin/sub-page' },
| // {
| // path: '/humanResourcePlanning/organizationalStrategyFormulation',
| // name: '组织战略制定',
| // component: './humanResourcePlanning/organizationalStrategyFormulation',
| // },
| // {
| // path: '/humanResourcePlanning/personnelRequirementAnalysis',
| // name: '人员需求分析',
| // component: './Admin',
| // },
| // {
| // path: '/humanResourcePlanning/analysisOfHumanResourceSupply',
| // name: '人力资源供给分析',
| // component: './Admin',
| // },
| // {
| // path: '/humanResourcePlanning/humanResourcesBudget',
| // name: '人力资源预算',
| // component: './Admin',
| // },
| // { path: '/humanResourcePlanning/jobAnalysis', name: '工作分析', component: './Admin' },
| // { path: '/humanResourcePlanning/jobEvaluation', name: '工作评价', component: './Admin' },
| // ],
| // },
| // {
| // path: '/Recruiting',
| // name: '招聘管理',
| // icon: 'crown',
| // access: 'canUser',
| // routes: [
| // { path: '/Recruiting', redirect: '/admin/sub-page' },
| // { path: '/Recruiting/recruitmentNeeds', name: '招聘需求', component: './Admin' },
| // { path: '/Recruiting/recruitingPlan', name: '招聘计划', component: './Admin' },
| // { path: '/Recruiting/jobPosting', name: '岗位发布', component: './Admin' },
| // { path: '/Recruiting/workApplicationApproval', name: '工作申请审批', component: './Admin' },
| // { path: '/Recruiting/select', name: '甄选', component: './Admin' },
| // { path: '/Recruiting/physicalExamination', name: '体检', component: './Admin' },
| // {
| // path: '/Recruiting/employmentInformationRelease',
| // name: '录用信息发布',
| // component: './Admin',
| // },
| // { path: '/Recruiting/newEmployeeRegistration', name: '新员工报到', component: './Admin' },
| // { path: '/Recruiting/recruitmentEvaluation', name: '录用评估', component: './Admin' },
| // { path: '/Recruiting/costManagement', name: '费用管理', component: './Admin' },
| // { path: '/Recruiting/talentPoolMaintenance', name: '人才库维护', component: './Admin' },
| // ],
| // },
| // {
| // path: '/humanResourceManagement',
| // name: '人事管理',
| // icon: 'crown',
| // access: 'canUser',
| // routes: [
| // { path: '/humanResourceManagement', redirect: '/admin/sub-page' },
| // {
| // path: '/humanResourceManagement/employeeInformation',
| // name: '员工信息',
| // component: './Admin',
| // },
| // {
| // path: '/humanResourceManagement/contractManagement',
| // name: '合同管理',
| // component: './HumanResourceManagement/contractManagement',
| // },
| // {
| // path: '/humanResourceManagement/nominationForAppointment',
| // name: '任职提名',
| // component: './Admin',
| // },
| // {
| // path: '/humanResourceManagement/dismissalApplication',
| // name: '免职申请',
| // component: './Admin',
| // },
| // {
| // path: '/humanResourceManagement/transferApplication',
| // name: '调入申请',
| // component: './Admin',
| // },
| // {
| // path: '/humanResourceManagement/transferOutApplication',
| // name: '调出申请',
| // component: './Admin',
| // },
| // { path: '/humanResourceManagement/changeRequest', name: '变动申请', component: './Admin' },
| // // { path: '/humanResourceManagement/transferApplication', name: '转任申请', component: './Admin' },
| // {
| // path: '/humanResourceManagement/applicationForSecondment',
| // name: '挂职申请',
| // component: './Admin',
| // },
| // {
| // path: '/humanResourceManagement/challengeForCause',
| // name: '回避申请',
| // component: './Admin',
| // },
| // {
| // path: '/humanResourceManagement/resignationApplication',
| // name: '离职申请',
| // component: './Admin',
| // },
| // // { path: '/humanResourceManagement/dismissalApplication', name: '辞退申请', component: './Admin' },
| // // { path: '/humanResourceManagement/retirementManagement', name: '离休管理', component: './Admin' },
| // {
| // path: '/humanResourceManagement/retirementManagement',
| // name: '退休管理',
| // component: './Admin',
| // },
| // {
| // path: '/humanResourceManagement/compulsoryRetirementApplication',
| // name: '强制退休申请',
| // component: './Admin',
| // },
| // ],
| // },
| // {
| // path: '/trainingManagement',
| // name: '培训管理',
| // icon: 'crown',
| // access: 'canUser',
| // routes: [
| // { path: '/trainingManagement', redirect: '/admin/sub-page' },
| // { path: '/trainingManagement/培训机构管理', name: '培训机构管理', component: './Admin' },
| // {
| // path: '/trainingManagement/contractManagement',
| // name: '基础资料管理',
| // component: './Admin',
| // },
| // {
| // path: '/trainingManagement/nominationForAppointment',
| // name: '培训需求管理',
| // component: './Admin',
| // },
| // // { path: '/trainingManagement/dismissalApplication', name: '培训计划管理', component: './Admin' },
| // {
| // path: '/trainingManagement/transferApplication',
| // name: '培训计划管理',
| // component: './Admin',
| // },
| // {
| // path: '/trainingManagement/transferOutApplication',
| // name: '培训日程管理',
| // component: './Admin',
| // },
| // { path: '/trainingManagement/changeRequest', name: '培训效果管理', component: './Admin' },
| // // { path: '/trainingManagement/transferApplication', name: '培训费用管理', component: './Admin' },
| // ],
| // },
| // {
| // name: '查询表格',
| // icon: 'table',
| // path: '/list',
| // component: './TableList',
| // access: 'canUser',
| // },
| // {
| // name: '机构管理',
| // icon: 'crown',
| // headerRender: true,
| // path: '/org',
| // access: 'canAdmin',
| // component: './orgManage',
| // },
| {
| name: '部门管理',
| icon: 'crown',
| headerRender: true,
| access: 'canAdmin',
| path: '/department',
| component: './DepartmentManage',
| },
| { path: '*', layout: false, component: './404' },
| ];
|
|