This commit is contained in:
joylink_zhaoerwei 2023-05-24 17:28:03 +08:00
parent 82359d5a4c
commit 9cde1a5487

View File

@ -206,8 +206,10 @@ export default {
} else if (newAlarmMessage.color == 'O') { } else if (newAlarmMessage.color == 'O') {
this.oldShowAlarmMessage = newAlarmMessage; this.oldShowAlarmMessage = newAlarmMessage;
this.showAlarmImportantMessage = newAlarmMessage; this.showAlarmImportantMessage = newAlarmMessage;
} else { } else if (newAlarmMessage.color == 'Y' && this.oldShowAlarmMessage.color == 'O') {
this.showAlarmImportantMessage = this.oldShowAlarmMessage; this.showAlarmImportantMessage = this.oldShowAlarmMessage;
} else {
this.showAlarmImportantMessage = newAlarmMessage;
} }
this.alarmDetailMessageListShow = this.alarmDetailMessageList.slice(0, 2); this.alarmDetailMessageListShow = this.alarmDetailMessageList.slice(0, 2);
this.pagination.total = this.alarmDetailMessageList.length; this.pagination.total = this.alarmDetailMessageList.length;