事件上报
This commit is contained in:
@@ -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()
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user