|
|
@@ -402,7 +402,9 @@
|
|
|
//通知定时器
|
|
|
noticeTimerFunction(){
|
|
|
const self = this;
|
|
|
- self.noticeTimer = window.setInterval(checkNoticeUpdates, this.noticeSwitchTime);
|
|
|
+ self.noticeTimer = window.setInterval(() => {
|
|
|
+ checkNoticeUpdates();
|
|
|
+ }, this.noticeSwitchTime);
|
|
|
async function checkNoticeUpdates() {
|
|
|
//没有报警
|
|
|
if(!self.alarmType){
|
|
|
@@ -439,7 +441,9 @@
|
|
|
//房间切换定时器
|
|
|
subTimerFunction(){
|
|
|
const self = this;
|
|
|
- self.subTimer = window.setInterval(checkSubUpdates, this.subSwitchTime);
|
|
|
+ self.subTimer = window.setInterval(() => {
|
|
|
+ checkSubUpdates();
|
|
|
+ }, this.subSwitchTime);
|
|
|
async function checkSubUpdates() {
|
|
|
//没有报警 且 没有展示通知
|
|
|
if(!self.alarmType && !self.noticeType && !self.subInfoType){
|
|
|
@@ -456,7 +460,9 @@
|
|
|
//预案查询定时器
|
|
|
alarmTimerFunction(){
|
|
|
const self = this;
|
|
|
- self.alarmTimer = window.setInterval(checkAlarmUpdates, this.alarmSwitchTime);
|
|
|
+ self.alarmTimer = window.setInterval(() => {
|
|
|
+ checkAlarmUpdates();
|
|
|
+ }, this.alarmSwitchTime);
|
|
|
async function checkAlarmUpdates() {
|
|
|
self.laboratoryBigViewSelectTriggerInfoGet();
|
|
|
}
|