|
@@ -733,7 +733,14 @@ export default {
|
|
|
page: this.rules.page,
|
|
|
rows: this.rules.limit
|
|
|
}
|
|
|
- getStudentList(obj).then(res => {
|
|
|
+ // 根据乐团id获取学团情况
|
|
|
+ getintoClass({ musicGroupId: this.id }).then(res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.leftList = res.data;
|
|
|
+ }
|
|
|
+ })
|
|
|
+
|
|
|
+ return getStudentList(obj).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
res.data.rows.forEach(item => {
|
|
|
// '未开启缴费', '开启缴费', '已缴费'
|
|
@@ -743,12 +750,7 @@ export default {
|
|
|
})
|
|
|
this.rightList = res.data.rows
|
|
|
this.rules.total = res.data.total
|
|
|
- }
|
|
|
- })
|
|
|
- // 根据乐团id获取学团情况
|
|
|
- getintoClass({ musicGroupId: this.id }).then(res => {
|
|
|
- if (res.code == 200) {
|
|
|
- this.leftList = res.data;
|
|
|
+ return res
|
|
|
}
|
|
|
})
|
|
|
},
|
|
@@ -1107,8 +1109,15 @@ export default {
|
|
|
this.visitVisiable = true;
|
|
|
},
|
|
|
openChangeVoice(row) {
|
|
|
- this.rowDetail = {...row}
|
|
|
- this.changeVoiceVisible = true
|
|
|
+ this.getList()
|
|
|
+ .then(res => {
|
|
|
+ for (const item of res.data.rows) {
|
|
|
+ if (item.id === row.id) {
|
|
|
+ this.rowDetail = {...item}
|
|
|
+ this.changeVoiceVisible = true
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
},
|
|
|
closeChangeVoice() {
|
|
|
this.changeVoiceVisible = false
|