Newer
Older
KaiFengPC / src / api / newPageline / riverCapacity.js
@鲁yixuan 鲁yixuan on 19 Aug 2 KB updata
  1. import request from '@/utils/request';
  2.  
  3. // 搜索河道水位调蓄信息
  4. export function riverCapacityList() {
  5. return request({
  6. url: '/sponge/riverCapacity/riverCapacityByZ',
  7. method: 'get',
  8. });
  9. }
  10.  
  11. // 搜索降雨日历信息
  12. export function rainTimeDay(params) {
  13. return request({
  14. url: '/business/rainTimeAnalysis/rainTimeDay',
  15. method: 'get',
  16. params,
  17. });
  18. }
  19.  
  20. // 搜索监测告警
  21. export function moniterRealtimeWarnData() {
  22. return request({
  23. url: '/business/preventFlood/oneMap/surveillance/moniterRealtimeWarnData',
  24. method: 'get',
  25. });
  26. }
  27.  
  28. // 管网资产统计
  29. export function getPipelineSumByTexture() {
  30. return request({
  31. url: '/business/pipelineInfo/getPipelineSumByTexture',
  32. method: 'get',
  33. });
  34. }
  35. // 列表搜索排水防涝-人工化验-内河水体人工化验采集
  36. export function artificialInlandRiversWaterList(query) {
  37. return request({
  38. url: '/business/artificialInlandRiversWater/list',
  39. method: 'get',
  40. params: query,
  41. });
  42. }
  43.  
  44. //分页搜索排水防涝-人工化验-内河水体人工化验采集
  45. export function artificialInlandRiversWaterPage(query) {
  46. return request({
  47. url: '/business/artificialInlandRiversWater/page',
  48. method: 'get',
  49. params: query,
  50. });
  51. }
  52.  
  53. //新增排水防涝-人工化验-内河水体人工化验采集
  54. export function artificialInlandRiversWaterAdd(data) {
  55. return request({
  56. url: `/business/artificialInlandRiversWater/add`,
  57. method: 'post',
  58. data: data,
  59. });
  60. }
  61.  
  62. //修改排水防涝-人工化验-内河水体人工化验采集
  63. export const waterQualitySampleInfoEdit = data => {
  64. return request({
  65. url: `/business/artificialInlandRiversWater/edit`,
  66. method: 'put',
  67. data,
  68. });
  69. };
  70.  
  71. //删除排水防涝-人工化验-内河水体人工化验采集
  72. export function artificialInlandRiversWaterDelete(ids) {
  73. return request({
  74. url: `/business/artificialInlandRiversWater/${ids}`,
  75. method: 'delete',
  76. });
  77. }
  78.  
  79. //海绵城市规划建设管控落实情况
  80. export function partitionCompleteCount(query) {
  81. return request({
  82. url: '/business/controlPartition/partitionCompleteCount',
  83. method: 'get',
  84. params: query,
  85. });
  86. }
  87.  
  88. // 搜索一张图降雨日历
  89. export function rainRainDaylist(query) {
  90. return request({
  91. url: '/business/rainTimeAnalysis/rainDaylist',
  92. method: 'get',
  93. params: query,
  94. });
  95. }
  96.  
  97. export function rainRainlist(query) {
  98. return request({
  99. url: '/business/rainTimeAnalysis/list',
  100. method: 'get',
  101. params: query,
  102. });
  103. }