Newer
Older
KaiFengPC / src / api / spongePerformance / naturalWaterArea.js
@鲁yixuan 鲁yixuan on 19 Aug 1 KB updata
import request from '@/utils/request';

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/business_page_data_type`,
    method: 'post',
    data,
  });
};

export const GetconfigKey = configKey => {
  return request({
    url: `/system/config/configKey/${configKey}`,
    method: 'get',
  });
};

export const projectInfoEdit = data => {
  return request({
    url: `/sponge/performanceEvaluate/business_edit`,
    method: 'put',
    data,
  });
};
// 天然水域面积详情列表
export const trsyAreaByYear = params => {
  return request({
    url: `/sponge/performanceEvaluate/trsyAreaByYear`,
    method: 'get',
    params,
  });
};
// 可透水地面面积积详情列表
export const kstdmAreaByYear = params => {
  return request({
    url: `/sponge/performanceEvaluate/kstdmAreaByYear`,
    method: 'get',
    params,
  });
};
// 业务分页搜索海绵考核评估项数据类型
export const yszylyDetailList = params => {
  return request({
    url: `/sponge/performanceEvaluate/yszylyDetailList`,
    method: 'post',
    params,
  });
};