Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
A
admin-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
admin-ci-test
Commits
3bb3b363
提交
3bb3b363
authored
7月 19, 2023
作者:
龚洪江
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修复:机构缺陷问题
上级
bfefe809
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
53 行增加
和
52 行删除
+53
-52
router.tsx
src/router/router.tsx
+53
-52
没有找到文件。
src/router/router.tsx
浏览文件 @
3bb3b363
...
@@ -33,6 +33,7 @@ import {
...
@@ -33,6 +33,7 @@ import {
ReadOutlined
,
ReadOutlined
,
ThunderboltOutlined
,
ThunderboltOutlined
,
BankOutlined
,
BankOutlined
,
VerifiedOutlined
,
}
from
'@ant-design/icons'
;
}
from
'@ant-design/icons'
;
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
// @ts-ignore
...
@@ -102,14 +103,14 @@ const CategoryDetail = React.lazy(() => import('~/pages/categoryManage/category/
...
@@ -102,14 +103,14 @@ const CategoryDetail = React.lazy(() => import('~/pages/categoryManage/category/
// 目录管理
// 目录管理
const
DirectoryManage
=
React
.
lazy
(()
=>
import
(
'~/pages/categoryManage/directoryManage'
));
const
DirectoryManage
=
React
.
lazy
(()
=>
import
(
'~/pages/categoryManage/directoryManage'
));
//
//
飞手培训
//飞手培训
//
const InstitutionsListView = React.lazy(
const
InstitutionsListView
=
React
.
lazy
(
//
() => import('~/pages/pilotTraining/ licensureExamination/institutionsList'),
()
=>
import
(
'~/pages/pilotTraining/ licensureExamination/institutionsList'
),
//
);
);
//
//
机构上传
//机构上传
//
const AddInstitutionsView = React.lazy(
const
AddInstitutionsView
=
React
.
lazy
(
//
() => import('~/pages/pilotTraining/ licensureExamination/addOrEditInstitution'),
()
=>
import
(
'~/pages/pilotTraining/ licensureExamination/addOrEditInstitution'
),
//
);
);
// 系统管理
// 系统管理
import
AccountManageView
from
'~/pages/systemManage/accountManage'
;
import
AccountManageView
from
'~/pages/systemManage/accountManage'
;
...
@@ -895,50 +896,50 @@ export const routerList: Array<RouteObjectType> = [
...
@@ -895,50 +896,50 @@ export const routerList: Array<RouteObjectType> = [
// },
// },
// ],
// ],
// },
// },
//
{
{
//
path: '/pilotTraining',
path
:
'/pilotTraining'
,
//
element: <LayoutView />,
element
:
<
LayoutView
/>,
//
errorElement: <ErrorPage />,
errorElement
:
<
ErrorPage
/>,
//
meta: {
meta
:
{
//
id: 1500,
id
:
1500
,
//
icon: <BankOutlined />,
icon
:
<
BankOutlined
/>,
//
title: '飞手培训',
title
:
'飞手培训'
,
//
},
},
//
children: [
children
:
[
//
{
{
//
path: '/pilotTraining/institutionsList',
path
:
'/pilotTraining/institutionsList'
,
//
element: withLoadingComponent(<InstitutionsListView />),
element
:
withLoadingComponent
(<
InstitutionsListView
/>),
//
errorElement: <ErrorPage />,
errorElement
:
<
ErrorPage
/>,
//
meta: {
meta
:
{
//
id: 1510,
id
:
1510
,
//
title: '执照考试',
title
:
'执照考试'
,
//
icon: <VerifiedOutlined />,
icon
:
<
VerifiedOutlined
/>,
//
},
},
//
},
},
//
{
{
//
path: '/pilotTraining/institutionsList/add',
path
:
'/pilotTraining/institutionsList/add'
,
//
element: withLoadingComponent(<AddInstitutionsView />),
element
:
withLoadingComponent
(<
AddInstitutionsView
/>),
//
errorElement: <ErrorPage />,
errorElement
:
<
ErrorPage
/>,
//
meta: {
meta
:
{
//
id: 1520,
id
:
1520
,
//
title: '机构上传',
title
:
'机构上传'
,
//
icon: <UserOutlined />,
icon
:
<
UserOutlined
/>,
//
hidden: true,
hidden
:
true
,
//
},
},
//
},
},
//
{
{
//
path: '/pilotTraining/institutionsList/edit',
path
:
'/pilotTraining/institutionsList/edit'
,
//
element: withLoadingComponent(<AddInstitutionsView />),
element
:
withLoadingComponent
(<
AddInstitutionsView
/>),
//
errorElement: <ErrorPage />,
errorElement
:
<
ErrorPage
/>,
//
meta: {
meta
:
{
//
id: 1530,
id
:
1530
,
//
title: '机构编辑',
title
:
'机构编辑'
,
//
icon: <UserOutlined />,
icon
:
<
UserOutlined
/>,
//
hidden: true,
hidden
:
true
,
//
},
},
//
},
},
//
],
],
//
},
},
{
{
path
:
'/systemManage'
,
path
:
'/systemManage'
,
element
:
<
LayoutView
/>,
element
:
<
LayoutView
/>,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论