Newer
Older
KaiFengPC / src / api / scada / sewage.js
@jimengfei jimengfei on 27 Jun 1 KB updata
  1. import request from '@/utils/request';
  2.  
  3. // 获取污水厂信息管理列表
  4. export function facilitySewagePage(params) {
  5. return request({
  6. url: `/scada/facilitySewage/page`,
  7. method: 'get',
  8. params,
  9. });
  10. }
  11. // 获取污水厂信息管理列表
  12. export function haiMianfacilitySewagePage(params) {
  13. return request({
  14. url: `/business/facilitySewage/list`,
  15. method: 'get',
  16. params,
  17. });
  18. }
  19. export function facilitySewageList(params) {
  20. return request({
  21. url: `/scada/facilitySewage/list`,
  22. method: 'get',
  23. params,
  24. });
  25. }
  26. // 获取污水厂信息管理 新增
  27. export function facilitySewageAdd(data) {
  28. return request({
  29. url: `/scada/facilitySewage/add`,
  30. method: 'post',
  31. data,
  32. });
  33. }
  34.  
  35. // 获取污水厂信息管理 修改
  36. export function facilitySewageEdit(data) {
  37. return request({
  38. url: `/scada/facilitySewage/edit`,
  39. method: 'put',
  40. data,
  41. });
  42. }
  43.  
  44. // 获取污水厂信息管理 删除
  45. export function facilitySewageDelete(ids) {
  46. return request({
  47. url: `/scada/facilitySewage/${ids}`,
  48. method: 'delete',
  49. });
  50. }