feat: 添加考试是否通过的展示

This commit is contained in:
caoqianming 2024-05-16 23:55:17 +08:00
parent 14340fe0c6
commit 78546c7071
1 changed files with 6 additions and 0 deletions

View File

@ -70,6 +70,12 @@
<el-table-column align="left" label="所属考试">
<template slot-scope="scope">{{ scope.row.exam_name }}</template>
</el-table-column>
<el-table-column align="left" label="是否通过" sortable='custom' prop="is_pass">
<template slot-scope="scope">
<el-tag v-if="scope.row.is_pass" type="success"></el-tag>
<el-tag v-else type="danger"></el-tag>
</template>
</el-table-column>
<el-table-column align="left" label="得分" sortable='custom' prop="score">
<template slot-scope="scope">{{ scope.row.score }}</template>
</el-table-column>