fix:测评空子段添加横线

This commit is contained in:
wyx
2023-01-07 13:14:41 +08:00
parent 29ea775da3
commit fb76357d15
2 changed files with 86 additions and 2 deletions

View File

@@ -187,6 +187,13 @@ export default {
width: 50,
align: "center",
className: "h head",
customRender: (text) => {
return (
<div class="racona">
<span> {text.record.studentUserNo?text.record.studentUserNo:"-"}</span>
</div>
);
},
},
{
title: "姓名",
@@ -195,6 +202,13 @@ export default {
width: 50,
align: "left",
className: "h head",
customRender: (text) => {
return (
<div class="racona">
<span> {text.record.studentName?text.record.studentName:"-"}</span>
</div>
);
},
},
{
title: "所在部门",
@@ -203,6 +217,13 @@ export default {
width: 60,
align: "center",
className: "h",
customRender: (text) => {
return (
<div class="racona">
<span> {text.record.studentDepartName?text.record.studentDepartName:"-"}</span>
</div>
);
},
},
{
title: "所在岗位",
@@ -211,6 +232,13 @@ export default {
width: 60,
align: "center",
className: "h",
customRender: (text) => {
return (
<div class="racona">
<span> {text.record.studentJobName?text.record.studentJobName:"-"}</span>
</div>
);
},
},
{
title: "学员关卡",
@@ -222,7 +250,7 @@ export default {
customRender: () => {
return (
<div class="racona">
<span> {props.levelName}</span>
<span> {props.levelName?props.levelName:'-'}</span>
</div>
);
},
@@ -234,6 +262,13 @@ export default {
width: 60,
align: "center",
className: "h",
customRender: (text) => {
return (
<div class="racona">
<span> {text.record.endStudyTime?text.record.endStudyTime:"-"}</span>
</div>
);
},
},
{
@@ -258,6 +293,13 @@ export default {
width: 60,
align: "center",
className: "h",
customRender: (text) => {
return (
<div class="racona">
<span> {text.record.PDFstatus?text.record.PDFstatus:"-"}</span>
</div>
);
},
}
]
return columns;

View File

@@ -188,6 +188,13 @@
width: 50,
align: "center",
className: "h head",
customRender: (text) => {
return (
<div class="racona">
<span> {text.record.studentUserNo?text.record.studentUserNo:"-"}</span>
</div>
);
},
},
{
title: "姓名",
@@ -196,6 +203,13 @@
width: 50,
align: "left",
className: "h head",
customRender: (text) => {
return (
<div class="racona">
<span> {text.record.studentName?text.record.studentName:"-"}</span>
</div>
);
},
},
{
title: "所在部门",
@@ -204,6 +218,13 @@
width: 60,
align: "center",
className: "h",
customRender: (text) => {
return (
<div class="racona">
<span> {text.record.studentDepartName?text.record.studentDepartName:"-"}</span>
</div>
);
},
},
{
title: "所在岗位",
@@ -212,6 +233,13 @@
width: 60,
align: "center",
className: "h",
customRender: (text) => {
return (
<div class="racona">
<span> {text.record.studentJobName?text.record.studentJobName:"-"}</span>
</div>
);
},
},
{
title: "学员关卡",
@@ -223,7 +251,7 @@
customRender: () => {
return (
<div class="racona">
<span> {props.levelName}</span>
<span> {props.levelName?props.levelName:'-'}</span>
</div>
);
},
@@ -235,6 +263,13 @@
width: 60,
align: "center",
className: "h",
customRender: (text) => {
return (
<div class="racona">
<span> {text.record.endStudyTime?text.record.endStudyTime:"-"}</span>
</div>
);
},
},
{
@@ -259,6 +294,13 @@
width: 60,
align: "center",
className: "h",
customRender: (text) => {
return (
<div class="racona">
<span> {text.record.PDFstatus?text.record.PDFstatus:"-"}</span>
</div>
);
},
}
]