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