add
This commit is contained in:
parent
2d04ec3151
commit
f51ac63e39
|
@ -104,7 +104,7 @@
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button size="mini" type="primary" @click="queryList"
|
<el-button size="mini" type="primary" @click="init"
|
||||||
>查询</el-button
|
>查询</el-button
|
||||||
>
|
>
|
||||||
<el-button size="mini" type="primary" @click="Reset"
|
<el-button size="mini" type="primary" @click="Reset"
|
||||||
|
@ -113,27 +113,41 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div>
|
<div>
|
||||||
<el-table :data="tableData" style="width: 100%">
|
<el-table border :data="tableData" style="width: 100%">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
align="center"
|
||||||
prop="cashOutOrderNumber"
|
prop="cashOutOrderNumber"
|
||||||
label="提现申请订单号"
|
label="提现申请订单号"
|
||||||
width="180"
|
width="180"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
align="center"
|
||||||
prop="cashOutAmount"
|
prop="cashOutAmount"
|
||||||
label="提现申请金额"
|
label="提现申请金额"
|
||||||
width="180"
|
width="120"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="cashOutStatus" label="申请状态">
|
<el-table-column
|
||||||
|
align="center"
|
||||||
|
prop="cashOutStatus"
|
||||||
|
label="申请状态"
|
||||||
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ getStatus(scope.row.cashOutStatus) }}</span>
|
<span>{{ getStatus(scope.row.cashOutStatus) }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="address" label="提现申请时间">
|
<el-table-column
|
||||||
|
align="center"
|
||||||
|
prop="cashOutTime"
|
||||||
|
label="提现申请时间"
|
||||||
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="address" label="交易到账时间">
|
<el-table-column
|
||||||
|
align="center"
|
||||||
|
prop="tradeReceivedTime"
|
||||||
|
label="交易到账时间"
|
||||||
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
|
@ -184,16 +198,16 @@
|
||||||
<div>
|
<div>
|
||||||
<div style="font-size: 18px; font-weight: 600">总收入</div>
|
<div style="font-size: 18px; font-weight: 600">总收入</div>
|
||||||
<div style="margin-top: 20px; font-size: 18px">
|
<div style="margin-top: 20px; font-size: 18px">
|
||||||
¥{{
|
¥{{ TotalData.totalIncome ? TotalData.totalIncome : "0" }}
|
||||||
TotalData.totalIncome ? TotalData.totalIncome : "0"
|
|
||||||
}}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div style="font-size: 18px; font-weight: 600">总支出</div>
|
<div style="font-size: 18px; font-weight: 600">总支出</div>
|
||||||
<div style="margin-top: 20px; font-size: 18px">
|
<div style="margin-top: 20px; font-size: 18px">
|
||||||
¥{{
|
¥{{
|
||||||
TotalData.totalExpenditure ? TotalData.totalExpenditure : "0"
|
TotalData.totalExpenditure
|
||||||
|
? TotalData.totalExpenditure
|
||||||
|
: "0"
|
||||||
}}
|
}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -205,23 +219,24 @@
|
||||||
</div>
|
</div>
|
||||||
<div style="background: #fff; padding: 10px; height: 55vh">
|
<div style="background: #fff; padding: 10px; height: 55vh">
|
||||||
<div
|
<div
|
||||||
v-for="item in 5"
|
v-for="item in billList"
|
||||||
:key="item"
|
:key="item.id"
|
||||||
style="
|
style="
|
||||||
|
min-width: 380px;
|
||||||
background: #f1f8fe;
|
background: #f1f8fe;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<div style="font-size: 18px">12月06日 周五</div>
|
<div style="font-size: 18px">{{ item.billOrderTime }}</div>
|
||||||
<div class="wallet-item">
|
<div class="wallet-item">
|
||||||
<div>收入</div>
|
<div>订单号:{{ item.billOrderNumber }}</div>
|
||||||
<div>+666</div>
|
<div>订单状态:{{ getBillStatus(item.billStatus) }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="wallet-item">
|
<div class="wallet-item">
|
||||||
<div>转账</div>
|
<div>{{ item.billTypeName }}</div>
|
||||||
<div>余额:427</div>
|
<div>余额:{{ item.amountAfterChange }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -243,7 +258,8 @@ export default {
|
||||||
value1: [],
|
value1: [],
|
||||||
userInfo: {},
|
userInfo: {},
|
||||||
tableData: [],
|
tableData: [],
|
||||||
TotalData:{},
|
TotalData: {},
|
||||||
|
billList: [],
|
||||||
query: {
|
query: {
|
||||||
pageNumber: 1,
|
pageNumber: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
|
@ -264,21 +280,17 @@ export default {
|
||||||
init() {
|
init() {
|
||||||
console.log("1213");
|
console.log("1213");
|
||||||
this.$api.wallet.myWallet().then((res) => {
|
this.$api.wallet.myWallet().then((res) => {
|
||||||
console.log(res);
|
|
||||||
this.userInfo = res.data.data;
|
this.userInfo = res.data.data;
|
||||||
});
|
});
|
||||||
this.$api.wallet.WithdrawalRecord(this.query).then((res) => {
|
this.$api.wallet.WithdrawalRecord(this.query).then((res) => {
|
||||||
console.log(res, "1122");
|
|
||||||
|
|
||||||
this.tableData = res.data.data.data;
|
this.tableData = res.data.data.data;
|
||||||
});
|
});
|
||||||
this.$api.wallet.totalAmount({amountChangeType:""}).then((res) => {
|
this.$api.wallet.totalAmount({ amountChangeType: "" }).then((res) => {
|
||||||
console.log(res);
|
this.TotalData = res.data.data;
|
||||||
this.TotalData = res.data.data
|
|
||||||
// this.total = res.data.data;
|
|
||||||
});
|
});
|
||||||
this.$api.wallet.getBankInfo().then((res) => {
|
this.$api.wallet.getBankInfo().then((res) => {
|
||||||
console.log(res);
|
console.log(res, "bull");
|
||||||
|
this.billList = res.data.data.data;
|
||||||
// this.total = res.data.data;
|
// this.total = res.data.data;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
@ -337,6 +349,17 @@ export default {
|
||||||
this.formInline.endCashOutTime = "";
|
this.formInline.endCashOutTime = "";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
getBillStatus(row) {
|
||||||
|
if (row == 1) {
|
||||||
|
return "待同步";
|
||||||
|
} else if (row == 2) {
|
||||||
|
return "同步中";
|
||||||
|
} else if (row == 3) {
|
||||||
|
return "同步成功";
|
||||||
|
} else if (row == 4) {
|
||||||
|
return "同步失败";
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue