Merge remote-tracking branch 'origin/dev' into dev

dev_1.0.1
huwei 2026-07-08 09:20:38 +08:00
commit b6b192461b
1 changed files with 2 additions and 4 deletions

View File

@ -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(
@ -240,9 +240,7 @@ function AddModal({ open, staffOptions, requestAdd, onCancel, onSuccess }) {
message.success("提交成功");
handleCancel();
onSuccess();
} else {
message.error(res?.message || "提交失败");
}
}
} catch {
// validation error
} finally {