소스 검색

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: {