fee75fa9 by zhaoqian

左侧目录树部分

1 parent ebd63647
...@@ -11,6 +11,16 @@ export function getAllList() { ...@@ -11,6 +11,16 @@ export function getAllList() {
11 } 11 }
12 12
13 /** 13 /**
14 * 树形结构查询所有行政区地籍(子)区
15 */
16 export function getTreeList() {
17 return request({
18 url: '/system/xzq/findTreeList',
19 method: 'get',
20 })
21 }
22
23 /**
14 * 跟据行政区标识码查地籍区 24 * 跟据行政区标识码查地籍区
15 */ 25 */
16 export function getListByXzqbsm(xzqbsm) { 26 export function getListByXzqbsm(xzqbsm) {
......
...@@ -52,7 +52,7 @@ import Navigation from "../components/IvyElement/navigation"; ...@@ -52,7 +52,7 @@ import Navigation from "../components/IvyElement/navigation";
52 import Create from "./panel/create/index"; 52 import Create from "./panel/create/index";
53 import LineTree from "../components/lineTree/lineTree"; 53 import LineTree from "../components/lineTree/lineTree";
54 import { setTimeout } from "timers"; 54 import { setTimeout } from "timers";
55 import { getTree,getDdicByMC } from "../api/common"; 55 import { getTree,getDdicByMC,getTreeList } from "../api/common";
56 56
57 export default { 57 export default {
58 components: { 58 components: {
...@@ -240,6 +240,7 @@ export default { ...@@ -240,6 +240,7 @@ export default {
240 // this.sortNavigation(this.navigationList, indId); 240 // this.sortNavigation(this.navigationList, indId);
241 // } 241 // }
242 this.getDic(); 242 this.getDic();
243 this.getTreeList();
243 }, 244 },
244 methods: { 245 methods: {
245 //请求字典数据 246 //请求字典数据
...@@ -335,6 +336,11 @@ export default { ...@@ -335,6 +336,11 @@ export default {
335 closeDialog() { 336 closeDialog() {
336 this.dialogVisible = false; 337 this.dialogVisible = false;
337 }, 338 },
339 getTreeList(){
340 getTreeList().then((res)=>{
341 this.pd=res.result;
342 })
343 }
338 }, 344 },
339 }; 345 };
340 </script> 346 </script>
......