|
@@ -94,7 +94,7 @@
|
|
<el-table-column label="账户" min-width="180">
|
|
<el-table-column label="账户" min-width="180">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-popover placement="right" width="400" trigger="click" @show="getBillList(scope.row.commonId)">
|
|
<el-popover placement="right" width="400" trigger="click" @show="getBillList(scope.row.commonId)">
|
|
- <div class="bill-content">
|
|
|
|
|
|
+ <div v-if='billList.length>0' class="bill-content">
|
|
<div class="bill-item" v-for="(item, index) in billList" :key="index">
|
|
<div class="bill-item" v-for="(item, index) in billList" :key="index">
|
|
<div class="row1">
|
|
<div class="row1">
|
|
<div class="left">
|
|
<div class="left">
|
|
@@ -117,6 +117,7 @@
|
|
</div> -->
|
|
</div> -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div v-else>暂无数据</div>
|
|
<!-- <el-button slot="reference">账单</el-button> -->
|
|
<!-- <el-button slot="reference">账单</el-button> -->
|
|
<span slot="reference" class="btn_css" style="margin-right:20px">账单</span>
|
|
<span slot="reference" class="btn_css" style="margin-right:20px">账单</span>
|
|
</el-popover>
|
|
</el-popover>
|
|
@@ -264,7 +265,7 @@
|
|
<div class="recharge_css">
|
|
<div class="recharge_css">
|
|
<div class="title_css">上传截图 :</div>
|
|
<div class="title_css">上传截图 :</div>
|
|
<div class="upLoad">
|
|
<div class="upLoad">
|
|
- <el-upload class="avatar-uploader" action="https://www.zthymaoyi.com/upload/admin" :show-file-list="false"
|
|
|
|
|
|
+ <el-upload class="avatar-uploader" action="https://apitest.changyuntong56.com/appendix/api/upload" :show-file-list="false"
|
|
:on-success="handleAvatarSuccess">
|
|
:on-success="handleAvatarSuccess">
|
|
<img v-if="imageUrl" :src="imageUrl" class="avatar" />
|
|
<img v-if="imageUrl" :src="imageUrl" class="avatar" />
|
|
<i v-else class="el-icon-plus avatar-uploader-icon"></i>
|
|
<i v-else class="el-icon-plus avatar-uploader-icon"></i>
|
|
@@ -279,7 +280,7 @@
|
|
<!-- 账户信息 -->
|
|
<!-- 账户信息 -->
|
|
<el-dialog :close-on-click-modal="false" title="账户信息" :visible.sync="payInfo" width="500px"
|
|
<el-dialog :close-on-click-modal="false" title="账户信息" :visible.sync="payInfo" width="500px"
|
|
:before-close="payClose">
|
|
:before-close="payClose">
|
|
- <div class="pay">
|
|
|
|
|
|
+ <div v-if='paySee' class="pay">
|
|
<div class="pay_css">
|
|
<div class="pay_css">
|
|
<div class="title_css">收款人:</div>
|
|
<div class="title_css">收款人:</div>
|
|
<div class="name_css">{{ paySee.cardholderName }}</div>
|
|
<div class="name_css">{{ paySee.cardholderName }}</div>
|
|
@@ -382,10 +383,12 @@ export default {
|
|
.then((response) => {
|
|
.then((response) => {
|
|
if (response.code == 200) {
|
|
if (response.code == 200) {
|
|
this.paySee = response.data
|
|
this.paySee = response.data
|
|
- this.payInfo = true;
|
|
|
|
if (!this.paySee) {
|
|
if (!this.paySee) {
|
|
this.$message.error('暂无数据!')
|
|
this.$message.error('暂无数据!')
|
|
|
|
+ return
|
|
}
|
|
}
|
|
|
|
+ this.payInfo = true;
|
|
|
|
+
|
|
}
|
|
}
|
|
})
|
|
})
|
|
.catch(() => {
|
|
.catch(() => {
|
|
@@ -670,7 +673,7 @@ export default {
|
|
},
|
|
},
|
|
//上传付款截图
|
|
//上传付款截图
|
|
handleAvatarSuccess(e) {
|
|
handleAvatarSuccess(e) {
|
|
- this.imageUrl = e.url
|
|
|
|
|
|
+ this.imageUrl = e.data.url
|
|
},
|
|
},
|
|
rechargeSubmit() {
|
|
rechargeSubmit() {
|
|
if (!this.rechargeData.amountMoney) {
|
|
if (!this.rechargeData.amountMoney) {
|