Newer
Older
KaiFengPC / src / api / longoPeration / WaterloggingPoint.js
@zhangdeliang zhangdeliang on 25 Oct 1 KB update
  1. import request from '@/utils/request';
  2. // 市主干道积水点信息
  3. export function waterloggedRoadpage(query) {
  4. return request({
  5. url: '/business/waterloggedRoad/page',
  6. method: 'get',
  7. params: query,
  8. });
  9. }
  10.  
  11. // 新增排水防涝--市主干道积水点信息
  12. export function waterloggedRoadadd(data) {
  13. return request({
  14. url: '/business/waterloggedRoad/add',
  15. method: 'post',
  16. data: data,
  17. });
  18. }
  19.  
  20. // 修改排水防涝--市主干道积水点信息
  21. export function waterloggedRoadedit(data) {
  22. return request({
  23. url: '/business/waterloggedRoad/edit',
  24. method: 'put',
  25. data: data,
  26. });
  27. }
  28.  
  29. // 删除排水防涝--防汛物资
  30. export function waterloggedRoaddelete(id) {
  31. return request({
  32. url: '/business/waterloggedRoad/' + id,
  33. method: 'delete',
  34. });
  35. }
  36.  
  37. // 易涝积水点 分页
  38. export function floodYLPage(query) {
  39. return request({
  40. url: '/business/preventFlood/waterloggingPoint/page',
  41. method: 'get',
  42. params: query,
  43. });
  44. }
  45. // 易涝积水点 新增
  46. export function floodYLAdd(data) {
  47. return request({
  48. url: '/business/preventFlood/waterloggingPoint/add',
  49. method: 'post',
  50. data: data,
  51. });
  52. }
  53. // 易涝积水点 编辑
  54. export function floodYLEdit(data) {
  55. return request({
  56. url: '/business/preventFlood/waterloggingPoint/edit',
  57. method: 'put',
  58. data: data,
  59. });
  60. }
  61. // 易涝积水点 详情
  62. export function floodYLDetail(id) {
  63. return request({
  64. url: '/business/preventFlood/waterloggingPoint/' + id,
  65. method: 'get',
  66. });
  67. }
  68. // 易涝积水点 删除
  69. export function floodYLDelete(id) {
  70. return request({
  71. url: '/business/preventFlood/waterloggingPoint/' + id,
  72. method: 'delete',
  73. });
  74. }