123456789101112131415161718192021222324 |
- export default {
- methods: {
- finalAdjustResolver(gen) {
- const models = this.generation.activeModels.find(item => item.generation == gen).models
- const generation = this.generation.activeModels.find(item => item.generation == gen).generation
- // this.formatRows.forEach(item => {
- // const currentGroup = models.find(group => group.groupId == item.groupId)
- // console.log(currentGroup.groupApprovedCount)
- // console.log(currentGroup.groupIndicator)
- // item.supplyIndicator = currentGroup.groupIndicator >= 0 ? `超${currentGroup.groupIndicator}` : `缺${-currentGroup.groupIndicator}`
- // // 录取人数加指标/ 设置人数
- // if(currentGroup.groupIndicator >= 0) {
- // item.supplyRecord = `${currentGroup.groupApprovedCount + currentGroup.groupIndicator} /${currentGroup.personCount}`
- // }else {
- // item.supplyRecord = `${currentGroup.groupApprovedCount} /${currentGroup.personCount}`
- // }
- //
- // })
- return {
- }
- }
- }
- }
|