|
@@ -43,6 +43,9 @@
|
|
|
:row-key="(record, index) => index"
|
|
|
:pagination="false"
|
|
|
>
|
|
|
+ <template slot="createdTime" slot-scope="text, record">
|
|
|
+ <span>{{ record.createdTime | formatDateTime }}</span>
|
|
|
+ </template>
|
|
|
</a-table>
|
|
|
<!-- 分页 -->
|
|
|
<div class="a-pagination-display">
|
|
@@ -70,6 +73,9 @@
|
|
|
<template slot="action" slot-scope="text, record">
|
|
|
<a @click="handleExportExamFile(record)">导出试卷</a>
|
|
|
</template>
|
|
|
+ <template slot="createdTime" slot-scope="text, record">
|
|
|
+ <span>{{ record.createdTime | formatDateTime }}</span>
|
|
|
+ </template>
|
|
|
</a-table>
|
|
|
<!-- 分页 -->
|
|
|
<div class="a-pagination-display">
|
|
@@ -94,6 +100,9 @@
|
|
|
:row-key="(record, index) => index"
|
|
|
:pagination="false"
|
|
|
>
|
|
|
+ <template slot="createdTime" slot-scope="text, record">
|
|
|
+ <span>{{ record.createdTime | formatDateTime }}</span>
|
|
|
+ </template>
|
|
|
</a-table>
|
|
|
<!-- 分页 -->
|
|
|
<div class="a-pagination-display">
|
|
@@ -184,12 +193,15 @@ export default {
|
|
|
dataIndex: 'points',
|
|
|
key: 'points',
|
|
|
align: 'center',
|
|
|
+ width: 150,
|
|
|
},
|
|
|
{
|
|
|
title: '时间',
|
|
|
dataIndex: 'createdTime',
|
|
|
key: 'createdTime',
|
|
|
+ scopedSlots: { customRender: 'createdTime' },
|
|
|
align: 'center',
|
|
|
+ width: 250,
|
|
|
},
|
|
|
];
|
|
|
this.getUserPointRecord(); // 获取:积分历史
|
|
@@ -206,18 +218,22 @@ export default {
|
|
|
dataIndex: 'totalPoints',
|
|
|
key: 'totalPoints',
|
|
|
align: 'center',
|
|
|
+ width: 150,
|
|
|
},
|
|
|
{
|
|
|
title: '成绩',
|
|
|
dataIndex: 'points',
|
|
|
key: 'points',
|
|
|
align: 'center',
|
|
|
+ width: 150,
|
|
|
},
|
|
|
{
|
|
|
title: '时间',
|
|
|
dataIndex: 'createdTime',
|
|
|
key: 'createdTime',
|
|
|
align: 'center',
|
|
|
+ scopedSlots: { customRender: 'createdTime' },
|
|
|
+ width: 250,
|
|
|
},
|
|
|
{
|
|
|
title: '操作',
|
|
@@ -241,6 +257,8 @@ export default {
|
|
|
dataIndex: 'createdTime',
|
|
|
key: 'createdTime',
|
|
|
align: 'center',
|
|
|
+ scopedSlots: { customRender: 'createdTime' },
|
|
|
+ width: 250,
|
|
|
},
|
|
|
];
|
|
|
this.getUserStudyRecord(); // 获取:学习记录
|
|
@@ -472,6 +490,7 @@ export default {
|
|
|
this.userStudyRecord = [];
|
|
|
this.userStudyRecordPagination.total = resdData.totalElements; // 总条数
|
|
|
}
|
|
|
+ console.log(this.userStudyRecord);
|
|
|
this.loading4 = false;
|
|
|
})
|
|
|
.catch(() => {
|