|
|
@ -295,9 +295,11 @@ function buildColumns(that, student_works, studentData) {
|
|
|
|
key: 'user_comment_count',
|
|
|
|
key: 'user_comment_count',
|
|
|
|
dataIndex: 'user_comment_count',
|
|
|
|
dataIndex: 'user_comment_count',
|
|
|
|
|
|
|
|
|
|
|
|
render: (student_score, record) => (
|
|
|
|
render: (user_comment_count, record) => (
|
|
|
|
<span style={{color:'#989898', cursor: 'default'}}>
|
|
|
|
<span style={{color:'#989898', cursor: 'default'}}>
|
|
|
|
{record.user_comment_count}
|
|
|
|
<Tooltip title={"在匿评期间评阅的作品数量"}>
|
|
|
|
|
|
|
|
{record.user_comment_count}
|
|
|
|
|
|
|
|
</Tooltip>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
),
|
|
|
|
),
|
|
|
|
})
|
|
|
|
})
|
|
|
@ -690,7 +692,7 @@ class CommonWorkList extends Component{
|
|
|
|
|
|
|
|
|
|
|
|
id, user_name, user_login, student_id, group_name, work_status, update_time, teacher_score, teaching_asistant_score, student_score,
|
|
|
|
id, user_name, user_login, student_id, group_name, work_status, update_time, teacher_score, teaching_asistant_score, student_score,
|
|
|
|
ultimate_score, work_score, student_comment_count, appeal_all_count, appeal_deal_count,
|
|
|
|
ultimate_score, work_score, student_comment_count, appeal_all_count, appeal_deal_count,
|
|
|
|
late_penalty, absence_penalty, appeal_penalty
|
|
|
|
late_penalty, absence_penalty, appeal_penalty,user_comment_count
|
|
|
|
|
|
|
|
|
|
|
|
, end_immediately, publish_immediately
|
|
|
|
, end_immediately, publish_immediately
|
|
|
|
, homework_id, visible, work_group, project_info, is_leader
|
|
|
|
, homework_id, visible, work_group, project_info, is_leader
|
|
|
@ -740,7 +742,7 @@ class CommonWorkList extends Component{
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
StudentData=isStudent ? [{ id, user_name, user_login, student_id, group_name, work_status, update_time, teacher_score, teaching_asistant_score, student_score,
|
|
|
|
StudentData=isStudent ? [{ id, user_name, user_login, student_id, group_name, work_status, update_time, teacher_score, teaching_asistant_score, student_score,
|
|
|
|
ultimate_score, work_score, student_comment_count, appeal_all_count, appeal_deal_count,
|
|
|
|
ultimate_score, work_score, student_comment_count, appeal_all_count, appeal_deal_count,
|
|
|
|
late_penalty, absence_penalty, appeal_penalty, project_info, is_leader,
|
|
|
|
late_penalty, absence_penalty, appeal_penalty, project_info, is_leader,user_comment_count,
|
|
|
|
work_group, isMine: true }] : []
|
|
|
|
work_group, isMine: true }] : []
|
|
|
|
}
|
|
|
|
}
|
|
|
|
const columns = buildColumns(this, student_works, StudentData)
|
|
|
|
const columns = buildColumns(this, student_works, StudentData)
|
|
|
@ -773,7 +775,7 @@ class CommonWorkList extends Component{
|
|
|
|
|
|
|
|
|
|
|
|
const hasData = this.state.homework_status && this.state.homework_status.indexOf("未发布") == -1 // student_works && !!student_works.length && page == 1 &&
|
|
|
|
const hasData = this.state.homework_status && this.state.homework_status.indexOf("未发布") == -1 // student_works && !!student_works.length && page == 1 &&
|
|
|
|
|
|
|
|
|
|
|
|
// console.log(StudentData)
|
|
|
|
console.log(StudentData)
|
|
|
|
// console.log(student_works)
|
|
|
|
// console.log(student_works)
|
|
|
|
return(
|
|
|
|
return(
|
|
|
|
<React.Fragment>
|
|
|
|
<React.Fragment>
|
|
|
|