Newer
Older
KaiFengPC / src / api / spongePerformance / home.js
@鲁yixuan 鲁yixuan on 19 Aug 1 KB updata
  1. import request from '@/utils/request';
  2. // 获取项目列列表
  3. export function selectProjectCount(params) {
  4. return request({
  5. url: `/business/homePage/selectProjectCount`,
  6. method: 'get',
  7. params,
  8. });
  9. }
  10.  
  11. export function selectProjectMoneyTotal(params) {
  12. return request({
  13. url: `/business/homePage/selectProjectMoneyTotal`,
  14. method: 'get',
  15. params,
  16. });
  17. }
  18.  
  19. export function selectProjectEchartByYear(params) {
  20. return request({
  21. url: `/business/homePage/selectProjectEchartByYear`,
  22. method: 'get',
  23. params,
  24. });
  25. }
  26. // 绩效评估总览中搜索项目质量数据
  27. export function selectProjectQualityHomePage(params) {
  28. return request({
  29. url: `/business/homePage/selectProjectQualityHomePage`,
  30. method: 'get',
  31. params,
  32. });
  33. }
  34.  
  35. // 绩效评估总览中搜索项目合同数据
  36. export function selectProjectContractHomePage(params) {
  37. return request({
  38. url: `/business/homePage/selectProjectContractHomePage`,
  39. method: 'get',
  40. params,
  41. });
  42. }
  43.  
  44. // 绩效评估总览中搜索项目巡查数据
  45. export function selectProjectPatrolHomePage(params) {
  46. return request({
  47. url: `/business/homePage/selectProjectPatrolHomePage`,
  48. method: 'get',
  49. params,
  50. });
  51. }
  52. export const projectInfoAdd = data => {
  53. return request({
  54. url: `/business/projectProbablyBudget/add`,
  55. method: 'post',
  56. data,
  57. });
  58. };
  59.  
  60. export const three_year_statics = params => {
  61. return request({
  62. url: `/sponge/performanceEvaluate/three_year_statics`,
  63. method: 'get',
  64. params,
  65. });
  66. };
  67.  
  68. export const performanceEvaluateItem = year => {
  69. return request({
  70. url: `/sponge/performanceEvaluateItem/statistic/${year}`,
  71. method: 'get',
  72. });
  73. };