Newer
Older
KaiFengPC / src / api / longoPeration / BasicRiver.js
@鲁yixuan 鲁yixuan on 14 Aug 946 bytes updata
  1. import request from '@/utils/request';
  2. // 河道信息
  3. export function riverInfoNewpage(query) {
  4. return request({
  5. url: '/business/riverInfoNew/page',
  6. method: 'get',
  7. params: query,
  8. });
  9. }
  10.  
  11. //
  12. export function riverInfoNewlist(query) {
  13. return request({
  14. url: '/business/riverInfoNew/list',
  15. method: 'get',
  16. params: query,
  17. });
  18. }
  19.  
  20. // 新增
  21. export function riverInfoNewadd(data) {
  22. return request({
  23. url: '/business/riverInfoNew/add',
  24. method: 'post',
  25. data: data,
  26. });
  27. }
  28.  
  29. // 修改
  30. export function riverInfoNewedit(data) {
  31. return request({
  32. url: '/business/riverInfoNew/edit',
  33. method: 'put',
  34. data: data,
  35. });
  36. }
  37.  
  38. // 删除
  39. export function riverInfoNewdelete(id) {
  40. return request({
  41. url: '/business/riverInfoNew/' + id,
  42. method: 'delete',
  43. });
  44. }
  45.  
  46. // // 详情接口
  47. export function riverInfoNewID(id) {
  48. return request({
  49. url: '/business/riverInfoNew/' + id,
  50. method: 'get',
  51. });
  52. }