fileDownload(){
executionDownLoad({ 'id': this.form.id }).then(res => {
const fileName = `执行阶段卷宗_${this.getCurrentTime()}.zip`
const blob = new Blob([res.data], { type: 'application/zip;Charset=UTF-8' })
const link = document.createElement('a')
link.download = fileName
link.style.display = 'none'
link.href = URL.createObjectURL(blob)
document.body.appendChild(link)
link.click()
URL.revokeObjectURL(link.href)
document.body.removeChild(link)
})
},
getCurrentTime() {
var _this = this;
let yy = new Date().getFullYear();
let mm = new Date().getMonth()+1;
let dd = new Date().getDate();
return yy+'/'+mm+'/'+dd;
},