fix:系统考试-任务管理-考试次数/成绩/完成时间展示问题

This commit is contained in:
wyx
2023-03-28 10:32:55 +08:00
parent 684cd0edb4
commit 74ad6f9d2d
2 changed files with 16 additions and 16 deletions

View File

@@ -259,8 +259,8 @@ export default {
}, },
{ {
title: "考试次数", title: "考试次数",
dataIndex: "num", dataIndex: "testNumber",
key: "num", key: "testNumber",
width: 60, width: 60,
align: "center", align: "center",
ellipsis: true, ellipsis: true,
@@ -268,15 +268,15 @@ export default {
customRender: (text) => { customRender: (text) => {
return ( return (
<div class="racona"> <div class="racona">
<span> {text.record.num?text.record.num:"-"}</span> <span> {text.record.testNumber?text.record.testNumber:"-"}</span>
</div> </div>
); );
}, },
}, },
{ {
title: "成绩", title: "成绩",
dataIndex: "examinationScore", dataIndex: "score",
key: "examinationScore", key: "score",
width: 60, width: 60,
align: "center", align: "center",
ellipsis: true, ellipsis: true,
@@ -284,7 +284,7 @@ export default {
customRender: (text) => { customRender: (text) => {
return ( return (
<div class="racona"> <div class="racona">
<span> {text.record.examinationScore?text.record.examinationScore:"-"}</span> <span> {text.record.score?text.record.score:"-"}</span>
</div> </div>
); );
}, },
@@ -292,8 +292,8 @@ export default {
{ {
title: "完成时间", title: "完成时间",
dataIndex: "examinationSubmitTime", dataIndex: "finishedTime",
key: "examinationSubmitTime", key: "finishedTime",
width: 60, width: 60,
align: "center", align: "center",
ellipsis: true, ellipsis: true,
@@ -301,7 +301,7 @@ export default {
customRender: (text) => { customRender: (text) => {
return ( return (
<div class="racona"> <div class="racona">
<span> {text.record.examinationSubmitTime?text.record.examinationSubmitTime:"-"}</span> <span> {text.record.finishedTime?text.record.finishedTime:"-"}</span>
</div> </div>
); );
}, },

View File

@@ -240,8 +240,8 @@ export default {
}, },
{ {
title: "考试次数", title: "考试次数",
dataIndex: "num", dataIndex: "testNumber",
key: "num", key: "testNumber",
width: 60, width: 60,
align: "center", align: "center",
ellipsis: true, ellipsis: true,
@@ -249,7 +249,7 @@ export default {
customRender: (text) => { customRender: (text) => {
return ( return (
<div class="racona"> <div class="racona">
<span> {text.record.num ? text.record.num : "-"}</span> <span> {text.record.testNumber ? text.record.testNumber : "-"}</span>
</div> </div>
); );
}, },
@@ -265,7 +265,7 @@ export default {
customRender: (text) => { customRender: (text) => {
return ( return (
<div class="racona"> <div class="racona">
<span> {text.record.examinationScore ? text.record.examinationScore : "-"}</span> <span> {text.record.score ? text.record.score : "-"}</span>
</div> </div>
); );
}, },
@@ -273,8 +273,8 @@ export default {
{ {
title: "完成时间", title: "完成时间",
dataIndex: "examinationSubmitTime", dataIndex: "finishedTime",
key: "examinationSubmitTime", key: "finishedTime",
width: 60, width: 60,
align: "center", align: "center",
ellipsis: true, ellipsis: true,
@@ -282,7 +282,7 @@ export default {
customRender: (text) => { customRender: (text) => {
return ( return (
<div class="racona"> <div class="racona">
<span> {text.record.examinationSubmitTime ? text.record.examinationSubmitTime : "-"}</span> <span> {text.record.finishedTime ? text.record.finishedTime : "-"}</span>
</div> </div>
); );
}, },