|
@@ -66,7 +66,8 @@
|
|
|
proName: ''
|
|
|
},
|
|
|
showModelObj: {
|
|
|
- url: ''
|
|
|
+ url: '',
|
|
|
+ name: ''
|
|
|
}
|
|
|
}
|
|
|
},
|
|
@@ -76,7 +77,7 @@
|
|
|
let url = this.showModelObj.url
|
|
|
apiGetExportMsg(url).then(datas => {
|
|
|
let blob = new Blob([datas])
|
|
|
- saveAs(blob, '导入模板.xlsx')
|
|
|
+ saveAs(blob, `${this.showModelObj.name}.xlsx`)
|
|
|
}).catch((r) => {
|
|
|
console.error(r)
|
|
|
})
|