export default { currentYear: 2022, mobilePattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, keys: { sysToken: 'Admin-Token', token: 'Admin-Token', menuTab: 'Menu-Tab', menuList: 'Menu-List', menuListAction: 'Menu-List-Action', activeMenu: 'Active-Menu', userInfo: 'User-Info', keyPaperShortcutNotified: 'keyPaperShortcutNotified', keyCachePrefix: 'mx-cache-', electiveGlobalChangeEvent: 'electiveGlobalChangeEvent', keyGenerationCartChanged: 'keyGenerationCartChanged', keyVoluntaryDetail: 'usingVoluntaryDetailCache', keyVoluntaryEdit: 'usingVoluntaryEditCache' }, enum: { scoreLock: { // 待锁定状态 locking: -1, // 正常状态 unlock: 0, // 已锁定状态 locked: 1 }, paper: { boardMode: { text: 'text', image: 'image' }, parseMode: { parse: 'parse', score: 'score' }, examineeType: { evaluation: 1, // 测评中心 competition: 2, // 学乐园 - 竞赛 ai: 3, // 数据中心 - AI匹配试题 elective: 4 // 选科测评 } }, formType: { addClassMaster: 'AddClassMaster', updateClassMaster: 'UpdateClassMaster', delClassMaster: 'DelClassMaster', addClass: 'AddClass', updateClass: 'UpdateClass', delClass: 'DelClass' }, formStatus: { init: 0, approved: 1, rejected: 2, canceled: 3 }, formAudit: { system: 'System', headMaster: 'HeadMaster', auto: 'Auto' }, uploadType: { default: 0, personalResource: 1, cloudResource: 2, schoolResource: 3, appVideo: 4, microFile: 5, answerResource: 6, questionsPicture: 7, codeResourcePic: 8, avatar: 9, competition: 10, customPaper: 11 }, scoreImportType: { manual: 1, // 手工导入 outerSystem: 2, // 外部系统:阅卷系统 innerSystem: 3 // 内部系统:测评中心 }, selectTestType: { // / 选科测评类型 philosophy: 1, // 人生价值观 occupation: 2, // 职业兴趣 knowledge: 3 // 知识兴趣 }, mentalHealthTestType: 4, // 心理健康测评 electivePermission: { applyCount: 'elective:student:apply:applyCount', // 初录选科人数比 elective:student:apply:scoreByGroup scoreByGroup: 'elective:student:apply:scoreByGroup', // 组合成绩 rankInGroup: 'elective:student:apply:rankInGroup', // 当前组合实时排名 rankInGrade: 'elective:student:apply:rankInGrade' // 当前组合全校排名 }, gkSelectType: { towFormFour: 1, // 3+1+2 threeFormSix: 2 // 6选3 }, electiveMajorMatchType: { optional: { value: 1, title: '自选专业' }, electiveTest: { value: 2, title: '测评专业' } }, librarySource: { question: 1, video: 2, courseware: 3, custom: 4, task: 5, // 班级任务 microclass: 6 // 名学微课宝 }, generateScene: { // 组卷场景区分 none: { value: 0, key: 'none' }, normal: { value: 1, key: 'normal' }, paperWork: { value: 2, key: 'paperWork' } }, questionBranches: { chapter: { label: '按章节选题', value: 'chapter' }, knowledge: { label: '按知识点选题', value: 'knowledge' } }, electiveReportType: { student: 1, teacher: 2, master: 3 }, // / 1:在线作业,2:视频作业,3:试卷作业,4:文字作业 homeworkTypes: [{ label: '在线作业', value: 1, usePaper: true, visible: true }, { label: '视频作业', value: 2, useVideo: true, visible: true }, { label: '试卷作业', value: 3, usePaper: true, visible: true }, { label: '文字作业', value: 4, visible: false }], aliIdType: { AliIdResourcePerson: 5 // 个人资源库收藏 }, recruitPlanCategory: { // 现在支持1.2.3 visibleKeys: ['common', 'art', 'sports'], // 招生计划类型 common: 1, // 普通招生 art: 2, // 艺术招生 sports: 3, // 体育招生 vhs: 4, // 职高对口 names: { 1: '提前批', 2: '艺术类', 3: '体育类', 4: '职高对口' } } }, recommendOptions: { sinoforeign: [ { label: '不限', value: '' }, { label: '仅看中外', value: true }, { label: '不看中外', value: false } ], collect: [ { label: '不限', value: '' }, { label: '仅看征集', value: true }, { label: '不看征集', value: false } ], specialProjectNation: [ { label: '不限', value: '' }, { label: '仅看国家专项', value: true }, { label: '不看国家专项', value: false } ], specialProjectLocal: [ { label: '不限', value: '' }, { label: '仅看地方专项', value: true }, { label: '不看地方专项', value: false } ] }, recommendMajorSortFn: (a, b) => a.localPriority - b.localPriority }