Newer
Older
KaiFengPC / src / api / floodSys / floodYP.js
@zhangdeliang zhangdeliang on 23 May 1 KB 初始化项目
import request from '@/utils/request';

// 内涝风险评估 降雨积水分析方案列表
export function schemeList(query) {
  return request({
    url: '/business/schemeInfo/list',
    method: 'get',
    params: query,
  });
}

// 内涝风险评估 查询模型的积水,充满面积过程线
export function selectProcessLine(query) {
  return request({
    url: '/business/schemeInfo/selectProcessLine',
    method: 'get',
    params: query,
  });
}

// 内涝风险评估 设计降雨过程线
export function getRainfallByHourEnum(query) {
  return request({
    url: '/business/rainfallTsdb/getRainfallByHourEnum',
    method: 'get',
    params: query,
  });
}
// 内涝风险评估 地图内涝渲染模拟
export function moduleGeometryData(query) {
  return request({
    url: '/business/moduleData/moduleGeometryPic',
    method: 'post',
    data: query,
    timeout: 60 * 1000,
  });
}

// 预报预警 积水风险占比
export function countWaterloggingRisk(query) {
  return request({
    url: '/business/moduleData/countWaterloggingRisk',
    method: 'post',
    data: query,
  });
}
// 预报预警 积水面积趋势
export function selectYuBaoProcessLine(query) {
  return request({
    url: '/business/schemeInfo/selectYuBaoProcessLine',
    method: 'get',
    params: query,
    timeout: 60 * 1000,
  });
}
// 预报预警 降雨过程线
export function getYbRainfallByHourEnum(query) {
  return request({
    url: '/business/rainfallTsdb/getYbRainfallByHourEnum',
    method: 'post',
    data: query,
    timeout: 60 * 1000,
  });
}

// 降雨场次信息 搜索
export function rainfallPage(query) {
  return request({
    url: '/business/preventFlood/rainfallSessionInfo/page',
    method: 'get',
    params: query,
  });
}
// 降雨场次信息 查看报告单
export function analysisRainfallData(id) {
  return request({
    url: '/business/preventFlood/rainfallSessionInfo/analysisRainfallData/' + id,
    method: 'get',
  });
}