WholeProcessPlatform/frontend/src/api/map.ts
2026-07-08 08:33:08 +08:00

65 lines
1.6 KiB
TypeScript

import request from '@/utils/request';
// 获取图例列表
export function getModuleMapLegendList(params?: { moduleId?: string }) {
const url = params?.moduleId
? // ? `/api/wmp-sys-server/mapLegend/getModuleMapLegendList?moduleId=${params.moduleId}`
// : '/api/wmp-sys-server/mapLegend/getModuleMapLegendList';
`/mapLegend/getModuleMapLegendList?moduleId=${params.moduleId}`
: '/mapLegend/getModuleMapLegendList';
return request({
url,
method: 'get'
});
}
// 获取地图配置列表
export function getMapList(data: any) {
return request({
// url: '/api/wmp-sys-server/mapmodule/getMapData',
url: '/mapmodule/getMapData',
method: 'post',
data
});
}
// 获取梯级流域地图
export function getQgcRvcd(data: any) {
return request({
url: '/api/wmp-eng-server/eng/rsvrcscdb/getQgcRvcd',
method: 'post',
data
});
}
// 获取梯级流域下拉框列表
export function getRvcdList(data: any) {
return request({
url: '/api/wmp-eng-server/eng/rsvrcscdb/rvcd',
method: 'post',
data
});
}
// 获取梯级流域下拉框图表数据
export function getKendoList(data: any) {
return request({
url: '/api/wmp-eng-server/eng/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
});
}