|
@@ -22,7 +22,7 @@
|
|
|
</template>
|
|
|
</van-nav-bar>
|
|
|
<h2 style="margin-top: 46px;">{{musicGroupName}}</h2>
|
|
|
- <van-tabs color="#01C1B5">
|
|
|
+ <van-tabs color="#01C1B5" @change="onTabChange">
|
|
|
<van-tab title="缴费信息" name="1">
|
|
|
<div class="table">
|
|
|
<div class="title">
|
|
@@ -192,8 +192,8 @@ export default {
|
|
|
setLoading(false)
|
|
|
// 获取订单信息
|
|
|
await this.getOrderList()
|
|
|
- await this.getOrderStudentList()
|
|
|
- await this.getRegisterOrPreList()
|
|
|
+ // await this.getOrderStudentList()
|
|
|
+ // await this.getRegisterOrPreList()
|
|
|
},
|
|
|
methods: {
|
|
|
onClickLeft() {
|
|
@@ -301,6 +301,25 @@ export default {
|
|
|
this.getOrderStudentList(this.voicyPart)
|
|
|
this.getRegisterOrPreList(this.voicyPart)
|
|
|
},
|
|
|
+ onTabChange(name) {
|
|
|
+ console.log(name)
|
|
|
+ if(name == 1) {
|
|
|
+ this.dataList = []
|
|
|
+ this.getOrderList()
|
|
|
+ } else if(name == 2) {
|
|
|
+ this.studentList = []
|
|
|
+ this.getOrderStudentList()
|
|
|
+ } else if(name == 3) {
|
|
|
+ this.config = {
|
|
|
+ regNum: 0,
|
|
|
+ firstDayPayNum: 0,
|
|
|
+ payScale: 0,
|
|
|
+ payNum: 0
|
|
|
+ }
|
|
|
+ this.countList = []
|
|
|
+ this.getRegisterOrPreList()
|
|
|
+ }
|
|
|
+ },
|
|
|
onTip() {
|
|
|
this.$dialog.alert({
|
|
|
message: '家长会当日缴费人数 / 缴费总人数',
|