|
@@ -159,13 +159,13 @@ export default {
|
|
components: { pagination },
|
|
components: { pagination },
|
|
data () {
|
|
data () {
|
|
return {
|
|
return {
|
|
- userId: this.$route.query.userId,
|
|
|
|
|
|
+ userId: null,
|
|
musicGroupInfo: [], // 乐团列表
|
|
musicGroupInfo: [], // 乐团列表
|
|
coursesInfo: [], // 排课列表
|
|
coursesInfo: [], // 排课列表
|
|
coursesShow: false, // 排课列表是否显示
|
|
coursesShow: false, // 排课列表是否显示
|
|
searchLsit: [],
|
|
searchLsit: [],
|
|
searchForm: {
|
|
searchForm: {
|
|
- studentId: this.$route.query.userId,
|
|
|
|
|
|
+ studentId: null,
|
|
musicGroupId: null,
|
|
musicGroupId: null,
|
|
classGroupType: null,
|
|
classGroupType: null,
|
|
courseStatus: null,
|
|
courseStatus: null,
|
|
@@ -195,6 +195,13 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted () {
|
|
mounted () {
|
|
|
|
+ this.userId = this.$route.query.userId
|
|
|
|
+ this.searchForm.studentId = this.$route.query.userId
|
|
|
|
+ this.__init()
|
|
|
|
+ },
|
|
|
|
+ activated() {
|
|
|
|
+ this.userId = this.$route.query.userId
|
|
|
|
+ this.searchForm.studentId = this.$route.query.userId
|
|
this.__init()
|
|
this.__init()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|