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) => {
if (res.code == 0) {
this.$u.toast('解除成功!')
uni.$emit('updateDetail')
uni.$emit('updateDetails')
uni.$emit('updateLists')
setTimeout(() => {
uni.navigateBack()
}, 600)

View File

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

View File

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