考试上下架控制调整

This commit is contained in:
daihh
2022-12-26 17:23:19 +08:00
parent beec863bb1
commit 26c0946ab5
2 changed files with 16 additions and 17 deletions

View File

@@ -26,7 +26,10 @@
<span>{{tipText}}</span>
</div>
<div v-else>
<el-button type="primary" :disabled="startButton" v-if="testStatus == 1" @click="startTest()">{{btnText}}</el-button>
<span v-if="testPaper.enabled">
<el-button type="primary" :disabled="startButton" v-if="testStatus == 1" @click="startTest()">{{btnText}}</el-button>
</span>
<span v-else style="color: #666666;">此考试已下架</span>
</div>
</div>
<div v-if="examStatus==2" style="text-align: center;color:#6d6d6d; ">考试已结束</div>