904_orderManagement.js
4.09 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
// const _import = require("@/libs/util.import." + process.env.NODE_ENV)
// export const routerName = {}
const _import = require("@/libs/util.import." + process.env.NODE_ENV)
export const routerName = {
904: {
path: "/orderManage",
name: "orderManage",
meta: {
title: "订单管理",
authId: "904",
parentId: "1",
cache: false
}
},
90401: {
path: "/orderList",
name: "orderList",
meta: {
title: "订单列表",
authId: "90401",
parentId: "904",
cache: false
},
auth: [
{
authId: "9040104",
parentId: "90401",
label: "导入订单",
category: "Button",
type: "primary",
handle: "handleImport"
},
{
authId: "9040101",
parentId: "90401",
label: "导出",
category: "Button",
type: "primary",
handle: "handleExport"
},
{
authId: "9040102",
parentId: "90401",
label: "查看详情",
handle: "handleDetail",
addRoutePath: [
{
authId: "90402",
name: "订单详情",
parentId: "90401"
}
]
},
{
authId: "9040103",
parentId: "90401",
label: "待补录订单",
category: "Button",
type: "primary",
handle: "handlMakeUpOrder",
addRoutePath: [
{
authId: "90403",
name: "补录订单",
parentId: "90401"
}
]
},
{
authId: "9040105",
parentId: "90401",
label: "标记退款",
category: "Button",
type: "primary",
handle: "signRefund"
},
{
authId: "9040106",
parentId: "90401",
label: "查看订单",
handle: "handleDetail",
addRoutePath: [
{
authId: "90404",
name: "查看订单",
parentId: "90401"
}
]
},
{
authId: "9040107",
parentId: "90401",
label: "退款",
handle: "handleRefund"
},
// {
// authId: "9040108",
// parentId: "90401",
// label: "订单核销",
// handle: "handleWriteOff"
// },
{
authId: "9040109",
parentId: "90401",
label: "商品发货",
handle: "handleExpressInfo"
},
{
authId: "9040110",
parentId: "90401",
label: "退款审核",
handle: "handleExamine"
},
{
authId: "9040111",
parentId: "90401",
label: "查看详情",
handle: "handleDetail",
addRoutePath: [
{
authId: "90405",
name: "查看详情",
parentId: "90401"
}
]
}
],
component: _import("orderManage/orderList")
},
90402: {
path: "/orderDetail",
name: "orderDetail",
meta: {
title: "订单详情",
authId: "90402",
parentId: "90401",
cache: false,
activePath: "/orderList"
},
component: _import("orderManage/orderDetail")
},
90403: {
path: "/orderSupplement",
name: "orderSupplement",
meta: {
title: "订单补录",
authId: "90403",
parentId: "90401",
cache: false,
activePath: "/orderList"
},
component: _import("orderManage/orderSupplement")
},
90404: {
path: "/crowdfundDetail",
name: "crowdfundDetail",
meta: {
title: "查看订单",
authId: "90404",
parentId: "90401",
cache: false,
activePath: "/orderList"
},
component: _import("orderManage/crowdfundDetail")
},
90405: {
path: "/carDamageDetail",
name: "carDamageDetail",
meta: {
title: "订单详情",
authId: "90405",
parentId: "90401",
cache: false,
activePath: "/orderList"
},
component: _import("orderManage/carDamageDetail")
}
}