WholeProcessPlatform/frontend-sjgl/src/api/map.ts
2026-07-20 16:02:51 +08:00

62 lines
1.3 KiB
TypeScript

import request from '@/utils/request';
// 获取图例列表
export function getModuleMapLegendList(params?: { moduleId?: string }) {
const url = params?.moduleId
? `/mapLegend/getModuleMapLegendList?moduleId=${params.moduleId}`
: '/mapLegend/getModuleMapLegendList';
return request({
url,
method: 'get'
});
}
// 获取地图配置列表
export function getMapList(data: any) {
return request({
url: '/mapmodule/getMapData',
method: 'post',
data
});
}
// 获取梯级流域地图
export function getQgcRvcd(data: any) {
return request({
url: '/eng/base/rsvrcscdb/getQgcRvcd',
method: 'post',
data
});
}
// 获取梯级流域下拉框列表
export function getRvcdList(data: any) {
return request({
url: '/eng/base/rsvrcscdb/rvcd',
method: 'post',
data
});
}
// 获取梯级流域下拉框图表数据
export function getKendoList(data: any) {
return request({
url: '/eng/base/rsvrcscdb/GetKendoList',
method: 'post',
data
});
}
// 鱼类分布查询 - 站点查询
export function getFishPointList(data: any) {
return request({
url: '/wte/we/fishPoint/qgc/GetKendoListCust',
method: 'post',
data
});
}
// 鱼类分布查询 -鱼查询
export function getFishList(data: any) {
return request({
url: '/wte/we/fishList/GetKendoListCust',
method: 'post',
data
});
}