|
@@ -333,9 +333,6 @@ export default {
|
|
});
|
|
});
|
|
},
|
|
},
|
|
RecordFile(Fileurl, fileName) {
|
|
RecordFile(Fileurl, fileName) {
|
|
- setTimeout(() => {
|
|
|
|
- this.showTotip = false;
|
|
|
|
- }, 7200000);
|
|
|
|
//接口方法
|
|
//接口方法
|
|
return request({
|
|
return request({
|
|
url: Fileurl,
|
|
url: Fileurl,
|
|
@@ -355,6 +352,7 @@ export default {
|
|
new Blob([data], { type: "application/zip" }),
|
|
new Blob([data], { type: "application/zip" }),
|
|
fileName
|
|
fileName
|
|
);
|
|
);
|
|
|
|
+ this.showTotip = false;
|
|
} else {
|
|
} else {
|
|
let url = window.URL.createObjectURL(
|
|
let url = window.URL.createObjectURL(
|
|
new Blob([data], { type: "application/zip" })
|
|
new Blob([data], { type: "application/zip" })
|
|
@@ -367,8 +365,8 @@ export default {
|
|
link.click();
|
|
link.click();
|
|
document.body.removeChild(link); //下载完成移除元素
|
|
document.body.removeChild(link); //下载完成移除元素
|
|
window.URL.revokeObjectURL(url); //释放掉blob对象
|
|
window.URL.revokeObjectURL(url); //释放掉blob对象
|
|
- }
|
|
|
|
this.showTotip = false;
|
|
this.showTotip = false;
|
|
|
|
+ }
|
|
});
|
|
});
|
|
},
|
|
},
|
|
},
|
|
},
|