Newer
Older
KaiFengPC / src / api / spongePerformance / prevention.js
@鲁yixuan 鲁yixuan on 20 Aug 2 KB updata
  1. import request from '@/utils/request';
  2. // 获取项目列列表
  3. export function getInfo(params) {
  4. return request({
  5. url: `/sponge/waterloggingRecord/page`,
  6. method: 'get',
  7. params,
  8. });
  9. }
  10. export const projectInfoAdd = data => {
  11. return request({
  12. url: `/sponge/waterloggingRecord/add`,
  13. method: 'post',
  14. data,
  15. });
  16. };
  17.  
  18. export const projectInfoDelete = ids => {
  19. return request({
  20. url: `/sponge/performanceEvaluateItem/${ids}`,
  21. method: 'delete',
  22. });
  23. };
  24. export const projectInfoGet = ids => {
  25. return request({
  26. url: `/sponge/performanceConfigItem/${ids}`,
  27. method: 'get',
  28. });
  29. };
  30.  
  31. export const dynamic_page_data_type = data => {
  32. return request({
  33. url: `/sponge/performanceEvaluate/dynamic_page_data_type`,
  34. method: 'post',
  35. data,
  36. });
  37. };
  38.  
  39. export const projectInfoEdit = data => {
  40. return request({
  41. url: `/sponge/performanceEvaluateItem/batch_edit_item`,
  42. method: 'put',
  43. data,
  44. });
  45. };
  46.  
  47. export function preventionInfo(data) {
  48. return request({
  49. url: `/sponge/preventionRemove/list`,
  50. method: 'post',
  51. data,
  52. });
  53. }
  54.  
  55. // 染黑臭水体 空间位置
  56. export const blackWaterInfoList = params => {
  57. return request({
  58. url: `/sponge/blackWaterInfo/list`,
  59. method: 'get',
  60. params,
  61. });
  62. };
  63.  
  64. export const queryYearStatistic = params => {
  65. return request({
  66. url: `/sponge/blackWaterSampling/queryYearStatistic`,
  67. method: 'get',
  68. params,
  69. });
  70. };
  71.  
  72. // 示范期考核 内涝防治标准模型法
  73. export const moduleFloodResult = params => {
  74. return request({
  75. url: `/sponge/performanceEvaluate/moduleFloodResult`,
  76. method: 'get',
  77. params,
  78. });
  79. };
  80. // 示范期考核 内涝防治标准监测法
  81. export const monitorEvaluateResult = params => {
  82. return request({
  83. url: `/sponge/performanceEvaluate/monitorEvaluateResult`,
  84. method: 'get',
  85. params,
  86. });
  87. };
  88.  
  89. // 示范期考核 内涝积水点消除比例监测法
  90. export const waterLoggingCleanMonitor = params => {
  91. return request({
  92. url: `/sponge/performanceEvaluate/waterLoggingCleanMonitor`,
  93. method: 'get',
  94. params,
  95. });
  96. };
  97. // 示范期考核 内涝积水点消除比例工程法
  98. export const waterLoggingCleanProject = params => {
  99. return request({
  100. url: `/sponge/performanceEvaluate/waterLoggingCleanProject`,
  101. method: 'get',
  102. params,
  103. });
  104. };