From fe284f63332b1c27c4e7366956aa0364864eaa77 Mon Sep 17 00:00:00 2001 From: tangjie <122778500@qq.com> Date: Wed, 8 Jul 2026 15:38:45 +0800 Subject: [PATCH] fix --- src/pages/Container/EnterpriseInfo/PersonnelInfo/List/index.js | 2 +- src/pages/Container/QualApplication/FilingForm/index.js | 2 +- src/pages/Container/QualificationReview/QualReviewForm/index.js | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) 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)} />