马宇豪
2025-05-08 8e6d97a9ae8428ecd978241fc268e93e8a6b6103
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 @@
        },
    };
}
}