From a3e27f5cab583debe11a9c62d8cc0115783b0791 Mon Sep 17 00:00:00 2001
From: Gary Gu <garygu@Garydebijibendiannao.local>
Date: Wed, 28 May 2025 16:59:43 +0800
Subject: [PATCH] fix: 优化实况UI放大缩小

---
 src/api/home.js |   91 ++++++++++++++++++++++++++++++---------------
 1 files changed, 61 insertions(+), 30 deletions(-)

diff --git a/src/api/home.js b/src/api/home.js
index ace0a96..46af30e 100644
--- a/src/api/home.js
+++ b/src/api/home.js
@@ -1,45 +1,76 @@
+/*
+ * @Author: gjj Ganjj@probim.com.cn
+ * @Date: 2025-02-18 16:45:49
+ * @LastEditors: gjj Ganjj@probim.com.cn
+ * @LastEditTime: 2025-02-26 14:47:20
+ * @FilePath: \北京交通大学\src\api\home.js
+ * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
+ */
 import { http } from "../utils/http";
 export const HomeAPI = {
-  getProjectList: (config = {}) => {
-    return http.get("/beh/home/getGisProjectList", config);
+  GetProject: (data) => {
+    return http.get("/api/User/Project/GetProject", {
+      params: data,
+    });
   },
 
-  getProjectInfo: (data, config = {}) => {
-    return http.post("/beh/summary/getPrjSummary", data, config);
+  WhLogin: (data, config = {}) => {
+    return http.post("/api/User/Home/WhLogin", data, config);
   },
 
-  getWorkerCategoryData: (data, config = {}) => {
-    return http.post("/beh/person/workTypeTotal", data, config);
+  GetParticipatingList: (data) => {
+    return http.get("/api/User/Home/GetParticipatingList", {
+      params: data,
+    });
   },
-
-  getEquipmentCategoryCount: (data, config = {}) => {
-    return http.post("/beh/equipment/total", data, config);
+  GetParticipatingNumber: (data) => {
+    return http.get("/api/User/Home/GetParticipatingNumber", {
+      params: data,
+    });
   },
-
-  getVideoAreaList: (belong, data, config = {}) => {
-    return http.post(`/beh/video/area?belong=${belong}`, data, config);
+  GetProjectPanoramaList: (data) => {
+    return http.get("/api/Panorama/PanoramaFile/GetProjectPanoramaList", {
+      params: data,
+    });
   },
-
-  getEnvPointInfo: () => {
-    return http.get("/beh/environment/getPointEnvironmentRealData");
+  GetScenesByPbGuid: (data) => {
+    return http.get("/api/Panorama/PanoramaFile/GetScenesByPbGuid", {
+      params: data,
+    });
   },
-
-  getVideoByAreaId: (data, config = {}) => {
-    return http.post("/beh/video", data, config);
+  GetBindSelect: (data) => {
+    return http.get("/api/jsc/JSCManage/GetBindSelect", {
+      params: data,
+    });
   },
-
-  getTotalGoingData: () => {
-    return http.get("/beh/home/getHomeTotalGoingData");
+  GetDeviceType: (data) => {
+    return http.get("/api/jsc/JSCManage/GetDeviceType", {
+      params: data,
+    });
   },
-
-  getProjectTypeSummaryData: () => {
-    return http.get("/beh/home/getHomeProjectTypeData");
+  GetJSCDeviceState: (data) => {
+    return http.get("/api/jsc/JSCManage/GetJSCDeviceState", {
+      params: data,
+    });
   },
-
-  getTradeCategoriesStatisticsData: () => {
-    return http.get("/beh/home/getHomeIndustryCategoryData");
+  GetJSCEnvMonitor: (data) => {
+    return http.get("/api/jsc/JSCManage/GetJSCEnvMonitor", {
+      params: data,
+    });
   },
-  getVideoSourceList() {
-    return http.post("/beh/person/tree");
-  }
+  GetJSCProgress: (data) => {
+    return http.get("/api/jsc/JSCManage/GetJSCProgress", {
+      params: data,
+    });
+  },
+  GetJSCProjectMonitor: (data) => {
+    return http.get("/api/jsc/JSCManage/GetJSCProjectMonitor", {
+      params: data,
+    });
+  },
+  GetJSCUserManage: (data) => {
+    return http.get("/api/jsc/JSCManage/GetJSCUserManage", {
+      params: data,
+    });
+  },
 };

--
Gitblit v1.9.3