tangjie 2026-07-08 15:38:45 +08:00
parent 571be75431
commit fe284f6333
3 changed files with 3 additions and 2 deletions

View File

@ -465,7 +465,7 @@ function StaffFormModal({
handleCancel();
onSuccess();
} else {
message.error(res?.message || "操作失败");
}
} finally {
setSubmitting(false);

View File

@ -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,

View File

@ -95,6 +95,7 @@ const QualReviewForm = (props) => {
isChange={isChange}
legalPassCount={legalPassCount}
legalFailCount={legalFailCount}
onSuccess={() => props.history.goBack()}
onCancel={() => setReviewVisible(false)}
/>
</div>