首页:实时告警
This commit is contained in:
parent
83e12bbd00
commit
fecad2745e
@ -349,6 +349,7 @@ const getTableData = (deviceCode) => {
|
|||||||
limit: 100,
|
limit: 100,
|
||||||
eventLevel:2
|
eventLevel:2
|
||||||
}
|
}
|
||||||
|
console.log(JSON.stringify(data))
|
||||||
getAlarmListReq(data).then((res) => {
|
getAlarmListReq(data).then((res) => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
//tableData.value = res.rows
|
//tableData.value = res.rows
|
||||||
@ -473,7 +474,7 @@ onMounted(() => {
|
|||||||
|
|
||||||
equipList({ objectType: 10002 }).then((res) => {
|
equipList({ objectType: 10002 }).then((res) => {
|
||||||
res.data.map((item: any) => {
|
res.data.map((item: any) => {
|
||||||
deviceCode.value.push(item.name)
|
deviceCode.value.push(item.code)
|
||||||
})
|
})
|
||||||
|
|
||||||
getTableData(deviceCode.value)
|
getTableData(deviceCode.value)
|
||||||
|
Loading…
Reference in New Issue
Block a user