Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
A
admin
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
iuav
admin
Commits
f3f8e005
提交
f3f8e005
authored
11月 16, 2023
作者:
bax
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'develop' of
http://git.mmcuav.cn/iuav/csf-admin
into develop
上级
7a7fa701
5628dd35
流水线
#6888
已通过 于阶段
in 1 分 39 秒
变更
8
流水线
1
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
494 行增加
和
504 行删除
+494
-504
kustomization.yaml
kustomization/overlays/dev/kustomization.yaml
+1
-1
index.tsx
src/components/layout/menu/index.tsx
+1
-1
index.tsx
src/pages/mallManage/serviceManage/serviceList/index.tsx
+2
-2
index.tsx
src/pages/orderManage/demandOrder/orderList/index.tsx
+1
-1
index.tsx
src/pages/orderManage/equipmentOrder/index.tsx
+1
-1
index.tsx
src/pages/orderManage/procurementOrder/orderList/index.tsx
+1
-1
index.tsx
src/pages/orderManage/productOrder/orderList/index.tsx
+1
-1
router.tsx
src/router/router.tsx
+486
-496
没有找到文件。
kustomization/overlays/dev/kustomization.yaml
浏览文件 @
f3f8e005
...
...
@@ -14,4 +14,4 @@ patches:
images
:
-
name
:
REGISTRY/NAMESPACE/IMAGE:TAG
newName
:
mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/admin
newTag
:
f03a38646e715ed4c4498e678f6530dd79273cd3
newTag
:
2eddcb1f9e1bce4eb0d8442b2c66584dfac698bc
src/components/layout/menu/index.tsx
浏览文件 @
f3f8e005
...
...
@@ -62,7 +62,7 @@ export function MenuView() {
// 设置侧边栏数据
authRouterList
().
then
((
value
)
=>
{
// 除了数据看板,其他没有子项的菜单全部过滤掉
const
arr
=
getItem
(
value
)?.
filter
((
i
:
any
)
=>
i
?.
key
===
2
)
||
[];
const
arr
=
getItem
(
value
)?.
filter
((
i
:
any
)
=>
i
?.
key
===
100
)
||
[];
const
brr
=
getItem
(
value
)?.
filter
((
i
:
any
)
=>
i
?.
children
?.
length
)
||
[];
// 设置要展示的菜单列表
setItems
([...
arr
,
...
brr
]);
...
...
src/pages/mallManage/serviceManage/serviceList/index.tsx
浏览文件 @
f3f8e005
...
...
@@ -95,11 +95,11 @@ const ServiceListView = () => {
};
// 新增服务
const
handleAdd
=
()
=>
{
navigate
(
'/
mall
Manage/serviceDetail'
);
navigate
(
'/
service
Manage/serviceDetail'
);
};
// 跳转详情
const
handleDetail
=
(
record
:
TableType
[
0
])
=>
{
navigate
(
`/
mall
Manage/serviceDetail?id=
${
record
.
id
}
`
);
navigate
(
`/
service
Manage/serviceDetail?id=
${
record
.
id
}
`
);
};
// 删除服务
const
handleDelete
=
(
record
:
TableType
[
0
])
=>
{
...
...
src/pages/orderManage/demandOrder/orderList/index.tsx
浏览文件 @
f3f8e005
...
...
@@ -125,7 +125,7 @@ const DemandOrderList = () => {
};
// 订单详情
const
toOrderDetail
=
(
record
:
demandOrderListType
[
0
])
=>
{
navigate
({
pathname
:
'/
order
Manage/demandOrderDetail'
,
search
:
`id=
${
record
.
id
}
`
});
navigate
({
pathname
:
'/
service
Manage/demandOrderDetail'
,
search
:
`id=
${
record
.
id
}
`
});
};
//分页
const
paginationChange
=
(
pageNo
:
number
,
pageSize
:
number
)
=>
{
...
...
src/pages/orderManage/equipmentOrder/index.tsx
浏览文件 @
f3f8e005
...
...
@@ -90,7 +90,7 @@ function EquipmentOrderView() {
// 跳转订单详情
const
handleDetail
=
(
record
:
TableType
[
0
])
=>
{
const
search
=
{
id
:
record
.
id
,
orderNo
:
record
.
orderNo
};
navigate
(
`/
order
Manage/equipmentOrder/detail?
${
qs
.
stringify
(
search
)}
`
);
navigate
(
`/
rent
Manage/equipmentOrder/detail?
${
qs
.
stringify
(
search
)}
`
);
};
// 获取订单状态
const
getOrderStatus
=
()
=>
{
...
...
src/pages/orderManage/procurementOrder/orderList/index.tsx
浏览文件 @
f3f8e005
...
...
@@ -320,7 +320,7 @@ const ProcurementOrderList = () => {
// 跳转采购订单详情
const
toProcurementOrderDetail
=
(
record
:
procurementOrderListType
[
0
])
=>
{
navigate
({
pathname
:
'/
order
Manage/procurementOrder/detail'
,
pathname
:
'/
mall
Manage/procurementOrder/detail'
,
search
:
qs
.
stringify
({
id
:
record
.
id
}),
});
};
...
...
src/pages/orderManage/productOrder/orderList/index.tsx
浏览文件 @
f3f8e005
...
...
@@ -126,7 +126,7 @@ function ProductOrderView() {
};
// 跳转订单详情
const
handleDetail
=
(
record
:
TableType
[
0
])
=>
{
navigate
(
`/
order
Manage/productOrder/detail?
${
qs
.
stringify
({
id
:
record
.
id
})}
`
);
navigate
(
`/
mall
Manage/productOrder/detail?
${
qs
.
stringify
({
id
:
record
.
id
})}
`
);
};
// 获取商城订单状态列表
const
getMallOrderStatusList
=
()
=>
{
...
...
src/router/router.tsx
浏览文件 @
f3f8e005
...
...
@@ -4,23 +4,17 @@ import ErrorPage from '~/pages/common/error';
import
LayoutView
from
'~/components/layout'
;
import
{
MacCommandOutlined
,
BarsOutlined
,
ShoppingOutlined
,
ShopOutlined
,
CreditCardOutlined
,
SmileOutlined
,
TeamOutlined
,
ReconciliationOutlined
,
SolutionOutlined
,
RedEnvelopeOutlined
,
SettingOutlined
,
UserOutlined
,
SendOutlined
,
RocketOutlined
,
AppstoreAddOutlined
,
AppstoreOutlined
,
CoffeeOutlined
,
UnorderedListOutlined
,
BookOutlined
,
SketchOutlined
,
DribbbleOutlined
,
...
...
@@ -62,8 +56,8 @@ import { PointDetail } from '~/pages/pointManage/pointList/detail';
// const ActivityList = React.lazy(() => import('src/pages/activityManage/activityList')); //活动管理
// 客户管理
import
CustomListView
from
'~/pages/customManage/customList'
;
import
CustomMoneyView
from
'~/pages/customManage/customMoney'
;
import
CustomMoneyDetail
from
'~/pages/customManage/customMoney/detail'
;
//
import CustomMoneyView from '~/pages/customManage/customMoney';
//
import CustomMoneyDetail from '~/pages/customManage/customMoney/detail';
const
CustomVerificationView
=
React
.
lazy
(
()
=>
import
(
'~/pages/customManage/customVerification/list'
),
);
//实名认证
...
...
@@ -92,9 +86,9 @@ const TopicListView = React.lazy(() => import('~/pages/forumManage/topicList'));
// 订单
const
ProductOrderView
=
React
.
lazy
(()
=>
import
(
'src/pages/orderManage/productOrder/orderList'
));
//销售订单
const
EquipmentOrderView
=
React
.
lazy
(()
=>
import
(
'src/pages/orderManage/equipmentOrder'
));
//设备订单
const
ServiceOrderView
=
React
.
lazy
(()
=>
import
(
'src/pages/orderManage/serviceOrder'
));
//服务订单
//
const ServiceOrderView = React.lazy(() => import('src/pages/orderManage/serviceOrder')); //服务订单
const
ProductOrderDetail
=
React
.
lazy
(()
=>
import
(
'~/pages/orderManage/productOrder/orderDetail'
));
const
ServiceOrderDetail
=
React
.
lazy
(()
=>
import
(
'~/pages/orderManage/serviceOrder/detail'
));
//
const ServiceOrderDetail = React.lazy(() => import('~/pages/orderManage/serviceOrder/detail'));
const
EquipmentOrderDetail
=
React
.
lazy
(()
=>
import
(
'~/pages/orderManage/equipmentOrder/detail'
));
const
PilotTrainingOrderView
=
React
.
lazy
(()
=>
import
(
'~/pages/orderManage/pilotTrainingOrder'
));
const
DemandOrderListView
=
React
.
lazy
(()
=>
import
(
'~/pages/orderManage/demandOrder/orderList'
));
//需求订单
...
...
@@ -129,20 +123,18 @@ const MallAddOrEditOrDetailView = React.lazy(
);
//商城商品新增、编辑
const
MallGoodsDetailsView
=
React
.
lazy
(()
=>
import
(
'~/pages/mallManage/mallGoods/goodsDetails'
));
//商城商品(新)
const
ProduceListView
=
React
.
lazy
(()
=>
import
(
'~/pages/mallManage/produceManage/produceList'
));
//产品列表
const
ProduceDetailView
=
React
.
lazy
(
()
=>
import
(
'~/pages/mallManage/produceManage/produceDetail'
),
);
//产品详情
const
MakeListView
=
React
.
lazy
(()
=>
import
(
'~/pages/mallManage/makeManage/makeList'
));
// const ProduceListView = React.lazy(() => import('~/pages/mallManage/produceManage/produceList')); //产品列表
// const ProduceDetailView = React.lazy(() => import('~/pages/mallManage/produceManage/produceDetail')); //产品详情
// const MakeListView = React.lazy(() => import('~/pages/mallManage/makeManage/makeList'));
// 分类管理
const
MallCategoryListView
=
React
.
lazy
(()
=>
import
(
'~/pages/categoryManage/mallCategoryList'
));
//商城分类
const
ServiceCategoryListView
=
React
.
lazy
(
()
=>
import
(
'~/pages/categoryManage/serviceCategoryList'
),
);
//服务分类
const
CategoryManage
=
React
.
lazy
(()
=>
import
(
'~/pages/categoryManage/category'
));
const
CategoryDetail
=
React
.
lazy
(()
=>
import
(
'~/pages/categoryManage/category/detail'
));
//
const CategoryDetail = React.lazy(() => import('~/pages/categoryManage/category/detail'));
// 目录管理
const
DirectoryManage
=
React
.
lazy
(()
=>
import
(
'~/pages/categoryManage/directoryManage'
));
//
const DirectoryManage = React.lazy(() => import('~/pages/categoryManage/directoryManage'));
//执照培训
const
InstitutionsListView
=
React
.
lazy
(
...
...
@@ -244,7 +236,7 @@ export const routerList: Array<RouteObjectType> = [
meta
:
{
icon
:
<
BarChartOutlined
/>,
title
:
'数据看板'
,
id
:
2
,
id
:
100
,
},
},
{
...
...
@@ -262,7 +254,7 @@ export const routerList: Array<RouteObjectType> = [
element
:
withLoadingComponent
(<
CustomListView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
2
2
0
,
id
:
2
1
0
,
title
:
'用户列表'
,
icon
:
<
SolutionOutlined
/>,
},
...
...
@@ -272,7 +264,7 @@ export const routerList: Array<RouteObjectType> = [
element
:
withLoadingComponent
(<
CustomVerificationView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
2
6
0
,
id
:
2
2
0
,
title
:
'实名认证'
,
icon
:
<
SolutionOutlined
/>,
},
...
...
@@ -302,33 +294,11 @@ export const routerList: Array<RouteObjectType> = [
},
},
{
path
:
'/customManage/customMoney'
,
element
:
withLoadingComponent
(<
CustomMoneyView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
26200
,
title
:
'现金管理'
,
icon
:
<
RedEnvelopeOutlined
/>,
},
},
{
path
:
'/customManage/customMoney/detail'
,
element
:
withLoadingComponent
(<
CustomMoneyDetail
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
26210
,
title
:
'现金变更'
,
icon
:
<
RedEnvelopeOutlined
/>,
hidden
:
true
,
pid
:
26200
,
},
},
{
path
:
'/customManage/flyerList'
,
element
:
withLoadingComponent
(<
FlyerListView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
181
0
,
id
:
23
0
,
title
:
'飞手列表'
,
icon
:
<
SolutionOutlined
/>,
},
...
...
@@ -338,11 +308,11 @@ export const routerList: Array<RouteObjectType> = [
element
:
withLoadingComponent
(<
FlyerAuthDailyView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
181
5
,
id
:
23
5
,
title
:
'认证日志'
,
hidden
:
true
,
icon
:
<
UserOutlined
/>,
pid
:
181
0
,
pid
:
23
0
,
},
},
{
...
...
@@ -350,11 +320,11 @@ export const routerList: Array<RouteObjectType> = [
element
:
withLoadingComponent
(<
FlyerDetailsView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
181
6
,
id
:
23
6
,
title
:
'飞手详情'
,
hidden
:
true
,
icon
:
<
UserOutlined
/>,
pid
:
181
0
,
pid
:
23
0
,
},
},
{
...
...
@@ -362,11 +332,11 @@ export const routerList: Array<RouteObjectType> = [
element
:
withLoadingComponent
(<
FlyerDetailsView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
181
7
,
id
:
23
7
,
title
:
'飞手审批'
,
hidden
:
true
,
icon
:
<
UserOutlined
/>,
pid
:
181
0
,
pid
:
23
0
,
},
},
{
...
...
@@ -379,6 +349,29 @@ export const routerList: Array<RouteObjectType> = [
icon
:
<
AuditOutlined
/>,
},
},
// {
// path: '/customManage/customMoney',
// element: withLoadingComponent(<CustomMoneyView />),
// errorElement: <ErrorPage />,
// meta: {
// id: 26200,
// title: '现金管理',
// icon: <RedEnvelopeOutlined />,
// hidden: true,
// },
// },
// {
// path: '/customManage/customMoney/detail',
// element: withLoadingComponent(<CustomMoneyDetail />),
// errorElement: <ErrorPage />,
// meta: {
// id: 26210,
// title: '现金变更',
// icon: <RedEnvelopeOutlined />,
// hidden: true,
// pid: 26200,
// },
// },
],
},
{
...
...
@@ -386,7 +379,7 @@ export const routerList: Array<RouteObjectType> = [
element
:
<
LayoutView
/>,
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
18
00
,
id
:
3
00
,
icon
:
<
ContactsOutlined
/>,
title
:
'飞手管理'
,
// develop: true,
...
...
@@ -397,7 +390,7 @@ export const routerList: Array<RouteObjectType> = [
element
:
withLoadingComponent
(<
FlyerTeamView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
182
0
,
id
:
31
0
,
title
:
'飞手团队'
,
icon
:
<
UsergroupAddOutlined
/>,
// develop: true,
...
...
@@ -406,370 +399,331 @@ export const routerList: Array<RouteObjectType> = [
],
},
{
path
:
'/
resource
Manage'
,
path
:
'/
mall
Manage'
,
element
:
<
LayoutView
/>,
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
400
,
icon
:
<
Dribbble
Outlined
/>,
title
:
'
资源管理
'
,
icon
:
<
Shop
Outlined
/>,
title
:
'
产品商城
'
,
},
children
:
[
{
path
:
'/
resourceManage/requirementsGathering
'
,
element
:
withLoadingComponent
(<
GatheringList
View
/>),
path
:
'/
mallManage/mallGoods
'
,
element
:
withLoadingComponent
(<
MallGoods
View
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
410
,
title
:
'需求收集'
,
icon
:
<
MonitorOutlined
/>,
hidden
:
true
,
icon
:
<
ShopOutlined
/>,
title
:
'商城商品'
,
},
},
{
path
:
'/
resourceManage/gatherDetail
'
,
element
:
withLoadingComponent
(<
Gathe
rDetailView
/>),
path
:
'/
mallManage/mallGoods/add
'
,
element
:
withLoadingComponent
(<
MallAddOrEditO
rDetailView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
415
,
title
:
'需求详情'
,
icon
:
<
SmileOutlined
/>,
title
:
'商城商品新增'
,
hidden
:
true
,
icon
:
<
MonitorOutlined
/>,
pid
:
410
,
},
},
{
path
:
'/
resourceManage/materielManage
'
,
element
:
withLoadingComponent
(<
Ma
terielManage
View
/>),
path
:
'/
mallManage/mallGoods/edit
'
,
element
:
withLoadingComponent
(<
Ma
llAddOrEditOrDetail
View
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
420
,
title
:
'宣传管理'
,
icon
:
<
PictureOutlined
/>,
id
:
415
,
icon
:
<
SmileOutlined
/>,
title
:
'商城商品编辑'
,
hidden
:
true
,
pid
:
410
,
},
},
{
path
:
'/
resourceManage/materielManage
/detail'
,
element
:
withLoadingComponent
(<
Ma
terielManageDetail
/>),
path
:
'/
mallManage/mallGoods
/detail'
,
element
:
withLoadingComponent
(<
Ma
llGoodsDetailsView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
30100
,
title
:
'宣传管理详情'
,
icon
:
<
SketchOutlined
/>
,
id
:
415
,
icon
:
<
SmileOutlined
/>
,
title
:
'商城商品详情'
,
hidden
:
true
,
pid
:
4
2
0
,
pid
:
4
1
0
,
},
},
// 产品商城分类(新)
{
path
:
'/
resourceManage/tagManage
'
,
element
:
withLoadingComponent
(<
TagManage
View
/>),
path
:
'/
mallManage/mallCategoryList
'
,
element
:
withLoadingComponent
(<
MallCategoryList
View
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
4
3
0
,
title
:
'
标签管理
'
,
icon
:
<
PaperClip
Outlined
/>,
id
:
4
2
0
,
title
:
'
商城分类
'
,
icon
:
<
Appstore
Outlined
/>,
},
},
{
path
:
'/
resourceManage/industryNews
'
,
element
:
withLoadingComponent
(<
IndustryNewsView
/>),
path
:
'/
mallManage/mallCategoryList/detail
'
,
element
:
withLoadingComponent
(<
ServiceCategoryDetail
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
440
,
title
:
'行业新闻'
,
icon
:
<
ReadOutlined
/>,
id
:
425
,
title
:
'分类详情'
,
icon
:
''
,
hidden
:
true
,
pid
:
420
,
},
},
{
path
:
'/
resourceManage/tenderManage
'
,
element
:
withLoadingComponent
(<
TenderManage
View
/>),
path
:
'/
mallManage/productOrder
'
,
element
:
withLoadingComponent
(<
ProductOrder
View
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
4
5
0
,
title
:
'
招标快讯
'
,
icon
:
<
Coffee
Outlined
/>,
id
:
4
3
0
,
title
:
'
商城订单
'
,
icon
:
<
Shopping
Outlined
/>,
},
},
{
path
:
'/
resourceManage/tenderManage
/detail'
,
element
:
withLoadingComponent
(<
TenderManage
Detail
/>),
path
:
'/
mallManage/productOrder
/detail'
,
element
:
withLoadingComponent
(<
ProductOrder
Detail
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
30500
,
title
:
'
招标快讯
详情'
,
icon
:
<
Coffee
Outlined
/>,
id
:
431
,
title
:
'
商城订单 /
详情'
,
icon
:
<
Shopping
Outlined
/>,
hidden
:
true
,
pid
:
4
5
0
,
pid
:
4
3
0
,
},
},
{
path
:
'/
resourceManage/tenderManage/feedback
'
,
element
:
withLoadingComponent
(<
TenderManageFeedback
/>),
path
:
'/
mallManage/procurementOrder/list
'
,
element
:
withLoadingComponent
(<
ProcurementOrder
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
30500
,
title
:
'用户反馈'
,
icon
:
<
CoffeeOutlined
/>,
hidden
:
true
,
pid
:
450
,
id
:
440
,
title
:
'采购订单'
,
icon
:
<
ShoppingOutlined
/>,
},
},
{
path
:
'/
resourceManage/businessCaseManage
'
,
element
:
withLoadingComponent
(<
BusinessCaseManage
/>),
path
:
'/
mallManage/procurementOrder/detail
'
,
element
:
withLoadingComponent
(<
ProcurementOrderDetail
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
460
,
title
:
'业务案例'
,
icon
:
<
AliwangwangOutlined
/>,
id
:
441
,
title
:
'采购订单详情'
,
icon
:
<
ShoppingOutlined
/>,
hidden
:
true
,
pid
:
440
,
},
},
],
},
{
path
:
'/
activity
Manage'
,
path
:
'/
rent
Manage'
,
element
:
<
LayoutView
/>,
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
500
,
icon
:
<
Fire
Outlined
/>,
title
:
'
营销
管理'
,
icon
:
<
Shop
Outlined
/>,
title
:
'
租赁
管理'
,
},
children
:
[
{
path
:
'/
activityManage/rewardsManage
'
,
element
:
withLoadingComponent
(<
Re
wardsManage
View
/>),
path
:
'/
rentManage/rentGoods
'
,
element
:
withLoadingComponent
(<
Re
ntList
View
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
510
,
title
:
'签到奖励'
,
icon
:
<
InsertRowAboveOutlined
/>,
},
},
{
path
:
'/activityManage/activityList'
,
element
:
withLoadingComponent
(<
ActivityListView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
520
,
title
:
'活动管理'
,
icon
:
<
WechatOutlined
/>,
develop
:
true
,
icon
:
<
SmileOutlined
/>,
title
:
'租赁商品'
,
},
},
{
path
:
'/
activityManage/activityList/detail
'
,
element
:
withLoadingComponent
(<
ActivityListDetail
View
/>),
path
:
'/
rentManage/rentGoods/add
'
,
element
:
withLoadingComponent
(<
RentAddOrEdit
View
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
5
20
,
title
:
'领取记录'
,
icon
:
<
WechatOutlined
/>
,
id
:
5
11
,
icon
:
<
SmileOutlined
/>
,
title
:
'租赁商品新增'
,
hidden
:
true
,
pid
:
520
,
develop
:
true
,
},
},
],
},
{
path
:
'/forumManage'
,
element
:
<
LayoutView
/>,
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
600
,
icon
:
<
MessageOutlined
/>,
title
:
'社群管理'
,
},
children
:
[
{
path
:
'/forumManage/topicList'
,
element
:
withLoadingComponent
(<
TopicListView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
620
,
title
:
'话题列表'
,
icon
:
<
ThunderboltOutlined
/>,
pid
:
510
,
},
},
{
path
:
'/
forumManage/dynamicLis
t'
,
element
:
withLoadingComponent
(<
DynamicLis
tView
/>),
path
:
'/
rentManage/rentGoods/edi
t'
,
element
:
withLoadingComponent
(<
RentAddOrEdi
tView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
610
,
title
:
'帖子列表'
,
icon
:
<
ThunderboltOutlined
/>,
id
:
512
,
icon
:
<
SmileOutlined
/>,
title
:
'租赁商品编辑'
,
hidden
:
true
,
pid
:
510
,
},
},
],
},
{
path
:
'/orderManage'
,
element
:
<
LayoutView
/>,
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
800
,
icon
:
<
BarsOutlined
/>,
title
:
'订单管理'
,
},
children
:
[
{
path
:
'/
orderManage/productOrder
'
,
element
:
withLoadingComponent
(<
ProductOrder
View
/>),
path
:
'/
rentManage/rentGoods/detail
'
,
element
:
withLoadingComponent
(<
RentDetail
View
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
810
,
title
:
'商城订单'
,
icon
:
<
ShoppingOutlined
/>,
id
:
513
,
icon
:
<
ShopOutlined
/>,
title
:
'租赁商品详情'
,
hidden
:
true
,
pid
:
510
,
},
},
{
path
:
'/
orderManage/productOrder/detail
'
,
element
:
withLoadingComponent
(<
ProductOrderDetail
/>),
path
:
'/
rentManage/rentType
'
,
element
:
withLoadingComponent
(<
RentTypeView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
10010
,
title
:
'商城订单 / 详情'
,
icon
:
<
ShoppingOutlined
/>,
hidden
:
true
,
pid
:
810
,
id
:
520
,
icon
:
<
ShopOutlined
/>,
title
:
'租赁分类'
,
},
},
{
path
:
'/
orderManage/procurementOrder/list
'
,
element
:
withLoadingComponent
(<
ProcurementOrder
/>),
path
:
'/
rentManage/rentMake
'
,
element
:
withLoadingComponent
(<
RentMakeView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
84
0
,
title
:
'采购订单'
,
icon
:
<
ShoppingOutlined
/>
,
id
:
53
0
,
icon
:
<
ShopOutlined
/>
,
title
:
'租赁品牌'
,
},
},
{
path
:
'/
orderManage/procurementOrder/detai
l'
,
element
:
withLoadingComponent
(<
ProcurementOrderDetail
/>),
path
:
'/
rentManage/rentMode
l'
,
element
:
withLoadingComponent
(<
RentModeView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
10070
,
title
:
'采购订单详情'
,
icon
:
<
ShoppingOutlined
/>
,
id
:
531
,
icon
:
<
ShopOutlined
/>
,
title
:
'租赁型号'
,
hidden
:
true
,
pid
:
84
0
,
pid
:
53
0
,
},
},
{
path
:
'/
order
Manage/equipmentOrder'
,
path
:
'/
rent
Manage/equipmentOrder'
,
element
:
withLoadingComponent
(<
EquipmentOrderView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
82
0
,
id
:
54
0
,
title
:
'租赁订单'
,
icon
:
<
ShopOutlined
/>,
},
},
{
path
:
'/
order
Manage/equipmentOrder/detail'
,
path
:
'/
rent
Manage/equipmentOrder/detail'
,
element
:
withLoadingComponent
(<
EquipmentOrderDetail
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
10020
,
id
:
541
,
title
:
'租赁订单 / 详情'
,
icon
:
<
ShopOutlined
/>,
hidden
:
true
,
pid
:
82
0
,
pid
:
54
0
,
},
},
],
},
{
path
:
'/serviceManage'
,
element
:
<
LayoutView
/>,
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
600
,
icon
:
<
ShopOutlined
/>,
title
:
'行业服务'
,
},
children
:
[
{
path
:
'/
orderManage/serviceOrder
'
,
element
:
withLoadingComponent
(<
Service
Order
View
/>),
path
:
'/
serviceManage/serviceList
'
,
element
:
withLoadingComponent
(<
Service
List
View
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
830
,
title
:
'服务订单'
,
icon
:
<
CreditCardOutlined
/>,
hidden
:
true
,
id
:
610
,
icon
:
<
ShopOutlined
/>,
title
:
'服务管理'
,
},
},
{
path
:
'/
orderManage/serviceOrder/d
etail'
,
element
:
withLoadingComponent
(<
Service
OrderDetail
/>),
path
:
'/
serviceManage/serviceD
etail'
,
element
:
withLoadingComponent
(<
Service
DetailView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
10010
,
title
:
'服务订单 / 详情'
,
icon
:
<
CreditCardOutlined
/>
,
id
:
611
,
icon
:
<
ShopOutlined
/>
,
title
:
'服务详情'
,
hidden
:
true
,
pid
:
83
0
,
pid
:
61
0
,
},
},
// 作业服务分类(新)
{
path
:
'/
orderManage/pilotTrainingOrder
'
,
element
:
withLoadingComponent
(<
PilotTrainingOrder
View
/>),
path
:
'/
serviceManage/serviceCategoryList
'
,
element
:
withLoadingComponent
(<
ServiceCategoryList
View
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
1004
0
,
title
:
'
培训订单
'
,
icon
:
<
CreditCard
Outlined
/>,
id
:
62
0
,
title
:
'
作业分类
'
,
icon
:
<
Shop
Outlined
/>,
},
},
{
path
:
'/
order
Manage/demandOrderList'
,
path
:
'/
service
Manage/demandOrderList'
,
element
:
withLoadingComponent
(<
DemandOrderListView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
85
0
,
id
:
63
0
,
title
:
'任务订单'
,
icon
:
<
CreditCardOutlined
/>,
},
},
{
path
:
'/
order
Manage/demandOrderDetail'
,
path
:
'/
service
Manage/demandOrderDetail'
,
element
:
withLoadingComponent
(<
DemandOrderDetailView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
10060
,
title
:
'
需求
订单详情'
,
id
:
631
,
title
:
'
任务
订单详情'
,
icon
:
<
CreditCardOutlined
/>,
hidden
:
true
,
pid
:
850
,
},
},
],
},
{
path
:
'/mallManage'
,
element
:
<
LayoutView
/>,
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
1000
,
icon
:
<
ShopOutlined
/>,
title
:
'商品管理'
,
},
children
:
[
{
path
:
'/mallManage/serviceList'
,
element
:
withLoadingComponent
(<
ServiceListView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
1020
,
icon
:
<
SmileOutlined
/>,
title
:
'服务管理'
,
},
},
{
path
:
'/mallManage/serviceDetail'
,
element
:
withLoadingComponent
(<
ServiceDetailView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
1025
,
icon
:
<
SmileOutlined
/>,
title
:
'服务详情'
,
hidden
:
true
,
pid
:
1020
,
pid
:
630
,
},
},
// {
// path: '/serviceManage/serviceOrder',
// element: withLoadingComponent(<ServiceOrderView />),
// errorElement: <ErrorPage />,
// meta: {
// id: 830,
// title: '服务订单',
// icon: <CreditCardOutlined />,
// hidden: true,
// },
// },
// {
// path: '/serviceManage/serviceOrder/detail',
// element: withLoadingComponent(<ServiceOrderDetail />),
// errorElement: <ErrorPage />,
// meta: {
// id: 10010,
// title: '服务订单 / 详情',
// icon: <CreditCardOutlined />,
// hidden: true,
// pid: 830,
// },
// },
// {
// path: '/mallManage/serviceIntroduce',
// element: withLoadingComponent(<ServiceIntroduceView />),
// errorElement: <ErrorPage />,
...
...
@@ -780,301 +734,392 @@ export const routerList: Array<RouteObjectType> = [
// hidden: true,
// },
// },
// {
// path: '/serviceManage/produceList',
// element: withLoadingComponent(<ProduceListView />),
// errorElement: <ErrorPage />,
// meta: {
// id: 1050,
// icon: <SmileOutlined />,
// title: '产品管理',
// },
// },
// {
// path: '/serviceManage/produceDetail',
// element: withLoadingComponent(<ProduceDetailView />),
// errorElement: <ErrorPage />,
// meta: {
// id: 10160,
// icon: <SmileOutlined />,
// title: '产品详情',
// hidden: true,
// pid: 1050,
// },
// },
// {
// path: '/serviceManage/makeList',
// element: withLoadingComponent(<MakeListView />),
// errorElement: <ErrorPage />,
// meta: {
// id: 1060,
// icon: <SmileOutlined />,
// title: '品牌管理',
// },
// },
],
},
{
path
:
'/pilotTraining'
,
element
:
<
LayoutView
/>,
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
700
,
icon
:
<
BankOutlined
/>,
title
:
'执照培训'
,
},
children
:
[
{
path
:
'/
mallManage/mallGoods
'
,
element
:
withLoadingComponent
(<
MallGoodsView
/>),
path
:
'/
pilotTraining/jobServicesCategory/3
'
,
element
:
withLoadingComponent
(<
CategoryManage
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
104
0
,
icon
:
<
SmileOutlined
/>
,
title
:
'商城商品'
,
id
:
71
0
,
title
:
'培训分类'
,
icon
:
<
AppstoreAddOutlined
/>
,
},
},
{
path
:
'/
mallManage/mallGoods/add
'
,
element
:
withLoadingComponent
(<
MallAddOrEditOrDetail
View
/>),
path
:
'/
pilotTraining/institutionsList
'
,
element
:
withLoadingComponent
(<
InstitutionsList
View
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
10145
,
icon
:
<
SmileOutlined
/>,
title
:
'商城商品新增'
,
hidden
:
true
,
pid
:
1040
,
id
:
720
,
title
:
'执照考试'
,
icon
:
<
VerifiedOutlined
/>,
},
},
{
path
:
'/
mallManage/mallGoods/edit
'
,
element
:
withLoadingComponent
(<
MallAddOrEditOrDetail
View
/>),
path
:
'/
pilotTraining/institutionsList/add
'
,
element
:
withLoadingComponent
(<
AddInstitutions
View
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
10146
,
icon
:
<
SmileOutlined
/>
,
title
:
'商城商品编辑'
,
id
:
721
,
title
:
'机构上传'
,
icon
:
<
UserOutlined
/>
,
hidden
:
true
,
pid
:
1040
,
},
},
{
path
:
'/
mallManage/mallGoods/detail
'
,
element
:
withLoadingComponent
(<
MallGoodsDetail
sView
/>),
path
:
'/
pilotTraining/institutionsList/edit
'
,
element
:
withLoadingComponent
(<
AddInstitution
sView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
10146
,
icon
:
<
SmileOutlined
/>
,
title
:
'商城商品详情'
,
id
:
722
,
title
:
'机构编辑'
,
icon
:
<
UserOutlined
/>
,
hidden
:
true
,
pid
:
1040
,
},
},
{
path
:
'/mallManage/produceList'
,
element
:
withLoadingComponent
(<
ProduceListView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
1050
,
icon
:
<
SmileOutlined
/>,
title
:
'产品管理'
,
},
},
{
path
:
'/mallManage/produceDetail'
,
element
:
withLoadingComponent
(<
ProduceDetailView
/>),
path
:
'/pilotTraining/courseManage'
,
element
:
withLoadingComponent
(<
CourseManageView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
10160
,
icon
:
<
SmileOutlined
/>,
title
:
'产品详情'
,
hidden
:
true
,
pid
:
1050
,
id
:
730
,
icon
:
<
BookOutlined
/>,
title
:
'课程管理'
,
},
},
{
path
:
'/
mallManage/makeList
'
,
element
:
withLoadingComponent
(<
MakeList
View
/>),
path
:
'/
pilotTraining/pilotTrainingOrder
'
,
element
:
withLoadingComponent
(<
PilotTrainingOrder
View
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
106
0
,
icon
:
<
SmileOutlined
/>
,
title
:
'品牌管理'
,
id
:
74
0
,
title
:
'培训订单'
,
icon
:
<
CreditCardOutlined
/>
,
},
},
],
},
{
path
:
'/re
nt
Manage'
,
path
:
'/re
source
Manage'
,
element
:
<
LayoutView
/>,
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
20
00
,
icon
:
<
Shop
Outlined
/>,
title
:
'
租赁
管理'
,
id
:
8
00
,
icon
:
<
Dribbble
Outlined
/>,
title
:
'
资源
管理'
,
},
children
:
[
{
path
:
'/re
ntManage/rentGoods
'
,
element
:
withLoadingComponent
(<
Rent
ListView
/>),
path
:
'/re
sourceManage/requirementsGathering
'
,
element
:
withLoadingComponent
(<
Gathering
ListView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
103
0
,
icon
:
<
SmileOutlined
/>
,
title
:
'租赁商品'
,
id
:
81
0
,
title
:
'需求收集'
,
icon
:
<
MonitorOutlined
/>
,
},
},
{
path
:
'/re
ntManage/rentGoods/add
'
,
element
:
withLoadingComponent
(<
RentAddOrEdit
View
/>),
path
:
'/re
sourceManage/gatherDetail
'
,
element
:
withLoadingComponent
(<
GatherDetail
View
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
10135
,
icon
:
<
SmileOutlined
/>,
title
:
'租赁商品新增'
,
id
:
811
,
title
:
'需求详情'
,
hidden
:
true
,
pid
:
1030
,
icon
:
<
MonitorOutlined
/>,
pid
:
810
,
},
},
{
path
:
'/re
ntManage/rentGoods/edit
'
,
element
:
withLoadingComponent
(<
RentAddOrEdit
View
/>),
path
:
'/re
sourceManage/materielManage
'
,
element
:
withLoadingComponent
(<
MaterielManage
View
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
10136
,
icon
:
<
SmileOutlined
/>,
title
:
'租赁商品编辑'
,
hidden
:
true
,
pid
:
1030
,
id
:
820
,
title
:
'宣传管理'
,
icon
:
<
PictureOutlined
/>,
},
},
{
path
:
'/re
ntManage/rentGoods
/detail'
,
element
:
withLoadingComponent
(<
RentDetailView
/>),
path
:
'/re
sourceManage/materielManage
/detail'
,
element
:
withLoadingComponent
(<
MaterielManageDetail
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
10176
,
icon
:
<
SmileOutlined
/>
,
title
:
'租赁商品详情'
,
id
:
821
,
title
:
'宣传管理详情'
,
icon
:
<
SketchOutlined
/>
,
hidden
:
true
,
pid
:
103
0
,
pid
:
82
0
,
},
},
{
path
:
'/re
ntManage/rentTyp
e'
,
element
:
withLoadingComponent
(<
RentTyp
eView
/>),
path
:
'/re
sourceManage/tagManag
e'
,
element
:
withLoadingComponent
(<
TagManag
eView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
201
0
,
icon
:
<
SmileOutlined
/>
,
title
:
'类型管理'
,
id
:
83
0
,
title
:
'标签管理'
,
icon
:
<
PaperClipOutlined
/>
,
},
},
{
path
:
'/re
ntManage/rentMake
'
,
element
:
withLoadingComponent
(<
RentMake
View
/>),
path
:
'/re
sourceManage/industryNews
'
,
element
:
withLoadingComponent
(<
IndustryNews
View
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
202
0
,
icon
:
<
SmileOutlined
/>
,
title
:
'品牌管理'
,
id
:
84
0
,
title
:
'行业新闻'
,
icon
:
<
ReadOutlined
/>
,
},
},
{
path
:
'/re
ntManage/rentModel
'
,
element
:
withLoadingComponent
(<
RentMod
eView
/>),
path
:
'/re
sourceManage/tenderManage
'
,
element
:
withLoadingComponent
(<
TenderManag
eView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
10139
,
icon
:
<
SmileOutlined
/>,
title
:
'品牌管理/型号'
,
hidden
:
true
,
pid
:
2020
,
id
:
850
,
title
:
'招标快讯'
,
icon
:
<
CoffeeOutlined
/>,
},
},
],
},
{
path
:
'/categoryManage'
,
element
:
<
LayoutView
/>,
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
1200
,
icon
:
<
ReconciliationOutlined
/>,
title
:
'分类管理'
,
},
children
:
[
// {
// path: '/categoryManage/jobServicesCategory/1',
// element: withLoadingComponent(<CategoryManage />),
// errorElement: <ErrorPage />,
// meta: {
// id: 1210,
// title: '作业服务分类',
// icon: <SendOutlined />,
// },
// },
// 作业服务分类(新)
{
path
:
'/
categoryManage/serviceCategoryList
'
,
element
:
withLoadingComponent
(<
ServiceCategoryListView
/>),
path
:
'/
resourceManage/tenderManage/detail
'
,
element
:
withLoadingComponent
(<
TenderManageDetail
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
1210
,
title
:
'作业服务分类'
,
icon
:
<
SendOutlined
/>,
id
:
851
,
title
:
'招标快讯详情'
,
icon
:
<
CoffeeOutlined
/>,
hidden
:
true
,
pid
:
850
,
},
},
{
path
:
'/
categoryManage/jobServicesCategory/2
'
,
element
:
withLoadingComponent
(<
CategoryManage
/>),
path
:
'/
resourceManage/tenderManage/feedback
'
,
element
:
withLoadingComponent
(<
TenderManageFeedback
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
1220
,
title
:
'设备租赁分类'
,
icon
:
<
RocketOutlined
/>,
id
:
852
,
title
:
'用户反馈'
,
icon
:
<
CoffeeOutlined
/>,
hidden
:
true
,
pid
:
850
,
},
},
{
path
:
'/
categoryManage/jobServicesCategory/3
'
,
element
:
withLoadingComponent
(<
Category
Manage
/>),
path
:
'/
resourceManage/businessCaseManage
'
,
element
:
withLoadingComponent
(<
BusinessCase
Manage
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
123
0
,
title
:
'
飞手培训分类
'
,
icon
:
<
A
ppstoreAdd
Outlined
/>,
id
:
86
0
,
title
:
'
业务案例
'
,
icon
:
<
A
liwangwang
Outlined
/>,
},
},
// 产品商城分类(新)
],
},
{
path
:
'/activityManage'
,
element
:
<
LayoutView
/>,
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
900
,
icon
:
<
FireOutlined
/>,
title
:
'营销管理'
,
},
children
:
[
{
path
:
'/
categoryManage/mallCategoryList
'
,
element
:
withLoadingComponent
(<
MallCategoryList
View
/>),
path
:
'/
activityManage/rewardsManage
'
,
element
:
withLoadingComponent
(<
RewardsManage
View
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
124
0
,
title
:
'
产品商城分类
'
,
icon
:
<
Appstor
eOutlined
/>,
id
:
91
0
,
title
:
'
签到奖励
'
,
icon
:
<
InsertRowAbov
eOutlined
/>,
},
},
{
path
:
'/
categoryManage/mallCategoryList/detail
'
,
element
:
withLoadingComponent
(<
ServiceCategoryDetail
/>),
path
:
'/
activityManage/activityList
'
,
element
:
withLoadingComponent
(<
ActivityListView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
18600
,
title
:
'分类详情'
,
icon
:
''
,
hidden
:
true
,
pid
:
1240
,
id
:
920
,
title
:
'活动管理'
,
icon
:
<
WechatOutlined
/>,
},
},
// {
// path: '/categoryManage/jobServicesCategory/4',
// element: withLoadingComponent(<CategoryManage />),
// errorElement: <ErrorPage />,
// meta: {
// id: 1240,
// title: '产品商城分类',
// icon: <AppstoreOutlined />,
// },
// },
{
path
:
'/
categoryManage/jobServicesCategory/0
'
,
element
:
withLoadingComponent
(<
CategoryManage
/>),
path
:
'/
activityManage/activityList/detail
'
,
element
:
withLoadingComponent
(<
ActivityListDetailView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
1250
,
title
:
'
通用分类
'
,
icon
:
<
Coffee
Outlined
/>,
id
:
921
,
title
:
'
领取记录
'
,
icon
:
<
Wechat
Outlined
/>,
hidden
:
true
,
pid
:
920
,
},
},
],
},
{
path
:
'/forumManage'
,
element
:
<
LayoutView
/>,
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
1000
,
icon
:
<
MessageOutlined
/>,
title
:
'社群管理'
,
},
children
:
[
{
path
:
'/
categoryManage/detail/:id
'
,
element
:
withLoadingComponent
(<
CategoryDetail
/>),
path
:
'/
forumManage/topicList
'
,
element
:
withLoadingComponent
(<
TopicListView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
18600
,
title
:
'分类详情'
,
icon
:
''
,
hidden
:
true
,
id
:
1020
,
title
:
'话题列表'
,
icon
:
<
ThunderboltOutlined
/>,
},
},
{
path
:
'/
categoryManage/DirectoryManage
'
,
element
:
withLoadingComponent
(<
D
irectoryManage
/>),
path
:
'/
forumManage/dynamicList
'
,
element
:
withLoadingComponent
(<
D
ynamicListView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
1260
,
title
:
'目录管理'
,
icon
:
<
UnorderedListOutlined
/>,
hidden
:
true
,
id
:
1010
,
title
:
'帖子列表'
,
icon
:
<
ThunderboltOutlined
/>,
},
},
],
},
// {
// path: '/categoryManage',
// element: <LayoutView />,
// errorElement: <ErrorPage />,
// meta: {
// id: 1200,
// icon: <ReconciliationOutlined />,
// title: '分类管理',
// },
// children: [
// {
// path: '/categoryManage/jobServicesCategory/1',
// element: withLoadingComponent(<CategoryManage />),
// errorElement: <ErrorPage />,
// meta: {
// id: 1210,
// title: '作业服务分类',
// icon: <SendOutlined />,
// },
// },
// {
// path: '/categoryManage/jobServicesCategory/2',
// element: withLoadingComponent(<CategoryManage />),
// errorElement: <ErrorPage />,
// meta: {
// id: 1220,
// title: '设备租赁分类',
// icon: <RocketOutlined />,
// hidden: true,
// },
// },
// {
// path: '/categoryManage/jobServicesCategory/4',
// element: withLoadingComponent(<CategoryManage />),
// errorElement: <ErrorPage />,
// meta: {
// id: 1240,
// title: '产品商城分类',
// icon: <AppstoreOutlined />,
// },
// },
// {
// path: '/categoryManage/jobServicesCategory/0',
// element: withLoadingComponent(<CategoryManage />),
// errorElement: <ErrorPage />,
// meta: {
// id: 1250,
// title: '通用分类',
// icon: <CoffeeOutlined />,
// hidden: true,
// },
// },
// {
// path: '/categoryManage/detail/:id',
// element: withLoadingComponent(<CategoryDetail />),
// errorElement: <ErrorPage />,
// meta: {
// id: 18600,
// title: '分类详情',
// icon: '',
// hidden: true,
// },
// },
// {
// path: '/categoryManage/DirectoryManage',
// element: withLoadingComponent(<DirectoryManage />),
// errorElement: <ErrorPage />,
// meta: {
// id: 1260,
// title: '目录管理',
// icon: <UnorderedListOutlined />,
// hidden: true,
// },
// },
// ],
// },
{
path
:
'/pointManage'
,
element
:
<
LayoutView
/>,
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
22
00
,
id
:
11
00
,
icon
:
<
AccountBookOutlined
/>,
title
:
'积分管理'
,
},
...
...
@@ -1083,7 +1128,7 @@ export const routerList: Array<RouteObjectType> = [
path
:
'/pointManage/pointList'
,
element
:
withLoadingComponent
(<
PointList
/>),
meta
:
{
id
:
22
10
,
id
:
11
10
,
title
:
'积分列表'
,
icon
:
<
MacCommandOutlined
/>,
},
...
...
@@ -1092,11 +1137,11 @@ export const routerList: Array<RouteObjectType> = [
path
:
'/pointManage/pointList/detail'
,
element
:
withLoadingComponent
(<
PointDetail
/>),
meta
:
{
id
:
1
2110
,
id
:
1
111
,
title
:
'个人积分明细'
,
icon
:
<
MacCommandOutlined
/>,
hidden
:
true
,
pid
:
22
10
,
pid
:
11
10
,
},
},
// {
...
...
@@ -1150,7 +1195,7 @@ export const routerList: Array<RouteObjectType> = [
element
:
<
LayoutView
/>,
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
24
00
,
id
:
12
00
,
icon
:
<
AccountBookOutlined
/>,
title
:
'消耗管理'
,
},
...
...
@@ -1160,7 +1205,7 @@ export const routerList: Array<RouteObjectType> = [
element
:
withLoadingComponent
(<
WithDrawListView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
24
10
,
id
:
12
10
,
title
:
'提现列表'
,
icon
:
<
SolutionOutlined
/>,
},
...
...
@@ -1254,65 +1299,11 @@ export const routerList: Array<RouteObjectType> = [
// ],
// },
{
path
:
'/pilotTraining'
,
element
:
<
LayoutView
/>,
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
1600
,
icon
:
<
BankOutlined
/>,
title
:
'执照培训'
,
},
children
:
[
{
path
:
'/pilotTraining/institutionsList'
,
element
:
withLoadingComponent
(<
InstitutionsListView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
1610
,
title
:
'执照考试'
,
icon
:
<
VerifiedOutlined
/>,
},
},
{
path
:
'/pilotTraining/institutionsList/add'
,
element
:
withLoadingComponent
(<
AddInstitutionsView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
1520
,
title
:
'机构上传'
,
icon
:
<
UserOutlined
/>,
hidden
:
true
,
},
},
{
path
:
'/pilotTraining/institutionsList/edit'
,
element
:
withLoadingComponent
(<
AddInstitutionsView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
1530
,
title
:
'机构编辑'
,
icon
:
<
UserOutlined
/>,
hidden
:
true
,
},
},
{
path
:
'/pilotTraining/courseManage'
,
element
:
withLoadingComponent
(<
CourseManageView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
1010
,
icon
:
<
BookOutlined
/>,
title
:
'课程管理'
,
},
},
],
},
{
path
:
'/systemManage'
,
element
:
<
LayoutView
/>,
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
1
4
00
,
id
:
1
3
00
,
icon
:
<
SettingOutlined
/>,
title
:
'系统管理'
,
},
...
...
@@ -1322,7 +1313,7 @@ export const routerList: Array<RouteObjectType> = [
element
:
withLoadingComponent
(<
AccountManageView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
1
4
10
,
id
:
1
3
10
,
title
:
'账号信息'
,
icon
:
<
UserOutlined
/>,
},
...
...
@@ -1332,7 +1323,7 @@ export const routerList: Array<RouteObjectType> = [
element
:
withLoadingComponent
(<
AccountLimit
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
1
4
20
,
id
:
1
3
20
,
title
:
'权限角色'
,
icon
:
<
TeamOutlined
/>,
},
...
...
@@ -1342,11 +1333,11 @@ export const routerList: Array<RouteObjectType> = [
element
:
withLoadingComponent
(<
LimitInfo
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
28300
,
id
:
1321
,
title
:
'权限信息'
,
icon
:
<
UserOutlined
/>,
hidden
:
true
,
pid
:
1
4
20
,
pid
:
1
3
20
,
},
},
{
...
...
@@ -1354,7 +1345,7 @@ export const routerList: Array<RouteObjectType> = [
element
:
withLoadingComponent
(<
CompanyListView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
1
4
30
,
id
:
1
3
30
,
title
:
'单位管理'
,
icon
:
<
BankOutlined
/>,
},
...
...
@@ -1364,11 +1355,11 @@ export const routerList: Array<RouteObjectType> = [
element
:
withLoadingComponent
(<
CompanyDetailView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
1
430
,
id
:
1
331
,
title
:
'单位详情'
,
icon
:
<
BankOutlined
/>,
hidden
:
true
,
pid
:
1
4
30
,
pid
:
1
3
30
,
},
},
{
...
...
@@ -1376,10 +1367,9 @@ export const routerList: Array<RouteObjectType> = [
element
:
withLoadingComponent
(<
CompanyMemberView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
1
46
0
,
id
:
1
34
0
,
title
:
'成员管理'
,
icon
:
<
TeamOutlined
/>,
develop
:
true
,
},
},
{
...
...
@@ -1387,7 +1377,7 @@ export const routerList: Array<RouteObjectType> = [
element
:
withLoadingComponent
(<
AddressManageView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
1
44
0
,
id
:
1
35
0
,
title
:
'地址管理'
,
icon
:
<
EnvironmentOutlined
/>,
},
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论