提交 bfefe809 作者: 龚洪江

Merge branch 'develop' of http://git.mmcuav.cn/iuav/csf-admin into develop

...@@ -14,4 +14,4 @@ patches: ...@@ -14,4 +14,4 @@ patches:
images: images:
- name: REGISTRY/NAMESPACE/IMAGE:TAG - name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/admin newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/admin
newTag: 7ba43daa620965cbaed7b2167edf014117ebab2b newTag: 0c40c04e4e7744b42711f2414d516b8c41294f9c
...@@ -73,6 +73,9 @@ const SelectMapModal: FC<propType> = (props) => { ...@@ -73,6 +73,9 @@ const SelectMapModal: FC<propType> = (props) => {
// componentDidMount // componentDidMount
useEffect(() => { useEffect(() => {
if (!open) return; if (!open) return;
return () => {
setPosition(undefined);
};
}, [open]); }, [open]);
return ( return (
<Modal open={open} title={title} onCancel={handleCancel} onOk={handleOk} destroyOnClose> <Modal open={open} title={title} onCancel={handleCancel} onOk={handleOk} destroyOnClose>
......
...@@ -145,7 +145,12 @@ const AddEditModal: FC<propType> = (props) => { ...@@ -145,7 +145,12 @@ const AddEditModal: FC<propType> = (props) => {
name='content' name='content'
rules={[{ required: true, message: '请输入服务资质' }]} rules={[{ required: true, message: '请输入服务资质' }]}
> >
<Input.TextArea placeholder={'请输入服务资质'} maxLength={140} allowClear showCount /> <Input.TextArea
placeholder={'请输入服务资质(“;”号换行)'}
maxLength={140}
allowClear
showCount
/>
</Form.Item> </Form.Item>
<Form.Item <Form.Item
label='服务评分' label='服务评分'
......
...@@ -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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论