From 7c8c06b5397d22151b02407b1f4f19d771bb15dd Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期一, 16 六月 2025 14:28:57 +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