62 lines
1.6 KiB
JavaScript
62 lines
1.6 KiB
JavaScript
import request from '@/utils/request'
|
|
|
|
|
|
export function getareaStatisticsDrought(query) { //干旱等级面积统计
|
|
return request({
|
|
url: 'equipment/areaStatisticsDrought',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
export function getproportionOfArea(query) { //干旱等级面积占比
|
|
return request({
|
|
url: 'equipment/proportionOfArea',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
export function geteachFreezingGradeArea(query) { //高标准农田干旱等级面积占比
|
|
return request({
|
|
url: 'equipment/statisticsOfArea',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
export function getTownship(query) {//镇
|
|
return request({
|
|
url: 'equipment/township',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
export function getadministrative(query) {//村
|
|
return request({
|
|
url: 'equipment/administrative',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
export function getgarrison() {//镇的地图服务
|
|
return request({
|
|
url: 'http://139.199.98.175:9080/geoserver/shuzisannong/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=shuzisannong%3Ahuangdaoqu_town&maxFeatures=50&outputFormat=application%2Fjson',
|
|
method: 'get',
|
|
})
|
|
}
|
|
|
|
export function getlistDroughtsYear() {//获取年
|
|
return request({
|
|
url: 'equipment/listDroughtsYear',
|
|
method: 'get',
|
|
})
|
|
}
|
|
|
|
export function getlistDroughts(query) {//列表模式默认数据
|
|
return request({
|
|
url: 'equipment/listDroughts',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|