Newer
Older
KaiFengPC / src / api / longoPeration / RiverSection.js
@zhangdeliang zhangdeliang on 28 Aug 1 KB udpate
import request from '@/utils/request';
// 河道信息-搜索
export function riverSectionpage(query) {
  return request({
    url: '/business/riverSection/page',
    method: 'get',
    params: query,
  });
}

// 河道信息-新增
export function riverSectionadd(data) {
  return request({
    url: '/business/riverSection/add',
    method: 'post',
    data: data,
  });
}

// 河道信息-修改
export function riverSectionedit(data) {
  return request({
    url: '/business/riverSection/edit',
    method: 'put',
    data: data,
  });
}

// 河道信息-删除
export function riverSectiondelete(id) {
  return request({
    url: '/business/riverSection/' + id,
    method: 'delete',
  });
}

// 河道信息-详情接口
export function riverSectionID(id) {
  return request({
    url: '/business/riverSection/' + id,
    method: 'get',
  });
}

// 供水厂-搜索
export function waterCompPage(query) {
  return request({
    url: '/scada/waterPlantInfo/page',
    method: 'get',
    params: query,
  });
}

// 供水厂-新增
export function waterCompAdd(data) {
  return request({
    url: '/scada/waterPlantInfo/add',
    method: 'post',
    data: data,
  });
}

// 供水厂-修改
export function waterCompEdit(data) {
  return request({
    url: '/scada/waterPlantInfo/edit',
    method: 'put',
    data: data,
  });
}

// 供水厂-删除
export function waterCompDelete(id) {
  return request({
    url: '/scada/waterPlantInfo/' + id,
    method: 'delete',
  });
}