diff --git a/src/pages/Container/Enterprise/User/List/index.js b/src/pages/Container/Enterprise/User/List/index.js
index 9bc6704..28e7cae 100644
--- a/src/pages/Container/Enterprise/User/List/index.js
+++ b/src/pages/Container/Enterprise/User/List/index.js
@@ -11,7 +11,6 @@ import PreviewImg from "zy-react-library/components/PreviewImg";
import Search from "zy-react-library/components/Search";
import Table from "zy-react-library/components/Table";
-import { FORM_ITEM_RENDER_ENUM } from "zy-react-library/enum/formItemRender";
import useDownloadBlob from "zy-react-library/hooks/useDownloadBlob";
import useImportFile from "zy-react-library/hooks/useImportFile";
import useTable from "zy-react-library/hooks/useTable";
@@ -490,7 +489,7 @@ function AddModalComponent(props) {
children: info.remarks,
},
{
- label: "是否部门负责人",
+ label: "是否为部门负责人",
children: (
{info.departmentLeaderFlag === 1 ? "是" : "否"}
),
diff --git a/src/pages/Container/Supervision/BranchCompany/AccountManage/List/index.js b/src/pages/Container/Supervision/BranchCompany/AccountManage/List/index.js
index f9ff328..cfcb317 100644
--- a/src/pages/Container/Supervision/BranchCompany/AccountManage/List/index.js
+++ b/src/pages/Container/Supervision/BranchCompany/AccountManage/List/index.js
@@ -381,13 +381,17 @@ function AddModalComponent(props) {
}
if (props.openType === "edit") {
values.id = props.currentId;
- await props.requestEdit(values);
+ await props.requestEdit(values).then(() => {
+ onCancel();
+ props.getData();
+ });
}
if (props.openType === "add") {
- await props.requestAdd(values);
+ await props.requestAdd(values).then(() => {
+ onCancel();
+ props.getData();
+ });
}
- onCancel();
- props.getData();
};
// 校验统一社会信用代码重复
useEffect(() => {
@@ -512,10 +516,6 @@ function AddModalComponent(props) {
render: FORM_ITEM_RENDER_ENUM.NUMBER,
hidden: props.openType === "editName",
rules: [
- {
- required: true,
- message: "请输入列表排序",
- },
{
validator: (_, value) => {
if (value === undefined || value === null || value === "") {