Newer
Older
KaiFengPC / src / api / newPageline / riverCapacity.js
@zhangdeliang zhangdeliang on 23 May 2 KB 初始化项目
import request from '@/utils/request';

// 查询河道水位调蓄信息
export function riverCapacityList() {
  return request({
    url: '/sponge/riverCapacity/riverCapacityByZ',
    method: 'get',
  });
}

// 查询降雨日历信息
export function rainTimeDay(params) {
  return request({
    url: '/business/rainTimeAnalysis/rainTimeDay',
    method: 'get',
    params,
  });
}

// 查询监测告警
export function moniterRealtimeWarnData() {
  return request({
    url: '/business/preventFlood/oneMap/surveillance/moniterRealtimeWarnData',
    method: 'get',
  });
}

// 管网资产统计
export function getPipelineSumByTexture() {
  return request({
    url: '/business/pipelineInfo/getPipelineSumByTexture',
    method: 'get',
  });
}
// 列表查询排水防涝-人工化验-内河水体人工化验采集
export function artificialInlandRiversWaterList(query) {
  return request({
    url: '/business/artificialInlandRiversWater/list',
    method: 'get',
    params: query,
  });
}

//分页查询排水防涝-人工化验-内河水体人工化验采集
export function artificialInlandRiversWaterPage(query) {
  return request({
    url: '/business/artificialInlandRiversWater/page',
    method: 'get',
    params: query,
  });
}

//新增排水防涝-人工化验-内河水体人工化验采集
export function artificialInlandRiversWaterAdd(data) {
  return request({
    url: `/business/artificialInlandRiversWater/add`,
    method: 'post',
    data: data,
  });
}

//修改排水防涝-人工化验-内河水体人工化验采集
export const waterQualitySampleInfoEdit = data => {
  return request({
    url: `/business/artificialInlandRiversWater/edit`,
    method: 'put',
    data,
  });
};

//删除排水防涝-人工化验-内河水体人工化验采集
export function artificialInlandRiversWaterDelete(ids) {
  return request({
    url: `/business/artificialInlandRiversWater/${ids}`,
    method: 'delete',
  });
}

//海绵城市规划建设管控落实情况
export function partitionCompleteCount(query) {
  return request({
    url: '/business/controlPartition/partitionCompleteCount',
    method: 'get',
    params: query,
  });
}