导出
This commit is contained in:
@@ -283,7 +283,7 @@ export default {
|
||||
const searchParam = { ...this.page }
|
||||
searchParam.pageSize = endIndex
|
||||
searchParam.currentPage = this.output.startPage
|
||||
orderInfoApi.exportExcel(searchParam).then(res => {
|
||||
orderInfoApi.getByPage(searchParam).then(res => {
|
||||
const link = document.createElement('a')
|
||||
// 创建Blob对象,设置文件类型
|
||||
const blob = new Blob([res], { type: 'application/vnd.ns-excel' }) // MIME类型
|
||||
|
||||
Reference in New Issue
Block a user