import { ScreenResponse, ResponseSame } from "@/api/types/common"; import http from "@/api"; const BASEURL = import.meta.env.VITE_API_URL; /** * @name 可视化大屏 */ //企业资质统计 export const getCompanyAll = () => { return http.get>(BASEURL + `/gov/api/index/enterpriseMainStat`); }; //查询工程分类统计 export const getProjectAll = () => { return http.get>(BASEURL + `/gov/api/index/engineeringTypeStat`); }; //查询所有项目数 export const getProjectNumber = () => { return http.get>(BASEURL + `/gov/api/index/projectStat`); }; //扬尘报警类型统计 export const getFugitiveDustAll = () => { return http.get>(BASEURL + `/gov/api/index/environmentAlarmStat`); }; //实名制信息统计 export const getRealNameSystem = () => { return http.get>(BASEURL + `/gov/api/index/workerStat`); }; //顶部查询工程统计信息 export const getEngineeringAll = () => { return http.get>(BASEURL + `/gov/api/index/engineeringStat`); }; //顶部查询工程统计信息 export const getMapProject = () => { return http.get>(BASEURL + `/gov/api/index/engineeringList`); };