|
@@ -1,20 +1,25 @@
|
|
|
<template>
|
|
|
<div class="">
|
|
|
- <div
|
|
|
- class="m-10 bg-w p-20 br-10 f-sa-s">
|
|
|
- <div class="f-fs-c f-col">
|
|
|
- <div style="font-size: 16px;">总收入金额</div>
|
|
|
- <div class="mt-4" style="font-weight: bold; font-size: 18px;">{{statistics.sumPaidPrice}}</div>
|
|
|
+ <div class="m-10 bg-w p-20 br-10 f-sa-s">
|
|
|
+ <div class="f-fs-c f-col">
|
|
|
+ <div style="font-size: 16px;">总收入金额</div>
|
|
|
+ <div class="mt-4" style="font-weight: bold; font-size: 18px;">
|
|
|
+ {{ statistics.sumPaidPrice }}
|
|
|
</div>
|
|
|
- <div class="f-fs-c f-col">
|
|
|
- <div style="font-size: 16px;">成功提现金额</div>
|
|
|
- <div class="mt-4" style="font-weight: bold; font-size: 18px;">{{statistics.undrawnAmount}}</div>
|
|
|
+ </div>
|
|
|
+ <div class="f-fs-c f-col">
|
|
|
+ <div style="font-size: 16px;">成功提现金额</div>
|
|
|
+ <div class="mt-4" style="font-weight: bold; font-size: 18px;">
|
|
|
+ {{ statistics.undrawnAmount }}
|
|
|
</div>
|
|
|
- <div class="f-fs-c f-col">
|
|
|
- <div style="font-size: 16px;">未提现金额</div>
|
|
|
- <div class="mt-4" style="font-weight: bold; font-size: 18px;">{{statistics.withdrawalAmount}}</div>
|
|
|
+ </div>
|
|
|
+ <div class="f-fs-c f-col">
|
|
|
+ <div style="font-size: 16px;">未提现金额</div>
|
|
|
+ <div class="mt-4" style="font-weight: bold; font-size: 18px;">
|
|
|
+ {{ statistics.withdrawalAmount }}
|
|
|
</div>
|
|
|
</div>
|
|
|
+ </div>
|
|
|
|
|
|
<toolbar @on-filter="filterData" @on-reset="filterData" />
|
|
|
|
|
@@ -31,7 +36,7 @@
|
|
|
<script>
|
|
|
import toolbar from './toolbar';
|
|
|
import mxFilterList from '@/mixins/filterList';
|
|
|
-import { getPage,getCount } from '@/api/statistics/withdrawalRecord';
|
|
|
+import { getPage, getCount } from '@/api/statistics/withdrawalRecord';
|
|
|
|
|
|
export default {
|
|
|
name: 'WithdrawalRecord',
|
|
@@ -159,22 +164,19 @@ export default {
|
|
|
this.$g_off('withdrawal_record_reload', this.reload);
|
|
|
},
|
|
|
|
|
|
- methods:{
|
|
|
+ methods: {
|
|
|
async pageChange(page) {
|
|
|
this.pagination.page = page;
|
|
|
const inParams = {
|
|
|
...this.filter,
|
|
|
...this.internalFilterObj,
|
|
|
- page: this.pagination.page,
|
|
|
- size: this.pagination.pageSize
|
|
|
+ start: this.pagination.page,
|
|
|
+ limit: this.pagination.pageSize
|
|
|
};
|
|
|
|
|
|
- const { data, msg } = await this.apiList(inParams, {
|
|
|
- limit: this.pagination.pageSize,
|
|
|
- start: this.pagination.page
|
|
|
- });
|
|
|
- const res2 = await getCount(inParams)
|
|
|
- this.statistics = res2.data
|
|
|
+ const { data, msg } = await this.apiList(inParams);
|
|
|
+ const res2 = await getCount(inParams);
|
|
|
+ this.statistics = res2.data;
|
|
|
if ('data' in data) {
|
|
|
const items = data.data;
|
|
|
if (items.length === 0 && this.pagination.page > 1) {
|
|
@@ -185,7 +187,7 @@ export default {
|
|
|
}
|
|
|
this.loadCallBack(data);
|
|
|
}
|
|
|
- },
|
|
|
+ }
|
|
|
}
|
|
|
};
|
|
|
</script>
|