Newer
Older
KaiFengPC / src / api / zongHeDD.js
@zhangdeliang zhangdeliang 26 days ago 1 KB update
  1. import request from '@/utils/request';
  2.  
  3. //降雨日历
  4. export function rainTimeDay(params) {
  5. return request({
  6. url: `/business/preventFlood/rainfallSessionInfo/queryRainCalendar`,
  7. method: 'get',
  8. params,
  9. });
  10. }
  11.  
  12. //通过日纬度查询单个雨量站
  13. export function querySationdateByDay(params) {
  14. return request({
  15. url: '/business/preventFlood/rainfallSessionMonitor/querySationdateByDay',
  16. method: 'post',
  17. data: params,
  18. });
  19. }
  20.  
  21. //获取所有雨量站的降雨总和对比曲线
  22. export function queryRainStationCharts(params) {
  23. return request({
  24. url: '/business/preventFlood/rainfallSessionMonitor/queryStationDayCharts',
  25. method: 'post',
  26. data: params,
  27. });
  28. }
  29.  
  30. //通过月的纬度查询多个雨量站降雨场次数据
  31. export function querySationdateByMonth(params) {
  32. return request({
  33. url: '/business/preventFlood/rainfallSessionMonitor/querySationdateByMonth',
  34. method: 'post',
  35. data: params,
  36. });
  37. }
  38. //切换月纬度接口的时间查询数据
  39. export function changeMonthDate(params) {
  40. return request({
  41. url: '/business/preventFlood/rainfallSessionMonitor/changeMonthDate',
  42. method: 'post',
  43. data: params,
  44. });
  45. }
  46.  
  47. //通过年的纬度查询多个雨量站数据
  48. export function querySationdateByYear(params) {
  49. return request({
  50. url: '/business/preventFlood/rainfallSessionMonitor/querySationdateByYear',
  51. method: 'post',
  52. data: params,
  53. });
  54. }
  55. //切换年纬度接口的时间查询数据
  56. export function changeYearDate(params) {
  57. return request({
  58. url: '/business/preventFlood/rainfallSessionMonitor/changeYearDate',
  59. method: 'post',
  60. data: params,
  61. });
  62. }