mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 20:06:47 +08:00
fix:修改任务模块状态判断,表格字符无字段添加横线
This commit is contained in:
@@ -243,6 +243,13 @@ export default {
|
|||||||
width: 60,
|
width: 60,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
|
customRender: (text) => {
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<span> {text.record.status == 0 || text.record.status==null ? "未开始" :text.record.status == 1 ?"已完成":"进行中"}</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "PDF状态",
|
title: "PDF状态",
|
||||||
|
|||||||
@@ -186,7 +186,14 @@ export default {
|
|||||||
key: "studentCode",
|
key: "studentCode",
|
||||||
width: 50,
|
width: 50,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h head"
|
className: "h head",
|
||||||
|
customRender: (text) => {
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<span> {text.record.studentCode?text.record.studentCode:"-"}</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "姓名",
|
title: "姓名",
|
||||||
@@ -195,6 +202,13 @@ export default {
|
|||||||
width: 50,
|
width: 50,
|
||||||
align: "left",
|
align: "left",
|
||||||
className: "h head",
|
className: "h head",
|
||||||
|
customRender: (text) => {
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<span> {text.record.studentName?text.record.studentName:"-"}</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "所在部门",
|
title: "所在部门",
|
||||||
@@ -203,6 +217,13 @@ export default {
|
|||||||
width: 60,
|
width: 60,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
|
customRender: (text) => {
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<span> {text.record.studentDepartName?text.record.studentDepartName:"-"}</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "所在岗位",
|
title: "所在岗位",
|
||||||
@@ -211,6 +232,13 @@ export default {
|
|||||||
width: 60,
|
width: 60,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
|
customRender: (text) => {
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<span> {text.record.studentJobName?text.record.studentJobName:"-"}</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "考试次数",
|
title: "考试次数",
|
||||||
@@ -219,6 +247,13 @@ export default {
|
|||||||
width: 60,
|
width: 60,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
|
customRender: (text) => {
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<span> {text.record.testNumber?text.record.testNumber:"-"}</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "成绩",
|
title: "成绩",
|
||||||
@@ -227,6 +262,13 @@ export default {
|
|||||||
width: 60,
|
width: 60,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
|
customRender: (text) => {
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<span> {text.record.score?text.record.score:"-"}</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -236,6 +278,13 @@ export default {
|
|||||||
width: 60,
|
width: 60,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
|
customRender: (text) => {
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<span> {text.record.finishedTime?text.record.finishedTime:"-"}</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "任务状态",
|
title: "任务状态",
|
||||||
|
|||||||
@@ -203,6 +203,13 @@ export default {
|
|||||||
width: 50,
|
width: 50,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h head",
|
className: "h head",
|
||||||
|
customRender: (text) => {
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<span> {text.record.studentUserNo?text.record.studentUserNo:"-"}</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "姓名",
|
title: "姓名",
|
||||||
@@ -211,6 +218,13 @@ export default {
|
|||||||
width: 50,
|
width: 50,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h head",
|
className: "h head",
|
||||||
|
customRender: (text) => {
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<span> {text.record.studentName?text.record.studentName:"-"}</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "所在部门",
|
title: "所在部门",
|
||||||
@@ -219,6 +233,13 @@ export default {
|
|||||||
width: 60,
|
width: 60,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
|
customRender: (text) => {
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<span> {text.record.studentDepartName?text.record.studentDepartName:"-"}</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "所在岗位",
|
title: "所在岗位",
|
||||||
@@ -227,6 +248,13 @@ export default {
|
|||||||
width: 60,
|
width: 60,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
|
customRender: (text) => {
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<span> {text.record.studentJobName?text.record.studentJobName:"-"}</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "学员关卡",
|
title: "学员关卡",
|
||||||
@@ -250,6 +278,13 @@ export default {
|
|||||||
width: 100,
|
width: 100,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
|
customRender: (text) => {
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<span> {text.record.lastStudyTime?text.record.lastStudyTime:"-"}</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "任务状态",
|
title: "任务状态",
|
||||||
@@ -261,7 +296,7 @@ export default {
|
|||||||
customRender: (text) => {
|
customRender: (text) => {
|
||||||
return (
|
return (
|
||||||
<div class="racona">
|
<div class="racona">
|
||||||
<span> {text.record.status == 0 ? "未完成" : "已完成"}</span>
|
<span> {text.record.status == 0 || text.record.status==null ? "未开始" :text.record.status == 1 ?"已完成":"进行中"}</span>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -203,6 +203,13 @@ export default {
|
|||||||
width: 50,
|
width: 50,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h head",
|
className: "h head",
|
||||||
|
customRender: (text) => {
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<span> {text.record.studentUserNo?text.record.studentUserNo:"-"}</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "姓名",
|
title: "姓名",
|
||||||
@@ -211,6 +218,13 @@ export default {
|
|||||||
width: 50,
|
width: 50,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h head",
|
className: "h head",
|
||||||
|
customRender: (text) => {
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<span> {text.record.studentName?text.record.studentName:"-"}</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "所在部门",
|
title: "所在部门",
|
||||||
@@ -219,6 +233,13 @@ export default {
|
|||||||
width: 60,
|
width: 60,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
|
customRender: (text) => {
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<span> {text.record.studentDepartName?text.record.studentDepartName:"-"}</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "所在岗位",
|
title: "所在岗位",
|
||||||
@@ -227,6 +248,13 @@ export default {
|
|||||||
width: 60,
|
width: 60,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
|
customRender: (text) => {
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<span> {text.record.studentJobName?text.record.studentJobName:"-"}</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "学员关卡",
|
title: "学员关卡",
|
||||||
@@ -250,6 +278,13 @@ export default {
|
|||||||
width: 100,
|
width: 100,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
|
customRender: (text) => {
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<span> {text.record.lastStudyTime?text.record.lastStudyTime:"-"}</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "任务状态",
|
title: "任务状态",
|
||||||
@@ -261,7 +296,7 @@ export default {
|
|||||||
customRender: (text) => {
|
customRender: (text) => {
|
||||||
return (
|
return (
|
||||||
<div class="racona">
|
<div class="racona">
|
||||||
<span> {text.record.status == 0 ? "未完成" : "已完成"}</span>
|
<span> {text.record.status == 0 || text.record.status==null ? "未开始" :text.record.status == 1 ?"已完成":"进行中"}</span>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -244,6 +244,13 @@
|
|||||||
width: 60,
|
width: 60,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
|
customRender: (text) => {
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<span> {text.record.status == 0 || text.record.status==null ? "未开始" :text.record.status == 1 ?"已完成":"进行中"}</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "PDF状态",
|
title: "PDF状态",
|
||||||
|
|||||||
@@ -190,7 +190,14 @@
|
|||||||
key: "studentCode",
|
key: "studentCode",
|
||||||
width: 50,
|
width: 50,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h head"
|
className: "h head",
|
||||||
|
customRender: (text) => {
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<span> {text.record.studentCode?text.record.studentCode:"-"}</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "姓名",
|
title: "姓名",
|
||||||
@@ -199,6 +206,13 @@
|
|||||||
width: 50,
|
width: 50,
|
||||||
align: "left",
|
align: "left",
|
||||||
className: "h head",
|
className: "h head",
|
||||||
|
customRender: (text) => {
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<span> {text.record.studentName?text.record.studentName:"-"}</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "所在部门",
|
title: "所在部门",
|
||||||
@@ -207,6 +221,13 @@
|
|||||||
width: 60,
|
width: 60,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
|
customRender: (text) => {
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<span> {text.record.studentDepartName?text.record.studentDepartName:"-"}</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "所在岗位",
|
title: "所在岗位",
|
||||||
@@ -215,6 +236,13 @@
|
|||||||
width: 60,
|
width: 60,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
|
customRender: (text) => {
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<span> {text.record.studentJobName?text.record.studentJobName:"-"}</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "学员关卡",
|
title: "学员关卡",
|
||||||
@@ -238,6 +266,13 @@
|
|||||||
width: 60,
|
width: 60,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
|
customRender: (text) => {
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<span> {text.record.testNumber?text.record.testNumber:"-"}</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "成绩",
|
title: "成绩",
|
||||||
@@ -246,6 +281,13 @@
|
|||||||
width: 60,
|
width: 60,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
|
customRender: (text) => {
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<span> {text.record.score?text.record.score:"-"}</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -255,6 +297,13 @@
|
|||||||
width: 60,
|
width: 60,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
|
customRender: (text) => {
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<span> {text.record.finishedTime?text.record.finishedTime:"-"}</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "任务状态",
|
title: "任务状态",
|
||||||
|
|||||||
Reference in New Issue
Block a user