Parcourir la source

master elective - rename command name.

hare8999@163.com il y a 2 ans
Parent
commit
e6353b54c6

+ 2 - 2
src/views/elective/generation/components/elective-generation-commands.vue

@@ -7,7 +7,7 @@
     </div>
     <div>
       <el-button v-if="showFastPush" type="primary" @click="flushIntoDM">提前进入{{ nextStepName }}</el-button>
-      <el-button v-if="showForceAdjustSend" type="primary" @click="jumpForceAdjust">进入{{ nextStepName }}</el-button>
+      <el-button v-if="showForceAdjustSend" type="primary" @click="jumpForceAdjust">进入{{ generation.options.forceAdjust.title }}</el-button>
       <el-button v-else-if="showSend" type="primary" @click="pushGeneration">发送</el-button>
       <el-button v-if="showRankBalance" type="primary" @click="jumpRankBalance">排名均衡</el-button>
       <el-button v-if="showClassDispatch" type="primary" @click="terminateAndJumpDispatch">选科分班</el-button>
@@ -74,7 +74,7 @@ export default {
       return this.status.doneDMAlgorithm && !this.status.allMatched
     },
     showRankBalance() {
-      return false
+      return false // TODO: not implement.
       const options = this.generation.options
       return this.status.allMatched && this.generation.current < options.rankBalance.value
     },