diff --git a/src/apps/AppEpidemicSituation/ErrorDetail.vue b/src/apps/AppEpidemicSituation/ErrorDetail.vue index 31120e71..aef1e8f8 100644 --- a/src/apps/AppEpidemicSituation/ErrorDetail.vue +++ b/src/apps/AppEpidemicSituation/ErrorDetail.vue @@ -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) diff --git a/src/apps/AppEpidemicSituation/Health.vue b/src/apps/AppEpidemicSituation/Health.vue index ee30385b..3c811fb9 100644 --- a/src/apps/AppEpidemicSituation/Health.vue +++ b/src/apps/AppEpidemicSituation/Health.vue @@ -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 diff --git a/src/apps/AppEpidemicSituation/HealthDetail.vue b/src/apps/AppEpidemicSituation/HealthDetail.vue index 2ac95e5d..4c28505b 100644 --- a/src/apps/AppEpidemicSituation/HealthDetail.vue +++ b/src/apps/AppEpidemicSituation/HealthDetail.vue @@ -88,7 +88,7 @@ export default { } this.getRecord() - uni.$on('updateDetail', () => { + uni.$on('updateDetails', () => { this.getUser() this.getRecord() })