下载明细

This commit is contained in:
faiz 2024-11-12 11:42:15 +08:00
parent 4a982d220b
commit 6f8ffd7432
1 changed files with 12 additions and 8 deletions

View File

@ -56,15 +56,19 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="user.uid" label="用户ID" min-width="120" /> <el-table-column prop="user.uid" label="用户ID" min-width="120" />
<el-table-column prop="user.nickname" label="用户姓名" min-width="120" />
<el-table-column prop="user.phone" label="用户电话" min-width="120" />
<el-table-column prop="user.card_id" label="用户身份证号" min-width="120" />
<el-table-column prop="create_time" label="账单日期" min-width="120" />
<el-table-column <el-table-column
prop="cz_price" prop="user.nickname"
label="成长值" label="用户姓名"
min-width="120" min-width="120"
/> />
<el-table-column prop="user.phone" label="用户电话" min-width="120" />
<el-table-column
prop="user.card_id"
label="用户身份证号"
min-width="120"
/>
<el-table-column prop="create_time" label="账单日期" min-width="120" />
<el-table-column prop="cz_price" label="成长值" min-width="120" />
<el-table-column <el-table-column
prop="bonus_price" prop="bonus_price"
label="申请奖励金额" label="申请奖励金额"
@ -75,7 +79,7 @@
<el-button <el-button
type="text" type="text"
size="small" size="small"
@click="exports('download', scope.row.user_id)" @click="exports('download', scope.row.id)"
>下载明细</el-button >下载明细</el-button
> >
</template> </template>
@ -150,7 +154,7 @@ export default {
}, },
async exports(type, id, date) { async exports(type, id, date) {
let params = { let params = {
uid: id ? id : "", id: id ? id : "",
page: 1, page: 1,
limit: 500, limit: 500,
keyword: this.tableForm.keyword, keyword: this.tableForm.keyword,