This commit is contained in:
花有清香月有阴
2022-01-17 18:31:00 +08:00
parent 8a9fc87f37
commit 214dd7ef5d
3 changed files with 8 additions and 2 deletions

View File

@@ -217,7 +217,8 @@ export default {
this.$http.post('/app/appepidemicreportmember/release', { id: this.id }).then((res) => { this.$http.post('/app/appepidemicreportmember/release', { id: this.id }).then((res) => {
if (res.code == 0) { if (res.code == 0) {
this.$u.toast('解除成功!') this.$u.toast('解除成功!')
uni.$emit('updateDetail') uni.$emit('updateDetails')
uni.$emit('updateLists')
setTimeout(() => { setTimeout(() => {
uni.navigateBack() uni.navigateBack()
}, 600) }, 600)

View File

@@ -115,6 +115,11 @@ export default {
this.areaName = this.user.areaName this.areaName = this.user.areaName
this.getList() this.getList()
this.getUserList() this.getUserList()
uni.$on('updateLists', () => {
this.current = 1
this.getList()
})
}, },
onShow() { onShow() {
this.areaId = this.user.areaId this.areaId = this.user.areaId

View File

@@ -88,7 +88,7 @@ export default {
} }
this.getRecord() this.getRecord()
uni.$on('updateDetail', () => { uni.$on('updateDetails', () => {
this.getUser() this.getUser()
this.getRecord() this.getRecord()
}) })