61082672 by weimo934

feat(jzd,jzx):界址点、线

1 parent bec3376c
1 import request from '@/plugin/axios' 1 import request from '@/plugin/axios'
2
2 /** 3 /**
3 * 查询所有行政区 4 * 查询所有行政区
4 */ 5 */
...@@ -8,10 +9,11 @@ export function getAllList() { ...@@ -8,10 +9,11 @@ export function getAllList() {
8 method: 'get', 9 method: 'get',
9 }) 10 })
10 } 11 }
12
11 /** 13 /**
12 * 跟据行政区标识码查地籍区 14 * 跟据行政区标识码查地籍区
13 */ 15 */
14 export function getListByXzqbsm (xzqbsm) { 16 export function getListByXzqbsm(xzqbsm) {
15 return request({ 17 return request({
16 url: 'system/djq/getListByXzqbsm', 18 url: 'system/djq/getListByXzqbsm',
17 method: 'get', 19 method: 'get',
...@@ -20,10 +22,11 @@ export function getListByXzqbsm (xzqbsm) { ...@@ -20,10 +22,11 @@ export function getListByXzqbsm (xzqbsm) {
20 } 22 }
21 }) 23 })
22 } 24 }
25
23 /** 26 /**
24 * 跟据地籍区标识码查地籍子区 27 * 跟据地籍区标识码查地籍子区
25 */ 28 */
26 export function getListByPbsm (pbsm) { 29 export function getListByPbsm(pbsm) {
27 return request({ 30 return request({
28 url: 'system/djq/getListByPbsm', 31 url: 'system/djq/getListByPbsm',
29 method: 'get', 32 method: 'get',
...@@ -32,10 +35,11 @@ export function getListByPbsm (pbsm) { ...@@ -32,10 +35,11 @@ export function getListByPbsm (pbsm) {
32 } 35 }
33 }) 36 })
34 } 37 }
38
35 /** 39 /**
36 * 通过名称获取字典 40 * 通过名称获取字典
37 */ 41 */
38 export function getDdicByMC (mc) { 42 export function getDdicByMC(mc) {
39 return request({ 43 return request({
40 url: 'system/dictionary/getDdicByMC', 44 url: 'system/dictionary/getDdicByMC',
41 method: 'get', 45 method: 'get',
...@@ -44,3 +48,16 @@ export function getDdicByMC (mc) { ...@@ -44,3 +48,16 @@ export function getDdicByMC (mc) {
44 } 48 }
45 }) 49 })
46 } 50 }
51
52 /**
53 * 根据宗地BSM获取左侧目录树
54 */
55 export function getTree(bsm) {
56 return request({
57 url: 'system/xzq/getMenuTreeByZdbsm',
58 method: 'get',
59 params: {
60 zdbsm
61 }
62 })
63 }
......
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
92 import {Message} from 'element-ui' 92 import {Message} from 'element-ui'
93 93
94 export default { 94 export default {
95 name: "界址点", 95 name: "jzd",
96 components: {}, 96 components: {},
97 props: {}, 97 props: {},
98 data() { 98 data() {
......
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
114 import {Message} from 'element-ui' 114 import {Message} from 'element-ui'
115 115
116 export default { 116 export default {
117 name: "界址线", 117 name: "jzx",
118 components: {}, 118 components: {},
119 props: {}, 119 props: {},
120 data() { 120 data() {
......