diff --git a/src/pages/Container/EnterpriseInfo/PersonnelInfo/List/index.js b/src/pages/Container/EnterpriseInfo/PersonnelInfo/List/index.js index 8e6e7b4..e4ceae0 100644 --- a/src/pages/Container/EnterpriseInfo/PersonnelInfo/List/index.js +++ b/src/pages/Container/EnterpriseInfo/PersonnelInfo/List/index.js @@ -465,7 +465,7 @@ function StaffFormModal({ handleCancel(); onSuccess(); } else { - message.error(res?.message || "操作失败"); + } } finally { setSubmitting(false); diff --git a/src/pages/Container/QualApplication/FilingForm/index.js b/src/pages/Container/QualApplication/FilingForm/index.js index d6a57af..8c341d3 100644 --- a/src/pages/Container/QualApplication/FilingForm/index.js +++ b/src/pages/Container/QualApplication/FilingForm/index.js @@ -251,7 +251,7 @@ function FilingFormPage(props) { const rowMap = new Map((rows || []).map((row) => [String(row.id), row])); const newRows = idsToAdd.map((id) => { const row = rowMap.get(String(id)); - return row ? mapStaffRowToFilingPersonnel(row) : mapStaffRowToFilingPersonnel({ id }); + return row; }); setDetail((prev) => ({ ...prev, diff --git a/src/pages/Container/QualificationReview/QualReviewForm/index.js b/src/pages/Container/QualificationReview/QualReviewForm/index.js index 71bb3c9..ff09751 100644 --- a/src/pages/Container/QualificationReview/QualReviewForm/index.js +++ b/src/pages/Container/QualificationReview/QualReviewForm/index.js @@ -95,6 +95,7 @@ const QualReviewForm = (props) => { isChange={isChange} legalPassCount={legalPassCount} legalFailCount={legalFailCount} + onSuccess={() => props.history.goBack()} onCancel={() => setReviewVisible(false)} />