diff --git a/src/views/page/realTime.vue b/src/views/page/realTime.vue index dabbed3..fbb86c9 100644 --- a/src/views/page/realTime.vue +++ b/src/views/page/realTime.vue @@ -468,6 +468,7 @@ export default { type: "success", }); this.warnForm = { + 'deviceId': this.warnForm.deviceId, "userId": '', "environmentData": '', "environmentId": '', @@ -475,6 +476,8 @@ export default { "phonenumber": '', "phonenumber2": '' } + this.warnModelSel1= '' + this.warnModelSel2='' this.getMessageList() } else { this.$message.error(res.data.msg); @@ -483,6 +486,7 @@ export default { }, returnWarn() { this.warnForm = { + 'deviceId': this.warnForm.deviceId, "userId": '', "environmentData": '', "environmentId": '', @@ -495,7 +499,7 @@ export default { //打开短信告警弹窗 openWarn() { this.warnForm = { - "deviceId": '', + 'deviceId': '', "userId": '', "environmentData": '', "environmentId": '',