提交 ff80b337 作者: ZhangLingKun

优化:路由位置调整

上级 359955d5
流水线 #7019 已通过 于阶段
in 1 分 42 秒
...@@ -408,6 +408,29 @@ export const routerList: Array<RouteObjectType> = [ ...@@ -408,6 +408,29 @@ export const routerList: Array<RouteObjectType> = [
title: '产品商城', title: '产品商城',
}, },
children: [ children: [
// 产品商城分类(新)
{
path: '/mallManage/mallCategoryList',
element: withLoadingComponent(<MallCategoryListView />),
errorElement: <ErrorPage />,
meta: {
id: 420,
title: '商城分类',
icon: <AppstoreOutlined />,
},
},
{
path: '/mallManage/mallCategoryList/detail',
element: withLoadingComponent(<ServiceCategoryDetail />),
errorElement: <ErrorPage />,
meta: {
id: 425,
title: '分类详情',
icon: '',
hidden: true,
pid: 420,
},
},
{ {
path: '/mallManage/mallGoods', path: '/mallManage/mallGoods',
element: withLoadingComponent(<MallGoodsView />), element: withLoadingComponent(<MallGoodsView />),
...@@ -454,29 +477,6 @@ export const routerList: Array<RouteObjectType> = [ ...@@ -454,29 +477,6 @@ export const routerList: Array<RouteObjectType> = [
pid: 410, pid: 410,
}, },
}, },
// 产品商城分类(新)
{
path: '/mallManage/mallCategoryList',
element: withLoadingComponent(<MallCategoryListView />),
errorElement: <ErrorPage />,
meta: {
id: 420,
title: '商城分类',
icon: <AppstoreOutlined />,
},
},
{
path: '/mallManage/mallCategoryList/detail',
element: withLoadingComponent(<ServiceCategoryDetail />),
errorElement: <ErrorPage />,
meta: {
id: 425,
title: '分类详情',
icon: '',
hidden: true,
pid: 420,
},
},
{ {
path: '/mallManage/productOrder', path: '/mallManage/productOrder',
element: withLoadingComponent(<ProductOrderView />), element: withLoadingComponent(<ProductOrderView />),
...@@ -534,6 +534,16 @@ export const routerList: Array<RouteObjectType> = [ ...@@ -534,6 +534,16 @@ export const routerList: Array<RouteObjectType> = [
}, },
children: [ children: [
{ {
path: '/rentManage/rentType',
element: withLoadingComponent(<RentTypeView />),
errorElement: <ErrorPage />,
meta: {
id: 520,
icon: <ShopOutlined />,
title: '租赁分类',
},
},
{
path: '/rentManage/rentGoods', path: '/rentManage/rentGoods',
element: withLoadingComponent(<RentListView />), element: withLoadingComponent(<RentListView />),
errorElement: <ErrorPage />, errorElement: <ErrorPage />,
...@@ -580,16 +590,6 @@ export const routerList: Array<RouteObjectType> = [ ...@@ -580,16 +590,6 @@ export const routerList: Array<RouteObjectType> = [
}, },
}, },
{ {
path: '/rentManage/rentType',
element: withLoadingComponent(<RentTypeView />),
errorElement: <ErrorPage />,
meta: {
id: 520,
icon: <ShopOutlined />,
title: '租赁分类',
},
},
{
path: '/rentManage/rentMake', path: '/rentManage/rentMake',
element: withLoadingComponent(<RentMakeView />), element: withLoadingComponent(<RentMakeView />),
errorElement: <ErrorPage />, errorElement: <ErrorPage />,
...@@ -645,6 +645,17 @@ export const routerList: Array<RouteObjectType> = [ ...@@ -645,6 +645,17 @@ export const routerList: Array<RouteObjectType> = [
title: '行业服务', title: '行业服务',
}, },
children: [ children: [
// 作业服务分类(新)
{
path: '/serviceManage/serviceCategoryList',
element: withLoadingComponent(<ServiceCategoryListView />),
errorElement: <ErrorPage />,
meta: {
id: 620,
title: '作业分类',
icon: <ShopOutlined />,
},
},
{ {
path: '/serviceManage/serviceList', path: '/serviceManage/serviceList',
element: withLoadingComponent(<ServiceListView />), element: withLoadingComponent(<ServiceListView />),
...@@ -667,17 +678,6 @@ export const routerList: Array<RouteObjectType> = [ ...@@ -667,17 +678,6 @@ export const routerList: Array<RouteObjectType> = [
pid: 610, pid: 610,
}, },
}, },
// 作业服务分类(新)
{
path: '/serviceManage/serviceCategoryList',
element: withLoadingComponent(<ServiceCategoryListView />),
errorElement: <ErrorPage />,
meta: {
id: 620,
title: '作业分类',
icon: <ShopOutlined />,
},
},
{ {
path: '/serviceManage/demandOrderList', path: '/serviceManage/demandOrderList',
element: withLoadingComponent(<DemandOrderListView />), element: withLoadingComponent(<DemandOrderListView />),
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论