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 }) }