|
|
@@ -194,6 +194,9 @@
|
|
|
<el-form-item label="用户成功提现金额(税后):">{{withdrawalCountData.totalSuccess/100}}元</el-form-item>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
+ <div style="text-align: right;margin-bottom: 10px">
|
|
|
+ <el-button @click="downFinanceList" class="export-excel" type="primary">导出报表</el-button>
|
|
|
+ </div>
|
|
|
<el-table
|
|
|
border
|
|
|
:data="withdrawalData"
|
|
|
@@ -635,6 +638,15 @@
|
|
|
onEditorReady(editor) {
|
|
|
|
|
|
},
|
|
|
+ async downFinanceList() {
|
|
|
+ if(this.tab !== 'withdrawal'){
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ let url =
|
|
|
+ window.location.host +
|
|
|
+ "/api/admin/kaifabao/export";
|
|
|
+ window.location.href = "http://" + url;
|
|
|
+ },
|
|
|
formatDate(time, format = '') {
|
|
|
if (time === "0") {
|
|
|
return "--";
|