Commit 11d02b70 by wangzhihui

```

feat(residentManage): 优化招聘管理状态更新逻辑

- 将状态更新后的重置操作移到 finally 块中执行
- 确保无论请求成功或失败都能正确关闭弹窗并清空表单
- 保持页面搜索功能的正常调用
```
1 parent b782f25b
...@@ -415,10 +415,13 @@ export default { ...@@ -415,10 +415,13 @@ export default {
updateRecruitmentStatusData(params) { updateRecruitmentStatusData(params) {
updateRecruitmentStatus({ updateRecruitmentStatus({
...params ...params
}).then((res) => { })
.then((res) => {
this.$message.success("操作成功")
})
.finally(() => {
this.isRejectVisible = false this.isRejectVisible = false
this.isRejectForm.recallReason = "" this.isRejectForm.recallReason = ""
this.$message.success("操作成功")
this.handleSearch() this.handleSearch()
}) })
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!