...
|
...
|
@@ -42,7 +42,8 @@ |
|
|
:onSelect="selectRow"
|
|
|
@on-page-change="fetchData">
|
|
|
<template slot="footer" class="btns">
|
|
|
<i-button type="primary" @click="onBatchDelete">批量删除</i-button>
|
|
|
<i-button type="primary" @click="onBatchReject">批量驳回</i-button>
|
|
|
<i-button type="primary" @click="onBatchRefund">批量退款</i-button>
|
|
|
</template>
|
|
|
</LayoutTable>
|
|
|
<Modal
|
...
|
...
|
@@ -361,6 +362,20 @@ export default { |
|
|
this.fetchData();
|
|
|
this.ids = [];
|
|
|
},
|
|
|
async onBatchReject() {
|
|
|
if(!this.ids.length)
|
|
|
this.$Message.warning('请勾选驳回条目');
|
|
|
await api._get('/ufoPlatform/refundRecord/reject', {ids:this.ids.toString()});
|
|
|
this.fetchData();
|
|
|
this.ids = [];
|
|
|
},
|
|
|
async onBatchRefund() {
|
|
|
if(!this.ids.length)
|
|
|
this.$Message.warning('请勾选退款条目');
|
|
|
await api._get('/ufoPlatform/refundRecord/makePaid', {ids:this.ids.toString()});
|
|
|
this.fetchData();
|
|
|
this.ids = [];
|
|
|
},
|
|
|
async onExport() {
|
|
|
this.$Loading.start();
|
|
|
let param = {...this.filter};
|
...
|
...
|
|