Newer
Older
KaiFengPC / src / api / floodSys / oneMap.js
@鲁yixuan 鲁yixuan on 19 Aug 7 KB updata
import request from '@/utils/request';

// 排水防涝一屏概览    排水设施-管网统计
export function pipeLineStatistics(query) {
  return request({
    url: '/business/preventFlood/oneMap/drainageFacilities/pipelineInfoTypeStatistic',
    method: 'get',
    params: query,
  });
}
// 排水防涝一屏概览    排水设施-检查井统计
export function pipePointStatistics(query) {
  return request({
    url: '/business/preventFlood/oneMap/drainageFacilities/pipelinePointTypeStatistic',
    method: 'get',
    params: query,
  });
}
// 排水防涝一屏概览    排水设施-厂站设施统计
export function factoryStatistics(query) {
  return request({
    url: '/business/preventFlood/oneMap/drainageFacilities/factoryStationStatistic',
    method: 'get',
    params: query,
  });
}
// 排水防涝一屏概览    排水设施-入河排口统计
export function drainageStatistics(query) {
  return request({
    url: '/business/preventFlood/oneMap/drainageFacilities/pipelinePointDrainagePartitionStatistic',
    method: 'get',
    params: query,
  });
}
// 排水防涝一屏概览    物联感知-雨量监测-气象信息
export function xfSevenDays(query) {
  return request({
    url: '/business/weatherForecast/xfSevenDays',
    method: 'get',
    params: query,
  });
}
// 排水防涝一屏概览    物联感知-雨量监测-雨量数据采集
export function realtimeDataListByType(query) {
  return request({
    url: '/business/preventFlood/oneMap/rtuSite/realtimeDataListByType',
    method: 'get',
    params: query,
  });
}
// 排水防涝一屏概览    物联感知-雨量监测-雨量数据采集
export function realtimeDataPipelineListByType(query) {
  return request({
    url: '/business/preventFlood/oneMap/rtuSite/realtimeDataPipelineListByType',
    method: 'get',
    params: query,
  });
}
// 排水防涝一屏概览    物联感知-雨量监测-雨量数据采集
export function realtimeRainfallStatistics(query) {
  return request({
    url: '/business/preventFlood/oneMap/rtuSite/realtimeRainfallStatistics',
    method: 'get',
    params: query,
  });
}
// 排水防涝一屏概览    物联感知-源头地块-源头地块监测-轮次
export function orinignList(query) {
  return request({
    url: '/business/preventFlood/configSpongeChangeConfig/list',
    method: 'get',
    params: query,
  });
}
// 排水防涝一屏概览    物联感知-源头地块-源头地块监测
export function orinignDataList(query) {
  return request({
    url: `/business/preventFlood/oneMap/rtuSite/realtimeDataListByStCodes/${query}`,
    method: 'get',
    params: query,
  });
}
// 排水防涝一屏概览    物联感知-积水点-实时监测
export function realtimeDataWaterlogging(query) {
  return request({
    url: '/business/preventFlood/oneMap/rtuSite/realtimeDataListByWaterlogging',
    method: 'get',
    params: query,
  });
}
// 排水防涝一屏概览    物联感知-积水点-统计分析
export function waterloggingStatistics(query) {
  return request({
    url: `/business/preventFlood/oneMap/rtuSite/waterloggingRecordStatistics/${query}`,
    method: 'get',
    params: query,
  });
}
// 排水防涝一屏概览    物联感知-河道监测-人工采样时间字典
export function sampleDateList(query) {
  return request({
    url: '/business/preventFlood/oneMap/artificial/sampleDateList',
    method: 'get',
    params: query,
  });
}
// 排水防涝一屏概览    物联感知-河道监测-人工采样河湖搜索
export function sampleRiverList(query) {
  return request({
    url: '/business/preventFlood/oneMap/artificial/sampleRiverList',
    method: 'get',
    params: query,
  });
}
// 排水防涝一屏概览    物联感知-河道监测-横断面分析
export function getRiverProfileByRiverName(query) {
  return request({
    url: '/business/preventFlood/oneMap/river/getRiverProfileByRiverName',
    method: 'get',
    params: query,
  });
}
// 排水防涝一屏概览    物联感知-河道监测-河湖断面采样数据搜索
export function sampleRiverSectionData(query) {
  return request({
    url: '/business/preventFlood/oneMap/artificial/sampleRiverSectionData',
    method: 'get',
    params: query,
  });
}
// 排水防涝一屏概览    物联感知-厂站监测-实时数据
export function realtimeDataByPump(query) {
  return request({
    url: '/business/preventFlood/oneMap/artificial/realtimeDataByPump',
    method: 'get',
    params: query,
  });
}
// 排水防涝一屏概览    物联感知-厂站监测-历史趋势
export function historyDataByPumpCode(query) {
  return request({
    url: '/business/preventFlood/oneMap/artificial/historyDataByPumpCode',
    method: 'get',
    params: query,
  });
}
// 排水防涝一屏概览    监测告警-实时告警-设备故障报警
export function rtuFaultTimeSectionRealtimeList(query) {
  return request({
    url: '/business/preventFlood/oneMap/warn/rtuFaultTimeSectionRealtimeList',
    method: 'get',
    params: query,
  });
}
// 排水防涝一屏概览    监测告警-告警列表详情
export function rtuWarnRecordRealtimeDetail(query) {
  return request({
    url: '/business/rtuWarnRecordRealtime/list',
    method: 'get',
    params: query,
  });
}
// 排水防涝一屏概览    监测告警-故障列表详情
export function rtuFaultTimeSectionRealtimeDetail(query) {
  return request({
    url: '/business/rtuFaultTimeSectionRealtime/list',
    method: 'get',
    params: query,
  });
}
// 排水防涝一屏概览    监测告警-实时告警-指标超标告警列表
export function rtuWarnRecordRealtimeList(query) {
  return request({
    url: '/business/preventFlood/oneMap/warn/rtuWarnRecordRealtimeList',
    method: 'get',
    params: query,
  });
}
// 排水防涝一屏概览    监测告警-历史告警-设备故障报警
export function rtuFaultTimeSectionHistoryPage(query) {
  return request({
    url: '/business/preventFlood/oneMap/warn/rtuFaultTimeSectionHistoryPage',
    method: 'get',
    params: query,
  });
}
// 排水防涝一屏概览    监测告警-历史告警-指标超标告警列表
export function rtuWarnRecordHistoryPage(query) {
  return request({
    url: '/business/preventFlood/oneMap/warn/rtuWarnRecordHistoryPage',
    method: 'get',
    params: query,
  });
}
// 排水防涝一屏概览    态势研判-未来气象预报-获取降雨趋势
export function rainTrend(query) {
  return request({
    url: '/business/preventFlood/oneMap/situation/rainTrend',
    method: 'get',
    params: query,
  });
}
// 排水防涝一屏概览    态势研判-获取积水预判
export function waterloggingRisk(query) {
  return request({
    url: '/business/preventFlood/oneMap/situation/waterloggingRisk',
    method: 'get',
    params: query,
  });
}
// 排水防涝一屏概览    态势研判-获取河湖风险研判
export function riverRisk(query) {
  return request({
    url: '/business/preventFlood/oneMap/situation/riverRisk',
    method: 'get',
    params: query,
  });
}
// 排水防涝一屏概览    态势研判-积水单元 预报水位线
export function geometryDurationData(query) {
  return request({
    url: '/business/moduleData/geometryDurationData',
    method: 'post',
    data: query,
  });
}