|
@@ -2,6 +2,8 @@ import {
|
2
|
2
|
UserOutlined,
|
3
|
3
|
SolutionOutlined,
|
4
|
4
|
FileTextOutlined,
|
|
5
|
+ CreditCardOutlined,
|
|
6
|
+ IdcardOutlined,
|
5
|
7
|
} from "@ant-design/icons";
|
6
|
8
|
import { Outlet, Navigate } from "react-router-dom";
|
7
|
9
|
import AuthLayout from "@/layouts/AuthLayout";
|
|
@@ -14,11 +16,16 @@ import FinancialStatement from "@/pages/financialstatement";
|
14
|
16
|
import Incorporation from "@/pages/incorporation";
|
15
|
17
|
import EcologicalPartner from "@/pages/ecologicalpartner";
|
16
|
18
|
import AccountSettings from "@/pages/accountsettings";
|
|
19
|
+import PayMent from "@/pages/payment";
|
|
20
|
+import RecipientManagement from "@/pages/recipientmanagement";
|
|
21
|
+import StoreForeignExchange from "@/pages/storeforeignexchange";
|
|
22
|
+import QuantuMstored from "@/pages/quantumstored";
|
|
23
|
+import QuantumCredit from "@/pages/quantumcredit";
|
|
24
|
+import TransactionInquiry from "@/pages/transactioninquiry";
|
17
|
25
|
import FirstPage from "@/pages/firstPage/index";
|
18
|
26
|
|
19
|
|
-
|
20
|
|
-import QLogin from '@/pages/qLogin/index';
|
21
|
|
-import QRegister from '@/pages/qRegister/index';
|
|
27
|
+import QLogin from "@/pages/qLogin/index";
|
|
28
|
+import QRegister from "@/pages/qRegister/index";
|
22
|
29
|
|
23
|
30
|
/**
|
24
|
31
|
* meta 用来扩展自定义数据数据
|
|
@@ -52,17 +59,71 @@ export const authRoutes = [
|
52
|
59
|
element: <Outlet />,
|
53
|
60
|
meta: {
|
54
|
61
|
title: "全球账户",
|
55
|
|
- icon: <SolutionOutlined />,
|
|
62
|
+ icon: <IdcardOutlined />,
|
56
|
63
|
},
|
57
|
64
|
children: [
|
58
|
65
|
{
|
59
|
|
- path: `accountmanagement`,
|
|
66
|
+ path: "accountmanagement",
|
60
|
67
|
element: <AccountManagement />,
|
61
|
68
|
meta: {
|
62
|
69
|
title: "账户管理",
|
63
|
70
|
icon: <SolutionOutlined />,
|
64
|
71
|
},
|
65
|
72
|
},
|
|
73
|
+ {
|
|
74
|
+ path: "payment",
|
|
75
|
+ element: <PayMent />,
|
|
76
|
+ meta: {
|
|
77
|
+ title: "付款",
|
|
78
|
+ icon: <SolutionOutlined />,
|
|
79
|
+ },
|
|
80
|
+ },
|
|
81
|
+ {
|
|
82
|
+ path: "recipientmanagement",
|
|
83
|
+ element: <RecipientManagement />,
|
|
84
|
+ meta: {
|
|
85
|
+ title: "收款方管理",
|
|
86
|
+ icon: <SolutionOutlined />,
|
|
87
|
+ },
|
|
88
|
+ },
|
|
89
|
+ {
|
|
90
|
+ path: "storeforeignexchange",
|
|
91
|
+ element: <StoreForeignExchange />,
|
|
92
|
+ meta: {
|
|
93
|
+ title: "店铺和结汇额度管理",
|
|
94
|
+ icon: <SolutionOutlined />,
|
|
95
|
+ },
|
|
96
|
+ },
|
|
97
|
+ ],
|
|
98
|
+ },
|
|
99
|
+ {
|
|
100
|
+ path: "quantum",
|
|
101
|
+ element: <Outlet />,
|
|
102
|
+ meta: {
|
|
103
|
+ title: "量子卡",
|
|
104
|
+ icon: <CreditCardOutlined/>,
|
|
105
|
+ },
|
|
106
|
+ children: [
|
|
107
|
+ {
|
|
108
|
+ path: "quantumstored",
|
|
109
|
+ element: <QuantuMstored />,
|
|
110
|
+ meta: {
|
|
111
|
+ title: "量子储值卡",
|
|
112
|
+ },
|
|
113
|
+ },
|
|
114
|
+ {
|
|
115
|
+ path: "quantumcredit",
|
|
116
|
+ element: <QuantumCredit />,
|
|
117
|
+ meta: {
|
|
118
|
+ title: "量子额度卡",
|
|
119
|
+ },
|
|
120
|
+ }, {
|
|
121
|
+ path: "transactioninquiry",
|
|
122
|
+ element: <TransactionInquiry />,
|
|
123
|
+ meta: {
|
|
124
|
+ title: "交易查询",
|
|
125
|
+ },
|
|
126
|
+ },
|
66
|
127
|
],
|
67
|
128
|
},
|
68
|
129
|
{
|