提交 62ae9b70 作者: ZhangLingKun

Merge branch 'develop'

流水线 #7140 已通过 于阶段
in 1 分 7 秒
...@@ -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: ddf4157b84f33c33305d857d4c520d1c2ffdfaae newTag: b4e4c432bf7c084e674f201fc6d3c8184a6f2b75
...@@ -79,7 +79,7 @@ const AddEditModal: React.FC<propType> = (props) => { ...@@ -79,7 +79,7 @@ const AddEditModal: React.FC<propType> = (props) => {
form.setFieldsValue({ form.setFieldsValue({
...data, ...data,
companyId: companyList.find((i) => i.label === data.companyName)?.value, companyId: companyList.find((i) => i.label === data.companyName)?.value,
roleId: data.roleInfoDTO.id, roleId: data.roleInfoDTO?.id || undefined,
}); });
}, [companyList]); }, [companyList]);
return ( return (
......
...@@ -783,7 +783,7 @@ export const routerList: Array<RouteObjectType> = [ ...@@ -783,7 +783,7 @@ export const routerList: Array<RouteObjectType> = [
element: withLoadingComponent(<CategoryManage />), element: withLoadingComponent(<CategoryManage />),
errorElement: <ErrorPage />, errorElement: <ErrorPage />,
meta: { meta: {
id: 710, id: 730,
title: '培训分类', title: '培训分类',
icon: <AppstoreAddOutlined />, icon: <AppstoreAddOutlined />,
}, },
...@@ -793,7 +793,7 @@ export const routerList: Array<RouteObjectType> = [ ...@@ -793,7 +793,7 @@ export const routerList: Array<RouteObjectType> = [
element: withLoadingComponent(<InstitutionsListView />), element: withLoadingComponent(<InstitutionsListView />),
errorElement: <ErrorPage />, errorElement: <ErrorPage />,
meta: { meta: {
id: 720, id: 710,
title: '执照考试', title: '执照考试',
icon: <VerifiedOutlined />, icon: <VerifiedOutlined />,
}, },
...@@ -803,7 +803,7 @@ export const routerList: Array<RouteObjectType> = [ ...@@ -803,7 +803,7 @@ export const routerList: Array<RouteObjectType> = [
element: withLoadingComponent(<AddInstitutionsView />), element: withLoadingComponent(<AddInstitutionsView />),
errorElement: <ErrorPage />, errorElement: <ErrorPage />,
meta: { meta: {
id: 721, id: 711,
title: '机构上传', title: '机构上传',
icon: <UserOutlined />, icon: <UserOutlined />,
hidden: true, hidden: true,
...@@ -814,7 +814,7 @@ export const routerList: Array<RouteObjectType> = [ ...@@ -814,7 +814,7 @@ export const routerList: Array<RouteObjectType> = [
element: withLoadingComponent(<AddInstitutionsView />), element: withLoadingComponent(<AddInstitutionsView />),
errorElement: <ErrorPage />, errorElement: <ErrorPage />,
meta: { meta: {
id: 722, id: 712,
title: '机构编辑', title: '机构编辑',
icon: <UserOutlined />, icon: <UserOutlined />,
hidden: true, hidden: true,
...@@ -825,7 +825,7 @@ export const routerList: Array<RouteObjectType> = [ ...@@ -825,7 +825,7 @@ export const routerList: Array<RouteObjectType> = [
element: withLoadingComponent(<CourseManageView />), element: withLoadingComponent(<CourseManageView />),
errorElement: <ErrorPage />, errorElement: <ErrorPage />,
meta: { meta: {
id: 730, id: 720,
icon: <BookOutlined />, icon: <BookOutlined />,
title: '课程管理', title: '课程管理',
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论