|
@@ -116,7 +116,6 @@ import {
|
|
getStudentElectiveModels,
|
|
getStudentElectiveModels,
|
|
getOptionalMajors,
|
|
getOptionalMajors,
|
|
getStudentSelected,
|
|
getStudentSelected,
|
|
- getPrimaryElectivesModels,
|
|
|
|
getRecommendMajor
|
|
getRecommendMajor
|
|
} from '@/api/webApi/elective/selected-subject'
|
|
} from '@/api/webApi/elective/selected-subject'
|
|
export default {
|
|
export default {
|
|
@@ -210,7 +209,7 @@ export default {
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
this.loadStudentSelected()
|
|
this.loadStudentSelected()
|
|
- this.getModels()
|
|
|
|
|
|
+ this.getStudentElectiveModels()
|
|
this.getOptionalMajors()
|
|
this.getOptionalMajors()
|
|
// this.getReportList()
|
|
// this.getReportList()
|
|
this.getRecommendMajor()
|
|
this.getRecommendMajor()
|
|
@@ -245,7 +244,8 @@ export default {
|
|
const selectStatus = res.data.selectResult
|
|
const selectStatus = res.data.selectResult
|
|
selectStatus.currentGeneration = 7 // 当前所处的状态
|
|
selectStatus.currentGeneration = 7 // 当前所处的状态
|
|
selectStatus.preferenceCount = 3 // 志愿数
|
|
selectStatus.preferenceCount = 3 // 志愿数
|
|
- selectStatus.groupIds = selectStatus.groupIds || '1,2,3,4,5,6'
|
|
|
|
|
|
+ // selectStatus.groupIds = selectStatus.groupIds || '1,2,3,4,5,6'
|
|
|
|
+ selectStatus.groupIds = '1,2,3,4,5,6'
|
|
this.selectObj = selectStatus
|
|
this.selectObj = selectStatus
|
|
this.allowSelect = res.data.allowSelect
|
|
this.allowSelect = res.data.allowSelect
|
|
this.form.groupId = this.selectObj?.groupId
|
|
this.form.groupId = this.selectObj?.groupId
|