Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
A
admin-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
admin-ci-test
Commits
bfefe809
提交
bfefe809
authored
7月 19, 2023
作者:
龚洪江
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'develop' of
http://git.mmcuav.cn/iuav/csf-admin
into develop
上级
343ee8bf
5f06409a
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
92 行增加
和
84 行删除
+92
-84
kustomization.yaml
kustomization/overlays/dev/kustomization.yaml
+1
-1
index.tsx
src/components/select-map/index.tsx
+3
-0
index.tsx
...s/customManage/customIdentity/comp/addEditModal/index.tsx
+6
-1
index.tsx
src/pages/systemManage/accountManage/index.tsx
+29
-29
router.tsx
src/router/router.tsx
+53
-53
没有找到文件。
kustomization/overlays/dev/kustomization.yaml
浏览文件 @
bfefe809
...
...
@@ -14,4 +14,4 @@ patches:
images
:
-
name
:
REGISTRY/NAMESPACE/IMAGE:TAG
newName
:
mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/admin
newTag
:
7ba43daa620965cbaed7b2167edf014117ebab2b
newTag
:
0c40c04e4e7744b42711f2414d516b8c41294f9c
src/components/select-map/index.tsx
浏览文件 @
bfefe809
...
...
@@ -73,6 +73,9 @@ const SelectMapModal: FC<propType> = (props) => {
// componentDidMount
useEffect(() => {
if (!open) return;
return () => {
setPosition(undefined);
};
}, [open]);
return (
<Modal open={open} title={title} onCancel={handleCancel} onOk={handleOk} destroyOnClose>
...
...
src/pages/customManage/customIdentity/comp/addEditModal/index.tsx
浏览文件 @
bfefe809
...
...
@@ -145,7 +145,12 @@ const AddEditModal: FC<propType> = (props) => {
name=
'content'
rules=
{
[{
required
:
true
,
message
:
'请输入服务资质'
}]
}
>
<
Input
.
TextArea
placeholder=
{
'请输入服务资质'
}
maxLength=
{
140
}
allowClear
showCount
/>
<
Input
.
TextArea
placeholder=
{
'请输入服务资质(“;”号换行)'
}
maxLength=
{
140
}
allowClear
showCount
/>
</
Form
.
Item
>
<
Form
.
Item
label=
'服务评分'
...
...
src/pages/systemManage/accountManage/index.tsx
浏览文件 @
bfefe809
...
...
@@ -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
浏览文件 @
bfefe809
...
...
@@ -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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论