22 lines
686 B
JavaScript
22 lines
686 B
JavaScript
// 获取移动设备的告警,没有结束的
|
|
import { movedeviceurl,brigade } from "../../../../public/js/url.js";
|
|
import { getTime } from "../../../intelligenceEarlyWarning/js/time.js";
|
|
import { getCurrData } from "../../../../public/js/timestamp.js";
|
|
function getAlarmListbyScope(){
|
|
var time=getTime();
|
|
var data={
|
|
brigade:brigade,
|
|
marjor:"terminal.sos",
|
|
status:"new",
|
|
start:time["startTime"],
|
|
end:getCurrData()+" 23:59:59"
|
|
// end:time["endTime"]
|
|
}
|
|
var url=`${movedeviceurl}/mdev/alarm/getlistbyscope`;
|
|
return axios({
|
|
method:'post',
|
|
url:url,
|
|
data:data
|
|
})
|
|
}
|
|
export {getAlarmListbyScope} |