61082672 by weimo934

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

1 parent bec3376c
import request from '@/plugin/axios'
/**
* 查询所有行政区
*/
......@@ -8,10 +9,11 @@ export function getAllList() {
method: 'get',
})
}
/**
* 跟据行政区标识码查地籍区
*/
export function getListByXzqbsm (xzqbsm) {
export function getListByXzqbsm(xzqbsm) {
return request({
url: 'system/djq/getListByXzqbsm',
method: 'get',
......@@ -20,10 +22,11 @@ export function getListByXzqbsm (xzqbsm) {
}
})
}
/**
* 跟据地籍区标识码查地籍子区
*/
export function getListByPbsm (pbsm) {
export function getListByPbsm(pbsm) {
return request({
url: 'system/djq/getListByPbsm',
method: 'get',
......@@ -32,10 +35,11 @@ export function getListByPbsm (pbsm) {
}
})
}
/**
* 通过名称获取字典
*/
export function getDdicByMC (mc) {
export function getDdicByMC(mc) {
return request({
url: 'system/dictionary/getDdicByMC',
method: 'get',
......@@ -44,3 +48,16 @@ export function getDdicByMC (mc) {
}
})
}
/**
* 根据宗地BSM获取左侧目录树
*/
export function getTree(bsm) {
return request({
url: 'system/xzq/getMenuTreeByZdbsm',
method: 'get',
params: {
zdbsm
}
})
}
......
......@@ -92,7 +92,7 @@
import {Message} from 'element-ui'
export default {
name: "界址点",
name: "jzd",
components: {},
props: {},
data() {
......
......@@ -114,7 +114,7 @@
import {Message} from 'element-ui'
export default {
name: "界址线",
name: "jzx",
components: {},
props: {},
data() {
......