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 getHomeStatistics = params => { return request({ url: '/business/projectInfoNew/getHomeStatistics', method: "get", params }); }; export const getProjectYearByType = type => { return request({ url: `/business/projectInfoNew/getProjectYearByType/${type}`, method: "get" }); }; export const getHomePageInfoByType = type => { return request({ url: `/business/projectInfoNew/getHomePageInfoByType/${type}`, method: "get" }); }; // 根据字典类型查询字典数据信息 export function getDicts(dictType) { return request({ url: '/system/dict/data/type/' + dictType, method: 'get' }) }