Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
A
admin-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
admin-ci-test
Commits
68f0b1dc
提交
68f0b1dc
authored
7月 18, 2023
作者:
ZhangLingKun
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
功能:飞手培训隐藏,用户字段隐藏
上级
2bc3f568
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
82 行增加
和
82 行删除
+82
-82
index.tsx
src/pages/systemManage/accountManage/index.tsx
+29
-29
router.tsx
src/router/router.tsx
+53
-53
没有找到文件。
src/pages/systemManage/accountManage/index.tsx
浏览文件 @
68f0b1dc
...
...
@@ -110,13 +110,13 @@ function AccountManageView() {
width
:
'150px'
,
fixed
:
'left'
,
},
{
title
:
'账号类型'
,
dataIndex
:
'companyInfoVO'
,
align
:
'center'
,
width
:
'10%'
,
render
:
(
_text
,
record
)
=>
(
record
?.
companyInfoVO
?.
companyType
===
1
?
'合伙人'
:
'员工'
),
},
//
{
//
title: '账号类型',
//
dataIndex: 'companyInfoVO',
//
align: 'center',
//
width: '10%',
//
render: (_text, record) => (record?.companyInfoVO?.companyType === 1 ? '合伙人' : '员工'),
//
},
{
title
:
'姓名'
,
dataIndex
:
'userName'
,
align
:
'center'
,
width
:
'10%'
},
{
title
:
'所属单位'
,
...
...
@@ -125,12 +125,12 @@ function AccountManageView() {
width
:
'150px'
,
ellipsis
:
true
,
},
{
title
:
'渠道等级'
,
dataIndex
:
'channelLevel'
,
align
:
'center'
,
width
:
'150px'
,
},
//
{
//
title: '渠道等级',
//
dataIndex: 'channelLevel',
//
align: 'center',
//
width: '150px',
//
},
{
title
:
'角色'
,
align
:
'center'
,
...
...
@@ -157,12 +157,12 @@ function AccountManageView() {
width
:
'10%'
,
render
:
(
text
)
=>
(
text
===
1
?
'可用'
:
'停用'
),
},
{
title
:
'企业实名认证'
,
dataIndex
:
'companyAuthStatus'
,
align
:
'center'
,
width
:
'10%'
,
},
//
{
//
title: '企业实名认证',
//
dataIndex: 'companyAuthStatus',
//
align: 'center',
//
width: '10%',
//
},
{
title
:
'操作'
,
width
:
'160px'
,
...
...
@@ -212,16 +212,16 @@ function AccountManageView() {
type
:
'input'
,
placeholder
:
'请输入姓名或账号'
,
},
{
label
:
'账号类型'
,
name
:
'userType'
,
type
:
'Select'
,
placeholder
:
'请选择账号类型'
,
options
:
[
{
value
:
1
,
label
:
'员工'
},
{
value
:
0
,
label
:
'合伙人'
},
],
},
//
{
//
label: '账号类型',
//
name: 'userType',
//
type: 'Select',
//
placeholder: '请选择账号类型',
//
options: [
//
{
value
:
1
,
label
:
'员工'
},
//
{
value
:
0
,
label
:
'合伙人'
},
//
],
//
},
{
label
:
'角色'
,
name
:
'roleId'
,
...
...
src/router/router.tsx
浏览文件 @
68f0b1dc
...
...
@@ -102,14 +102,14 @@ const CategoryDetail = React.lazy(() => import('~/pages/categoryManage/category/
// 目录管理
const
DirectoryManage
=
React
.
lazy
(()
=>
import
(
'~/pages/categoryManage/directoryManage'
));
//飞手培训
const
InstitutionsListView
=
React
.
lazy
(
()
=>
import
(
'~/pages/pilotTraining/ licensureExamination/institutionsList'
),
);
//机构上传
const
AddInstitutionsView
=
React
.
lazy
(
()
=>
import
(
'~/pages/pilotTraining/ licensureExamination/addOrEditInstitution'
),
);
//
//
飞手培训
//
const InstitutionsListView = React.lazy(
//
() => import('~/pages/pilotTraining/ licensureExamination/institutionsList'),
//
);
//
//
机构上传
//
const AddInstitutionsView = React.lazy(
//
() => import('~/pages/pilotTraining/ licensureExamination/addOrEditInstitution'),
//
);
// 系统管理
import
AccountManageView
from
'~/pages/systemManage/accountManage'
;
...
...
@@ -895,50 +895,50 @@ export const routerList: Array<RouteObjectType> = [
// },
// ],
// },
{
path
:
'/pilotTraining'
,
element
:
<
LayoutView
/>,
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
1500
,
icon
:
<
Setting
Outlined
/>,
title
:
'飞手培训'
,
},
children
:
[
{
path
:
'/pilotTraining/institutionsList'
,
element
:
withLoadingComponent
(<
InstitutionsListView
/>),
errorElement
:
<
ErrorPage
/>,
meta
:
{
id
:
1510
,
title
:
'执照考试'
,
icon
:
<
User
Outlined
/>,
},
},
{
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',
//
element: <LayoutView />,
//
errorElement: <ErrorPage />,
//
meta: {
//
id: 1500,
// icon: <Bank
Outlined />,
//
title: '飞手培训',
//
},
//
children: [
//
{
//
path: '/pilotTraining/institutionsList',
//
element: withLoadingComponent(<InstitutionsListView />),
//
errorElement: <ErrorPage />,
//
meta: {
//
id: 1510,
//
title: '执照考试',
// icon: <Verified
Outlined />,
//
},
//
},
//
{
//
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
:
'/systemManage'
,
element
:
<
LayoutView
/>,
...
...
@@ -966,7 +966,7 @@ export const routerList: Array<RouteObjectType> = [
meta
:
{
id
:
1420
,
title
:
'权限角色'
,
icon
:
<
User
Outlined
/>,
icon
:
<
Team
Outlined
/>,
},
},
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论