feat:告警信息页面添加时间过滤&修复导出bug

This commit is contained in:
wangwenrui
2020-10-12 18:15:24 +08:00
parent 5fdcd89e2d
commit 76f47b76be
9 changed files with 102 additions and 180 deletions

View File

@@ -104,7 +104,6 @@
params:{type:Object},
exportFileName:{type:String},
importUrl: {type:String,required:true},
link:{type:Object},
},
data:function(){
return {
@@ -159,9 +158,6 @@
form.append('excelFile',this.importFile.raw);
if(this.paramsType){
form.append('type',this.paramsType);
if(this.paramsType==='asset' || this.paramsType==='model'){
form.append('linkId',this.link.id);
}
}
this.$post(this.importUrl,form,{'Content-Type': 'multipart/form-data'}).then(response=>{
if(response.code==200 && response.msg=='success'){