提交 68f0b1dc 作者: ZhangLingKun

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

上级 2bc3f568
...@@ -110,13 +110,13 @@ function AccountManageView() { ...@@ -110,13 +110,13 @@ function AccountManageView() {
width: '150px', width: '150px',
fixed: 'left', fixed: 'left',
}, },
{ // {
title: '账号类型', // title: '账号类型',
dataIndex: 'companyInfoVO', // dataIndex: 'companyInfoVO',
align: 'center', // align: 'center',
width: '10%', // width: '10%',
render: (_text, record) => (record?.companyInfoVO?.companyType === 1 ? '合伙人' : '员工'), // render: (_text, record) => (record?.companyInfoVO?.companyType === 1 ? '合伙人' : '员工'),
}, // },
{ title: '姓名', dataIndex: 'userName', align: 'center', width: '10%' }, { title: '姓名', dataIndex: 'userName', align: 'center', width: '10%' },
{ {
title: '所属单位', title: '所属单位',
...@@ -125,12 +125,12 @@ function AccountManageView() { ...@@ -125,12 +125,12 @@ function AccountManageView() {
width: '150px', width: '150px',
ellipsis: true, ellipsis: true,
}, },
{ // {
title: '渠道等级', // title: '渠道等级',
dataIndex: 'channelLevel', // dataIndex: 'channelLevel',
align: 'center', // align: 'center',
width: '150px', // width: '150px',
}, // },
{ {
title: '角色', title: '角色',
align: 'center', align: 'center',
...@@ -157,12 +157,12 @@ function AccountManageView() { ...@@ -157,12 +157,12 @@ function AccountManageView() {
width: '10%', width: '10%',
render: (text) => (text === 1 ? '可用' : '停用'), render: (text) => (text === 1 ? '可用' : '停用'),
}, },
{ // {
title: '企业实名认证', // title: '企业实名认证',
dataIndex: 'companyAuthStatus', // dataIndex: 'companyAuthStatus',
align: 'center', // align: 'center',
width: '10%', // width: '10%',
}, // },
{ {
title: '操作', title: '操作',
width: '160px', width: '160px',
...@@ -212,16 +212,16 @@ function AccountManageView() { ...@@ -212,16 +212,16 @@ function AccountManageView() {
type: 'input', type: 'input',
placeholder: '请输入姓名或账号', placeholder: '请输入姓名或账号',
}, },
{ // {
label: '账号类型', // label: '账号类型',
name: 'userType', // name: 'userType',
type: 'Select', // type: 'Select',
placeholder: '请选择账号类型', // placeholder: '请选择账号类型',
options: [ // options: [
{ value: 1, label: '员工' }, // { value: 1, label: '员工' },
{ value: 0, label: '合伙人' }, // { value: 0, label: '合伙人' },
], // ],
}, // },
{ {
label: '角色', label: '角色',
name: 'roleId', name: 'roleId',
......
...@@ -102,14 +102,14 @@ const CategoryDetail = React.lazy(() => import('~/pages/categoryManage/category/ ...@@ -102,14 +102,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 +895,50 @@ export const routerList: Array<RouteObjectType> = [ ...@@ -895,50 +895,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: <SettingOutlined />, // 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: <UserOutlined />, // 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 />,
...@@ -966,7 +966,7 @@ export const routerList: Array<RouteObjectType> = [ ...@@ -966,7 +966,7 @@ export const routerList: Array<RouteObjectType> = [
meta: { meta: {
id: 1420, id: 1420,
title: '权限角色', title: '权限角色',
icon: <UserOutlined />, icon: <TeamOutlined />,
}, },
}, },
{ {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论