dev_forum
杨树明 5 years ago
parent 4d4cf9183b
commit f62484aecd

@ -734,13 +734,6 @@ class GraduationTaskssettinglist extends Component{
),
}, {
// finalscore: {work_score:worklists[i].final_score.work_score === null ? "--" : worklists[i].final_score.work_score,
// teacher_comment_score:worklists[i].teacher_comment_score,
// cross_comment_score:worklists[i].cross_comment_score,
// late_penalty:worklists[i].late_penalty
// },
title: '最终成绩',
key: 'finalscore',
dataIndex: 'finalscore',
@ -748,11 +741,11 @@ class GraduationTaskssettinglist extends Component{
render: (text, record) => (
<span>
<Tooltip placement="bottom" title={record.finalscore==="--"?"未评阅": <pre>
{record.final_score.username}{(record.final_score.login)}<br/>
{record.ultimate_score===true?"":"教师评分:"+record.final_score.teacher_comment_score+"分"}<br/>
{taskslistdata.cross_comment===true?"":"交叉评分:"+record.final_score.cross_comment_score+"分"}<br/>
{record.final_score.late_penalty===undefined?"":"迟交扣分:"+record.final_score.late_penalty+"分"}<br/>
最终成绩{record.final_score.work_score}<br/>
{record.finalscore.final_score.username}{(record.finalscore.final_score.login)}<br/>
{record.finalscore.ultimate_score===true?"":"教师评分:"+record.finalscore.teacher_comment_score+"分"}<br/>
{taskslistdata.cross_comment===true?"":"交叉评分:"+record.finalscore.cross_comment_score+"分"+<br/>}
{record.finalscore.late_penalty===undefined?"":"迟交扣分:"+record.finalscore.late_penalty+"分"+<br/>}
最终成绩{record.finalscore.work_score}<br/>
</pre>}>
<a style={{color:parseInt(record.finalscore.work_score)>90?'#DD1717':parseInt(record.finalscore.work_score)>60&&parseInt(record.finalscore.work_score)<90?"#FF6800":'#747A7F'}}>{record.finalscore.work_score==="--"?"--":record.finalscore.work_score}</a>
</Tooltip>

Loading…
Cancel
Save