Newer
Older
KaiFengPC / src / api / spongePerformance / naturalWaterArea.js
@zhangdeliang zhangdeliang on 23 May 1 KB 初始化项目
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,
  });
};