巡查上报统计
This commit is contained in:
@@ -93,7 +93,7 @@ export default {
|
||||
let parents = res.data.map(e => e.parentGirdId)
|
||||
this.allData = res.data.map(e => ({...e, hasChildren: parents.includes(e.id)}))
|
||||
this.treeInit()
|
||||
if(this.$route.query.selected && this.$route.query.selected.length) { //确认按钮弹窗报错
|
||||
if(this.$route.query.selected) { //确认按钮弹窗报错
|
||||
this.allData.map((item) => {
|
||||
if(item.id == this.$route.query.selected) {
|
||||
this.SelectGird = item
|
||||
|
||||
Reference in New Issue
Block a user