|
|
|
@ -31,7 +31,9 @@ function renderScore(score, content) {
|
|
|
|
|
} else if (score >= 60) {
|
|
|
|
|
color = '#FF6800'
|
|
|
|
|
}
|
|
|
|
|
return <a href="javascript:;" style={{ color, minWidth: '30px', display: 'inline-block', textAlign: 'center' }}>{score == '--' ? '--': (content || score)}</a>
|
|
|
|
|
return <a href="javascript:;" style={{ color, minWidth: '30px', display: 'inline-block', textAlign: 'center' }}>
|
|
|
|
|
{score == null || score == undefined || score == '--' ? '--': (content || score)}
|
|
|
|
|
</a>
|
|
|
|
|
}
|
|
|
|
|
function getScoreTip(score, dom) {
|
|
|
|
|
return score == '--' ? '未评分' : score == '**' ? '未公开' : dom
|
|
|
|
@ -217,7 +219,7 @@ function buildColumns(that, student_works) {
|
|
|
|
|
*/
|
|
|
|
|
columns.push({
|
|
|
|
|
width: 84,
|
|
|
|
|
title: <div style={{fontWeight:'bold', color: '#000'}}><div style={{fontWeight:'bold'}}>匿评</div>评分</div>,
|
|
|
|
|
title: <div style={{fontWeight:'bold'}}><div style={{fontWeight:'bold'}}>匿评</div>评分</div>,
|
|
|
|
|
key: 'student_score',
|
|
|
|
|
dataIndex: 'student_score',
|
|
|
|
|
|
|
|
|
@ -253,6 +255,7 @@ function buildColumns(that, student_works) {
|
|
|
|
|
{`${record.appeal_deal_count}/${appeal_all_count}`}
|
|
|
|
|
</span>
|
|
|
|
|
</Tooltip> }
|
|
|
|
|
{ !appeal_all_count && '-/-'}
|
|
|
|
|
</span>
|
|
|
|
|
),
|
|
|
|
|
})
|
|
|
|
|