Commit 15f6183e authored by wangqinghua's avatar wangqinghua

update

parent 6c931ab0
......@@ -387,12 +387,17 @@ export class ResourceAlarmComponent implements OnInit {
};
this.analysisSer.commonProblemTopImport(data).subscribe(
(res)=>{
if(res.errCode == 10000){
this.workSer.downloadTemplate('commonProblemTop',res.data).subscribe(
(data)=>{
this.isDownload1 = false;
this.commonSer.downloadFile('常见问题top10',data)
}
)
}else{
this.isDownload1 = false;
this.message.error(res.errMsg);
}
}
)
}
......@@ -412,12 +417,17 @@ export class ResourceAlarmComponent implements OnInit {
};
this.analysisSer.statisticalReportImport(data).subscribe(
(res)=>{
if(res.errCode == 10000){
this.workSer.downloadTemplate('statisticalReport',res.data).subscribe(
(data)=>{
this.isDownload2 = false;
this.commonSer.downloadFile('统计报告',data)
}
)
}else{
this.isDownload2 = false;
this.message.error(res.errMsg);
}
}
)
}
......
......@@ -248,12 +248,17 @@ export class ResourceUsabilComponent implements OnInit {
};
this.analysisSer.findFailureRateImport(data).subscribe(
(res)=>{
if(res.errCode == 10000){
this.workSer.downloadTemplate('failureRate',res.data).subscribe(
(data)=>{
this.isDownload = false;
this.commonSer.downloadFile('资源可用性统计',data)
}
)
}else{
this.isDownload = false;
this.message.error(res.errMsg);
}
}
)
}
......
......@@ -11,7 +11,7 @@ import {OverAllService} from '../../overAll/overAll.service';
styles: []
})
export class AuditComponent implements OnInit {
timeFormat = 'yyyy-MM-dd HH:mm:ss';
timeFormat = 'yyyy-MM-dd';
dataSet: any[];
timeType = '1';
pageSize = pageSize;
......
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