普通作业、分组作业增加已评数、资源调整

courseware
杨树明 5 years ago
parent 8a5d0b14ca
commit 210c2a3eff

@ -916,7 +916,7 @@ class Fileslists extends Component{
{ {
` `
.filesnameslist{ .filesnameslist{
max-width: 486px; max-width: 389px;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;

@ -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,

Loading…
Cancel
Save