|
@@ -1,6 +1,65 @@
|
|
|
<template>
|
|
|
<div class="studentOrder">
|
|
|
- <div class="headWrap">
|
|
|
+ <statistic>
|
|
|
+ <statistic-item>
|
|
|
+ <span>账户余额</span>
|
|
|
+ <span>
|
|
|
+ {{ dataInfo.balance | moneyFormat}}
|
|
|
+ <i class="el-icon-edit" v-permission="'userCashAccount/updateBalance'" @click="onMoneyOperation('recharge')"></i>
|
|
|
+ </span>
|
|
|
+ </statistic-item>
|
|
|
+ <statistic-item>
|
|
|
+ <span>课程余额</span>
|
|
|
+ <span>
|
|
|
+ {{ dataInfo.courseBalance | moneyFormat}}
|
|
|
+ <i class="el-icon-edit" v-permission="'userCashAccount/updateCourseBalance'" @click="onMoneyOperation('account')"></i>
|
|
|
+ </span>
|
|
|
+ </statistic-item>
|
|
|
+ <statistic-item>
|
|
|
+ <span>银行卡</span>
|
|
|
+ <span>{{ dataInfo.cardNo || '--' }}</span>
|
|
|
+ </statistic-item>
|
|
|
+ <statistic-item>
|
|
|
+ <el-button @click="onCashAccount"
|
|
|
+ v-permission="'userCashAccountDetail/queryPage'"
|
|
|
+ type="primary">交易明细</el-button>
|
|
|
+ </statistic-item>
|
|
|
+ </statistic>
|
|
|
+ <!-- <el-row class="header-items">
|
|
|
+ <el-col :span="5">
|
|
|
+ <span>账户余额</span>
|
|
|
+ <span>
|
|
|
+ {{ dataInfo.balance | moneyFormat}}
|
|
|
+ <i class="el-icon-edit" v-permission="'userCashAccount/updateBalance'" @click="onMoneyOperation('recharge')"></i>
|
|
|
+ </span>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="1">
|
|
|
+ <el-divider direction="vertical"></el-divider>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5">
|
|
|
+ <span>课程余额</span>
|
|
|
+ <span>
|
|
|
+ {{ dataInfo.courseBalance | moneyFormat}}
|
|
|
+ <i class="el-icon-edit" v-permission="'userCashAccount/updateCourseBalance'" @click="onMoneyOperation('account')"></i>
|
|
|
+ </span>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="1">
|
|
|
+ <el-divider direction="vertical"></el-divider>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5">
|
|
|
+ <span>银行卡</span>
|
|
|
+ <span>{{ dataInfo.cardNo || '--' }}</span>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="1">
|
|
|
+ <el-divider direction="vertical"></el-divider>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="6" style="text-align: right;">
|
|
|
+ <el-button @click="onCashAccount"
|
|
|
+ v-permission="'userCashAccountDetail/queryPage'"
|
|
|
+ type="primary">交易明细</el-button>
|
|
|
+ </el-col>
|
|
|
+ </el-row> -->
|
|
|
+ <!-- <div class="headWrap">
|
|
|
<div class="left">
|
|
|
<div class="headItem">
|
|
|
<p>
|
|
@@ -12,24 +71,14 @@
|
|
|
@click="onMoneyOperation('recharge')">修改</el-button>
|
|
|
</div>
|
|
|
<div class="headItem">
|
|
|
- <!-- v-if="amountStatus" -->
|
|
|
<p>
|
|
|
课程余额:
|
|
|
<span>{{ dataInfo.courseBalance| moneyFormat }}</span>
|
|
|
</p>
|
|
|
- <!-- <p v-else>课程余额:<span>
|
|
|
- <el-input style="width: 130px;"
|
|
|
- v-model.trim="dataInfo.courseBalance"
|
|
|
- placeholder="课程余额"></el-input>
|
|
|
- </span></p>-->
|
|
|
|
|
|
<el-button v-permission="'userCashAccount/updateCourseBalance'"
|
|
|
@click="onMoneyOperation('account')"
|
|
|
type="text">修改</el-button>
|
|
|
- <!-- <el-button style="top:0;"
|
|
|
- @click="onUpdateCourse"
|
|
|
- v-else
|
|
|
- type="text">保存</el-button>-->
|
|
|
</div>
|
|
|
<div class="headItem">
|
|
|
<p>
|
|
@@ -37,17 +86,11 @@
|
|
|
<span>{{ dataInfo.cardNo }}</span>
|
|
|
</p>
|
|
|
</div>
|
|
|
- <!-- <div class="headItem">
|
|
|
- <p>支付宝:<span>{{ dataInfo.zfb }}</span></p>
|
|
|
- </div>
|
|
|
- <div class="headItem">
|
|
|
- <p>微信:<span>{{ dataInfo.wxBalance }}</span></p>
|
|
|
- </div>-->
|
|
|
</div>
|
|
|
<el-button @click="onCashAccount"
|
|
|
v-permission="'userCashAccountDetail/queryPage'"
|
|
|
type="primary">交易明细</el-button>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
<!-- 搜索类型 -->
|
|
|
<el-form :inline="true"
|
|
|
class="searchForm"
|
|
@@ -655,6 +698,38 @@ export default {
|
|
|
right: 20px;
|
|
|
}
|
|
|
}
|
|
|
+.header-items{
|
|
|
+ padding: 20px 0;
|
|
|
+ text-align: center;
|
|
|
+ /deep/ .el-icon-edit{
|
|
|
+ cursor: pointer;
|
|
|
+ color: #14928A;
|
|
|
+ font-size: 20px;
|
|
|
+ }
|
|
|
+ /deep/ .el-col {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ min-height: 60px;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ flex-direction: column;
|
|
|
+ }
|
|
|
+ /deep/ .el-col-1{
|
|
|
+ font-size: 60px;
|
|
|
+ }
|
|
|
+ span{
|
|
|
+ display: block;
|
|
|
+ line-height: 1.8;
|
|
|
+ color: rgba(0, 0, 0, .85);
|
|
|
+ font-size: 24px;
|
|
|
+ &:first-child{
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: normal;
|
|
|
+ color: rgba(0, 0, 0, .45);
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
/deep/.el-table .cell {
|
|
|
display: -webkit-box;
|
|
|
overflow: hidden;
|
|
@@ -665,4 +740,4 @@ export default {
|
|
|
|
|
|
// .studentOrder {
|
|
|
// }
|
|
|
-</style>
|
|
|
+</style>
|