feat: 添加考试是否通过的展示
This commit is contained in:
parent
14340fe0c6
commit
78546c7071
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue