Newer
Older
KaiFengPC / src / api / spongePerformance / prevention.js
@鲁yixuan 鲁yixuan on 16 Aug 2 KB updata
import request from '@/utils/request';
// 获取项目列列表
export function getInfo(params) {
  return request({
    url: `/sponge/waterloggingRecord/page`,
    method: 'get',
    params,
  });
}
export const projectInfoAdd = data => {
  return request({
    url: `/sponge/waterloggingRecord/add`,
    method: 'post',
    data,
  });
};

export const projectInfoDelete = ids => {
  return request({
    url: `/sponge/performanceEvaluateItem/${ids}`,
    method: 'delete',
  });
};
export const projectInfoGet = ids => {
  return request({
    url: `/sponge/performanceConfigItem/${ids}`,
    method: 'get',
  });
};

export const dynamic_page_data_type = data => {
  return request({
    url: `/sponge/performanceEvaluate/dynamic_page_data_type`,
    method: 'post',
    data,
  });
};

export const projectInfoEdit = data => {
  return request({
    url: `/sponge/performanceEvaluateItem/batch_edit_item`,
    method: 'put',
    data,
  });
};

export function preventionInfo(data) {
  return request({
    url: `/sponge/preventionRemove/list`,
    method: 'post',
    data,
  });
}

// 染黑臭水体 空间位置
export const blackWaterInfoList = params => {
  return request({
    url: `/sponge/blackWaterInfo/list`,
    method: 'get',
    params,
  });
};

// 示范期考核 内涝防治标准模型法
export const moduleFloodResult = params => {
  return request({
    url: `/sponge/performanceEvaluate/moduleFloodResult`,
    method: 'get',
    params,
  });
};
// 示范期考核 内涝防治标准监测法
export const monitorEvaluateResult = params => {
  return request({
    url: `/sponge/performanceEvaluate/monitorEvaluateResult`,
    method: 'get',
    params,
  });
};

// 示范期考核 内涝积水点消除比例监测法
export const waterLoggingCleanMonitor = params => {
  return request({
    url: `/sponge/performanceEvaluate/waterLoggingCleanMonitor`,
    method: 'get',
    params,
  });
};
// 示范期考核 内涝积水点消除比例工程法
export const waterLoggingCleanProject = params => {
  return request({
    url: `/sponge/performanceEvaluate/waterLoggingCleanProject`,
    method: 'get',
    params,
  });
};