From 50ee7232f3c98fe24a1f2e31dba9508cfec14887 Mon Sep 17 00:00:00 2001
From: gjj <Ganjj@probim.com.cn>
Date: Fri, 21 Feb 2025 17:35:39 +0800
Subject: [PATCH] 模型预览

---
 src/api/home.js |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 45 insertions(+), 0 deletions(-)

diff --git a/src/api/home.js b/src/api/home.js
new file mode 100644
index 0000000..ace0a96
--- /dev/null
+++ b/src/api/home.js
@@ -0,0 +1,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");
+  }
+};

--
Gitblit v1.9.3