import http from "@/api"; const BASEURL = import.meta.env.VITE_API_URL; //查询人员人数 export const getPersonTypeAndEduStatisticsApi = (params: {}) => { return http.post(BASEURL + `/xmgl/workerInfo/selectPersonTypeAndEduStatistics`, params); }; //查询今日作业人员趋势 export const getQueryTodayAttendanceTrendApi = (params: {}) => { return http.get(BASEURL + `/xmgl/workerAttendance/queryTodayAttendanceTrend`, params); }; //查询出勤分析 export const getQueryTodayOfTheLastWeekApi = (params: {}) => { return http.get(BASEURL + `/xmgl/workerAttendance/queryAttendanceTrendOfTheLastWeek`, params); }; //查询工种分析 export const selectProjectWorkerTypeTotalListApi = (params: {}) => { return http.post(BASEURL + `/xmgl/workerInfo/selectProjectWorkerTypeTotalList`, params); }; //查询劳务班组出勤分析 export const getEnterpriseInfoApi = (params: {}) => { return http.post(BASEURL + `/xmgl/enterpriseInfo/page`, params); }; //查询劳务班组人员分布 export const getWorkerInfoApi = (params: {}) => { return http.post(BASEURL + `/xmgl/workerInfo/selectWorkerTeamStatistics`, params); }; // 右中 获取部门管理人员出勤分析 export const getworkerAttendanceTrendApi = (params: {}) => { return http.get(BASEURL + `/xmgl/workerAttendance/queryAttendanceOfEachCompany`, params); }; // 查询右下 获取按分包单位分析 export const getComapnyWorkTotalListApi = (params: {}) => { return http.post(BASEURL + `/xmgl/workerInfo/selectProjectComapnyWorkTotalList`, params); };