pull/14/head
xk_chenlianjie 12 months ago
parent 15542f9409
commit 50997ea2a3
  1. 3
      src/api/order/orderInfo.js
  2. 2
      src/views/order/orderList.vue
  3. 4
      src/views/order/orderRefundList.vue

@ -79,9 +79,8 @@ export default {
exportExcel(page) {
// 导出
return request({
url: `/${service_name}/${group_name}/export`,
url: `/${service_name}/${group_name}/exportWeb`,
method: 'post',
notEncrypt: true,
data: page,
responseType: 'blob'
})

@ -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

@ -11,7 +11,7 @@
<el-date-picker v-model="page.params.refundTime" type="date" value-format="yyyy-MM-dd" placeholder="选择日期"> </el-date-picker>
</el-form-item>
<el-form-item label="处理状态:">
<el-select v-model="page.params.refundstatus" placeholder="状态" clearable @keyup.enter.native="getList">
<el-select v-model="page.params.refundStatus" placeholder="状态" clearable @keyup.enter.native="getList">
<el-option label="待处理" value="0" />
<el-option label="已处理" value="1" />
<el-option label="已拒绝" value="-1" />
@ -247,7 +247,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

Loading…
Cancel
Save