|
@@ -348,10 +348,11 @@
|
|
var schoolDetail = await axios.post('/api-student/open/school/detail', {
|
|
var schoolDetail = await axios.post('/api-student/open/school/detail', {
|
|
orchestraId: this.orchestraId
|
|
orchestraId: this.orchestraId
|
|
})
|
|
})
|
|
|
|
+ console.log(schoolDetail)
|
|
if (schoolDetail.data.code === 200) {
|
|
if (schoolDetail.data.code === 200) {
|
|
var schoolSystem = schoolDetail.data.data.schoolSystem || 'sixYearSystem'
|
|
var schoolSystem = schoolDetail.data.data.schoolSystem || 'sixYearSystem'
|
|
this.schoolId = schoolDetail.data.data.id
|
|
this.schoolId = schoolDetail.data.data.id
|
|
- if (schoolDetail === 'sixYearSystem') {
|
|
|
|
|
|
+ if (schoolSystem === 'sixYearSystem') {
|
|
this.currentGrade.push({ text: '六年级', value: 6 })
|
|
this.currentGrade.push({ text: '六年级', value: 6 })
|
|
}
|
|
}
|
|
}
|
|
}
|