From 81a0e26f1ba5fd0b95381ee902caa1579a8ec043 Mon Sep 17 00:00:00 2001
From: web <candymxq888@outlook.com>
Date: 星期五, 11 四月 2025 17:31:47 +0800
Subject: [PATCH] fix:修改报警提示

---
 src/api/screen/index.js |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/src/api/screen/index.js b/src/api/screen/index.js
index 84f8a01..c3c67fa 100644
--- a/src/api/screen/index.js
+++ b/src/api/screen/index.js
@@ -10,4 +10,26 @@
         method: 'post',
         data
     })
+}
+
+/**
+ * 获取泵房报警信息
+ */
+export const getPumpWarning = (data) => {
+    return publicRequest({
+        url: '/alarmHistory/search',
+        method: 'post',
+        data
+    })
+}
+
+
+/**
+ * 获取报警code
+ */
+export const getWarningCode = () => {
+    return publicRequest({
+        url: '/heartbeatData/getByCode',
+        method: 'get'
+    })
 }
\ No newline at end of file

--
Gitblit v1.9.3