Newer
Older
KaiFengPC / src / api / sponeScreen / home.js
@鲁yixuan 鲁yixuan on 19 Aug 1 KB updata
import request from '@/utils/request';
// 获取项目列列表
export function selectProjectCount(params) {
  return request({
    url: `/business/homePage/selectProjectCount`,
    method: 'get',
    params,
  });
}

export function selectProjectMoneyTotal(params) {
  return request({
    url: `/business/homePage/selectProjectMoneyTotal`,
    method: 'get',
    params,
  });
}

export function selectProjectEchartByYear(params) {
  return request({
    url: `/business/homePage/selectProjectEchartByYear`,
    method: 'get',
    params,
  });
}
// 绩效评估总览中搜索项目质量数据
export function selectProjectQualityHomePage(params) {
  return request({
    url: `/business/homePage/selectProjectQualityHomePage`,
    method: 'get',
    params,
  });
}

// 绩效评估总览中搜索项目合同数据
export function selectProjectContractHomePage(params) {
  return request({
    url: `/business/homePage/selectProjectContractHomePage`,
    method: 'get',
    params,
  });
}

// 绩效评估总览中搜索项目巡查数据
export function selectProjectPatrolHomePage(params) {
  return request({
    url: `/business/homePage/selectProjectPatrolHomePage`,
    method: 'get',
    params,
  });
}
export const projectInfoAdd = data => {
  return request({
    url: `/business/projectProbablyBudget/add`,
    method: 'post',
    data,
  });
};

export const three_year_statics = params => {
  return request({
    url: `/sponge/performanceEvaluate/three_year_statics`,
    method: 'get',
    params,
  });
};

export const performanceEvaluateItem = year => {
  return request({
    url: `/sponge/performanceEvaluateItem/statistic/${year}`,
    method: 'get',
  });
};