Newer
Older
KaiFengPC / src / api / zongHeDD.js
@zhangdeliang zhangdeliang 11 days ago 1 KB update
import request from '@/utils/request';

//降雨日历
export function rainTimeDay(params) {
  return request({
    url: `/business/preventFlood/rainfallSessionInfo/queryRainCalendar`,
    method: 'get',
    params,
  });
}

//通过日纬度查询单个雨量站
export function querySationdateByDay(params) {
  return request({
    url: '/business/preventFlood/rainfallSessionMonitor/querySationdateByDay',
    method: 'post',
    data: params,
  });
}

//获取所有雨量站的降雨总和对比曲线
export function queryRainStationCharts(params) {
  return request({
    url: '/business/preventFlood/rainfallSessionMonitor/queryStationDayCharts',
    method: 'post',
    data: params,
  });
}

//通过月的纬度查询多个雨量站降雨场次数据
export function querySationdateByMonth(params) {
  return request({
    url: '/business/preventFlood/rainfallSessionMonitor/querySationdateByMonth',
    method: 'post',
    data: params,
  });
}
//切换月纬度接口的时间查询数据
export function changeMonthDate(params) {
  return request({
    url: '/business/preventFlood/rainfallSessionMonitor/changeMonthDate',
    method: 'post',
    data: params,
  });
}

//通过年的纬度查询多个雨量站数据
export function querySationdateByYear(params) {
  return request({
    url: '/business/preventFlood/rainfallSessionMonitor/querySationdateByYear',
    method: 'post',
    data: params,
  });
}
//切换年纬度接口的时间查询数据
export function changeYearDate(params) {
  return request({
    url: '/business/preventFlood/rainfallSessionMonitor/changeYearDate',
    method: 'post',
    data: params,
  });
}