fixed:部分bug修复
parent
fe6639183b
commit
c969a353b9
|
|
@ -30,7 +30,7 @@
|
||||||
"lodash-es": "^4.17.21",
|
"lodash-es": "^4.17.21",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0",
|
||||||
"zy-react-library": "^1.1.25"
|
"zy-react-library": "^1.1.26"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@antfu/eslint-config": "^5.4.1",
|
"@antfu/eslint-config": "^5.4.1",
|
||||||
|
|
|
||||||
|
|
@ -13,10 +13,10 @@ function Review(props) {
|
||||||
const [rejectModalOpen, setRejectModalOpen] = useState(false);
|
const [rejectModalOpen, setRejectModalOpen] = useState(false);
|
||||||
|
|
||||||
const onSubmit = async () => {
|
const onSubmit = async () => {
|
||||||
const { success } = await props["qualificationReviewSubmit"]({ id: query.id, status: "400" });
|
const { success } = await props["qualificationReviewSubmit"]({ id: query.id, qualificationsAuditId: query.qualificationsAuditId, status: "400" });
|
||||||
if (success) {
|
if (success) {
|
||||||
message.success("已提交审核");
|
message.success("已提交审核");
|
||||||
props.onCancel();
|
// props.onCancel();
|
||||||
window.history.back();
|
window.history.back();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -111,7 +111,7 @@ function Add(props) {
|
||||||
<DepartmentSelectTree
|
<DepartmentSelectTree
|
||||||
disabled={query.id}
|
disabled={query.id}
|
||||||
searchType="company"
|
searchType="company"
|
||||||
params={{ corpinfoTypeList: corpTypeList }}
|
params={{ inType: corpTypeList }}
|
||||||
onGetLabel={(label) => {
|
onGetLabel={(label) => {
|
||||||
form.setFieldValue("managerDeptName", label);
|
form.setFieldValue("managerDeptName", label);
|
||||||
}}
|
}}
|
||||||
|
|
@ -154,7 +154,7 @@ function Add(props) {
|
||||||
<DepartmentSelectTree
|
<DepartmentSelectTree
|
||||||
disabled={query.id}
|
disabled={query.id}
|
||||||
searchType="company"
|
searchType="company"
|
||||||
params={{ corpinfoTypeList: [2] }}
|
params={{ inType: [2] }}
|
||||||
onGetLabel={(label) => {
|
onGetLabel={(label) => {
|
||||||
form.setFieldValue("shareDeptName", label);
|
form.setFieldValue("shareDeptName", label);
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
|
|
@ -100,7 +100,7 @@ const RejectModalComponent = (props) => {
|
||||||
const PassModalComponent = (props) => {
|
const PassModalComponent = (props) => {
|
||||||
const [form] = Form.useForm();
|
const [form] = Form.useForm();
|
||||||
const onSubmit = async (values) => {
|
const onSubmit = async (values) => {
|
||||||
const { success } = await props["qualificationReviewSubmit"]({ ...values, id: props.id, status: "400" });
|
const { success } = await props["qualificationReviewSubmit"]({ ...values, id: props.id, qualificationsAuditId: props.qualificationsAuditId, status: "400" });
|
||||||
if (success) {
|
if (success) {
|
||||||
message.success("通过成功");
|
message.success("通过成功");
|
||||||
props.onCancel();
|
props.onCancel();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue