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

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

export function selectProjectEchartByYear(year) {
  return request({
    url: `/business/projectBonusNoticeRecord/selectStatisticsBuildUnitNameByYear/${year}`,
    method: 'get',
  });
}
// 首页中搜索项目质量数据
export function selectProjectQualityHomePage(y) {
  return request({
    url: `/business/projectBonusNoticeRecord/selectStatisticsMonthByYear/${y}`,
    method: 'get',
  });
}

// 项目类型发放金额统计
export function selectProjectContractHomePage(y) {
  return request({
    url: `/business/projectBonusNoticeRecord/selectStatisticsProjectTypeByYear/${y}`,
    method: 'get',
  });
}

// 首页中搜索项目巡查数据
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 function projectTypeList(params) {
  return request({
    url: `/business/projectType/list`,
    method: 'get',
    params,
  });
}