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/selectAllProjectTeamList`, params); };