调整Silence Cycle字段回显问题
调整Source Type相关字段的联动问题
This commit is contained in:
parent
f41826d681
commit
2556676c2d
|
@ -334,35 +334,35 @@ export default {
|
||||||
silenceCyclerOptions: [
|
silenceCyclerOptions: [
|
||||||
{
|
{
|
||||||
label: "5 minutes",
|
label: "5 minutes",
|
||||||
value: "300"
|
value: 300
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "15 minutes",
|
label: "15 minutes",
|
||||||
value: "900"
|
value: 900
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "30 minutes",
|
label: "30 minutes",
|
||||||
value: "1800"
|
value: 1800
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "60 minutes",
|
label: "60 minutes",
|
||||||
value: "3600"
|
value: 3600
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "3 hours",
|
label: "3 hours",
|
||||||
value: "10800"
|
value: 10800
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "6 hours",
|
label: "6 hours",
|
||||||
value: "21600"
|
value: 21600
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "12 hours",
|
label: "12 hours",
|
||||||
value: "43200"
|
value: 43200
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "24 hours",
|
label: "24 hours",
|
||||||
value: "86400"
|
value: 86400
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
contactGroupOptions: [],
|
contactGroupOptions: [],
|
||||||
|
@ -472,6 +472,8 @@ export default {
|
||||||
},
|
},
|
||||||
onSourceTypeChange(val) {
|
onSourceTypeChange(val) {
|
||||||
this.form.sourceType = val
|
this.form.sourceType = val
|
||||||
|
this.form.sourceId = undefined
|
||||||
|
this.form.itemId = undefined
|
||||||
this.getAlarmSources(val)
|
this.getAlarmSources(val)
|
||||||
},
|
},
|
||||||
onSourceChange(val,option) {
|
onSourceChange(val,option) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user