Newer
Older
KaiFengPC / src / api / scada / pumpStationInformation.js
@zhangdeliang zhangdeliang on 23 May 888 bytes 初始化项目
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',
  });
}