This commit is contained in:
xk_chenlianjie
2024-02-02 09:09:44 +08:00
parent 15542f9409
commit 50997ea2a3
3 changed files with 99 additions and 100 deletions

View File

@@ -283,7 +283,7 @@ export default {
const searchParam = { ...this.page }
searchParam.pageSize = endIndex
searchParam.currentPage = this.output.startPage
inspectionApi.exportExcel(searchParam).then(res => {
orderInfoApi.exportExcel(searchParam).then(res => {
const link = document.createElement('a')
// 创建Blob对象设置文件类型
const blob = new Blob([res], { type: 'application/vnd.ns-excel' }) // MIME类型