Newer
Older
KaiFengPC / src / api / spongePerformance / naturalWaterArea.js
@鲁yixuan 鲁yixuan on 30 Aug 1 KB updada
  1. import request from '@/utils/request';
  2.  
  3. export const projectInfoDelete = ids => {
  4. return request({
  5. url: `/sponge/performanceEvaluateItem/${ids}`,
  6. method: 'delete',
  7. });
  8. };
  9. export const projectInfoGet = ids => {
  10. return request({
  11. url: `/sponge/performanceConfigItem/${ids}`,
  12. method: 'get',
  13. });
  14. };
  15.  
  16. export const dynamic_page_data_type = data => {
  17. return request({
  18. url: `/sponge/performanceEvaluate/business_page_data_type`,
  19. method: 'post',
  20. data,
  21. });
  22. };
  23.  
  24. export const GetconfigKey = configKey => {
  25. return request({
  26. url: `/system/config/configKey/${configKey}`,
  27. method: 'get',
  28. });
  29. };
  30.  
  31. export const projectInfoEdit = data => {
  32. return request({
  33. url: `/sponge/performanceEvaluate/business_edit`,
  34. method: 'put',
  35. data,
  36. });
  37. };
  38. // 天然水域面积详情列表
  39. export const trsyAreaByYear = params => {
  40. return request({
  41. url: `/sponge/performanceEvaluate/trsyAreaByYear`,
  42. method: 'get',
  43. params,
  44. });
  45. };
  46. // 可透水地面面积积详情列表
  47. export const kstdmAreaByYear = params => {
  48. return request({
  49. url: `/sponge/performanceResultTspumj/list`,
  50. method: 'get',
  51. params,
  52. });
  53. };
  54. // export const kstdmAreaByYear = params => {
  55. // return request({
  56. // url: `/sponge/performanceEvaluate/kstdmAreaByYear`,
  57. // method: 'get',
  58. // params,
  59. // });
  60. // };
  61. // 业务分页搜索海绵考核评估项数据类型
  62. export const yszylyDetailList = params => {
  63. return request({
  64. url: `/sponge/performanceEvaluate/yszylyDetailList`,
  65. method: 'post',
  66. params,
  67. });
  68. };