NEZ-598 alert message 页面修改
This commit is contained in:
@@ -84,9 +84,10 @@ export default {
|
||||
unit: 2,
|
||||
operator: '>',
|
||||
last: 60,
|
||||
severity: 'P2',
|
||||
severityId: '',
|
||||
summary: '',
|
||||
description: ''
|
||||
description: '',
|
||||
method: []
|
||||
},
|
||||
searchMsg: { // 给搜索框子组件传递的信息
|
||||
zheze_none: true,
|
||||
@@ -147,6 +148,17 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
edit (u) {
|
||||
this.$get(`${this.url}/${u.id}`).then(response => {
|
||||
if (response.code === 200) {
|
||||
this.object = {
|
||||
...response.data,
|
||||
method: response.data.method ? response.data.method.split(',').map(item => Number(item)) : []
|
||||
}
|
||||
this.rightBox.show = true
|
||||
}
|
||||
})
|
||||
},
|
||||
initEvent () {
|
||||
bus.$on('alert-rule-list-change', () => {
|
||||
this.getTableData()
|
||||
|
||||
Reference in New Issue
Block a user