|
|
|
@ -31,7 +31,7 @@ function renderScore(score, content) {
|
|
|
|
|
} else if (score >= 60) {
|
|
|
|
|
color = '#FF6800'
|
|
|
|
|
}
|
|
|
|
|
return <a href="javascript:;" style={{ color, minWidth: '30px', display: 'inline-block', textAlign: 'center' }}>
|
|
|
|
|
return <a href="javascript:;" style={{ color, cursor: 'default', minWidth: '30px', display: 'inline-block', textAlign: 'center' }}>
|
|
|
|
|
{score == null || score == undefined || score == '--' ? '--': (content || score)}
|
|
|
|
|
</a>
|
|
|
|
|
}
|
|
|
|
@ -105,7 +105,7 @@ function buildColumns(that, student_works) {
|
|
|
|
|
<a href="javascript:;"
|
|
|
|
|
title={record.student_id}
|
|
|
|
|
style={{color:'#9A9A9A', 'text-overflow': 'ellipsis', 'white-space': 'nowrap', 'width': '100px', display: 'block', overflow: 'hidden'
|
|
|
|
|
, margin: '0 auto'}}
|
|
|
|
|
, margin: '0 auto', cursor: 'default'}}
|
|
|
|
|
>{record.student_id}</a>
|
|
|
|
|
</span>
|
|
|
|
|
),
|
|
|
|
@ -121,7 +121,7 @@ function buildColumns(that, student_works) {
|
|
|
|
|
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
<a href="javascript:;" style={{color:'#9A9A9A'}}>{record.group_name}</a>
|
|
|
|
|
<a href="javascript:;" style={{color:'#9A9A9A', cursor: 'default'}}>{record.group_name}</a>
|
|
|
|
|
</span>
|
|
|
|
|
),
|
|
|
|
|
} )
|
|
|
|
@ -177,7 +177,7 @@ function buildColumns(that, student_works) {
|
|
|
|
|
}
|
|
|
|
|
return (
|
|
|
|
|
<span>
|
|
|
|
|
<a href="javascript:;" style={{color: color}}>
|
|
|
|
|
<a href="javascript:;" style={{color: color, cursor: 'default'}}>
|
|
|
|
|
{status === 0 ? "未提交" : status === 1 ? "按时提交" : status === 2 ? "延时提交" : ""}
|
|
|
|
|
</a>
|
|
|
|
|
</span>
|
|
|
|
@ -190,7 +190,7 @@ function buildColumns(that, student_works) {
|
|
|
|
|
|
|
|
|
|
render: (update_time, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
<a href="javascript:;" style={{color:'#989898'}}>{update_time ? moment(update_time).format('YYYY-MM-DD HH:mm') : '--'}</a>
|
|
|
|
|
<a href="javascript:;" style={{color:'#989898', cursor: 'default'}}>{update_time ? moment(update_time).format('YYYY-MM-DD HH:mm') : '--'}</a>
|
|
|
|
|
</span>
|
|
|
|
|
),
|
|
|
|
|
}])
|
|
|
|
|