anxiao_web/pages/cmddispatch/js/orgApi/getAiAlarmList.js

21 lines
629 B
JavaScript

import { stationurl,brigade } from "../../../../public/js/url.js";
import { getCurrData } from "../../../../public/js/timestamp.js";
//查询Ai一键报警
function getaiBehavioralEventList(){
var reqdata={
brigade,
start:getCurrData()+" 00:00:00",
end:getCurrData()+" 23:59:59",
readState:"unread",
pageindex:0,
pagesize:4000
}
//查询不是关闭的事件
var aiBehavioralUrl=stationurl+"/firectrl/ai/behavioral/event/getlist";
return axios({
method:'post',
url:aiBehavioralUrl,
data:reqdata
})
}
export {getaiBehavioralEventList}