From 4076c14a8eac96cd716522f2cb15dcda0eb4fcef Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期三, 10 四月 2024 08:37:53 +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