bug修改

This commit is contained in:
xk_chenlianjie
2024-02-04 10:12:21 +08:00
parent ad61e9693b
commit 9682a02cd8
7 changed files with 79 additions and 36 deletions

View File

@@ -60,7 +60,7 @@
</el-table-column>
<el-table-column label="用户账号" min-width="120" align="center">
<template slot-scope="scope">
<span>{{ scope.row.acctId }}</span>
<span>{{ scope.row.customerPhone }}</span>
</template>
</el-table-column>
<el-table-column label="订单金额" min-width="60" align="center">
@@ -283,7 +283,7 @@ export default {
const searchParam = { ...this.page }
searchParam.pageSize = endIndex
searchParam.currentPage = this.output.startPage
orderInfoApi.getByPage(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类型