|
|
@ -64,7 +64,9 @@ function buildColumns(that, student_works) {
|
|
|
|
key: 'id',
|
|
|
|
key: 'id',
|
|
|
|
render: (text, record, index) => {
|
|
|
|
render: (text, record, index) => {
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<span style={{ minWidth: '50px', display: 'inline-block', textAlign: 'center' }} >{(that.state.page - 1) * PAGE_SIZE + index + 1}</span>
|
|
|
|
<span style={{ minWidth: '50px', display: 'inline-block', textAlign: 'center' }} >
|
|
|
|
|
|
|
|
{record.isMine == true ? '我' : (that.state.page - 1) * PAGE_SIZE + index + 1}
|
|
|
|
|
|
|
|
</span>
|
|
|
|
)},
|
|
|
|
)},
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
|
title: '姓名',
|
|
|
|
title: '姓名',
|
|
|
@ -547,7 +549,7 @@ class CommonWorkList extends Component{
|
|
|
|
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,
|
|
|
|
late_penalty, absence_penalty, appeal_penalty,
|
|
|
|
work_group: '' }] : []
|
|
|
|
work_group: '', isMine: true }] : []
|
|
|
|
}
|
|
|
|
}
|
|
|
|
let params = this._getRequestParams()
|
|
|
|
let params = this._getRequestParams()
|
|
|
|
let exportUrl = `/api/homework_commons/${workId}/works_list.zip?${queryString.stringify(params)}`;
|
|
|
|
let exportUrl = `/api/homework_commons/${workId}/works_list.zip?${queryString.stringify(params)}`;
|
|
|
|