From c941f07c5e8b9743e75c2f74b11138254a26f8e7 Mon Sep 17 00:00:00 2001 From: tangjie <122778500@qq.com> Date: Tue, 7 Jul 2026 18:12:10 +0800 Subject: [PATCH 1/2] feat --- src/pages/Container/EnterpriseInfo/ResignationApply/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Container/EnterpriseInfo/ResignationApply/index.js b/src/pages/Container/EnterpriseInfo/ResignationApply/index.js index 75e4fa3..d92eccf 100644 --- a/src/pages/Container/EnterpriseInfo/ResignationApply/index.js +++ b/src/pages/Container/EnterpriseInfo/ResignationApply/index.js @@ -56,7 +56,7 @@ function ResignationApplyPage(props) { useEffect(() => { let cancelled = false; props - .staffInfoList?.({ current: 1, size: 500 }) + .staffInfoList?.({ current: 1, size: 500, employmentStatusCode: 1 }) .then((res) => { if (!cancelled) { setStaffOptions( From 1b0c0ba9b5b87579b00192d2970c4dcb6f6bab70 Mon Sep 17 00:00:00 2001 From: tangjie <122778500@qq.com> Date: Tue, 7 Jul 2026 18:13:58 +0800 Subject: [PATCH 2/2] feat --- src/pages/Container/EnterpriseInfo/ResignationApply/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pages/Container/EnterpriseInfo/ResignationApply/index.js b/src/pages/Container/EnterpriseInfo/ResignationApply/index.js index d92eccf..07eb9cf 100644 --- a/src/pages/Container/EnterpriseInfo/ResignationApply/index.js +++ b/src/pages/Container/EnterpriseInfo/ResignationApply/index.js @@ -240,9 +240,7 @@ function AddModal({ open, staffOptions, requestAdd, onCancel, onSuccess }) { message.success("提交成功"); handleCancel(); onSuccess(); - } else { - message.error(res?.message || "提交失败"); - } + } } catch { // validation error } finally {