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

// 获取泵站信息管理列表
export function facilityPumpPage(params) {
  return request({
    url: `/scada/facilityPump/page`,
    method: 'get',
    params,
  });
}
// 获取泵站信息管理列表
export function facilityPumpList(params) {
  return request({
    url: `/scada/facilityPump/list`,
    method: 'get',
    params,
  });
}
// 获取泵站信息管理 新增
export function facilityPumpAdd(data) {
  return request({
    url: `/scada/facilityPump/add`,
    method: 'post',
    data,
  });
}

// 获取泵站信息管理 修改
export function facilityPumpEdit(data) {
  return request({
    url: `/scada/facilityPump/edit`,
    method: 'put',
    data,
  });
}

// 获取泵站信息管理 删除
export function facilityPumpDelete(ids) {
  return request({
    url: `/scada/facilityPump/${ids}`,
    method: 'delete',
  });
}
// 获取海绵一张图泵站信息
export function oneMapFacilityPumpList(params) {
  return request({
    url: `/business/facilityPump/list`,
    method: 'get',
    params,
  });
}