瀏覽代碼

update enroll judgement logic

shilipojs 2 年之前
父節點
當前提交
eaab14cc76
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/elective/select/components/elective-tools-mixins.js

+ 1 - 1
src/views/elective/select/components/elective-tools-mixins.js

@@ -53,7 +53,7 @@ export default {
     },
     combineGroupStatus(group, model) {
       // 逻辑同elective-preference-command
-      if(group.approved || group.forceAdjusted) return '已录取'
+      if(this.isGroupEnrolled(group)) return '已录取'
       if (!group.allowSelect) return group.disabledReason || '无法报名'
       if (this.isModelRejected(model)) return '已拒绝'
       if (group.selected) return '已报名'