Commit 8d197cd0 authored by wangjinjing's avatar wangjinjing

事件,工程添加告警提醒

parent f9c0b87c
......@@ -723,7 +723,6 @@ wss.onmessage = function (evt) {
sjdj = item.alarmlevel;
}
});
if (sjdj == '1') {
//监控名称
let jkmc = '';
vue_sjcx.jk_arr.forEach((item, index)=> {
......@@ -752,7 +751,8 @@ wss.onmessage = function (evt) {
$(this).prop("checked", false);
});
}
// if (sjdj == '1') {
if (sjdj == '1') {
$("#a1s").collapse();
vue_sjsstxnow.yjsj_data.unshift({
src: wfsp,
......@@ -786,6 +786,9 @@ wss.onmessage = function (evt) {
vue_sjcx.query(1, true);
}, 200);
});
//播放声音
let myMp3 = document.getElementById("audio");
audio.play();
}
}
}
......
......@@ -874,7 +874,7 @@ wss.onmessage = function (evt) {
}).show();
//播放声音
let myMp3 = document.getElementById("audio");
// audio.play();
audio.play();
}
}
......
......@@ -17,7 +17,7 @@
</head>
<body>
<div id="page-sy">
<audio id="audio" src="../img/4082.mp3"></audio>
<audio id="audio" src="../img/4083.mp3"></audio>
<div class="right-nav">
<div class="tab-content content-sjfx">
<div role="tabpanel" class="tab-pane active" id="sjcx">
......
......@@ -20,7 +20,7 @@
</head>
<body>
<div id="page-sy">
<audio id="audio" src="../img/4082.mp3"></audio>
<audio id="audio" src="../img/4083.mp3"></audio>
<div class="right-nav">
<div class="tab-content content-sjfx">
<div role="tabpanel" class="tab-pane active" id="sjcx">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment