Newer
Older
KaiFengPC / src / api / scada / sewage.js
@zhangdeliang zhangdeliang on 23 May 886 bytes 初始化项目
import request from '@/utils/request';

// 获取污水厂信息管理列表
export function facilitySewagePage(params) {
  return request({
    url: `/scada/facilitySewage/page`,
    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',
  });
}