|
|
|
@ -41,17 +41,22 @@ |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="startTime" label="考生开始时间" align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="endTime" label="考试结束时间" align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="timeCost" label="用时(分钟)" width="120" align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="timeCost" label="用时(分钟)" width="120" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
{{(scope.row.timeCost / 60).toFixed(2)}} |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="score" label="得分" width="100" align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="state" label="考试状态" width="100" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
{{scope.row.state == 2 ? '已提交' : '未提交'}} |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="操作" align="center" width="150"> |
|
|
|
|
<el-table-column label="操作" width="150"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<!-- <el-button type="text" @click="toExam(scope.row)" v-if="scope.row.assessmentState == 2" :disabled="scope.row.state != 0">进入考试</el-button> --> |
|
|
|
|
<el-button type="text" @click="toExam(scope.row)">进入考试</el-button> |
|
|
|
|
<!-- 学生考试状态:考试状态 state: (0、未考 1、在考 2、已考) |
|
|
|
|
考核状态: state: 考核状态(1、待开始 2、进行中 3、已结束) --> |
|
|
|
|
<el-button type="text" @click="toExam(scope.row)" v-if="scope.row.assessmentState == 2" :disabled="scope.row.state == 2">进入考试</el-button> |
|
|
|
|
<el-button type="text" @click="query(scope.row)" v-if="scope.row.state == 2">成绩查询</el-button> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|