917_invoiceManager.js
2.2 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
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"
}
],
component: _import("invoiceManage/invoiceQueryList")
}
}