From 2ff29cf429ca7db9325982ef127ffd27e0e7e0b2 Mon Sep 17 00:00:00 2001 From: zch Date: Thu, 12 Dec 2024 10:49:52 +0800 Subject: [PATCH] =?UTF-8?q?add(record):=20=E6=B7=BB=E5=8A=A0=E6=8A=A5?= =?UTF-8?q?=E8=AD=A6=E8=AE=B0=E5=BD=95=E5=88=97=E8=A1=A8=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 recordBusbarAlarmList 函数,用于获取母线报警记录列表 - 请求方式为 POST,接口路径为 /record/recordBusbarAlarm/recordBusbarAlarmList - 函数接受一个 query 参数,用于传递查询条件 --- ruoyi-ui/src/api/record/recordBusbarAlarm.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ruoyi-ui/src/api/record/recordBusbarAlarm.js b/ruoyi-ui/src/api/record/recordBusbarAlarm.js index fdfcf00..de46010 100644 --- a/ruoyi-ui/src/api/record/recordBusbarAlarm.js +++ b/ruoyi-ui/src/api/record/recordBusbarAlarm.js @@ -42,3 +42,11 @@ export function delRecordBusbarAlarm(objId) { method: 'delete' }) } + +export function recordBusbarAlarmList(query) { + return request({ + url: '/record/recordBusbarAlarm/recordBusbarAlarmList', + method: 'post', + params: query + }) +}