912_residentManage.js
11.1 KB
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
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
/* eslint-disable node/prefer-global/process */
const _import = require(`@/libs/util.import.${process.env.NODE_ENV}`);
export const routerName = {
912: {
path: "/residentManage",
name: "residentManage",
meta: {
title: "人员管理",
authId: "912",
parentId: "1",
cache: false,
},
},
91201: {
path: "/qualityControlList",
name: "qualityControlList",
meta: {
title: "质检管理",
authId: "91201",
parentId: "912",
cache: false,
},
component: _import("residentManage/qualityControlList"),
},
91204: {
path: "/inspectionPoint",
name: "inspectionPoint",
meta: {
title: "质检点管理",
authId: "91204",
parentId: "912",
cache: false,
},
component: _import("residentManage/inspectionPoint"),
},
91205: {
path: "/inStoreManage",
name: "inStoreManage",
meta: {
title: "驻店管理",
authId: "91205",
parentId: "912",
cache: false,
},
auth: [{
authId: "9120501",
parentId: "91205",
label: "查看标签",
handle: "handleViewLabel",
}, {
authId: "9120502",
parentId: "91205",
label: "设备登录历史",
category: "Button",
type: "default",
handle: "handleLoginHistory",
}, {
authId: "9120503",
parentId: "91205",
label: "导出人员",
category: "Button",
type: "default",
handle: "handleExportPerson",
}, {
authId: "9120504",
parentId: "91205",
label: "导出标签",
category: "Button",
type: "default",
handle: "handleExportLabel",
}, {
authId: "9120505",
parentId: "91205",
label: "编辑员工",
handle: "handleEdit",
addRoutePath: [{
authId: "912050501",
name: "编辑员工",
parentId: "9120505",
}],
}, {
authId: "9120506",
parentId: "91205",
label: "创建员工",
category: "Button",
type: "primary",
handle: "handleCreateStaff",
}, {
authId: "9120507",
parentId: "91205",
label: "工资维护",
category: "Button",
type: "default",
handle: "handleExportPerformance",
}, {
authId: "9120508",
parentId: "91205",
label: "工资提成",
handle: "handleHistoryPerformance",
addRoutePath: [{
authId: "912050501",
name: "工资提成",
parentId: "9120505",
}],
}, {
authId: "9120509",
parentId: "91205",
label: "修订工资",
handle: "handleEditSalary",
}, {
authId: "9120510",
parentId: "91205",
label: "提成构成",
handle: "handleSalaryDetail",
}, {
authId: "9120511",
parentId: "91205",
category: "Button",
type: "default",
label: "考勤/工资申诉",
handle: "handleClockSalaryIndex",
}, {
authId: "9120512",
parentId: "91205",
category: "Button",
type: "default",
label: "绩效扣减",
handle: "handleDeduction",
}, {
authId: "9120513",
parentId: "91205",
category: "Button",
type: "default",
label: "权限管理",
handle: "handlePermission",
}, {
authId: "9120514",
parentId: "91205",
category: "Button",
type: "default",
label: "批量修改薪资占比",
handle: "handleUpdateSalary",
}, {
authId: "9120515",
parentId: "91205",
category: "Button",
type: "default",
label: "绩效规则配置",
addRoutePath: [{
authId: "912051501",
name: "绩效规则配置",
parentId: "9120505",
}],
handle: "handleConfigurationPerformance",
}, {
authId: "9120516",
parentId: "91205",
label: "分配门店",
handle: "handleAssignStore",
}],
component: _import("residentManage/inStoreManage/inStoreControlList"),
},
912050501: {
path: "/staffInfo",
name: "staffInfo",
meta: {
title: "员工信息",
authId: "912050501",
parentId: "9120505",
cache: false,
activePath: "/inStoreManage",
},
component: _import("residentManage/inStoreManage/staffInfo"),
},
912051501: {
path: "/configurationPerformance",
name: "configurationPerformance",
meta: {
title: "绩效规则配置",
authId: "912051501",
parentId: "9120505",
cache: false,
activePath: "/inStoreManage",
},
component: _import("residentManage/inStoreManage/configurationPerformance"),
},
91211: {
path: "/tabletManagement",
name: "tabletManagement",
meta: {
title: "平板管理",
authId: "91211",
parentId: "912",
cache: false,
},
auth: [{
authId: "9121101",
parentId: "91211",
label: "新增信息",
category: "Button",
type: "primary",
handle: "handleToAdd",
}, {
authId: "9121102",
parentId: "91211",
label: "数据导出",
category: "Button",
type: "primary",
handle: "handleExport",
}, {
authId: "9121103",
parentId: "91211",
label: "编辑",
handle: "handleToAdd",
}],
component: _import("residentManage/tabletManagement"),
},
91212: {
path: "/salaryPerformance",
name: "salaryPerformance",
meta: {
title: "驻店工资绩效",
authId: "91212",
parentId: "912",
cache: false,
},
auth: [{
authId: "9121201",
parentId: "91212",
label: "新增绩效方案",
category: "Button",
type: "primary",
handle: "handleToAdd",
addRoutePath: [{
authId: "912120101",
name: "新增绩效方案",
parentId: "91212",
}],
}, {
authId: "9121202",
parentId: "91212",
label: "编辑",
handle: "handleToEdit",
addRoutePath: [{
authId: "912120101",
name: "编辑",
parentId: "91212",
}],
}, {
authId: "9121202",
parentId: "91212",
label: "编辑",
handle: "handleToEdit",
addRoutePath: [{
authId: "912120101",
name: "编辑",
parentId: "91212",
}],
}, {
authId: "9121203",
parentId: "91212",
label: "删除",
handle: "handleDelete",
}, {
authId: "9121204",
parentId: "91212",
label: "启用",
handle: "handleEnableOrDisable",
ruleObj: {
attr: "minPerformConfigStatus",
rule: {
null: "启用",
2: "启用",
1: "禁用",
},
disabledStatusList: [null],
},
}, {
authId: "9121205",
parentId: "91212",
label: "导出",
// 门店工资绩效导出
category: "Button",
type: "default",
handle: "handleExport",
}, {
authId: "9121206",
parentId: "91212",
label: "新增支出",
category: "Button",
type: "primary",
handle: "handleAddExpenditure",
}, {
authId: "9121207",
parentId: "91212",
label: "导出",
// 激励池导出
category: "Button",
type: "default",
handle: "handleExport",
}, {
authId: "9121208",
parentId: "91212",
label: "修改备注",
handle: "handleToNote",
}, {
authId: "9121209",
parentId: "91212",
label: "明细",
handle: "handleDetail",
}, {
authId: "9121210",
parentId: "91212",
label: "导入绩效方案",
category: "Button",
type: "primary",
handle: "handleImport",
}, {
authId: "9121211",
parentId: "91212",
label: "复制绩效方案",
category: "Button",
type: "primary",
handle: "handleCopyConfig",
}, {
authId: "9121212",
parentId: "91212",
label: "圈定产品",
category: "Button",
type: "default",
handle: "handleDefine",
}, {
authId: "9121213",
parentId: "91212",
label: "提成方案配置",
handle: "handleToEdit",
addRoutePath: [{
authId: "912120102",
name: "提成方案配置",
parentId: "91212",
}],
}, {
authId: "9121214",
parentId: "91212",
label: "门店提成方案",
handle: "handleToEdit",
addRoutePath: [{
authId: "912120103",
name: "门店提成方案",
parentId: "91212",
}],
}],
component: _import("residentManage/salaryPerformance/index"),
},
912120101: {
path: "/performanceScheme",
name: "performanceScheme",
meta: {
title: "绩效方案",
authId: "912120101",
parentId: "91212",
sideHidden: true,
activePath: "/salaryPerformance",
},
component: _import("residentManage/salaryPerformance/performanceScheme/view/index"),
},
912120102: {
path: "/configureCommissionPlan",
name: "configureCommissionPlan",
meta: {
title: "提成方案配置",
authId: "9121213",
parentId: "91212",
sideHidden: true,
activePath: "/salaryPerformance",
},
component: _import("residentManage/salaryPerformance/performanceScheme/view/configureCommissionPlan"),
},
912120103: {
path: "/configureStoreCommissionPlan",
name: "configureStoreCommissionPlan",
meta: {
title: "门店提成方案",
authId: "912120101",
parentId: "91212",
sideHidden: true,
activePath: "/salaryPerformance",
},
component: _import("residentManage/salaryPerformance/performanceScheme/view/configureStoreCommissionPlan"),
},
91222: {
path: "/recordLabelManagement",
name: "recordLabelManagement",
meta: {
title: "录音标签管理",
authId: "91222",
parentId: "912",
cache: false,
},
component: _import("residentManage/recordLabelManagement/index"),
},
91223: {
path: "/recruitmentManagement",
name: "recruitmentManagement",
meta: {
title: "招聘管理",
authId: "91223",
parentId: "912",
cache: false,
},
component: _import("residentManage/recruitmentManagement/index"),
auth: [{
authId: "9122301",
parentId: "91223",
label: "新增招聘需求",
handle: "handleAdd",
category: "Button",
type: "primary",
addRoutePath: [{
authId: "912230101",
name: "新增招聘需求",
parentId: "91223",
}],
}, {
authId: "9122302",
parentId: "91223",
label: "导出",
category: "Button",
type: "primary",
handle: "handleExport",
}, {
authId: "9122308",
parentId: "91223",
label: "批量变更",
category: "Button",
type: "primary",
handle: "handleBatchChange",
}, {
authId: "9122303",
parentId: "91223",
label: "查看",
handle: "handleDetail",
addRoutePath: [{
authId: "912230301",
name: "查看招聘需求",
parentId: "91223",
}],
}, {
authId: "9122304",
parentId: "91223",
label: "确认",
handle: "handleConfirm",
}, {
authId: "9122305",
parentId: "91223",
label: "驳回",
handle: "handleReject",
}, {
authId: "9122307",
parentId: "91223",
label: "完成",
handle: "handleComplete",
}, {
authId: "9122309",
parentId: "91223",
label: "关联",
handle: "handleRelate",
}, {
authId: "9122306",
parentId: "91223",
label: "处理",
handle: "handleDispose",
addRoutePath: [{
authId: "912230601",
name: "处理",
parentId: "91223",
}],
}],
},
912230101: {
path: "/addRecruitment",
name: "addRecruitment",
meta: {
title: "新增招聘需求",
authId: "9122301",
parentId: "91223",
activePath: "/recruitmentManagement",
},
component: _import("residentManage/recruitmentManagement/addRecruitment"),
},
912230601: {
path: "/disposeRecruitment",
name: "disposeRecruitment",
meta: {
title: "处理招聘需求",
authId: "9122306",
parentId: "91223",
activePath: "/recruitmentManagement",
},
component: _import("residentManage/recruitmentManagement/disposeRecruitment"),
},
912230301: {
path: "/lookRecruitment",
name: "lookRecruitment",
meta: {
title: "查看招聘需求",
authId: "9122306",
parentId: "91223",
activePath: "/recruitmentManagement",
},
component: _import("residentManage/recruitmentManagement/lookRecruitment"),
},
};