Commit 11d02b70 by wangzhihui

```

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

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