与户主关系

This commit is contained in:
liuye
2022-03-29 09:50:22 +08:00
parent e3d841cfb2
commit 33f48e779f
2 changed files with 8 additions and 7 deletions

View File

@@ -268,7 +268,7 @@ export default {
return false
}
return !!(this.info.drinkingWaterSafety && this.info.dilapidatedHouse);
return !!(this.info.drinkingWaterSafety && this.info.dilapidatedHouse && this.info.move);
}
@@ -285,12 +285,12 @@ export default {
})
this.id = query.id
uni.$on('reload', () => {
this.getInfo()
})
},
onShow() {
document.title = '居民详情'
uni.$on('reload', () => {
this.getInfo()
})
},
methods: {
@@ -329,7 +329,7 @@ export default {
this.$http.post(`/app/apppreventionreturntopovertylog/delete?ids=${id}`).then(res => {
if (res.code === 0) {
this.$u.toast('删除成功')
this.getInfo(this.id)
this.getInfo()
}
uni.hideLoading()
})