diff --git a/src/components/drawers/project/ProjectEvalManage.vue b/src/components/drawers/project/ProjectEvalManage.vue index dd94d6b9..47cff0b1 100644 --- a/src/components/drawers/project/ProjectEvalManage.vue +++ b/src/components/drawers/project/ProjectEvalManage.vue @@ -243,6 +243,13 @@ export default { width: 60, align: "center", className: "h", + customRender: (text) => { + return ( +
+ {text.record.status == 0 || text.record.status==null ? "未开始" :text.record.status == 1 ?"已完成":"进行中"} +
+ ); + }, }, { title: "PDF状态", diff --git a/src/components/drawers/project/ProjectExamManage.vue b/src/components/drawers/project/ProjectExamManage.vue index 173685a1..9151de8d 100644 --- a/src/components/drawers/project/ProjectExamManage.vue +++ b/src/components/drawers/project/ProjectExamManage.vue @@ -186,7 +186,14 @@ export default { key: "studentCode", width: 50, align: "center", - className: "h head" + className: "h head", + customRender: (text) => { + return ( +
+ {text.record.studentCode?text.record.studentCode:"-"} +
+ ); + }, }, { title: "姓名", @@ -195,6 +202,13 @@ export default { width: 50, align: "left", className: "h head", + customRender: (text) => { + return ( +
+ {text.record.studentName?text.record.studentName:"-"} +
+ ); + }, }, { title: "所在部门", @@ -203,6 +217,13 @@ export default { width: 60, align: "center", className: "h", + customRender: (text) => { + return ( +
+ {text.record.studentDepartName?text.record.studentDepartName:"-"} +
+ ); + }, }, { title: "所在岗位", @@ -211,6 +232,13 @@ export default { width: 60, align: "center", className: "h", + customRender: (text) => { + return ( +
+ {text.record.studentJobName?text.record.studentJobName:"-"} +
+ ); + }, }, { title: "考试次数", @@ -219,6 +247,13 @@ export default { width: 60, align: "center", className: "h", + customRender: (text) => { + return ( +
+ {text.record.testNumber?text.record.testNumber:"-"} +
+ ); + }, }, { title: "成绩", @@ -227,6 +262,13 @@ export default { width: 60, align: "center", className: "h", + customRender: (text) => { + return ( +
+ {text.record.score?text.record.score:"-"} +
+ ); + }, }, { @@ -236,6 +278,13 @@ export default { width: 60, align: "center", className: "h", + customRender: (text) => { + return ( +
+ {text.record.finishedTime?text.record.finishedTime:"-"} +
+ ); + }, }, { title: "任务状态", diff --git a/src/components/drawers/project/ProjectOnlineManage.vue b/src/components/drawers/project/ProjectOnlineManage.vue index b9de20f0..25a31217 100644 --- a/src/components/drawers/project/ProjectOnlineManage.vue +++ b/src/components/drawers/project/ProjectOnlineManage.vue @@ -203,6 +203,13 @@ export default { width: 50, align: "center", className: "h head", + customRender: (text) => { + return ( +
+ {text.record.studentUserNo?text.record.studentUserNo:"-"} +
+ ); + }, }, { title: "姓名", @@ -211,6 +218,13 @@ export default { width: 50, align: "center", className: "h head", + customRender: (text) => { + return ( +
+ {text.record.studentName?text.record.studentName:"-"} +
+ ); + }, }, { title: "所在部门", @@ -219,6 +233,13 @@ export default { width: 60, align: "center", className: "h", + customRender: (text) => { + return ( +
+ {text.record.studentDepartName?text.record.studentDepartName:"-"} +
+ ); + }, }, { title: "所在岗位", @@ -227,6 +248,13 @@ export default { width: 60, align: "center", className: "h", + customRender: (text) => { + return ( +
+ {text.record.studentJobName?text.record.studentJobName:"-"} +
+ ); + }, }, { title: "学员关卡", @@ -250,6 +278,13 @@ export default { width: 100, align: "center", className: "h", + customRender: (text) => { + return ( +
+ {text.record.lastStudyTime?text.record.lastStudyTime:"-"} +
+ ); + }, }, { title: "任务状态", @@ -261,7 +296,7 @@ export default { customRender: (text) => { return (
- {text.record.status == 0 ? "未完成" : "已完成"} + {text.record.status == 0 || text.record.status==null ? "未开始" :text.record.status == 1 ?"已完成":"进行中"}
); }, diff --git a/src/components/drawers/router/RouterCommonManage.vue b/src/components/drawers/router/RouterCommonManage.vue index caa56979..08002b48 100644 --- a/src/components/drawers/router/RouterCommonManage.vue +++ b/src/components/drawers/router/RouterCommonManage.vue @@ -203,6 +203,13 @@ export default { width: 50, align: "center", className: "h head", + customRender: (text) => { + return ( +
+ {text.record.studentUserNo?text.record.studentUserNo:"-"} +
+ ); + }, }, { title: "姓名", @@ -211,6 +218,13 @@ export default { width: 50, align: "center", className: "h head", + customRender: (text) => { + return ( +
+ {text.record.studentName?text.record.studentName:"-"} +
+ ); + }, }, { title: "所在部门", @@ -219,6 +233,13 @@ export default { width: 60, align: "center", className: "h", + customRender: (text) => { + return ( +
+ {text.record.studentDepartName?text.record.studentDepartName:"-"} +
+ ); + }, }, { title: "所在岗位", @@ -227,6 +248,13 @@ export default { width: 60, align: "center", className: "h", + customRender: (text) => { + return ( +
+ {text.record.studentJobName?text.record.studentJobName:"-"} +
+ ); + }, }, { title: "学员关卡", @@ -250,6 +278,13 @@ export default { width: 100, align: "center", className: "h", + customRender: (text) => { + return ( +
+ {text.record.lastStudyTime?text.record.lastStudyTime:"-"} +
+ ); + }, }, { title: "任务状态", @@ -261,7 +296,7 @@ export default { customRender: (text) => { return (
- {text.record.status == 0 ? "未完成" : "已完成"} + {text.record.status == 0 || text.record.status==null ? "未开始" :text.record.status == 1 ?"已完成":"进行中"}
); }, diff --git a/src/components/drawers/router/RouterEvaluationManage.vue b/src/components/drawers/router/RouterEvaluationManage.vue index ec8576e8..77ad9f00 100644 --- a/src/components/drawers/router/RouterEvaluationManage.vue +++ b/src/components/drawers/router/RouterEvaluationManage.vue @@ -244,6 +244,13 @@ width: 60, align: "center", className: "h", + customRender: (text) => { + return ( +
+ {text.record.status == 0 || text.record.status==null ? "未开始" :text.record.status == 1 ?"已完成":"进行中"} +
+ ); + }, }, { title: "PDF状态", diff --git a/src/components/drawers/router/RouterExaminationManage.vue b/src/components/drawers/router/RouterExaminationManage.vue index 13a3a7fd..f62a5dc9 100644 --- a/src/components/drawers/router/RouterExaminationManage.vue +++ b/src/components/drawers/router/RouterExaminationManage.vue @@ -190,7 +190,14 @@ key: "studentCode", width: 50, align: "center", - className: "h head" + className: "h head", + customRender: (text) => { + return ( +
+ {text.record.studentCode?text.record.studentCode:"-"} +
+ ); + }, }, { title: "姓名", @@ -199,6 +206,13 @@ width: 50, align: "left", className: "h head", + customRender: (text) => { + return ( +
+ {text.record.studentName?text.record.studentName:"-"} +
+ ); + }, }, { title: "所在部门", @@ -207,6 +221,13 @@ width: 60, align: "center", className: "h", + customRender: (text) => { + return ( +
+ {text.record.studentDepartName?text.record.studentDepartName:"-"} +
+ ); + }, }, { title: "所在岗位", @@ -215,6 +236,13 @@ width: 60, align: "center", className: "h", + customRender: (text) => { + return ( +
+ {text.record.studentJobName?text.record.studentJobName:"-"} +
+ ); + }, }, { title: "学员关卡", @@ -238,6 +266,13 @@ width: 60, align: "center", className: "h", + customRender: (text) => { + return ( +
+ {text.record.testNumber?text.record.testNumber:"-"} +
+ ); + }, }, { title: "成绩", @@ -246,6 +281,13 @@ width: 60, align: "center", className: "h", + customRender: (text) => { + return ( +
+ {text.record.score?text.record.score:"-"} +
+ ); + }, }, { @@ -255,6 +297,13 @@ width: 60, align: "center", className: "h", + customRender: (text) => { + return ( +
+ {text.record.finishedTime?text.record.finishedTime:"-"} +
+ ); + }, }, { title: "任务状态",