914_pointManagement.js
2.79 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
/* eslint-disable node/prefer-global/process */
const _import = require("@/libs/util.import." + process.env.NODE_ENV);
export const routerName = {
914: {
path: "/pointManagement",
name: "pointManagement",
meta: {
title: "积分管理",
authId: "914",
parentId: "1",
cache: false,
},
},
91401: {
path: "/pointExamine",
name: "pointExamine",
meta: {
title: "积分审批",
authId: "91401",
parentId: "914",
cache: false,
},
auth: [{
authId: "9140101",
parentId: "91401",
label: "审核",
handle: "handleCheck",
}, {
authId: "9140104",
parentId: "91401",
label: "标记退款",
handle: "openRefundDetail",
}, {
authId: "9140102",
parentId: "91401",
label: "查看",
handle: "handleDetail",
}, {
authId: "9140103",
parentId: "91401",
label: "导出",
category: "Button",
handle: "handleExport",
}, {
authId: "9140105",
parentId: "91401",
label: "刷新",
category: "Button",
handle: "handleRefresh",
}, {
authId: "9140106",
parentId: "91401",
label: "一键审批",
category: "Button",
type: "primary",
handle: "handleApproveAll",
}, {
authId: "9140107",
parentId: "91401",
label: "审批",
handle: "handleApproveAll",
}],
component: _import("pointManagement/pointExamine"),
},
91402: {
path: "/pointParticulars",
name: "pointParticulars",
meta: {
title: "积分明细",
authId: "91402",
parentId: "914",
cache: false,
},
auth: [{
authId: "9140201",
parentId: "91402",
label: "明细",
handle: "handleDetail",
addRoutePath: [{
authId: "91403",
name: "详情",
parentId: "91402",
}],
}, {
authId: "9140205",
parentId: "91402",
label: "更换手机号",
handle: "handleChangePhone",
}, {
authId: "9140202",
parentId: "91402",
label: "导出",
category: "Button",
handle: "handleExport",
}, {
authId: "9140204",
parentId: "91402",
label: "批量积分调整",
category: "Button",
type: "primary",
handle: "handleGoverning",
}, {
authId: "9140203",
parentId: "91402",
label: "新增",
handle: "handleDetail",
addRoutePath: [{
authId: "91404",
name: "新增手动抵扣",
parentId: "91402",
}],
}],
component: _import("pointManagement/pointParticulars"),
},
91403: {
path: "/pointDetail",
name: "pointDetail",
meta: {
title: "详情",
authId: "91403",
parentId: "91402",
cache: false,
activePath: "/pointParticulars",
},
component: _import("pointManagement/pointDetail"),
},
// 新增抵扣
91404: {
path: "/deduction",
name: "deduction",
meta: {
title: "新增抵扣",
authId: "91403",
parentId: "91402",
cache: false,
activePath: "/pointParticulars",
},
component: _import("pointManagement/addDeduction"),
},
};