|
|
@ -285,7 +285,23 @@ function buildColumns(that, student_works, studentData) {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (that.state.anonymous_comment) {
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
开启了匿评的才显示此列
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
columns.push({
|
|
|
|
|
|
|
|
width: 84,
|
|
|
|
|
|
|
|
title: <div style={{color: 'rgba(0,0,0,.85)'}}>已评数</div>,
|
|
|
|
|
|
|
|
key: 'user_comment_count',
|
|
|
|
|
|
|
|
dataIndex: 'user_comment_count',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
render: (student_score, record) => (
|
|
|
|
|
|
|
|
<span style={{color:'#989898', cursor: 'default'}}>
|
|
|
|
|
|
|
|
{record.user_comment_count}
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
if (that.state.anonymous_appeal) {
|
|
|
|
if (that.state.anonymous_appeal) {
|
|
|
|
columns.push({
|
|
|
|
columns.push({
|
|
|
|
width: 70,
|
|
|
|
width: 70,
|
|
|
|