考试时不显示实训模式

This commit is contained in:
fan 2023-05-20 16:12:13 +08:00
parent 516a3a4041
commit 27a88795f7

View File

@ -23,10 +23,10 @@
<span class="list-label">{{ $t('display.training.trainingName') }}</span> <span class="list-label">{{ $t('display.training.trainingName') }}</span>
<span class="list-elem">{{ trainingDetail ?trainingDetail.name:'' }}</span> <span class="list-elem">{{ trainingDetail ?trainingDetail.name:'' }}</span>
</p> </p>
<p class="list-item"> <p v-if="!examSwitch" class="list-item">
<span class="list-label">实训模式</span> <span class="list-label">实训模式</span>
<span class="list-elem"> <span class="list-elem">
<el-radio-group v-model="demoMode" :disabled="trainingSwitch || examSwitch" class="mode" size="small" @change="changeMode"> <el-radio-group v-model="demoMode" :disabled="trainingSwitch" class="mode" size="small" @change="changeMode">
<el-radio :label="TrainingMode.TEACH" border>{{ $t('display.lesson.teachingMode') }}</el-radio> <el-radio :label="TrainingMode.TEACH" border>{{ $t('display.lesson.teachingMode') }}</el-radio>
<el-radio :label="TrainingMode.PRACTICE" border>{{ $t('display.lesson.practiceMode') }}</el-radio> <el-radio :label="TrainingMode.PRACTICE" border>{{ $t('display.lesson.practiceMode') }}</el-radio>
<el-radio :label="TrainingMode.TEST" border>{{ $t('display.lesson.testMode') }}</el-radio> <el-radio :label="TrainingMode.TEST" border>{{ $t('display.lesson.testMode') }}</el-radio>