首页:实时告警

This commit is contained in:
fengrong 2024-11-25 14:05:10 +08:00
parent 83e12bbd00
commit fecad2745e

View File

@ -349,6 +349,7 @@ const getTableData = (deviceCode) => {
limit: 100,
eventLevel:2
}
console.log(JSON.stringify(data))
getAlarmListReq(data).then((res) => {
if (res.code == 200) {
//tableData.value = res.rows
@ -473,7 +474,7 @@ onMounted(() => {
equipList({ objectType: 10002 }).then((res) => {
res.data.map((item: any) => {
deviceCode.value.push(item.name)
deviceCode.value.push(item.code)
})
getTableData(deviceCode.value)