|
@@ -494,7 +494,7 @@ export default {
|
|
|
bassNormalSearchDownload(params).then(res => {
|
|
|
const content = res.data // 后台返回二进制数据
|
|
|
const blob = new Blob([content])
|
|
|
- const fileName = `${name}.xlsx`
|
|
|
+ const fileName = `${name}.csv`
|
|
|
if ('download' in document.createElement('a')) { // 非IE下载
|
|
|
const elink = document.createElement('a')
|
|
|
elink.download = fileName
|
|
@@ -533,7 +533,7 @@ export default {
|
|
|
bassHighSearchDownload(pramse).then(res => {
|
|
|
const content = res.data // 后台返回二进制数据
|
|
|
const blob = new Blob([content])
|
|
|
- const fileName = `${name}.xlsx`
|
|
|
+ const fileName = `${name}.csv`
|
|
|
if ('download' in document.createElement('a')) { // 非IE下载
|
|
|
const elink = document.createElement('a')
|
|
|
elink.download = fileName
|