@ -344,7 +344,7 @@ class Listofworksstudentone extends Component {
// ),
// },
{
title : ' 当前 完成关卡',
title : ' 最新 完成关卡',
dataIndex : 'curcomlevel' ,
key : 'curcomlevel' ,
align : "center" ,
@ -496,7 +496,7 @@ class Listofworksstudentone extends Component {
render : ( text , record ) => (
< span style = { { width : '40px' } } >
{
record . submitstate === "未 提交 " ? < span style = { { color : '#9A9A9A' } } > -- < / s p a n >
record . submitstate === "未 开启 " ? < span style = { { color : '#9A9A9A' } } > -- < / s p a n >
:
< a style = { { textAlign : "center" } }
className = "color-blue"
@ -738,7 +738,7 @@ class Listofworksstudentone extends Component {
// ),
// },
{
title : ' 当前 完成关卡',
title : ' 最新 完成关卡',
dataIndex : 'curcomlevel' ,
key : 'curcomlevel' ,
align : "center" ,
@ -891,7 +891,7 @@ class Listofworksstudentone extends Component {
render : ( text , record ) => (
< span style = { { width : '40px' } } >
{
record . submitstate === "未 提交 " ? < span style = { { color : '#9A9A9A' } } > -- < / s p a n >
record . submitstate === "未 开启 " ? < span style = { { color : '#9A9A9A' } } > -- < / s p a n >
:
< a style = { { textAlign : "center" } }
className = "color-blue"
@ -1091,7 +1091,7 @@ class Listofworksstudentone extends Component {
// ),
// },
{
title : ' 当前 完成关卡',
title : ' 最新 完成关卡',
dataIndex : 'curcomlevel' ,
key : 'curcomlevel' ,
align : "center" ,
@ -1291,7 +1291,7 @@ class Listofworksstudentone extends Component {
width : '40px' ,
render : ( text , record ) => (
record . submitstate === "未 提交 " ?
record . submitstate === "未 开启 " ?
< a style = { { textAlign : "center" , width : '40px' } } className = "color-blue"
onMouseDown = { ( e ) => this . Viewstudenttraininginformationtysl2 ( e , record ) }
onClick = { ( ) => this . Viewstudenttraininginformationt ( record ) } > 评阅 < / a > :
@ -1454,7 +1454,7 @@ class Listofworksstudentone extends Component {
)
} ,
{
title : ' 当前 完成关卡',
title : ' 最新 完成关卡',
dataIndex : 'curcomlevel' ,
key : 'curcomlevel' ,
align : "center" ,
@ -1653,7 +1653,7 @@ class Listofworksstudentone extends Component {
className : 'font-14' ,
width : '40px' ,
render : ( text , record ) => (
record . submitstate === "未 提交 " ?
record . submitstate === "未 开启 " ?
< a style = { { textAlign : "center" , width : '40px' } } className = "color-blue"
onMouseDown = { ( e ) => this . Viewstudenttraininginformationtysl2 ( e , record ) }
onClick = { ( ) => this . Viewstudenttraininginformationt ( record ) } > 评阅 < / a > :
@ -1896,7 +1896,7 @@ class Listofworksstudentone extends Component {
// search:搜索关键字
// order:排序方式: 更新时间: update_time, 当前成绩: work_score, 学号: student_id
// b_order:desc: 倒序 , asc: 顺序
// work_status:0:未 提交 , 1:按时完成, 2:延时完成,“”不限
// work_status:0:未 开启 , 1:按时完成, 2:延时完成,“”不限
// course_group:分班情况 [232, 231], []:不限(空数组)
var order = "asc" ;
if ( ordervlue === "updated_at" ) {
@ -2074,7 +2074,7 @@ class Listofworksstudentone extends Component {
stduynumber : teacherdata . student _id ,
classroom : teacherdata . group _name ,
cost _time : teacherdata . cost _time ,
submitstate : teacherdata . work _status === 0 ? "未 提交 " : teacherdata . work _status === 1 ? "未通关" : teacherdata . work _status === 2 ? "按时通关" : "迟交通关" ,
submitstate : teacherdata . work _status === 0 ? "未 开启 " : teacherdata . work _status === 1 ? "未通关" : teacherdata . work _status === 2 ? "按时通关" : "迟交通关" ,
// updatetime:this.state.teacherdata.student_works[i].update_time,
// updatetime:"",
updatetime : timedata === "Invalid date" ? "--" : timedata ,
@ -2118,7 +2118,7 @@ class Listofworksstudentone extends Component {
stduynumber : student _works [ i ] . student _id ,
classroom : student _works [ i ] . group _name ,
cost _time : student _works [ i ] . cost _time ,
submitstate : student _works [ i ] . work _status === 0 ? "未 提交 " : student _works [ i ] . work _status === 1 ? "未通关" : student _works [ i ] . work _status === 2 ? "按时通关" : "迟交通关" ,
submitstate : student _works [ i ] . work _status === 0 ? "未 开启 " : student _works [ i ] . work _status === 1 ? "未通关" : student _works [ i ] . work _status === 2 ? "按时通关" : "迟交通关" ,
// updatetime:this.state.teacherdata.student_works[i].update_time,
// updatetime:"",
updatetime : timedata === "Invalid date" ? "--" : timedata ,
@ -2279,7 +2279,7 @@ class Listofworksstudentone extends Component {
stduynumber : teacherdata . student _id ,
classroom : teacherdata . group _name ,
cost _time : teacherdata . cost _time ,
submitstate : teacherdata . work _status === 0 ? "未 提交 " : teacherdata . work _status === 1 ? "未通关" : teacherdata . work _status === 2 ? "按时通关" : "迟交通关" ,
submitstate : teacherdata . work _status === 0 ? "未 开启 " : teacherdata . work _status === 1 ? "未通关" : teacherdata . work _status === 2 ? "按时通关" : "迟交通关" ,
// updatetime:this.state.teacherdata.student_works[i].update_time,
// updatetime:"",
updatetime : timedata === "Invalid date" ? "--" : timedata ,
@ -2432,7 +2432,7 @@ class Listofworksstudentone extends Component {
// search:搜索关键字
// order:排序方式: 更新时间: update_time, 当前成绩: work_score, 学号: student_id
// b_order:desc: 倒序 , asc: 顺序
// work_status:0:未 提交 , 1:按时完成, 2:延时完成,“”不限
// work_status:0:未 开启 , 1:按时完成, 2:延时完成,“”不限
// course_group:分班情况 [232, 231], []:不限(空数组)
var order = "asc" ;
if ( ordervlue === "updated_at" ) {
@ -2641,7 +2641,7 @@ class Listofworksstudentone extends Component {
stduynumber : student _works [ i ] . student _id ,
classroom : student _works [ i ] . group _name ,
cost _time : student _works [ i ] . cost _time ,
submitstate : student _works [ i ] . work _status === 0 ? "未 提交 " : student _works [ i ] . work _status === 1 ? "未通关" : student _works [ i ] . work _status === 2 ? "按时通关" : "迟交通关" ,
submitstate : student _works [ i ] . work _status === 0 ? "未 开启 " : student _works [ i ] . work _status === 1 ? "未通关" : student _works [ i ] . work _status === 2 ? "按时通关" : "迟交通关" ,
// updatetime:this.state.teacherdata.student_works[i].update_time,
// updatetime:"",
updatetime : timedata === "Invalid date" ? "--" : timedata ,
@ -3477,22 +3477,22 @@ class Listofworksstudentone extends Component {
}
if ( homewrok === false ) {
for ( var i = 0 ; i < columnsstu . length ; i ++ ) {
if ( columnsstu [ i ] . title === " 当前 完成关卡") { //item.id==122
if ( columnsstu [ i ] . title === " 最新 完成关卡") { //item.id==122
columnsstu . splice ( i , 1 )
}
}
for ( var i = 0 ; i < columnsstu2 . length ; i ++ ) {
if ( columnsstu2 [ i ] . title === " 当前 完成关卡") { //item.id==122
if ( columnsstu2 [ i ] . title === " 最新 完成关卡") { //item.id==122
columnsstu2 . splice ( i , 1 )
}
}
for ( var i = 0 ; i < columns . length ; i ++ ) {
if ( columns [ i ] . title === " 当前 完成关卡") { //item.id==122
if ( columns [ i ] . title === " 最新 完成关卡") { //item.id==122
columns . splice ( i , 1 )
}
}
for ( var i = 0 ; i < columnss . length ; i ++ ) {
if ( columnss [ i ] . title === " 当前 完成关卡") { //item.id==122
if ( columnss [ i ] . title === " 最新 完成关卡") { //item.id==122
columnss . splice ( i , 1 )
}
}