|
@@ -54,19 +54,27 @@
|
|
|
<el-table-column prop="finish_time" label="完成时间" width="180" />
|
|
|
<el-table-column prop="answer_duration" label="耗时" width="180">
|
|
|
<template slot-scope="{ row }">
|
|
|
- <span>{{ secondFormatConversion(row.answer_duration, 'chinese') }}</span>
|
|
|
+ <span>{{ row.finish_time ? secondFormatConversion(row.answer_duration, 'chinese') : '' }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="right_count" label="正确" width="160">
|
|
|
+ <template slot-scope="{ row }">
|
|
|
+ <span>{{ row.finish_time ? row.right_count : '' }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="error_count" label="错误" width="160">
|
|
|
+ <template slot-scope="{ row }">
|
|
|
+ <span>{{ row.finish_time ? row.error_count : '' }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="right_count" label="正确" width="160" />
|
|
|
- <el-table-column prop="error_count" label="错误" width="160" />
|
|
|
<el-table-column label="正确率">
|
|
|
<template slot-scope="{ row }">
|
|
|
- <span>{{ row.right_percent }}</span>
|
|
|
+ <span>{{ row.finish_time ? row.right_percent + '%' : '' }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column prop="operation" label="操作" fixed="right" width="200">
|
|
|
- <template slot-scope="{ row }">
|
|
|
+ <template slot-scope="{ row }" v-if="row.finish_time">
|
|
|
<span class="link" @click="viewUserAnswerRecordLis(row.exercise_share_record_id, row.id)">查看</span>
|
|
|
</template>
|
|
|
</el-table-column>
|