|
@@ -9,8 +9,8 @@
|
|
|
:row-key="(record) => record.id"
|
|
|
:pagination="false"
|
|
|
>
|
|
|
- <template slot="userName" slot-scope="text, record">
|
|
|
- <span>{{ record.user ? record.user.userName : '' }}</span>
|
|
|
+ <template slot="nickName" slot-scope="text, record">
|
|
|
+ <span>{{ record.user ? record.user.nickName : '' }}</span>
|
|
|
</template>
|
|
|
</a-table>
|
|
|
<div class="a-pagination-display">
|
|
@@ -34,8 +34,8 @@
|
|
|
:row-key="(record, index) => index"
|
|
|
:pagination="false"
|
|
|
>
|
|
|
- <!-- <template slot="userName" slot-scope="text, record">
|
|
|
- <span>{{ record.user ? record.user.userName : '' }}</span>
|
|
|
+ <!-- <template slot="nickName" slot-scope="text, record">
|
|
|
+ <span>{{ record.user ? record.user.nickName : '' }}</span>
|
|
|
</template> -->
|
|
|
</a-table>
|
|
|
<div class="a-pagination-display">
|
|
@@ -98,9 +98,9 @@ export default {
|
|
|
this.testScoreTableColumns = [
|
|
|
{
|
|
|
title: '姓名',
|
|
|
- dataIndex: 'userName',
|
|
|
- key: 'userName',
|
|
|
- scopedSlots: { customRender: 'userName' },
|
|
|
+ dataIndex: 'nickName',
|
|
|
+ key: 'nickName',
|
|
|
+ scopedSlots: { customRender: 'nickName' },
|
|
|
},
|
|
|
{
|
|
|
title: '成绩',
|
|
@@ -116,9 +116,9 @@ export default {
|
|
|
this.unReferencedColumns = [
|
|
|
{
|
|
|
title: '姓名',
|
|
|
- dataIndex: 'userName',
|
|
|
- key: 'userName',
|
|
|
- scopedSlots: { customRender: 'userName' },
|
|
|
+ dataIndex: 'nickName',
|
|
|
+ key: 'nickName',
|
|
|
+ scopedSlots: { customRender: 'nickName' },
|
|
|
},
|
|
|
];
|
|
|
this.getExamCountInfo(); // 查询:考试的统计信息
|