|
@@ -364,9 +364,7 @@ export default {
|
|
|
listGridLevel(this.lazyQueryParams).then(response => {
|
|
|
const list = this.handleTree(response.data, 'id', 'parentId')
|
|
|
list.forEach(item=>{
|
|
|
- if(!item.name.includes("网格")){
|
|
|
item.hasChildren = true;
|
|
|
- }
|
|
|
})
|
|
|
resolve(list);
|
|
|
this.loading = false
|
|
@@ -386,9 +384,7 @@ export default {
|
|
|
listGridLevel(this.queryParams).then(response => {
|
|
|
this.gridLevelList = this.handleTree(response.data, 'id', 'parentId')
|
|
|
this.gridLevelList.forEach(item=>{
|
|
|
- if(!item.name.includes("网格")){
|
|
|
item.hasChildren = true;
|
|
|
- }
|
|
|
})
|
|
|
this.loading = false
|
|
|
})
|