921_salesManagement.js
4.21 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
const _import = require("@/libs/util.import." + process.env.NODE_ENV);
export const routerName = {
921: {
path: "/salesManagement",
name: "salesManagement",
meta: {
title: "销售管理",
authId: "921",
parentId: "1",
cache: false,
},
},
92101: {
path: "/customer",
name: "customer",
meta: {
title: "客户管理",
authId: "92101",
parentId: "921",
cache: false,
},
auth: [
{
authId: "9210101",
parentId: "92101",
label: "导出",
category: "Button",
type: "primary",
handle: "handleExport",
},
{
authId: "9210102",
parentId: "92101",
label: "首次绑定",
handle: "handleEdit",
ruleObj: {
attr: "potentialCustomersStatus",
rule: {
3: "首次绑定",
4: "重新绑定",
},
},
},
{
authId: "9210103",
parentId: "92101",
label: "详情",
handle: "handleDetail",
},
{
authId: "9210104",
parentId: "92101",
label: "信息核验",
handle: "handleInfoCheck",
},
{
authId: "9210105",
parentId: "92101",
label: "编辑",
handle: "handleMerchantEdit",
},
],
component: _import("salesManagement/customer/index"),
},
92102: {
path: "/organize",
name: "organize",
meta: {
title: "组织架构管理",
authId: "92102",
parentId: "921",
cache: false,
},
auth: [
{
authId: "9210201",
parentId: "92102",
label: "编辑",
handle: "handleEdit",
addRoutePath: [
{
authId: "92103",
name: "编辑",
parentId: "92102",
},
],
},
],
component: _import("salesManagement/organize/index"),
},
92103: {
path: "/editOrganize",
name: "editOrganize",
meta: {
title: "编辑",
authId: "92103",
parentId: "92102",
sideHidden: true,
activePath: "/editOrganize",
},
component: _import("salesManagement/organize/editOrganize"),
},
92104: {
path: "/availableInStores",
name: "availableInStores",
meta: {
title: "门店上架",
authId: "92104",
parentId: "921",
cache: false,
},
auth: [
{
authId: "9210401",
parentId: "92104",
label: "嘀加上架与销售合同",
handle: "navigateToApprovalPage",
category: "Button",
type: "primary",
addRoutePath: [
{
authId: "9210403",
name: "嘀加上架与销售合同",
parentId: "92104",
},
],
},
{
authId: "9210402",
parentId: "92104",
label: "嘀加上架修改",
handle: "navigateToApprovalPage",
category: "Button",
type: "primary",
addRoutePath: [
{
authId: "9210404",
name: "嘀加上架修改",
parentId: "92104",
},
],
},
],
component: _import("salesManagement/availableInStores/index"),
},
9210403: {
path: "/tigaListingAndSalesContract",
name: "tigaListingAndSalesContract",
meta: {
title: "嘀加上架与销售合同",
authId: "9210403",
parentId: "92104",
activePath: "/tigaListingAndSalesContract",
cache: false,
},
auth: [],
component: _import(
"salesManagement/availableInStores/tigaListingAndSalesContract/index",
),
},
9210404: {
path: "/addAndModifyTheListing",
name: "addAndModifyTheListing",
meta: {
title: "嘀加上架修改",
authId: "9210404",
parentId: "92104",
activePath: "/addAndModifyTheListing",
cache: false,
},
auth: [],
component: _import(
"salesManagement/availableInStores/tigaListingAndSalesContract/index",
),
},
92105: {
path: "/closeStore",
name: "closeStore",
meta: {
title: "关店管理",
authId: "92105",
parentId: "921",
cache: false,
},
auth: [
{
authId: "9210501",
parentId: "92105",
label: "导出",
category: "Button",
type: "primary",
handle: "handleExport",
},
{
authId: "9210502",
parentId: "92105",
label: "详情",
handle: "handleDetail",
},
{
authId: "9210503",
parentId: "92105",
label: "关店确认",
handle: "handleCloseStore",
},
],
component: _import("salesManagement/closeStore/index"),
},
};