Browse Source

enrolled disable apply entry

hare8999@163.com 2 years ago
parent
commit
f5a54bc49d
1 changed files with 2 additions and 1 deletions
  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: {