Newer
Older
KaiFengPC / src / api / spongePerformance / projectCompletionStatus.js
@zhangdeliang zhangdeliang on 23 May 703 bytes 初始化项目
  1. import request from '@/utils/request';
  2. // 获取项目列列表
  3. export function selectProjectEcharts (params) {
  4. return request({
  5. url: `/business/projectInfoNew/selectProjectEcharts`,
  6. method: 'get',
  7. params,
  8. });
  9. }
  10. export const projectInfoAdd = data => {
  11. return request({
  12. url: `/sponge/waterloggingRecord/add`,
  13. method: 'post',
  14. data,
  15. });
  16. };
  17.  
  18. export const waterloggingRelationoDelete = ids => {
  19. return request({
  20. url: `/waterloggingRelation/${ids}`,
  21. method: 'delete',
  22. });
  23. };
  24. // 项目完成情况考核
  25. export function projectCompleteStatusByYear () {
  26. return request({
  27. url: `/sponge/performanceEvaluate/projectCompleteStatusByYear`,
  28. method: 'get',
  29. });
  30. }