Newer
Older
DH_Apicture / src / api / FloodControlAndDrainage.js
import request from '@/utils/request'

// 检测水位
export function queryRiverWaterLevel(data) {
  return request({
    url: `/business/drainageMap/hhsxLakeInfo/queryRiverWaterLevel`,
    method: "post",
    data,
  });
}

export function rainMapDataListBack(params) {
  return request({
    url: `/business/drainageMap/drainageDispatch/rainMapDataListBack`,
    method: "get",
    params
  });
}
export function rainCalendar(params) {
  return request({
    url: `/business/drainageMap/rainData/rainCalendar`,
    method: "get",
    params
  });
}
export function rainCalendarLately(params) {
  return request({
    url: `/business/drainageMap/rainData/rainCalendarLately`,
    method: "get",
    params
  });
}

export function rainMapDataBack(params) {
  return request({
    url: `/business/drainageMap/drainageDispatch/rainMapDataBack`,
    method: "get",
    params
  });
}
// 人员调度
export function personnelSchedulingInfoList(params) {
  return request({
    url: `/business/drainageMap/personnelSchedulingInfo/list`,
    method: "get",
    params
  });
}
// 物资调度
export function schedulingInfoList(params) {
  return request({
    url: `/business/drainageMap/schedulingInfo/list`,
    method: "get",
    params
  });
}
export function managementWarehouseGood(params) {
  return request({
    url: `/business/drainageMap/managementWarehouseGood/list`,
    method: "get",
    params
  });
}
// 
export function siteMonitorwaterLevelBack(params) {
  return request({
    url: `/business/drainageMap/siteMonitor/waterLevelBack`,
    method: "get",
    params
  });
}
// 
export function selectPumpMonitorListHistory(params) {
  return request({
    url: `/business/drainageMap/facilityPump/selectPumpMonitorListHistory`,
    method: "get",
    params
  });
}
// 
export function getFxLogList(params) {
  return request({
    url: `/business/drainageMap/drainageDispatch/getFxLogList`,
    method: "get",
    params
  });
}
// 
export function getBZFxLogList(params) {
  return request({
    url: `/business/drainageMap/drainageDispatch/getBZFxLogList`,
    method: "get",
    params
  });
}
// 
export function warnData(params) {
  return request({
    url: `/business/drainageMap/drainageDispatch/warnData`,
    method: "get",
    params
  });
}
// 
export function drainageFacilityDfxgxd(data) {
  return request({
    url: `/business/drainageMap/drainageFacilityDfxgxd/list`,
    method: "post",
    data
  });
}
// 预警建议
export function getResponseRecommend(params){
  return request({
    url:'/business/drainageDispatch/getResponseRecommend',
    method: 'get',
    params
  })
}
// 预警列表
export function psWarningReleasePage(params){
  return request({
    url:'/business/emergencyWarningRelease/page',
    method: 'get',
    params
  })
}
// 预警新增
export function psWarningReleaseSave(data){
  return request({
    url:'/business/emergencyWarningRelease/save',
    method: 'post',
    data
  })
}
// 预警发布
export function emergencyWarningReleasePublish(data){
  return request({
    url:'/business/emergencyWarningRelease/publish',
    method: 'post',
    data
  })
}
// 预警解除
export function emergencyWarningReleaseRelease(data){
  return request({
    url:'/business/emergencyWarningRelease/release',
    method: 'post',
    data
  })
}
// 预警说明
export function psWarningIllustrate(params){
  return request({
    url:'/business/informationPlan/plan-list',
    method: 'get',
    params
  })
}
// 监测预警 ``````````````````````````
//  监测预警 顶部数量
export function drainageDispatchmonitorCount(params){
  return request({
    url:'/business/drainageDispatch/monitorCount',
    method: 'get',
    params
  })
}
// 监测数据
export function drainageDispatchMonitorData(params){
  return request({
    url:'/business/drainageDispatch/monitorData',
    method: 'get',
    params
  })
}
// 监测告警
export function drainageDispatchWarnData(params){
  return request({
    url:'/business/drainageDispatch/warnData',
    method: 'get',
    params
  })
}

