import { getaiBehavioralEventList } from "../api/getAiEventList.js"; import { stationurl,brigade } from "../../../public/js/url.js"; import { getCurrData } from "../../../public/js/timestamp.js"; import { layuiObj } from "./index.js"; let aiBehavioralEventList=[]; function showAiAlarmList(){ var reqdata={ brigade, start:getCurrData()+" 00:00:00", end:getCurrData()+" 23:59:59", } getaiBehavioralEventList(reqdata).then(res=>{//查询AI盒子的固定报警 var code=res["data"]["code"]; if(code==0){ var data=res["data"]["data"]; if(data!=null){ aiBehavioralEventList=data; aiBehavioralEventList.reverse(); } } showAiAlarmDiv(); }) } function showAiAlarmDiv(){ var div=""; for(var i=0;i

【${channelName}】 ${station} ${timestamp}

行为: ${warnName}

设备ID:${deviceId}

`; } function aIBehavioralEvent(){ $(".warnInfoListall>div").on('click',function(){ var warnId=$(this).attr("warnId") for(var i=0;i ${showAIBehavioralPage(item)} `, success: function(layero){ console.log(item); } }); } export {showAiAlarmList}