fee75fa9 by zhaoqian

左侧目录树部分

1 parent ebd63647
......@@ -11,6 +11,16 @@ export function getAllList() {
}
/**
* 树形结构查询所有行政区地籍(子)区
*/
export function getTreeList() {
return request({
url: '/system/xzq/findTreeList',
method: 'get',
})
}
/**
* 跟据行政区标识码查地籍区
*/
export function getListByXzqbsm(xzqbsm) {
......
......@@ -52,7 +52,7 @@ import Navigation from "../components/IvyElement/navigation";
import Create from "./panel/create/index";
import LineTree from "../components/lineTree/lineTree";
import { setTimeout } from "timers";
import { getTree,getDdicByMC } from "../api/common";
import { getTree,getDdicByMC,getTreeList } from "../api/common";
export default {
components: {
......@@ -240,6 +240,7 @@ export default {
// this.sortNavigation(this.navigationList, indId);
// }
this.getDic();
this.getTreeList();
},
methods: {
//请求字典数据
......@@ -335,6 +336,11 @@ export default {
closeDialog() {
this.dialogVisible = false;
},
getTreeList(){
getTreeList().then((res)=>{
this.pd=res.result;
})
}
},
};
</script>
......