银行卡记录导出,铸源星查询
This commit is contained in:
parent
0bcc07119e
commit
8a868b0272
|
@ -415,6 +415,12 @@ export function brokerageLogExport(data) {
|
|||
export function bonusExport(data) {
|
||||
return request.get(`user/brokerage/bonus/excel`, data)
|
||||
}
|
||||
/**
|
||||
* @description 提现记录 -- 导出
|
||||
*/
|
||||
export function backListExport(data) {
|
||||
return request.get(`user/extract/export/back_list`, data)
|
||||
}
|
||||
/**
|
||||
* @description 签到配置 -- 列表
|
||||
*/
|
||||
|
|
|
@ -45,7 +45,9 @@
|
|||
</div>
|
||||
<el-table v-loading="listLoading" :data="tableData.data" size="small">
|
||||
<el-table-column prop="bill_id" label="ID" min-width="50" />
|
||||
<el-table-column prop="user.number" label="用户ID" min-width="50" />
|
||||
<el-table-column label="用户昵称" prop="nickname" min-width="150" />
|
||||
<el-table-column label="手机号" prop="phone" min-width="150" />
|
||||
<el-table-column label="铸源星标题" prop="title" min-width="120" />
|
||||
<el-table-column label="铸源星变动" prop="number" min-width="90">
|
||||
<template slot-scope="scope">
|
||||
|
|
|
@ -58,9 +58,9 @@
|
|||
</div>
|
||||
<!-- <cards-data v-if="cardLists.length > 0" :card-lists="cardLists" /> -->
|
||||
<el-card>
|
||||
<!-- <div class="mb20">
|
||||
<div class="mb20">
|
||||
<el-button size="small" type="primary" @click="exports">导出</el-button>
|
||||
</div> -->
|
||||
</div>
|
||||
<el-table v-loading="listLoading" :data="tableData.data" size="small">
|
||||
<!-- <el-table-column prop="bill_id" label="ID" min-width="50" /> -->
|
||||
<!-- <el-table-column label="用户昵称" prop="real_name" min-width="150" /> -->
|
||||
|
@ -104,7 +104,7 @@
|
|||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { backListApi, bonusExport } from "@/api/marketing";
|
||||
import { backListApi, bonusExport, backListExport } from "@/api/marketing";
|
||||
import fileList from "@/components/exportFile/fileList";
|
||||
import cardsData from "@/components/cards/index";
|
||||
import createWorkBook from "@/utils/newToExcel.js";
|
||||
|
@ -187,7 +187,7 @@ export default {
|
|||
/**列表 */
|
||||
downData(excelData) {
|
||||
return new Promise((resolve, reject) => {
|
||||
bonusExport(excelData).then((res) => {
|
||||
backListExport(excelData).then((res) => {
|
||||
return resolve(res.data);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue