From 44813af86c1ba3203dc606c8bf7690405e084cfc Mon Sep 17 00:00:00 2001
From: zhouwenxuan <1175765986@qq.com>
Date: 星期三, 03 一月 2024 13:48:48 +0800
Subject: [PATCH] 设备预警,修改气体

---
 src/api/warningManage/warningInfo/index.ts |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/api/warningManage/warningInfo/index.ts b/src/api/warningManage/warningInfo/index.ts
index 0be772f..56955b0 100644
--- a/src/api/warningManage/warningInfo/index.ts
+++ b/src/api/warningManage/warningInfo/index.ts
@@ -3,10 +3,19 @@
 export function warningInfoApi() {
     return {
 
-        //预警信息分页
+        //气体预警信息分页
         getWarnLogPage: (data: object) => {
             return request({
                 url: import.meta.env.VITE_API_URL + `/gasWarnLog/page`,
+                method: 'post',
+                data: data
+            });
+        },
+
+        //设备预警信息分页
+        getWarnDeviceLogPage: (data: object) => {
+            return request({
+                url: import.meta.env.VITE_API_URL + `/deviceExcLog/page`,
                 method: 'post',
                 data: data
             });
@@ -22,4 +31,4 @@
         },
 
     };
-}
\ No newline at end of file
+}

--
Gitblit v1.9.2