详情考试次数显示条件调整

This commit is contained in:
Yjhon 2022-05-19 16:47:34 +08:00
parent 6dd1374860
commit b6b9e1fa36
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
<a-descriptions-item v-if="projectBasicInfo.practiceSdate != null" label="练习时间">{{projectBasicInfo.practiceSdate + ' - ' + projectBasicInfo.practiceEdate}}</a-descriptions-item>
<a-descriptions-item v-if="projectBasicInfo.examSdate != null" label="考试时间">{{projectBasicInfo.examSdate + ' - ' + projectBasicInfo.examEdate}}</a-descriptions-item>
<!-- 如果是系统项目不显示培训类型为 培训 培训-练习 时不显示-->
<a-descriptions-item v-if="projectBasicInfo.projectType != 0 || !['1','3'].includes(projectBasicInfo.trainWay)" label="考试次数">{{projectBasicInfo.examNumber + ''}}</a-descriptions-item>
<a-descriptions-item v-if="!(projectBasicInfo.projectType == 0 || ['1','3'].includes(projectBasicInfo.trainWay))" label="考试次数">{{projectBasicInfo.examNumber + ''}}</a-descriptions-item>
<a-descriptions-item v-if="projectBasicInfo.projectType != 0" label="模拟考试">{{projectBasicInfo.mockExam == 1 ? '允许':'不允许'}}</a-descriptions-item>
<a-descriptions-item label="备注">{{projectBasicInfo.remark}}</a-descriptions-item>
</a-descriptions>