|
@@ -54,6 +54,99 @@ module.exports = [
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ url: '/mock/front/elective/optionalMajors',
|
|
|
|
+ type:'get',
|
|
|
|
+ response: config => {
|
|
|
|
+ return {
|
|
|
|
+ code: 200,
|
|
|
|
+ msg: 'success',
|
|
|
|
+ data:[
|
|
|
|
+ {
|
|
|
|
+ collegeId: 1,
|
|
|
|
+ collegeName: '北京大学',
|
|
|
|
+ majorCategoryName: '计算机技术', // 专业类别
|
|
|
|
+ majorCategoryCode: '1', // 专业编码
|
|
|
|
+ majors: [], // 类别下分类
|
|
|
|
+ limitationA: '',
|
|
|
|
+ limitationB: '',
|
|
|
|
+ matchedGroupIds: [3,2], // 匹配哪几个组合?
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ collegeId: 2,
|
|
|
|
+ collegeName: '湖南大学',
|
|
|
|
+ majorCategoryName: '医学', // 专业类别
|
|
|
|
+ majorCategoryCode: '2', // 专业编码
|
|
|
|
+ majors: [], // 类别下分类
|
|
|
|
+ limitationA: '',
|
|
|
|
+ limitationB: '',
|
|
|
|
+ matchedGroupIds: [2], // 匹配哪几个组合?
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ collegeId: 3,
|
|
|
|
+ collegeName: '中南大学',
|
|
|
|
+ majorCategoryName: '法学', // 专业类别
|
|
|
|
+ majorCategoryCode: '3', // 专业编码
|
|
|
|
+ majors: [], // 类别下分类
|
|
|
|
+ limitationA: '',
|
|
|
|
+ limitationB: '',
|
|
|
|
+ matchedGroupIds: [1,2], // 匹配哪几个组合?
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ collegeId: 3,
|
|
|
|
+ collegeName: '中南大学',
|
|
|
|
+ majorCategoryName: '土木工程', // 专业类别
|
|
|
|
+ majorCategoryCode: 'a', // 专业编码
|
|
|
|
+ majors: [], // 类别下分类
|
|
|
|
+ limitationA: '',
|
|
|
|
+ limitationB: '',
|
|
|
|
+ matchedGroupIds: [1], // 匹配哪几个组合?
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ // 评测推荐专业
|
|
|
|
+ {
|
|
|
|
+ url: '/mock/front/elective/evaluationMajors',
|
|
|
|
+ type:'get',
|
|
|
|
+ response: config => {
|
|
|
|
+ return {
|
|
|
|
+ code: 200,
|
|
|
|
+ msg: 'success',
|
|
|
|
+ data:[
|
|
|
|
+ {
|
|
|
|
+ majorCategoryName: '法学', // 专业类别
|
|
|
|
+ majorCategoryCode: '1', // 专业编码
|
|
|
|
+ limitationA: '',
|
|
|
|
+ limitationB: '',
|
|
|
|
+ matchedGroupIds: [3,2], // 匹配哪几个组合?
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ majorCategoryName: '心理学', // 专业类别
|
|
|
|
+ majorCategoryCode: '2', // 专业编码
|
|
|
|
+ limitationA: '',
|
|
|
|
+ limitationB: '',
|
|
|
|
+ matchedGroupIds: [2], // 匹配哪几个组合?
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ majorCategoryName: '管理学', // 专业类别
|
|
|
|
+ majorCategoryCode: '3', // 专业编码
|
|
|
|
+ limitationA: '',
|
|
|
|
+ limitationB: '',
|
|
|
|
+ matchedGroupIds: [1,2], // 匹配哪几个组合?
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ majorCategoryName: '土木工程', // 专业类别
|
|
|
|
+ majorCategoryCode: 'a', // 专业编码
|
|
|
|
+ limitationA: '',
|
|
|
|
+ limitationB: '',
|
|
|
|
+ matchedGroupIds: [1,3], // 匹配哪几个组合?
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
{
|
|
{
|
|
url: '/mock/front/elective/primaryElectives',
|
|
url: '/mock/front/elective/primaryElectives',
|
|
type:'get',
|
|
type:'get',
|