|
@@ -4,24 +4,26 @@ import {
|
4
|
4
|
FileTextOutlined,
|
5
|
5
|
HeartOutlined,
|
6
|
6
|
HourglassTwoTone,
|
|
7
|
+ StopFilled,
|
7
|
8
|
} from "@ant-design/icons";
|
8
|
9
|
import { Outlet, Navigate } from "react-router-dom";
|
9
|
10
|
import AuthLayout from "@/layouts/AuthLayout";
|
10
|
11
|
import Login from "@/pages/login";
|
11
|
12
|
import Page404 from "@/pages/404";
|
12
|
13
|
import AdUser from "@/pages/adUser";
|
13
|
|
-import CustomEdit from "@/pages/adUser/Edit";
|
|
14
|
+import AdUserEdit from "@/pages/adUser/Edit";
|
14
|
15
|
import Project from "@/pages/project";
|
15
|
16
|
import ProjectEdit from "@/pages/project/Edit";
|
16
|
|
-import User from "@/pages/user";
|
17
|
|
-import UserEdit from "@/pages/user/Edit";
|
18
|
|
-import Menu from "@/pages/menu";
|
19
|
17
|
import Role from "@/pages/role";
|
20
|
18
|
import Dept from "@/pages/dept";
|
21
|
19
|
import Package from "@/pages/package";
|
22
|
20
|
import PackageEdit from "@/pages/package/Edit";
|
23
|
21
|
import Member from "@/pages/member";
|
24
|
22
|
import MemberEdit from "@/pages/member/Edit";
|
|
23
|
+import Custom from "@/pages/custom";
|
|
24
|
+import CustomEdit from "@/pages/custom/Edit";
|
|
25
|
+
|
|
26
|
+
|
25
|
27
|
// import RoleEdit from "@/pages/role/Edit";
|
26
|
28
|
/**
|
27
|
29
|
* meta 用来扩展自定义数据数据
|
|
@@ -51,7 +53,7 @@ export const authRoutes = [
|
51
|
53
|
},
|
52
|
54
|
{
|
53
|
55
|
path: "aduser/edit",
|
54
|
|
- element: <CustomEdit />,
|
|
56
|
+ element: <AdUserEdit />,
|
55
|
57
|
meta: {
|
56
|
58
|
title: "用户维护",
|
57
|
59
|
hideInMenu: true,
|
|
@@ -90,6 +92,24 @@ export const authRoutes = [
|
90
|
92
|
icon: <UserOutlined />,
|
91
|
93
|
},
|
92
|
94
|
},
|
|
95
|
+ {
|
|
96
|
+ path: "custom",
|
|
97
|
+ element: <Custom />,
|
|
98
|
+ meta: {
|
|
99
|
+ title: "客户管理",
|
|
100
|
+ icon: <StopFilled />,
|
|
101
|
+ },
|
|
102
|
+ },
|
|
103
|
+ {
|
|
104
|
+ path: "custom/edit",
|
|
105
|
+ element: <CustomEdit />,
|
|
106
|
+ meta: {
|
|
107
|
+ title: "客户维护",
|
|
108
|
+ hideInMenu: true,
|
|
109
|
+ },
|
|
110
|
+ },
|
|
111
|
+
|
|
112
|
+
|
93
|
113
|
{
|
94
|
114
|
path: "package",
|
95
|
115
|
element: <Package />,
|
|
@@ -122,6 +142,8 @@ export const authRoutes = [
|
122
|
142
|
hideInMenu: true,
|
123
|
143
|
},
|
124
|
144
|
},
|
|
145
|
+
|
|
146
|
+
|
125
|
147
|
// {
|
126
|
148
|
// path: "role/edit",
|
127
|
149
|
// element: <RoleEdit />,
|