考试状态修改

This commit is contained in:
zhangsir
2024-05-13 16:15:37 +08:00
parent 5ac79f129c
commit dfab1036b0

View File

@@ -260,7 +260,8 @@
</el-table-column>
<el-table-column prop="status" label="状态">
<template slot-scope="scope">
<span>{{scope.row.contentName.split('--')[1]!=='考试'?scope.row.status == 9? '已完成':'未开始':scope.row.status == 9? '已完成':scope.row.status == 2?'进行中':'未开始'}}</span>
<span v-if="scope.row.contentName.split('--')[1]=='考试'">{{scope.row.status == 9? '已完成':scope.row.status == 2?'进行中':'未开始'}}</span>
<span v-else>{{scope.row.status == 9? '已完成':'未开始'}}</span>
</template>
</el-table-column>
<el-table-column prop="duration" label="进度">