|
|
@@ -160,7 +160,7 @@
|
|
|
'staffData': {
|
|
|
handler: function (val) {
|
|
|
if (this.isChange) {
|
|
|
- this.staffDataList = val.content
|
|
|
+ this.staffDataList = []
|
|
|
this.isChange = false
|
|
|
}
|
|
|
this.staffDataList = [...this.staffDataList, ...val.content]
|
|
|
@@ -362,10 +362,12 @@
|
|
|
// 申请绑定操作事件 (同意和拒绝)
|
|
|
agreeEvent (type, flag) {
|
|
|
this.$http.get(`/basic/enterprise/auditApply?id=${type.id}&status=${Number(flag)}&userUU=${type.userUU}`)
|
|
|
- this.onRemind('操作成功!')
|
|
|
- this.auditSearch = ''
|
|
|
- this.page = 1
|
|
|
- this.auditRecord()
|
|
|
+ .then(() => {
|
|
|
+ this.onRemind('操作成功!')
|
|
|
+ this.auditSearch = ''
|
|
|
+ this.page = 1
|
|
|
+ this.auditRecord()
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
}
|