mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
fix:面授课列表字段更新,无数据加横线
This commit is contained in:
@@ -297,7 +297,7 @@ export default {
|
||||
console.log(text.record.status);
|
||||
return (
|
||||
<div class="racona">
|
||||
<span> {text.record.status==0?"未开始":text.record.status==10?"未通过":"已通过"}</span>
|
||||
<span> {text.record.status==0||text.record.status==null?"未开始":text.record.status==10?"未通过":"已通过"}</span>
|
||||
</div>
|
||||
);
|
||||
},
|
||||
|
||||
@@ -316,7 +316,7 @@
|
||||
console.log(text.record.status);
|
||||
return (
|
||||
<div class="racona">
|
||||
<span> {text.record.status==0?"未开始":text.record.status==10?"未通过":"已通过"}</span>
|
||||
<span> {text.record.status==0||text.record.status==null?"未开始":text.record.status==10?"未通过":"已通过"}</span>
|
||||
</div>
|
||||
);
|
||||
},
|
||||
|
||||
@@ -2538,6 +2538,13 @@ const columns2 = [
|
||||
key: "studentName",
|
||||
width: "12%",
|
||||
align: "center",
|
||||
customRender: (text) => {
|
||||
return (
|
||||
<div class="racona">
|
||||
<span> {text.record.studentName?text.record.studentName:"-"}</span>
|
||||
</div>
|
||||
);
|
||||
},
|
||||
},
|
||||
{
|
||||
title: "工号",
|
||||
@@ -2545,13 +2552,27 @@ const columns2 = [
|
||||
key: "studentUserNo",
|
||||
width: "12%",
|
||||
align: "center",
|
||||
customRender: (text) => {
|
||||
return (
|
||||
<div class="racona">
|
||||
<span> {text.record.studentUserNo?text.record.studentUserNo:"-"}</span>
|
||||
</div>
|
||||
);
|
||||
},
|
||||
},
|
||||
{
|
||||
title: "开课名称",
|
||||
dataIndex: "courseName",
|
||||
key: "courseName",
|
||||
dataIndex: "name",
|
||||
key: "name",
|
||||
width: "12%",
|
||||
align: "center",
|
||||
customRender: (text) => {
|
||||
return (
|
||||
<div class="racona">
|
||||
<span> {text.record.name?text.record.name:"-"}</span>
|
||||
</div>
|
||||
);
|
||||
},
|
||||
},
|
||||
{
|
||||
title: "地点",
|
||||
@@ -2559,6 +2580,13 @@ const columns2 = [
|
||||
key: "address",
|
||||
width: "12%",
|
||||
align: "center",
|
||||
customRender: (text) => {
|
||||
return (
|
||||
<div class="racona">
|
||||
<span> {text.record.address?text.record.address:"-"}</span>
|
||||
</div>
|
||||
);
|
||||
},
|
||||
},
|
||||
{
|
||||
title: "数据来源",
|
||||
@@ -2566,13 +2594,27 @@ const columns2 = [
|
||||
key: "courseSource",
|
||||
width: "12%",
|
||||
align: "center",
|
||||
customRender: (text) => {
|
||||
return (
|
||||
<div class="racona">
|
||||
<span> {text.record.courseSource?text.record.courseSource:"-"}</span>
|
||||
</div>
|
||||
);
|
||||
},
|
||||
},
|
||||
{
|
||||
title: "学习时间",
|
||||
dataIndex: "beginTime",
|
||||
key: "beginTime",
|
||||
dataIndex: "lastStudyTime",
|
||||
key: "lastStudyTime",
|
||||
width: "12%",
|
||||
align: "center",
|
||||
customRender: (text) => {
|
||||
return (
|
||||
<div class="racona">
|
||||
<span> {text.record.lastStudyTime?text.record.lastStudyTime:"-"}</span>
|
||||
</div>
|
||||
);
|
||||
},
|
||||
},
|
||||
{
|
||||
title: "签到时间",
|
||||
@@ -2580,6 +2622,13 @@ const columns2 = [
|
||||
key: "signTime",
|
||||
width: "12%",
|
||||
align: "center",
|
||||
customRender: (text) => {
|
||||
return (
|
||||
<div class="racona">
|
||||
<span> {text.record.signTime?text.record.signTime:"-"}</span>
|
||||
</div>
|
||||
);
|
||||
},
|
||||
},
|
||||
{
|
||||
title: "状态",
|
||||
@@ -2587,6 +2636,13 @@ const columns2 = [
|
||||
key: "status",
|
||||
width: "12%",
|
||||
align: "center",
|
||||
customRender: (text) => {
|
||||
return (
|
||||
<div class="racona">
|
||||
<span> {text.record.finishStatus==0 || text.record.finishStatus == null ?"未开始":"已完成"}</span>
|
||||
</div>
|
||||
);
|
||||
},
|
||||
},
|
||||
// {
|
||||
// title: "操作",
|
||||
|
||||
Reference in New Issue
Block a user