This commit is contained in:
liuye
2021-12-24 14:06:07 +08:00
parent 402dd36221
commit 746f297947
9 changed files with 14 additions and 7 deletions

View File

@@ -38,13 +38,17 @@ export default {
this.getList()
})
uni.setNavigationBarTitle({title: '楼栋列表'})
uni.$on('updateList', () => {
this.current = 1
this.getList()
})
},
methods: {
getList() {
this.$http.post(`/app/appcommunitybuildinginfo/list`, null, {
params: {
current: 1,
current: this.current,
size: 10,
areaId: this.user.areaId,
communityName: this.title

View File

@@ -116,10 +116,9 @@ export default {
}).then(res => {
if (res.code == 0) {
this.$u.toast('提交成功')
uni.$emit('updateList')
setTimeout(() => {
this.$emit('change', {
type: 'List',
})
uni.navigateBack()
}, 600)
}
})