提交 68f0b1dc 作者: ZhangLingKun

功能:飞手培训隐藏,用户字段隐藏

上级 2bc3f568
......@@ -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',
......
......@@ -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: <SettingOutlined />,
title: '飞手培训',
},
children: [
{
path: '/pilotTraining/institutionsList',
element: withLoadingComponent(<InstitutionsListView />),
errorElement: <ErrorPage />,
meta: {
id: 1510,
title: '执照考试',
icon: <UserOutlined />,
},
},
{
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: <BankOutlined />,
// title: '飞手培训',
// },
// children: [
// {
// path: '/pilotTraining/institutionsList',
// element: withLoadingComponent(<InstitutionsListView />),
// errorElement: <ErrorPage />,
// meta: {
// id: 1510,
// 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: '/systemManage',
element: <LayoutView />,
......@@ -966,7 +966,7 @@ export const routerList: Array<RouteObjectType> = [
meta: {
id: 1420,
title: '权限角色',
icon: <UserOutlined />,
icon: <TeamOutlined />,
},
},
{
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论