|
|
@@ -238,7 +238,9 @@ export default {
|
|
|
this.selectorVisible = false
|
|
|
ActionUtils.success('加入人员成功!')
|
|
|
this.search()
|
|
|
- location.reload()
|
|
|
+ setTimeout(() => {
|
|
|
+ location.reload()
|
|
|
+ }, 1000);
|
|
|
})
|
|
|
this.handleUpemployee('add', userIdsStr)
|
|
|
},
|
|
|
@@ -249,7 +251,9 @@ export default {
|
|
|
}).then(response => {
|
|
|
ActionUtils.removeSuccessMessage()
|
|
|
this.search()
|
|
|
- location.reload()
|
|
|
+ setTimeout(() => {
|
|
|
+ location.reload()
|
|
|
+ }, 1000);
|
|
|
})
|
|
|
this.handleUpemployee('remove', ids)
|
|
|
},
|