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