|
@@ -5,12 +5,12 @@ module.exports = [
|
|
// 自选专业
|
|
// 自选专业
|
|
{
|
|
{
|
|
url: '/mock/front/elective/optionalMajors',
|
|
url: '/mock/front/elective/optionalMajors',
|
|
- type:'get',
|
|
|
|
|
|
+ type: 'get',
|
|
response: config => {
|
|
response: config => {
|
|
return {
|
|
return {
|
|
code: 200,
|
|
code: 200,
|
|
msg: 'success',
|
|
msg: 'success',
|
|
- data:[
|
|
|
|
|
|
+ data: [
|
|
{
|
|
{
|
|
collegeId: 1,
|
|
collegeId: 1,
|
|
collegeName: '北京大学',
|
|
collegeName: '北京大学',
|
|
@@ -19,7 +19,7 @@ module.exports = [
|
|
majors: [], // 类别下分类
|
|
majors: [], // 类别下分类
|
|
limitationA: '',
|
|
limitationA: '',
|
|
limitationB: '',
|
|
limitationB: '',
|
|
- matchedGroupIds: [3,2], // 匹配哪几个组合?
|
|
|
|
|
|
+ matchedGroupIds: [3, 2] // 匹配哪几个组合?
|
|
},
|
|
},
|
|
{
|
|
{
|
|
collegeId: 2,
|
|
collegeId: 2,
|
|
@@ -29,7 +29,7 @@ module.exports = [
|
|
majors: [], // 类别下分类
|
|
majors: [], // 类别下分类
|
|
limitationA: '',
|
|
limitationA: '',
|
|
limitationB: '',
|
|
limitationB: '',
|
|
- matchedGroupIds: [2], // 匹配哪几个组合?
|
|
|
|
|
|
+ matchedGroupIds: [2] // 匹配哪几个组合?
|
|
},
|
|
},
|
|
{
|
|
{
|
|
collegeId: 3,
|
|
collegeId: 3,
|
|
@@ -39,7 +39,7 @@ module.exports = [
|
|
majors: [], // 类别下分类
|
|
majors: [], // 类别下分类
|
|
limitationA: '',
|
|
limitationA: '',
|
|
limitationB: '',
|
|
limitationB: '',
|
|
- matchedGroupIds: [1,2], // 匹配哪几个组合?
|
|
|
|
|
|
+ matchedGroupIds: [1, 2] // 匹配哪几个组合?
|
|
},
|
|
},
|
|
{
|
|
{
|
|
collegeId: 3,
|
|
collegeId: 3,
|
|
@@ -49,7 +49,7 @@ module.exports = [
|
|
majors: [], // 类别下分类
|
|
majors: [], // 类别下分类
|
|
limitationA: '',
|
|
limitationA: '',
|
|
limitationB: '',
|
|
limitationB: '',
|
|
- matchedGroupIds: [1], // 匹配哪几个组合?
|
|
|
|
|
|
+ matchedGroupIds: [1] // 匹配哪几个组合?
|
|
}
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
@@ -58,12 +58,12 @@ module.exports = [
|
|
// 选科报名models
|
|
// 选科报名models
|
|
{
|
|
{
|
|
url: '/mock/front/elective/enroll/getStudentElectiveModels',
|
|
url: '/mock/front/elective/enroll/getStudentElectiveModels',
|
|
- type:'get',
|
|
|
|
|
|
+ type: 'get',
|
|
response: config => {
|
|
response: config => {
|
|
return {
|
|
return {
|
|
code: 200,
|
|
code: 200,
|
|
msg: 'success',
|
|
msg: 'success',
|
|
- data:[
|
|
|
|
|
|
+ data: [
|
|
{
|
|
{
|
|
models: [
|
|
models: [
|
|
{
|
|
{
|
|
@@ -89,7 +89,12 @@ module.exports = [
|
|
approved: false,
|
|
approved: false,
|
|
forceAdjusted: false,
|
|
forceAdjusted: false,
|
|
groupApprovedCount: 0,
|
|
groupApprovedCount: 0,
|
|
- groupForceAdjustedCount: 0
|
|
|
|
|
|
+ groupForceAdjustedCount: 0,
|
|
|
|
+
|
|
|
|
+ preferenceOverflow: 0,
|
|
|
|
+ nextGroupIndicator: 0,
|
|
|
|
+ nextAllowSelect: false,
|
|
|
|
+ nextRecommend: false
|
|
},
|
|
},
|
|
|
|
|
|
{
|
|
{
|
|
@@ -1173,7 +1178,7 @@ module.exports = [
|
|
]
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- },
|
|
|
|
|
|
+ }
|
|
// 选科报名models
|
|
// 选科报名models
|
|
// {
|
|
// {
|
|
// url: '/mock/front/elective/studentElectiveModels',
|
|
// url: '/mock/front/elective/studentElectiveModels',
|