// 排涝风险区域
export function drainageDispatchDrainageRiskAreaCount(params){
  return request({
    url:'/business/drainageDispatch/drainageRiskAreaCount',
    method: 'get',
    params
  })
}
// 预案分析
export function drainageDispatchGetPlanAnalysis(params){
  return request({
    url:'/business/drainageDispatch/getPlanAnalysis',
    method: 'get',
    params
  })
}
// 防汛检查
export function drainageDispatchGetCheckCount(params){
  return request({
    url:'/business/drainageDispatch/getCheckCount',
    method: 'get',
    params
  })
}
// 值班统计
export function drainageDispatchGetDutyCount(params){
  return request({
    url:'/business/drainageDispatch/getDutyCount',
    method: 'get',
    params
  })
}
// 今日值班人员
export function drainageDispatchGetFbTodayDutyUserShift(params){
  return request({
    url:'/business/drainageDispatch/getFbTodayDutyUserShift',
    method: 'get',
    params
  })
}
// 排涝值守统计
export function drainageDispatchGetWatchCount(params){
  return request({
    url:'/business/drainageDispatch/getWatchCount',
    method: 'get',
    params
  })
}
// 降雨预报
export function dataSiteRelationRainTrend(params){
  return request({
    url:'/business/dataSiteRelation/rainTrend',
    method: 'get',
    params
  })
}
// 当前预警信息
export function getRecommendLevel(data){
  return request({
    url:'/business/emergencyWarningRelease/getRecommendLevel',
    method: 'get',
    data
  })
}
// 查询基础数据-水系汇水分区列表
export function listwaterRegionInfo(query) {
  return request({
    url: '/business/waterRegionInfo/list',
    method: 'get',
    params: query,
  });
}
// 查询点位详情
export function getBaseDetail(query) {
  return request({
    url: '/business/dataSiteRelation/getBaseDetail',
    method: 'get',
    params: query,
  });
}
// 防汛检查
export function streetFloodList(data){
  return request({
    url:'/business/drainageMap/streetFlood/list',
    method: 'get',
    data
  })
}
// 值守检查
export function watchAreaList(data){
  return request({
    url:'/business/drainageMap/watchArea/list',
    method: 'get',
    data
  })
}
// 排渍检查
export function watchAreaSortingScheduling(params){
  return request({
    url:'/business/drainageMap/watchArea/SortingScheduling',
    method: 'get',
    params
  })
}
// 排渍明细
export function watchAreaCheckPicture(params){
  return request({
    url:'/business/drainageMap/watchArea/checkPicture',
    method: 'get',
    params
  })
}
// 值守明细
export function watchAreaDutyPersonnel(params){
  return request({
    url:'/business/drainageMap/watchArea/dutyPersonnel',
    method: 'get',
    params
  })
}
// 泵站调度
export function watchAreaDutyPumpScheduling(params){
  return request({
    url:'/business/drainageMap/watchArea/pumpScheduling',
    method: 'get',
    params
  })
}
// 下发泵站调度
export function dispatchOutbound(data){
  return request({
    url:'/business/drainageMap/dispatch/outbound',
    method: 'post',
    data
  })
}
// 降雨分布
export function monitorUnitRainfallDistributionGetRainMap(params) {
  return request({
    url: '/business/monitorUnitRainfallDistribution/getRainMap',
    method: 'get',
    params,
  });
}
// 降雨分布数显
export function monitorUnitRainfallDistributionGetRainColor(params) {
  return request({
    url: '/business/monitorUnitRainfallDistribution/getRainColor',
    method: 'get',
    params,
  });
}
// 渍水点详情
export function waterloggingPointInfo(id){
  return request({
    url: `/business/waterloggingPointInfo/${id}`,
    method: 'get',
  })
}
// 泵站工情详情
export function rainWaterPumpStationInfo(id){
  return request({
    url: `/business/rainWaterPumpStationInfo/${id}`,
    method: 'get',
  })
}
// 河湖详情
export function lakeInfoList(query) {
  return request({
    url: '/business/lakeInfo/list',
    method: 'get',
    params: query,
  });
}
// 查询基础数据-水系汇水分区详情
export function waterRegionInfo(id) {
  return request({
    url: `/business/waterRegionInfo/${id}`,
    method: 'get',
  });
}
// 查询基础数据-水系汇水分区详情
export function lakeInfoGetWaterRegion(query) {
  return request({
    url: `/business/lakeInfo/getWaterRegion`,
    method: 'get',
    params: query,
  });
}
// 查询河湖水情 有哪些泵站
export function rainWaterPumpStationInfoList(query) {
  return request({
    url: '/business/rainWaterPumpStationInfo/list',
    method: 'get',
    params: query,
  });
}
// 查询河湖水情 有哪些水闸
export function waterGateInfoList(query) {
  return request({
    url: '/business/waterGateInfo/list',
    method: 'get',
    params: query,
  });
}
// 查询河湖水情 有哪些排口
export function outletInfoList(query) {
  return request({
    url: '/business/outletInfo/list',
    method: 'get',
    params: query,
  });
}
// 监测点监测数据
export function siteHistoryMonitorDataAnalysis(query) {
  return request({
    url: '/business/siteHistoryMonitor/dataAnalysis',
    method: 'get',
    params: query,
  });
}
// ``````````EDN`````````````````````