|
|
|
@ -64,7 +64,9 @@ function buildColumns(that, student_works) {
|
|
|
|
|
key: 'id',
|
|
|
|
|
render: (text, record, index) => {
|
|
|
|
|
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: '姓名',
|
|
|
|
@ -78,7 +80,7 @@ function buildColumns(that, student_works) {
|
|
|
|
|
overflow: 'hidden',
|
|
|
|
|
textOverflow: 'ellipsis',
|
|
|
|
|
whiteSpace: 'nowrap',
|
|
|
|
|
maxWidth: '98px'
|
|
|
|
|
width: '98px'
|
|
|
|
|
}} title={text}>
|
|
|
|
|
{/* <Tooltip placement="bottom" title={text}>
|
|
|
|
|
</Tooltip> */}
|
|
|
|
@ -97,7 +99,7 @@ function buildColumns(that, student_works) {
|
|
|
|
|
<span>
|
|
|
|
|
<a href="javascript:;"
|
|
|
|
|
title={record.student_id}
|
|
|
|
|
style={{color:'#9A9A9A', 'text-overflow': 'ellipsis', 'white-space': 'nowrap', 'max-width': '100px', display: 'block', overflow: 'hidden'}}
|
|
|
|
|
style={{color:'#9A9A9A', 'text-overflow': 'ellipsis', 'white-space': 'nowrap', 'width': '100px', display: 'block', overflow: 'hidden'}}
|
|
|
|
|
>{record.student_id}</a>
|
|
|
|
|
</span>
|
|
|
|
|
),
|
|
|
|
@ -232,7 +234,7 @@ function buildColumns(that, student_works) {
|
|
|
|
|
<span>
|
|
|
|
|
<Tooltip title={
|
|
|
|
|
getScoreTip(student_score,
|
|
|
|
|
<div>
|
|
|
|
|
isNiPing ? `你的评阅分数:${record.student_score}分` : <div>
|
|
|
|
|
{record.student_comment_count && <div>{`${record.student_comment_count}名学生进行了匿评`}</div>}
|
|
|
|
|
<div>有效平均分:{record.student_score}分</div>
|
|
|
|
|
</div>
|
|
|
|
@ -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,
|
|
|
|
|
ultimate_score, work_score, student_comment_count, appeal_all_count, appeal_deal_count,
|
|
|
|
|
late_penalty, absence_penalty, appeal_penalty,
|
|
|
|
|
work_group: '' }] : []
|
|
|
|
|
work_group: '', isMine: true }] : []
|
|
|
|
|
}
|
|
|
|
|
let params = this._getRequestParams()
|
|
|
|
|
let exportUrl = `/api/homework_commons/${workId}/works_list.zip?${queryString.stringify(params)}`;
|
|
|
|
|