区域管理景区逻辑调整
This commit is contained in:
parent
327787c0a5
commit
465960a281
@ -142,16 +142,17 @@ export default {
|
||||
parentId: data.parentId,
|
||||
parentName: data.parentName
|
||||
}])
|
||||
const type = node.level === 1
|
||||
const type = node.level === 1 || node.level === 2
|
||||
console.log(type,node.level);
|
||||
|
||||
this.crud.title = type ? '区域' : '景区'
|
||||
this.crud.title = node.level === 1 ? '区域' : '景区'
|
||||
this.form.type = type ? 'area' : 'scenic'
|
||||
this.getList(id,data)
|
||||
},
|
||||
handleSourceClick(){
|
||||
this.active = this.list[0].id;
|
||||
this.crud.title = '区域';
|
||||
this.form.type = 'area';
|
||||
this.getList(this.list[0].id,{type:'source'})
|
||||
},
|
||||
// 查询景区
|
||||
|
Loading…
Reference in New Issue
Block a user