|
@@ -2,47 +2,62 @@ import request from '@/utils/request'
|
|
|
|
|
|
export function getFlagList(param) {
|
|
|
return request({
|
|
|
- url: '/center-resources/VisuForestDataCenterController/getFlagList',
|
|
|
- method: 'post',
|
|
|
+ // url: '/center-resources/VisuForestDataCenterController/getFlagList',
|
|
|
+ url: '/center-data/waterConservancyView/getFlagList',//无逻辑
|
|
|
+ // method: 'post',
|
|
|
+ method: 'get',
|
|
|
data: param
|
|
|
})
|
|
|
}
|
|
|
-export function getFarmList(param) {
|
|
|
+
|
|
|
+//资源耕地列表
|
|
|
+export function getLandList(param) {
|
|
|
return request({
|
|
|
- url: '/center-resources/VisuForestDataCenterController/getFarmList',
|
|
|
- method: 'post',
|
|
|
- data: param
|
|
|
+ // url: '/center-resources/VisuForestDataCenterController/getLandList',
|
|
|
+ url: '/center-data/waterConservancyView/getLandList?gridFarmId='+param.gridLandId,//无逻辑
|
|
|
+ // method: 'post',
|
|
|
+ method: 'get',
|
|
|
+ // data: param
|
|
|
})
|
|
|
}
|
|
|
-export function getLandList(param) {
|
|
|
+//永久基本田列表
|
|
|
+export function getFarmList(param) {
|
|
|
return request({
|
|
|
- url: '/center-resources/VisuForestDataCenterController/getLandList',
|
|
|
- method: 'post',
|
|
|
- data: param
|
|
|
+ // url: '/center-resources/VisuForestDataCenterController/getFarmList',
|
|
|
+ url: '/center-data/waterConservancyView/getFarmList?gridLandId='+param.gridFarmId,//无逻辑
|
|
|
+ // method: 'post',
|
|
|
+ method: 'get',
|
|
|
+ // data: param
|
|
|
})
|
|
|
}
|
|
|
|
|
|
export function getGridList(param) {
|
|
|
return request({
|
|
|
- url: '/center-resources/VisuForestDataCenterController/getGridList',
|
|
|
- method: 'post',
|
|
|
- data: param
|
|
|
+ // url: '/center-resources/VisuForestDataCenterController/getGridList',
|
|
|
+ url: '/center-data/waterConservancyView/getGridList?leadType='+param.leadType+'&gridId='+param.gridId,//无逻辑
|
|
|
+ // method: 'post',
|
|
|
+ method: 'get',
|
|
|
+ // data: param
|
|
|
})
|
|
|
}
|
|
|
|
|
|
// 田长列表 NEW
|
|
|
export function getTianList(param) {
|
|
|
return request({
|
|
|
- url: '/center-resources/VisuForestDataCenterController/getTianList',
|
|
|
- method: 'post',
|
|
|
- data: param
|
|
|
+ // url: '/center-resources/VisuForestDataCenterController/getTianList',
|
|
|
+ url: '/center-data/waterConservancyView/getTianList?leadType='+param.leadType,//无逻辑
|
|
|
+ // method: 'post',
|
|
|
+ method: 'get',
|
|
|
+ // data: param
|
|
|
})
|
|
|
}
|
|
|
|
|
|
// 获取左侧田长列表
|
|
|
export function getTianzhangList() {
|
|
|
+ alert(666)
|
|
|
return request({
|
|
|
- url: '/center-resources/VisuForestTianzhangzhiController/selectTianzhangList',
|
|
|
+ // url: '/center-resources/VisuForestTianzhangzhiController/selectTianzhangList',
|
|
|
+ url: '/center-data/chieftian/remoteList',//无逻辑
|
|
|
method: 'post',
|
|
|
})
|
|
|
}
|
|
@@ -50,7 +65,8 @@ export function getTianzhangList() {
|
|
|
// 田长获取网格网格长列表
|
|
|
export function selectVisuGridLength(param) {
|
|
|
return request({
|
|
|
- url: '/center-resources/VisuForestTianzhangzhiController/selectVisuGridLength',
|
|
|
+ // url: '/center-resources/VisuForestTianzhangzhiController/selectVisuGridLength',
|
|
|
+ url: '/center-data/chieftian/selectVisuGridLength',//无逻辑
|
|
|
method: 'post',
|
|
|
data: param
|
|
|
})
|
|
@@ -59,7 +75,8 @@ export function selectVisuGridLength(param) {
|
|
|
// 网格长获取耕地和基本田列表
|
|
|
export function selectGridLandInfo(param) {
|
|
|
return request({
|
|
|
- url: '/center-resources/VisuForestTianzhangzhiController/selectGridLandInfo',
|
|
|
+ // url: '/center-resources/VisuForestTianzhangzhiController/selectGridLandInfo',
|
|
|
+ url: '/center-data/FarmGrid/selectGridLandInfo',//无逻辑
|
|
|
method: 'post',
|
|
|
data: param
|
|
|
})
|
|
@@ -68,7 +85,8 @@ export function selectGridLandInfo(param) {
|
|
|
// 网格长获取耕地和基本田列表
|
|
|
export function remoteGetRegionalFlag(id) {
|
|
|
return request({
|
|
|
- url: '/center-resources/VisuForestTianzhangzhiController/remoteGetRegionalFlag/' + id,
|
|
|
+ // url: '/center-resources/VisuForestTianzhangzhiController/remoteGetRegionalFlag/' + id,
|
|
|
+ url: '/center-data/info/getRegionalFlag/' + id,//无逻辑
|
|
|
method: 'get',
|
|
|
})
|
|
|
}
|