银行卡记录导出,铸源星查询

This commit is contained in:
faiz 2024-12-20 11:48:34 +08:00
parent 0bcc07119e
commit 8a868b0272
3 changed files with 12 additions and 4 deletions

View File

@ -415,6 +415,12 @@ export function brokerageLogExport(data) {
export function bonusExport(data) { export function bonusExport(data) {
return request.get(`user/brokerage/bonus/excel`, data) return request.get(`user/brokerage/bonus/excel`, data)
} }
/**
* @description 提现记录 -- 导出
*/
export function backListExport(data) {
return request.get(`user/extract/export/back_list`, data)
}
/** /**
* @description 签到配置 -- 列表 * @description 签到配置 -- 列表
*/ */

View File

@ -45,7 +45,9 @@
</div> </div>
<el-table v-loading="listLoading" :data="tableData.data" size="small"> <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="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="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="title" min-width="120" />
<el-table-column label="铸源星变动" prop="number" min-width="90"> <el-table-column label="铸源星变动" prop="number" min-width="90">
<template slot-scope="scope"> <template slot-scope="scope">

View File

@ -58,9 +58,9 @@
</div> </div>
<!-- <cards-data v-if="cardLists.length > 0" :card-lists="cardLists" /> --> <!-- <cards-data v-if="cardLists.length > 0" :card-lists="cardLists" /> -->
<el-card> <el-card>
<!-- <div class="mb20"> <div class="mb20">
<el-button size="small" type="primary" @click="exports">导出</el-button> <el-button size="small" type="primary" @click="exports">导出</el-button>
</div> --> </div>
<el-table v-loading="listLoading" :data="tableData.data" size="small"> <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="bill_id" label="ID" min-width="50" /> -->
<!-- <el-table-column label="用户昵称" prop="real_name" min-width="150" /> --> <!-- <el-table-column label="用户昵称" prop="real_name" min-width="150" /> -->
@ -104,7 +104,7 @@
</div> </div>
</template> </template>
<script> <script>
import { backListApi, bonusExport } from "@/api/marketing"; import { backListApi, bonusExport, backListExport } from "@/api/marketing";
import fileList from "@/components/exportFile/fileList"; import fileList from "@/components/exportFile/fileList";
import cardsData from "@/components/cards/index"; import cardsData from "@/components/cards/index";
import createWorkBook from "@/utils/newToExcel.js"; import createWorkBook from "@/utils/newToExcel.js";
@ -187,7 +187,7 @@ export default {
/**列表 */ /**列表 */
downData(excelData) { downData(excelData) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
bonusExport(excelData).then((res) => { backListExport(excelData).then((res) => {
return resolve(res.data); return resolve(res.data);
}); });
}); });