From 2556676c2dc8ee57fd19ef436ffa0dc03a4b6be6 Mon Sep 17 00:00:00 2001 From: renpy Date: Wed, 26 Jul 2023 18:23:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4Silence=20Cycle=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=9B=9E=E6=98=BE=E9=97=AE=E9=A2=98=20=E8=B0=83?= =?UTF-8?q?=E6=95=B4Source=20Type=E7=9B=B8=E5=85=B3=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E7=9A=84=E8=81=94=E5=8A=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../alarmCenter/alarmRules/index.vue | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/views/abnormalAlarm/alarmCenter/alarmRules/index.vue b/src/views/abnormalAlarm/alarmCenter/alarmRules/index.vue index 5dd4aa4..106d915 100644 --- a/src/views/abnormalAlarm/alarmCenter/alarmRules/index.vue +++ b/src/views/abnormalAlarm/alarmCenter/alarmRules/index.vue @@ -334,35 +334,35 @@ export default { silenceCyclerOptions: [ { label: "5 minutes", - value: "300" + value: 300 }, { label: "15 minutes", - value: "900" + value: 900 }, { label: "30 minutes", - value: "1800" + value: 1800 }, { label: "60 minutes", - value: "3600" + value: 3600 }, { label: "3 hours", - value: "10800" + value: 10800 }, { label: "6 hours", - value: "21600" + value: 21600 }, { label: "12 hours", - value: "43200" + value: 43200 }, { label: "24 hours", - value: "86400" + value: 86400 } ], contactGroupOptions: [], @@ -472,6 +472,8 @@ export default { }, onSourceTypeChange(val) { this.form.sourceType = val + this.form.sourceId = undefined + this.form.itemId = undefined this.getAlarmSources(val) }, onSourceChange(val,option) {