Commit fbffb520 authored by wangqinghua's avatar wangqinghua

style update

parent 1a7411a8
...@@ -77,12 +77,12 @@ export class AlarmModalComponent implements OnInit { ...@@ -77,12 +77,12 @@ export class AlarmModalComponent implements OnInit {
serious: 0, serious: 0,
mediaTypeIds: [], mediaTypeIds: [],
def_longdata: '问题 {TRIGGER.NAME} 开始于: {EVENT.TIME} {EVENT.DATE}\n' + def_longdata: '问题 {TRIGGER.NAME} 开始于: {EVENT.TIME} {EVENT.DATE}\n' +
'主机: {HOST.NAME}\n' + '主机: {HOST.NAME}\n' +
'严重程度: {TRIGGER.SEVERITY}\n', '严重程度: {TRIGGER.SEVERITY}\n',
r_longdata: '' + r_longdata: '' +
'问题 {TRIGGER.NAME} 恢复于: {EVENT.TIME} {EVENT.DATE} \n' + '问题 {TRIGGER.NAME} 恢复于: {EVENT.TIME} {EVENT.DATE} \n' +
'主机: {HOST.NAME}\n' + '主机: {HOST.NAME}\n' +
'严重程度: {TRIGGER.SEVERITY}', '严重程度: {TRIGGER.SEVERITY}',
sendInfos: null, sendInfos: null,
event: { event: {
eventTypeId: null, //事件分类id eventTypeId: null, //事件分类id
...@@ -352,9 +352,9 @@ export class AlarmModalComponent implements OnInit { ...@@ -352,9 +352,9 @@ export class AlarmModalComponent implements OnInit {
}; };
if(this.isEvent == "1"){ if(this.isEvent == "1"){
data.event = { data.event = {
eventTypeId: this.validateForm.event.eventTypeId, //事件分类id eventTypeId: this.validateForm.event.eventTypeId, //事件分类id
operators: this.operatorList, //事件负责人 operators: this.operatorList, //事件负责人
title: this.validateForm.event.title, //事件标题 title: this.validateForm.event.title, //事件标题
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment