31e8c965 by 杨威

目录树接口参数修改

1 parent 28e705be
......@@ -10,15 +10,6 @@ export function getAllList() {
})
}
/**
* 树形结构查询所有行政区地籍(子)区
*/
export function getTreeList() {
return request({
url: '/system/xzq/findTreeList',
method: 'get',
})
}
/**
* 跟据行政区标识码查地籍区
......@@ -46,58 +37,73 @@ export function getListByPbsm(pbsm) {
})
}
/**
* 跟据所有权类型及其所在行政区,地籍区,地籍子区查询宗地和自然幢信息
* 通过名称获取字典
*/
export function getZdDetailList(data) {
export function getDdicByMC(mc) {
return request({
url: 'system/xzq/getZdDetailList',
url: 'system/dictionary/getDdicByMC',
method: 'get',
params: {
xzqbsm:data.xzqbsm,
djqbsm:data.djqbsm,
djzqbsm:data.djzqbsm,
syqlx:data.syqlx
mc
}
})
}
/**
* 通过名称获取字典
* 获取左侧目录树
*/
export function getDdicByMC(mc) {
export function getTreeList() {
return request({
url: 'system/dictionary/getDdicByMC',
url: '/system/xzq/findTreeList',
method: 'get',
params: {
mc
}
})
}
/**
* 根据宗地BSM获取左侧目录树
*/
export function getTree(zdbsm) {
export function getTree(zdbsm,source) {
return request({
url: 'system/xzq/getMenuTreeByZdbsm',
method: 'get',
method: 'post',
params: {
zdbsm
zdbsm:zdbsm,
source:source
}
})
}
/**
* 根据自然幢BSM获取左侧目录树
* 跟据所有权类型及其所在行政区,地籍区,地籍子区查询宗地和自然幢信息目录树数据
*/
export function getTreeByBsm(zrzbsm,type) {
export function getZdDetailList(data) {
return request({
url: 'system/xzq/getZdDetailList',
method: 'post',
params: {
xzqbsm:data.xzqbsm,
djqbsm:data.djqbsm,
djzqbsm:data.djzqbsm,
syqlx:data.syqlx,
source:data.source
}
})
}
/**
* 根据自然幢/多幢/户BSM获取左侧目录树
*/
export function getTreeByBsm(zrzbsm,type,source) {
return request({
url: 'system/xzq/getMenuTreeByBsm',
method: 'get',
method: 'post',
params: {
bsm:zrzbsm,
type:type
type:type,
source:source
}
})
}
......@@ -195,7 +201,7 @@ export function getListMenu(data) {
return request({
url:'/system/xzq/getZdListMenu',
method:'post',
data:data
data:data
})
}
/**
......