Compare commits
2 Commits
a73e9d2bee
...
2fdf565679
Author | SHA1 | Date |
---|---|---|
|
2fdf565679 | |
|
b2b481f4d1 |
|
@ -2,6 +2,17 @@
|
||||||
<div style="padding: 20px;">
|
<div style="padding: 20px;">
|
||||||
<h1 style="text-align: center; margin-bottom: 30px;">充值明细</h1>
|
<h1 style="text-align: center; margin-bottom: 30px;">充值明细</h1>
|
||||||
<el-divider></el-divider>
|
<el-divider></el-divider>
|
||||||
|
<el-col :span="1.5">
|
||||||
|
<el-button
|
||||||
|
v-hasPermi="['system:pay:export']"
|
||||||
|
icon="el-icon-download"
|
||||||
|
plain
|
||||||
|
size="mini"
|
||||||
|
type="warning"
|
||||||
|
@click="handleExport"
|
||||||
|
>导出
|
||||||
|
</el-button>
|
||||||
|
</el-col>
|
||||||
<el-table
|
<el-table
|
||||||
:data="listDate"
|
:data="listDate"
|
||||||
style="width: 100%; border-collapse: collapse;">
|
style="width: 100%; border-collapse: collapse;">
|
||||||
|
@ -40,7 +51,7 @@
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="充值时间"
|
label="充值时间"
|
||||||
width="300"
|
width="300"
|
||||||
style="border: 1px solid #ccc; padding: 10px; text-align: center;">
|
style="border: 1px solid #ca8a8a; padding: 10px; text-align: center;">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.createTime }}
|
{{ scope.row.createTime }}
|
||||||
</template>
|
</template>
|
||||||
|
@ -76,6 +87,12 @@ export default {
|
||||||
this.getList();
|
this.getList();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
/** 导出按钮操作 */
|
||||||
|
handleExport() {
|
||||||
|
this.download('system/user/export', {
|
||||||
|
...this.queryParams
|
||||||
|
}, `pay_${new Date().getTime()}.xlsx`)
|
||||||
|
},
|
||||||
getList() {
|
getList() {
|
||||||
userPayinfo(this.addDateRange(this.queryParams)).then(response => {
|
userPayinfo(this.addDateRange(this.queryParams)).then(response => {
|
||||||
this.listDate = response.data.rows;
|
this.listDate = response.data.rows;
|
||||||
|
|
Loading…
Reference in New Issue