|
|
@ -290,11 +290,12 @@ export const drawerMixins = { |
|
|
|
PageListParams.function = that.$route.meta.title |
|
|
|
PageListParams.route = url; |
|
|
|
postExportForDetail(PageListParams,url,params).then(res => { |
|
|
|
fileStorage({blobName: res.blobName}).then( fileStorageRes => { |
|
|
|
that.downloadFile(fileStorageRes.bytes, fileStorageRes.fileName) |
|
|
|
}).catch( err => { |
|
|
|
console.log(err) |
|
|
|
}) |
|
|
|
this.blob(res, this.$route.meta.title )//使用前端导出名称
|
|
|
|
// fileStorage({blobName: res.blobName}).then( fileStorageRes => {
|
|
|
|
// that.downloadFile(fileStorageRes.bytes, fileStorageRes.fileName)
|
|
|
|
// }).catch( err => {
|
|
|
|
// console.log(err)
|
|
|
|
// })
|
|
|
|
that.Loading.appMainLoading = false |
|
|
|
}).catch(err => { |
|
|
|
that.Loading.appMainLoading = false |
|
|
|