Newer
Older
KaiFengPC / src / api / scada / sewage.js
@jimengfei jimengfei on 27 Jun 1 KB updata
import request from '@/utils/request';

// 获取污水厂信息管理列表
export function facilitySewagePage(params) {
  return request({
    url: `/scada/facilitySewage/page`,
    method: 'get',
    params,
  });
}
// 获取污水厂信息管理列表
export function haiMianfacilitySewagePage(params) {
  return request({
    url: `/business/facilitySewage/list`,
    method: 'get',
    params,
  });
}
export function facilitySewageList(params) {
  return request({
    url: `/scada/facilitySewage/list`,
    method: 'get',
    params,
  });
}
// 获取污水厂信息管理 新增
export function facilitySewageAdd(data) {
  return request({
    url: `/scada/facilitySewage/add`,
    method: 'post',
    data,
  });
}

// 获取污水厂信息管理 修改
export function facilitySewageEdit(data) {
  return request({
    url: `/scada/facilitySewage/edit`,
    method: 'put',
    data,
  });
}

// 获取污水厂信息管理 删除
export function facilitySewageDelete(ids) {
  return request({
    url: `/scada/facilitySewage/${ids}`,
    method: 'delete',
  });
}