917_invoiceManager.js
3.16 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
const _import = require("@/libs/util.import." + process.env.NODE_ENV)
export const routerName = {
917: {
path: "/invoiceManage",
name: "invoiceManage",
meta: {
title: "发票管理",
authId: "917",
parentId: "1",
cache: false
}
},
91701: {
path: "/invoiceCode",
name: "invoiceCode",
meta: {
title: "开票二维码",
authId: "91701",
parentId: "917",
cache: false
},
auth: [
{
authId: "9170101",
parentId: "91701",
label: "作废",
category: "Button",
type: "primary",
handle: "handleCancel"
},
{
authId: "9170102",
parentId: "91701",
label: "导出",
category: "Button",
type: "primary",
handle: "handleExport"
},
{
authId: "9170103",
parentId: "91701",
label: "详情",
handle: "handleDetail"
},
{
authId: "9170104",
parentId: "91701",
label: "查看二维码",
handle: "handleQRCode"
}
],
component: _import("invoiceManage/invoiceCode")
},
91702: {
path: "/invoiceQuery",
name: "invoiceQuery",
meta: {
title: "发票查询",
authId: "91702",
parentId: "917",
cache: false
},
auth: [
{
authId: "9170201",
parentId: "91702",
label: "下载电子发票",
category: "Button",
type: "primary",
handle: "handleDownloadInvoice"
},
{
authId: "9170202",
parentId: "91702",
label: "打印电子发票",
category: "Button",
type: "primary",
handle: "handlePrintInvoice"
},
{
authId: "9170203",
parentId: "91702",
label: "导出",
category: "Button",
type: "primary",
handle: "handleExport"
},
{
authId: "9170204",
parentId: "91702",
label: "详情",
handle: "handleDetail"
},
{
authId: "9170205",
parentId: "91702",
label: "查看发票",
handle: "handleLookInvoice"
},
{
authId: "9170206",
parentId: "91702",
label: "冲红",
handle: "handleRed"
}
],
component: _import("invoiceManage/invoiceQueryList")
},
91703: {
path: "/invoiceRedManage",
name: "invoiceRedManage",
meta: {
title: "发票冲红管理",
authId: "91703",
parentId: "917",
cache: false
},
auth: [
{
authId: "9170301",
parentId: "91703",
label: "导出",
category: "Button",
type: "primary",
handle: "handleExport"
},
{
authId: "9170302",
parentId: "91703",
label: "查看蓝票",
handle: "handleDetailBlue"
},
{
authId: "9170303",
parentId: "91703",
label: "查看红票",
handle: "handleDetailRed"
},
{
authId: "9170304",
parentId: "91703",
label: "重新冲红",
handle: "handleRed"
}
],
component: _import("invoiceManage/invoiceRedManage")
}
}