首页告警调试
This commit is contained in:
parent
73567cca71
commit
5984671628
@ -327,13 +327,12 @@ import { equipList } from '/@/api/backend/realData/request'
|
||||
import {
|
||||
getWindFarmRealData,
|
||||
getWindTurbineMatrixData,
|
||||
getHistoryData,
|
||||
getAlarmList,
|
||||
alertComfirm
|
||||
getHistoryData
|
||||
} from "/@/api/backend/dashboard.ts";
|
||||
import {dayjs, ElMessage, ElMessageBox, TableInstance} from "element-plus";
|
||||
import { getRealTimeState } from '/@/views/backend/equipment/airBlower/utils.ts'
|
||||
import {useRoute} from "vue-router";
|
||||
import { getAlarmListReq, eventComfirm } from '/@/api/backend/alarms/request'
|
||||
const route = useRoute()
|
||||
|
||||
|
||||
@ -861,7 +860,7 @@ const getTableData = (deviceCode) => {
|
||||
limit:100
|
||||
}
|
||||
console.log(JSON.stringify(data))
|
||||
getAlarmList(data).then((res) => {
|
||||
getAlarmListReq(data).then((res) => {
|
||||
debugger
|
||||
if (res.code == 200) {
|
||||
//tableData.value = res.rows
|
||||
@ -903,7 +902,7 @@ const okSubmit = (val: any) => {
|
||||
},
|
||||
]
|
||||
debugger
|
||||
alertComfirm(reqData)
|
||||
eventComfirm(reqData)
|
||||
.then((res: any) => {
|
||||
debugger
|
||||
if (res.code == 200) {
|
||||
|
Loading…
Reference in New Issue
Block a user