事件上报

This commit is contained in:
liuye
2023-05-09 10:32:11 +08:00
parent 3361aa300b
commit d662e2dc75

View File

@@ -236,9 +236,15 @@ export default {
},
getGirdList() {
return this.instance.post(`/app/appgirdinfo/listAllByTop`).then(res => {
return this.instance.post(`/app/appresidentreportinfo/listGirdInfoByTransfer?id=${this.$route.query.id}`).then(res => {
if (res?.data) {
return this.tree = this.formatList([res.data])
// return this.tree = this.formatList([res.data])
this.tree = res.data
this.tree.map((item) => {
item.children = [item.girdMemberList?.map(e => ({
...e, isUser: true, girdName: item.girdName
})) || []].flat()
})
}
})
},