123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487 |
- // import electiveModels from '/doc/Mind/electiveModels.json'
- const Mock = require('mockjs')
- 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], // 匹配哪几个组合?
- }
- ]
- }
- }
- },
- // 选科报名models
- {
- url: '/mock/front/elective/studentElectiveModels',
- type:'get',
- response: config => {
- return {
- code: 200,
- msg: 'success',
- data:[
- {
- models: [
- {
- groupId: 1,
- groupName: '物化生',
- classCount: 6,
- personCount: 300,
- rankInGroup: 290,
- rankInGrade: 357,
- allowSelect: true,
- disabledReason: '0',
- selected: false,
- selectedRank: 1,
- actualCount: 320,
- approved: false,
- forceAdjusted: false,
- groupApprovedCount: 0,
- groupForceAdjustedCount: 0
- }
- ],
- generation: 1,
- studentId: 1001
- },
- {
- models: [
- {
- groupId: 1,
- groupName: '物化生',
- classCount: 6,
- personCount: 300,
- rankInGroup: 290,
- rankInGrade: 357,
- allowSelect: true,
- disabledReason: '',
- selected: false,
- selectedRank: 1,
- actualCount: 320,
- approved: false,
- forceAdjusted: false,
- groupApprovedCount: 300,
- groupForceAdjustedCount: 0
- }
- ],
- generation: 2,
- studentId: 1001
- },
- {
- models: [
- {
- groupIndicator: 30,
- rankInIndicator: 14,
- rankInBest: 16,
- rankInDisenroll: 0,
- bestInIndicator: 20,
- scoreSumAll: 0,
- scoreSumGroup: 514,
- isRecommend: false,
- groupId: 1,
- groupName: '物化生',
- classCount: 6,
- personCount: 300,
- rankInGroup: 10,
- rankInGrade: 357,
- allowSelect: true,
- disabledReason: '',
- selected: false,
- selectedRank: 1,
- actualCount: 320,
- approved: false,
- forceAdjusted: false,
- groupApprovedCount: 300,
- groupForceAdjustedCount: 0
- }
- ],
- generation: 3,
- studentId: 1001
- },
- {
- models: [
- {
- groupIndicator: 30,
- rankInIndicator: 14,
- rankInBest: 16,
- rankInDisenroll: 0,
- bestInIndicator: 20,
- scoreSumAll: 0,
- scoreSumGroup: 514,
- isRecommend: false,
- groupId: 1,
- groupName: '物化生',
- classCount: 6,
- personCount: 300,
- rankInGroup: 10,
- rankInGrade: 357,
- allowSelect: true,
- disabledReason: '',
- selected: false,
- selectedRank: 1,
- actualCount: 302,
- approved: false,
- forceAdjusted: false,
- groupApprovedCount: 300,
- groupForceAdjustedCount: 0
- }
- ],
- generation: 4,
- studentId: 1001
- },
- {
- models: [
- {
- groupIndicator: 30,
- rankInIndicator: 14,
- rankInBest: 16,
- rankInDisenroll: 0,
- bestInIndicator: 20,
- scoreSumAll: 0,
- scoreSumGroup: 514,
- isRecommend: false,
- groupId: 1,
- groupName: '物化生',
- classCount: 6,
- personCount: 300,
- rankInGroup: 10,
- rankInGrade: 357,
- allowSelect: true,
- disabledReason: '',
- selected: false,
- selectedRank: 1,
- actualCount: 302,
- approved: false,
- forceAdjusted: false,
- groupApprovedCount: 300,
- groupForceAdjustedCount: 0
- }
- ],
- generation: 5,
- studentId: 1001
- },
- {
- models: [
- {
- groupIndicator: 30,
- rankInIndicator: 14,
- rankInBest: 16,
- rankInDisenroll: 0,
- bestInIndicator: 20,
- scoreSumAll: 0,
- scoreSumGroup: 514,
- isRecommend: false,
- groupId: 1,
- groupName: '物化生',
- classCount: 6,
- personCount: 300,
- rankInGroup: 10,
- rankInGrade: 357,
- allowSelect: true,
- disabledReason: '',
- selected: false,
- selectedRank: 1,
- actualCount: 300,
- approved: false,
- forceAdjusted: false,
- groupApprovedCount: 300,
- groupForceAdjustedCount: 0
- }
- ],
- generation: 6,
- studentId: 1001
- },
- {
- models: [
- {
- groupIndicator: 30,
- rankInIndicator: 14,
- rankInBest: 16,
- rankInDisenroll: 0,
- bestInIndicator: 20,
- scoreSumAll: 0,
- scoreSumGroup: 514,
- isRecommend: false,
- groupId: 1,
- groupName: '物化生',
- classCount: 6,
- personCount: 300,
- rankInGroup: 10,
- rankInGrade: 357,
- allowSelect: true,
- disabledReason: '',
- selected: false,
- selectedRank: 1,
- actualCount: 300,
- approved: false,
- forceAdjusted: false,
- groupApprovedCount: 300,
- groupForceAdjustedCount: 0
- }
- ],
- generation: 7,
- studentId: 1001
- }
- ]
- }
- }
- },
- // 选科报名models
- {
- url: '/mock/front/elective/studentElectiveModels',
- type:'get',
- response: config => {
- return {
- code: '200',
- msg: 'success',
- data: [
- {
- "models": [
- {
- "groupId": 1,
- "groupName": '物化生',
- "classCount": 6,
- "personCount": 300,
- "rankInGroup": 290,
- "rankInGrade": 357,
- "allowSelect": true,
- "disabledReason": '0',
- "selected": false,
- "selectedRank": 1,
- "actualCount": 320,
- "approved": false,
- "forceAdjusted": false,
- "groupApprovedCount":0,
- "groupForceAdjustedCount": 0
- }
- ],
- "generation": 1,
- "studentId": 1001
- },
- {
- "models": [
- {
- "groupId": 1,
- "groupName": '物化生',
- "classCount": 6,
- "personCount": 300,
- "rankInGroup": 290,
- "rankInGrade": 357,
- "allowSelect": true,
- "disabledReason": '',
- "selected": false,
- "selectedRank": 1,
- "actualCount": 320,
- "approved": false,
- "forceAdjusted": false,
- "groupApprovedCount": 300,
- "groupForceAdjustedCount": 0
- }
- ],
- "generation": 2,
- "studentId": 1001
- },
- {
- "models": [
- {
- "groupIndicator":30,
- "rankInIndicator": 14,
- "rankInBest": 16,
- "rankInDisenroll": 0,
- "bestInIndicator": 20,
- "scoreSumAll": 0,
- "scoreSumGroup": 514,
- "isRecommend": false,
- "groupId": 1,
- "groupName": '物化生',
- "classCount": 6,
- "personCount": 300,
- "rankInGroup": 10,
- "rankInGrade": 357,
- "allowSelect": true,
- "disabledReason": '',
- "selected": false,
- "selectedRank": 1,
- "actualCount": 320,
- "approved": false,
- "forceAdjusted": false,
- "groupApprovedCount": 300,
- "groupForceAdjustedCount": 0
- }
- ],
- "generation": 3,
- "studentId": 1001
- },
- {
- "models": [
- {
- "groupIndicator":30,
- "rankInIndicator": 14,
- "rankInBest": 16,
- "rankInDisenroll": 0,
- "bestInIndicator": 20,
- "scoreSumAll": 0,
- "scoreSumGroup": 514,
- "isRecommend": false,
- "groupId": 1,
- "groupName": '物化生',
- "classCount": 6,
- "personCount": 300,
- "rankInGroup": 10,
- "rankInGrade": 357,
- "allowSelect": true,
- "disabledReason": '',
- "selected": false,
- "selectedRank": 1,
- "actualCount": 302,
- "approved": false,
- "forceAdjusted": false,
- "groupApprovedCount": 300,
- "groupForceAdjustedCount": 0
- }
- ],
- "generation": 4,
- "studentId": 1001
- },
- {
- "models": [
- {
- "groupIndicator":30,
- "rankInIndicator": 14,
- "rankInBest": 16,
- "rankInDisenroll": 0,
- "bestInIndicator": 20,
- "scoreSumAll": 0,
- "scoreSumGroup": 514,
- "isRecommend": false,
- "groupId": 1,
- "groupName": '物化生',
- "classCount": 6,
- "personCount": 300,
- "rankInGroup": 10,
- "rankInGrade": 357,
- "allowSelect": true,
- "disabledReason": '',
- "selected": false,
- "selectedRank": 1,
- "actualCount": 302,
- "approved": false,
- "forceAdjusted": false,
- "groupApprovedCount": 300,
- "groupForceAdjustedCount": 0
- }
- ],
- "generation": 5,
- "studentId": 1001
- },
- {
- "models": [
- {
- "groupIndicator": 30,
- "rankInIndicator": 14,
- "rankInBest": 16,
- "rankInDisenroll": 0,
- "bestInIndicator": 20,
- "scoreSumAll": 0,
- "scoreSumGroup": 514,
- "isRecommend": false,
- "groupId": 1,
- "groupName": '物化生',
- "classCount": 6,
- "personCount": 300,
- "rankInGroup": 10,
- "rankInGrade": 357,
- "allowSelect": true,
- "disabledReason": '',
- "selected": false,
- "selectedRank": 1,
- "actualCount": 300,
- "approved": false,
- "forceAdjusted": false,
- "groupApprovedCount": 300,
- "groupForceAdjustedCount": 0
- }
- ],
- "generation": 6,
- "studentId": 1001
- },
- {
- "models": [
- {
- "groupIndicator":30,
- "rankInIndicator": 14,
- "rankInBest": 16,
- "rankInDisenroll": 0,
- "bestInIndicator": 20,
- "scoreSumAll": 0,
- "scoreSumGroup": 514,
- "isRecommend": false,
- "groupId": 1,
- "groupName": '物化生',
- "classCount": 6,
- "personCount": 300,
- "rankInGroup": 10,
- "rankInGrade": 357,
- "allowSelect": true,
- "disabledReason": '',
- "selected": false,
- "selectedRank": 1,
- "actualCount": 300,
- "approved": false,
- "forceAdjusted": false,
- "groupApprovedCount": 300,
- "groupForceAdjustedCount": 0
- }
- ],
- "generation": 7,
- "studentId": 1001
- }
- ]
- }
- }
- }
- ]
|