|
@@ -52,7 +52,11 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="user_real_name" label="用户" width="280" />
|
|
|
<el-table-column prop="finish_time" label="完成时间" width="180" />
|
|
|
- <el-table-column prop="answer_duration" label="耗时" width="180" />
|
|
|
+ <el-table-column prop="answer_duration" label="耗时" width="180">
|
|
|
+ <template slot-scope="{ row }">
|
|
|
+ <span>{{ secondFormatConversion(row.answer_duration, 'chinese') }}</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="正确率">
|
|
@@ -74,6 +78,7 @@
|
|
|
|
|
|
<script>
|
|
|
import { PageQueryExerciseUserAnswerRecordList } from '@/api/exercise';
|
|
|
+import { secondFormatConversion } from '@/utils/transform';
|
|
|
|
|
|
import PaginationPage from '@/components/common/PaginationPage.vue';
|
|
|
|
|
@@ -100,6 +105,7 @@ export default {
|
|
|
{ label: '已完成', value: 0 },
|
|
|
{ label: '未完成', value: 1 },
|
|
|
],
|
|
|
+ secondFormatConversion,
|
|
|
};
|
|
|
},
|
|
|
computed: {
|