瀏覽代碼

enrolled disable apply entry

hare8999@163.com 3 年之前
父節點
當前提交
f5a54bc49d
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/views/elective/select/components/elective-table-mixins.js

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

@@ -57,7 +57,8 @@ export default {
     resolveTableSuffix() {
       const stepMatched = this.generation.active == this.generation.current
       const enableApply = !this.generation.currentOpt.decisionMaking
-      const enableSignUp = stepMatched && enableApply && !this.readonly
+      const enrolled = !!this.enrollStatus.enrolledGroup
+      const enableSignUp = stepMatched && enableApply && !this.readonly && !enrolled
 
       return {
         rankInGroup: {