From a950e27408790e4a64e0e425a48ca4a542f6d06d Mon Sep 17 00:00:00 2001
From: guonan <guonan201020@163.com>
Date: 星期一, 16 六月 2025 17:39:18 +0800
Subject: [PATCH] 提交乡镇监测设备数量

---
 src/api/hpApi.js |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/api/hpApi.js b/src/api/hpApi.js
index 9d0e86f..6be05d2 100644
--- a/src/api/hpApi.js
+++ b/src/api/hpApi.js
@@ -85,7 +85,7 @@
   return response.data;
 }
 
-// 鎸夌収琛屾斂鍖篶ode鏌ヨ涔¢晣code
+// 鎸夌収琛屾斂鍖篶ode鏌ヨ涔¢晣code(姝ゆ帴鍙e寘鍚殣鎮g偣鏁伴噺鏌ヨ)
 export async function getAeraTownCode(data) {
   const response = await axios.post("/hp/sinoDzHiddenDangerPoint/getHiddenDangerTownCount", {
     "dictDisasterGrade": "",
@@ -98,7 +98,7 @@
   return response.data;
 }
 
-// 鏍规嵁涔¢晣Code鑾峰彇闅愭偅鐐�
+// 鏍规嵁涔¢晣Code鑾峰彇闅愭偅鐐�(姝ゆ帴鍙e寘鍚殣鎮g偣鏁伴噺鏌ヨ)
 export async function getDangerPoint(data) {
   const response = await axios.post("/hp/sinoDzHiddenDangerPoint/getData", {
     filterObject: {
@@ -211,7 +211,9 @@
 
 
 // 鏌ヨ鍖椾含甯傜洃娴嬭澶囩殑鏁伴噺
-export async function getDeviceCount() {
-  const response = await axios.get("/hp/device/statisticsCountyByDeviceType");
+export async function getDeviceCount(params = {}) {
+  const response = await axios.get("/hp/device/statisticsCountyByDeviceType", {
+    params
+  });
   return response.data;
 }
\ No newline at end of file

--
Gitblit v1.9.3