mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-17 23:06:47 +08:00
--fix bug
This commit is contained in:
@@ -982,9 +982,9 @@
|
|||||||
<div class="onlinemanage" :style="{ display: om_1 ? 'block' : 'none' }">
|
<div class="onlinemanage" :style="{ display: om_1 ? 'block' : 'none' }">
|
||||||
<div class="om_main">
|
<div class="om_main">
|
||||||
<div class="om_body">
|
<div class="om_body">
|
||||||
<div class="b_title">课程:{{ newCourseName }}</div>
|
|
||||||
<div class="b_sub">
|
<div class="b_sub">
|
||||||
<div class="bs_type">类型:</div>
|
<div class="b_title">课程:{{ newCourseName }}</div>
|
||||||
|
<div class="bs_type" style="margin-left: 20px">类型:</div>
|
||||||
<div class="bs_right">{{ faceType }}</div>
|
<div class="bs_right">{{ faceType }}</div>
|
||||||
<div class="bs_left">内容分类:</div>
|
<div class="bs_left">内容分类:</div>
|
||||||
<div class="bs_right">{{ faceClassification }}</div>
|
<div class="bs_right">{{ faceClassification }}</div>
|
||||||
@@ -2536,110 +2536,63 @@ const columns2 = [
|
|||||||
title: "姓名",
|
title: "姓名",
|
||||||
dataIndex: "studentName",
|
dataIndex: "studentName",
|
||||||
key: "studentName",
|
key: "studentName",
|
||||||
width: "12%",
|
width: "6%",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: (text) => {
|
customRender: ({record: {studentName}}) => (studentName || "-")
|
||||||
return (
|
|
||||||
<div class="racona">
|
|
||||||
<span>
|
|
||||||
{" "}
|
|
||||||
{text.record.studentName ? text.record.studentName : "-"}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "工号",
|
title: "工号",
|
||||||
dataIndex: "studentUserNo",
|
dataIndex: "studentUserNo",
|
||||||
key: "studentUserNo",
|
key: "studentUserNo",
|
||||||
width: "12%",
|
width: "12%",
|
||||||
|
ellipsis: true,
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: (text) => {
|
customRender: ({record: {studentUserNo}}) => (studentUserNo || "-")
|
||||||
return (
|
|
||||||
<div class="racona">
|
|
||||||
<span>
|
|
||||||
{" "}
|
|
||||||
{text.record.studentUserNo ? text.record.studentUserNo : "-"}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "开课名称",
|
title: "开课名称",
|
||||||
dataIndex: "name",
|
dataIndex: "name",
|
||||||
key: "name",
|
key: "name",
|
||||||
width: "12%",
|
width: "12%",
|
||||||
|
ellipsis: true,
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: (text) => {
|
customRender: ({record: {name}}) => (name || "-")
|
||||||
return (
|
|
||||||
<div class="racona">
|
|
||||||
<span> {text.record.name ? text.record.name : "-"}</span>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "地点",
|
title: "地点",
|
||||||
dataIndex: "address",
|
dataIndex: "address",
|
||||||
key: "address",
|
key: "address",
|
||||||
width: "12%",
|
width: "12%",
|
||||||
|
ellipsis: true,
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: (text) => {
|
customRender: ({record: {address}}) => (address || "-")
|
||||||
return (
|
|
||||||
<div class="racona">
|
|
||||||
<span> {text.record.address ? text.record.address : "-"}</span>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "数据来源",
|
title: "数据来源",
|
||||||
dataIndex: "courseSource",
|
dataIndex: "courseSource",
|
||||||
key: "courseSource",
|
key: "courseSource",
|
||||||
|
ellipsis: true,
|
||||||
width: "12%",
|
width: "12%",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: ({record:{courseName,routerName}}) => {
|
customRender: ({record:{courseName,routerName}}) => (courseName || routerName || "开课"),
|
||||||
return (
|
|
||||||
<div class="racona">
|
|
||||||
<span>
|
|
||||||
{courseName || routerName || "开课"}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "学习时间",
|
title: "学习时间",
|
||||||
dataIndex: "lastStudyTime",
|
dataIndex: "lastStudyTime",
|
||||||
key: "lastStudyTime",
|
key: "lastStudyTime",
|
||||||
width: "12%",
|
width: "10%",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: (text) => {
|
ellipsis: true,
|
||||||
return (
|
customRender: ({record:{lastStudyTime}}) => (lastStudyTime || "-")
|
||||||
<div class="racona">
|
|
||||||
<span>
|
|
||||||
{" "}
|
|
||||||
{text.record.lastStudyTime ? text.record.lastStudyTime : "-"}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "签到时间",
|
title: "签到时间",
|
||||||
dataIndex: "signTime",
|
dataIndex: "signTime",
|
||||||
key: "signTime",
|
key: "signTime",
|
||||||
width: "12%",
|
width: "10%",
|
||||||
align: "center",
|
align: "center",
|
||||||
customRender: (text) => {
|
ellipsis: true,
|
||||||
return (
|
customRender: ({record:{signTime}}) => (signTime || "-")
|
||||||
<div class="racona">
|
|
||||||
<span> {text.record.signTime ? text.record.signTime : "-"}</span>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "状态",
|
title: "状态",
|
||||||
|
|||||||
Reference in New Issue
Block a user