|
|
|
@ -564,6 +564,19 @@ class CommonWorkList extends Component{
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
// time_status int 时间对应的状态: 0:未发布,1:提交中,2:补交中,3:匿评中,4:申诉中,5:评阅中,6:已结束
|
|
|
|
|
|
|
|
|
|
let timeMsg = '提交剩余时间'
|
|
|
|
|
if (time_status === 1) {
|
|
|
|
|
|
|
|
|
|
} else if (time_status === 2) {
|
|
|
|
|
timeMsg = '补交剩余时间'
|
|
|
|
|
} else if (time_status === 3) {
|
|
|
|
|
timeMsg = '匿评剩余时间'
|
|
|
|
|
} else if (time_status === 4) {
|
|
|
|
|
timeMsg = '申诉剩余时间'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// console.log(StudentData)
|
|
|
|
|
// console.log(student_works)
|
|
|
|
|
return(
|
|
|
|
@ -638,7 +651,7 @@ class CommonWorkList extends Component{
|
|
|
|
|
(!!commit_count || !!uncommit_count) &&
|
|
|
|
|
<React.Fragment>
|
|
|
|
|
<span className="color-orange-tip">{commit_count}</span>已交 {uncommit_count}未交
|
|
|
|
|
{time_status===5?"":"剩余提交时间"}
|
|
|
|
|
{timeMsg || ''}
|
|
|
|
|
<span className="color-orange-tip">{left_time.time}</span>
|
|
|
|
|
</React.Fragment>
|
|
|
|
|
}
|
|
|
|
|