up
This commit is contained in:
@ -9,17 +9,27 @@ export function getarea(query) {
|
||||
})
|
||||
}
|
||||
|
||||
export function getTownship() {
|
||||
export function getTownship(query) {
|
||||
return request({
|
||||
url: 'http://121.36.229.60:9080/geoserver/shuzisannong/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=shuzisannong%3Ahuangdaoqu_town&maxFeatures=50&outputFormat=application%2Fjson',
|
||||
url: 'crops/administrative',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function getvillage() {
|
||||
export function getcropTypeStatistics(query) { //作物类型统计百分比
|
||||
return request({
|
||||
url: 'http://121.36.229.60:9080/geoserver/shuzisannong/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=shuzisannong%3Ahuangdaoqu_village&maxFeatures=1180&outputFormat=application%2Fjson',
|
||||
url: 'crops/cropTypeStatistics',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function getvillage(query) {
|
||||
return request({
|
||||
url: 'crops/administrativeDivisions',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
@ -37,3 +47,20 @@ export function dow() {
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
export function getcropper(query) { //作物分类面积统计
|
||||
return request({
|
||||
url: 'crops/cropper',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function gethighStandard(query) { //高标准农田
|
||||
return request({
|
||||
url: 'crops/highStandard',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
40
src/api/crops/site.js
Normal file
40
src/api/crops/site.js
Normal file
@ -0,0 +1,40 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function getfarmland(query) { //作物长势等级面积统计
|
||||
return request({
|
||||
url: 'crops/farmland',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
export function getstatistics(query) { //作物长势等级面积占比
|
||||
return request({
|
||||
url: 'crops/statistics',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function gethighStandards(query) { //高标准农田统计
|
||||
return request({
|
||||
url: 'crops/highStandards',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function getgradeStatistics(query) { //镇
|
||||
return request({
|
||||
url: 'crops/gradeStatistics',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function getadministrativeDivisions(query) { //村
|
||||
return request({
|
||||
url: 'crops/administrativeDivisions',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
26
src/api/meteorological/remoteSense/FloodExtraction.js
Normal file
26
src/api/meteorological/remoteSense/FloodExtraction.js
Normal file
@ -0,0 +1,26 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
|
||||
export function getyears(query) { //干旱等级面积统计
|
||||
return request({
|
||||
url: 'equipment/damageArea',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function getequipment(query) { //农作物受灾面积占比
|
||||
return request({
|
||||
url: 'equipment/proportion',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function gethighStandard(query) { //洪涝面积统计高标准农田
|
||||
return request({
|
||||
url: 'equipment/highStandard',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
46
src/api/meteorological/remoteSense/drought.js
Normal file
46
src/api/meteorological/remoteSense/drought.js
Normal file
@ -0,0 +1,46 @@
|
||||
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://121.36.229.60:9080/geoserver/shuzisannong/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=shuzisannong%3Ahuangdaoqu_town&maxFeatures=50&outputFormat=application%2Fjson',
|
||||
method: 'get',
|
||||
})
|
||||
}
|
25
src/api/meteorological/remoteSense/estimate.js
Normal file
25
src/api/meteorological/remoteSense/estimate.js
Normal file
@ -0,0 +1,25 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
|
||||
export function getytyphoon(query) { //默认台风
|
||||
return request({
|
||||
url: 'equipment/typhoon',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function getyear(query) { //年
|
||||
return request({
|
||||
url: 'equipment/year',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
export function getndPower(query) { //台风
|
||||
return request({
|
||||
url: 'equipment/windPower',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
41
src/api/meteorological/remoteSense/freeze.js
Normal file
41
src/api/meteorological/remoteSense/freeze.js
Normal file
@ -0,0 +1,41 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
|
||||
export function getstatisticsOfTheArea(query) { //冷冻等级面积统计
|
||||
return request({
|
||||
url: 'equipment/statisticsOfTheArea',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
export function getproportionOfArea(query) { //冷冻等级面积占比
|
||||
return request({
|
||||
url: 'equipment/proportionOfTheArea',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function geteachFreezingGradeArea(query) { //高标准农田冷冻等级面积统计
|
||||
return request({
|
||||
url: 'equipment/eachFreezingGradeArea',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function getTownship(query) { //镇
|
||||
return request({
|
||||
url: 'equipment/townshipArea',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function getadministrative(query) { //村
|
||||
return request({
|
||||
url: 'equipment/administrativeArea',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
@ -42,4 +42,33 @@ export function detectionLightsEquipment(query) { //虫子设备
|
||||
})
|
||||
}
|
||||
|
||||
export function soilEquipment(query) { //土壤设备
|
||||
return request({
|
||||
url: 'equipment/soilEquipment',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function getsporeEquipmentCondition(query) { //孢子设备信息
|
||||
return request({
|
||||
url: 'equipment/sporeEquipmentCondition',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function getequipmentCondition(query) { //土壤设备信息
|
||||
return request({
|
||||
url: 'equipment/equipmentCondition',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
export function geteqLightEquipmentCondition(query) { //虫情设备信息
|
||||
return request({
|
||||
url: 'equipment/eqLightEquipmentCondition',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user