Commit b8a3fa08 authored by wangqinghua's avatar wangqinghua

download

parent 4c6d4711
......@@ -233,9 +233,15 @@ export class AlarmLogComponent implements OnInit {
"alertGroupId":this.obj.alertGroupId,
"time_from":new Date( this.obj.time_from ).getTime(),
"time_till":new Date( this.obj.time_till).getTime(),
"mediatypeids":[this.obj.mediatypeids],
"hostids":[this.obj.hostids]
"mediatypeids":[],
"hostids":[]
};
if(this.obj.mediatypeids){
data.mediatypeids.push(this.obj.mediatypeids);
}
if(this.obj.hostids){
data.hostids.push(this.obj.hostids);
}
this.alarmSer.getExportUrlAlert(data).subscribe(
(res)=>{
if(res.errCode == 10000){
......
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