905_financialManagement.js
2.41 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
/* eslint-disable node/prefer-global/process */
const _import = require("@/libs/util.import." + process.env.NODE_ENV);
export const routerName = {
905: {
path: "/financeManage",
name: "financeManage",
meta: {
title: "财务管理",
authId: "905",
parentId: "1",
cache: false,
},
},
90501: {
path: "/financeList",
name: "financeList",
meta: {
title: "财务列表",
authId: "90501",
parentId: "905",
cache: false,
},
auth: [{
authId: "9050103",
parentId: "90501",
label: "下载对账单",
icon: "download",
category: "Button",
type: "primary",
handle: "downloadAccount",
}, {
authId: "9050102",
parentId: "90501",
label: "查看明细",
handle: "handleDetail",
addRoutePath: [{
authId: "90502",
name: "对账详情",
parentId: "90501",
}],
}, {
authId: "9050104",
parentId: "90501",
label: "对账确认",
category: "Button",
type: "primary",
handle: "handleAccountConfirm",
}, {
authId: "9050105",
parentId: "90501",
label: "系统对账",
icon: "download",
category: "Button",
type: "primary",
handle: "downloadSystemAccount",
}, {
authId: "9050101",
parentId: "90501",
label: "合并导出",
category: "Button",
type: "primary",
handle: "handleExport",
}],
component: _import("financeManage/index"),
},
90502: {
path: "/financeDetail",
name: "financeDetail",
meta: {
title: "对账详情",
authId: "90502",
parentId: "90501",
cache: false,
activePath: "/financeList",
},
component: _import("financeManage/financeDetailNew"),
},
90503: {
path: "/onlineAccountList",
name: "onlineAccountList",
meta: {
title: "我的分账",
authId: "90503",
parentId: "905",
cache: false,
},
auth: [
// {
// authId: '9050301',
// parentId: '90503',
// label: '提现记录',
// category: 'Button',
// type: 'primary',
// handle: 'handleRecord'
// },
{
authId: "9050302",
parentId: "90503",
label: "导出",
category: "Button",
type: "primary",
handle: "handleExport",
},
],
component: _import("financeManage/account/index"),
},
90504: {
path: "/accountRecord",
name: "accountRecord",
meta: {
title: "提现记录",
authId: "90504",
parentId: "90503",
cache: false,
activePath: "/onlineAccountList",
},
component: _import("financeManage/account/accountRecord"),
},
};