fix: 修改AI告警查询参数

This commit is contained in:
Vce 2024-03-26 20:14:39 +08:00
parent f7609c88a3
commit 76e4aa563d

View File

@ -166,7 +166,7 @@ let detailData = ref({} as any);
let warnAlarmList = ref([] as any); let warnAlarmList = ref([] as any);
// //
const getWarnAlarmList = async () => { const getWarnAlarmList = async () => {
const res: any = await getAlarmList({ projectSn: store.sn }); const res: any = await getAlarmList({ projectSn: store.sn, selectType: 3 });
console.log("获取告警列表", res); console.log("获取告警列表", res);
if (res.result.length > 0) { if (res.result.length > 0) {
warnAlarmList.value = res.result; warnAlarmList.value = res.result;