export default { methods: { backTrackingDMResolver() { this.formatRows = this.generation.activeModels[3].models.map(item => { item.allowSelectTips = item.allowSelect ? '报名中' : '无法报名' item.subjects = this.optionalMajors.filter(college => { if (college.matchedGroupIds.indexOf(item.groupId) != -1) return college.majorCategoryName }).map(item => item.majorCategoryName) item.colleges = this.optionalMajors.filter(college => { if (college.matchedGroupIds.indexOf(item.groupId) != -1) return college.majorCategoryName }).map(item => { return { college: item.collegeName, major: item.majorCategoryName } }) return item }) return { applyCount:{ label:'初录情况' }, groupIndicator:{ label:'初录超/缺' }, supplyRecord:{ label:'补录情况' // 补录情况 = // groupApprovedCount(补录阶段实际报名人数) + actualCount(补录本组合已被录取人数) / personCount(设置的人数) }, supplyIndicator:{ label:'补录结果' // 补录的超缺 } } } } }