Forráskód Böngészése

enrolled disable apply entry

hare8999@163.com 2 éve
szülő
commit
f5a54bc49d

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