|
@@ -411,16 +411,6 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- var orchestraDetail = await axios.get('/api-student/open/orchestra/detail/' + this.orchestraId)
|
|
|
- if (orchestraDetail.data.code === 200) {
|
|
|
- this.orchestraName = orchestraDetail.data.data.name || ''
|
|
|
- this.canSignUp = orchestraDetail.data.data.status
|
|
|
- if (orchestraDetail.data.data.status !== 'PRE_REGISTER') {
|
|
|
- vant.showToast('乐团预报名阶段已结束')
|
|
|
- // return
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
var subjects = await axios.post('/api-student/open/orchestraSubjectConfig/pageByOrchestraId', {
|
|
|
orchestraId: this.orchestraId,
|
|
|
page: 1,
|
|
@@ -435,6 +425,16 @@
|
|
|
})
|
|
|
})
|
|
|
}
|
|
|
+
|
|
|
+ var orchestraDetail = await axios.get('/api-student/open/orchestra/detail/' + this.orchestraId)
|
|
|
+ if (orchestraDetail.data.code === 200) {
|
|
|
+ this.orchestraName = orchestraDetail.data.data.name || ''
|
|
|
+ this.canSignUp = orchestraDetail.data.data.status
|
|
|
+ if (orchestraDetail.data.data.status !== 'PRE_REGISTER') {
|
|
|
+ vant.showToast('乐团预报名阶段已结束')
|
|
|
+ return
|
|
|
+ }
|
|
|
+ }
|
|
|
} catch {
|
|
|
vant.showDialog({
|
|
|
message: '信息获取失败,请联系老师',
|