|
@@ -221,6 +221,11 @@
|
|
<div>{{ scope.row.isActive ? "是" : "否" }}</div>
|
|
<div>{{ scope.row.isActive ? "是" : "否" }}</div>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
+ <el-table-column align="center" label="欠费金额(元)">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <div :class="[scope.row.noPaymentAmount > 0 ? 'error' : null]">{{ scope.row.noPaymentAmount | moneyFormat }} <i style="color: #14928A; font-size: 17px;" class="el-icon-view" @click="onPaymentDetail(scope.row)"></i></div>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column label="退团原因" align="center">
|
|
<el-table-column label="退团原因" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div>
|
|
<div>
|
|
@@ -596,6 +601,18 @@
|
|
@close="createUserPayVisible = false"
|
|
@close="createUserPayVisible = false"
|
|
/>
|
|
/>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
+
|
|
|
|
+ <el-dialog
|
|
|
|
+ title="缴费记录"
|
|
|
|
+ width="900px"
|
|
|
|
+ :visible.sync="paymentDetailVisible"
|
|
|
|
+ >
|
|
|
|
+ <payment-list
|
|
|
|
+ v-if="paymentDetailVisible"
|
|
|
|
+ :paymentDetail="paymentDetail"
|
|
|
|
+ @close="paymentDetailVisible = false"
|
|
|
|
+ />
|
|
|
|
+ </el-dialog>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
@@ -631,12 +648,15 @@ import cleanDeep from 'clean-deep'
|
|
import createUserPay from './modals/create-user-pay.vue'
|
|
import createUserPay from './modals/create-user-pay.vue'
|
|
import TimesView from './modals/course-time-detail'
|
|
import TimesView from './modals/course-time-detail'
|
|
import paymentCycle from '../../resetTeaming/modals/payment-cycle'
|
|
import paymentCycle from '../../resetTeaming/modals/payment-cycle'
|
|
|
|
+import paymentList from './modals/payment-list'
|
|
import Tooltip from '@/components/Tooltip/index'
|
|
import Tooltip from '@/components/Tooltip/index'
|
|
export default {
|
|
export default {
|
|
name: "tstudentList",
|
|
name: "tstudentList",
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
teamid: "",
|
|
teamid: "",
|
|
|
|
+ paymentDetailVisible: false,
|
|
|
|
+ paymentDetail: {},
|
|
payVisible: false,
|
|
payVisible: false,
|
|
quitVisible: false, // 退团信息确认的弹窗
|
|
quitVisible: false, // 退团信息确认的弹窗
|
|
studentClassVisible: false, // 学员所在班级弹窗
|
|
studentClassVisible: false, // 学员所在班级弹窗
|
|
@@ -800,7 +820,8 @@ export default {
|
|
paymentCycle,
|
|
paymentCycle,
|
|
createUserPay,
|
|
createUserPay,
|
|
Tooltip,
|
|
Tooltip,
|
|
- 'times-view': TimesView
|
|
|
|
|
|
+ 'times-view': TimesView,
|
|
|
|
+ paymentList
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
// 判断是否带缓存参数
|
|
// 判断是否带缓存参数
|
|
@@ -839,6 +860,10 @@ export default {
|
|
this.init();
|
|
this.init();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ onPaymentDetail(row) {
|
|
|
|
+ this.paymentDetail = row
|
|
|
|
+ this.paymentDetailVisible = true
|
|
|
|
+ },
|
|
viewTimer(row) {
|
|
viewTimer(row) {
|
|
// this.timerDetail = row
|
|
// this.timerDetail = row
|
|
this.timesVisible = true
|
|
this.timesVisible = true
|
|
@@ -1436,6 +1461,10 @@ export default {
|
|
// flex-direction: row;
|
|
// flex-direction: row;
|
|
// }
|
|
// }
|
|
// }
|
|
// }
|
|
|
|
+
|
|
|
|
+.error {
|
|
|
|
+ color: red;
|
|
|
|
+}
|
|
.el-select {
|
|
.el-select {
|
|
width: 180px !important;
|
|
width: 180px !important;
|
|
}
|
|
}
|