gjj
2025-02-21 efe41f68868a8926dfc1a6851a492805b56786db
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import { http } from "../utils/http";
export const HomeAPI = {
  getProjectList: (config = {}) => {
    return http.get("/beh/home/getGisProjectList", config);
  },
 
  getProjectInfo: (data, config = {}) => {
    return http.post("/beh/summary/getPrjSummary", data, config);
  },
 
  getWorkerCategoryData: (data, config = {}) => {
    return http.post("/beh/person/workTypeTotal", data, config);
  },
 
  getEquipmentCategoryCount: (data, config = {}) => {
    return http.post("/beh/equipment/total", data, config);
  },
 
  getVideoAreaList: (belong, data, config = {}) => {
    return http.post(`/beh/video/area?belong=${belong}`, data, config);
  },
 
  getEnvPointInfo: () => {
    return http.get("/beh/environment/getPointEnvironmentRealData");
  },
 
  getVideoByAreaId: (data, config = {}) => {
    return http.post("/beh/video", data, config);
  },
 
  getTotalGoingData: () => {
    return http.get("/beh/home/getHomeTotalGoingData");
  },
 
  getProjectTypeSummaryData: () => {
    return http.get("/beh/home/getHomeProjectTypeData");
  },
 
  getTradeCategoriesStatisticsData: () => {
    return http.get("/beh/home/getHomeIndustryCategoryData");
  },
  getVideoSourceList() {
    return http.post("/beh/person/tree");
  }
};