From f373e0c0797e1800bf066fdfbb748bb9242230f6 Mon Sep 17 00:00:00 2001
From: wangjuncheng <1>
Date: 星期二, 08 七月 2025 17:46:02 +0800
Subject: [PATCH] 泥位计

---
 src/api/hpApi.js |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/src/api/hpApi.js b/src/api/hpApi.js
index 06b36b9..e3df69f 100644
--- a/src/api/hpApi.js
+++ b/src/api/hpApi.js
@@ -146,7 +146,20 @@
   return response.data;
 }
 
-// 鏌ヨ瀛欒儭娌熺洃娴嬭澶�
+// 鎺ュ彛澶氬啓鍑犱釜搴旇鏃犲Θ鍚�
+export async function getDeviceNWJ(data, townCode) {
+  const response = await axios.post("/hp/deviceInfo/getData", {
+    filterObject: {
+      "dictDeviceTypeList": [data],
+      "townCodeList": [townCode],
+      "year": 2025,
+    },
+    "pageSize": 10000
+  });
+  return response.data;
+}
+
+// 鏌ヨ瀛欒儭娌熺洃娴嬭澶囷紝dictCommunicationType涓烘煡璇㈠瓩鑳℃矡鐨勯洦閲忚
 export async function getDeviceInfoSHG(data) {
   const response = await axios.post("/hp/deviceInfo/getData", {
     filterObject: {
@@ -238,7 +251,7 @@
 export async function getSafePoint(data) {
   const response = await axios.get("/hp/safeHavenLocation/getDataSelect", {
     params: {
-      divisionId: data
+      divisionId: 110116110218
     }
   });
   return response.data;

--
Gitblit v1.9.3