904_orderManagement.js
2.39 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
// 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"
}
],
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")
}
}