From e8acf56b807be105702321a0be2119963fa69e03 Mon Sep 17 00:00:00 2001
From: web <candymxq888@outlook.com>
Date: 星期四, 24 四月 2025 17:27:10 +0800
Subject: [PATCH] fix:修改水温监控参数

---
 src/api/facility/point.js |   23 ++++++++---------------
 1 files changed, 8 insertions(+), 15 deletions(-)

diff --git a/src/api/facility/point.js b/src/api/facility/point.js
index 72128db..db5afd1 100644
--- a/src/api/facility/point.js
+++ b/src/api/facility/point.js
@@ -29,18 +29,6 @@
 				method: 'post'
 			});
 		},
-        stop: (id) => {
-			return publicRequest({
-				url: `/waterMonitoryPoint/stop?id=${id}`,
-				method: 'post'
-			});
-		},
-        enable: (id) => {
-			return publicRequest({
-				url: `/waterMonitoryPoint/enable?id=${id}`,
-				method: 'post'
-			});
-		},
         search: (data) => {
 			return publicRequest({
 				url: '/waterMonitoryPoint/search',
@@ -48,12 +36,17 @@
 				data
 			});
 		},
-        getList: (data) => {
+		get: (id) => {
 			return publicRequest({
-				url: `/waterMonitoryPoint/getList`,
+				url: `/waterMonitoryPoint/get?id=${id}`,
 				method: 'get',
-				data
 			});
 		},
+		getParentPoint: () => {
+			return publicRequest({
+				url: 'waterMonitoryPoint/getListTree',
+				method: 'get',
+			})
+		}
 	};
 }

--
Gitblit v1.9.3