|
|
@ -701,7 +701,7 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
render: (text, record) => (
|
|
|
|
render: (text, record) => (
|
|
|
|
<span>
|
|
|
|
<span>
|
|
|
|
<a style={{color:'#989898'}}>
|
|
|
|
<a style={{color:'#989898'}}>
|
|
|
|
{record.turnovertime===""?"--":moment(record.turnovertime).format('YYYY-MM-DD HH:mm:ss')}
|
|
|
|
{record.turnovertime===""?"--":moment(record.turnovertime).format('YYYY-MM-DD HH:mm')}
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
),
|
|
|
|
),
|
|
|
@ -741,11 +741,11 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
className:'edu-txt-center',
|
|
|
|
className:'edu-txt-center',
|
|
|
|
render: (text, record) => (
|
|
|
|
render: (text, record) => (
|
|
|
|
<span>
|
|
|
|
<span>
|
|
|
|
<Tooltip placement="bottom" title={record.finalscore.work_score==="--"?"未评阅": <pre>
|
|
|
|
<Tooltip placement="right" title={record.finalscore.work_score==="--"?"未评阅": <pre>
|
|
|
|
{record.finalscore.final_score.username}({record.finalscore.final_score.login})<br/>
|
|
|
|
{record.finalscore.final_score.username}({record.finalscore.final_score.login})<br/>
|
|
|
|
{record.finalscore.ultimate_score===true?"":"教师评分:"+record.finalscore.teacher_comment_score+"分"}<br/>
|
|
|
|
{record.finalscore.ultimate_score===true?"":"教师评分:"+record.finalscore.teacher_comment_score+"分"}<br/>
|
|
|
|
{record.finalscore.cross_comment_score===undefined?"":"交叉评分:"+record.finalscore.cross_comment_score+"分"+<br/>}
|
|
|
|
{record.finalscore.cross_comment_score===undefined||record.finalscore.cross_comment_score==="未批阅"?"交叉评分:--":"交叉评分:"+record.finalscore.cross_comment_score+"分"}<br/>
|
|
|
|
{record.finalscore.late_penalty===undefined?"":"迟交扣分:"+record.finalscore.late_penalty+"分"+<br/>}
|
|
|
|
{record.finalscore.late_penalty===undefined?"":"迟交扣分:"+record.finalscore.late_penalty+"分"}<br/>
|
|
|
|
最终成绩:{record.finalscore.work_score}分<br/>
|
|
|
|
最终成绩:{record.finalscore.work_score}分<br/>
|
|
|
|
</pre>}>
|
|
|
|
</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>
|
|
|
|
<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>
|
|
|
@ -1010,13 +1010,16 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 8px;
|
|
|
|
padding-bottom: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.drop_down_menu li .color-dark{
|
|
|
|
|
|
|
|
color: #666 !important;
|
|
|
|
|
|
|
|
}
|
|
|
|
`}
|
|
|
|
`}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
{this.props.isAdmin()? <li className="li_line drop_down fr color-blue font-16 mr20 mt20" style={{"paddingLeft":"0px"}}>
|
|
|
|
{this.props.isAdmin()? <li className="li_line drop_down fr color-blue font-16 mr20 mt20" style={{"paddingLeft":"0px"}}>
|
|
|
|
导出<i className="iconfont icon-xiajiantou font-12 ml2"></i>
|
|
|
|
导出<i className="iconfont icon-xiajiantou font-12 ml2"></i>
|
|
|
|
<ul className="drop_down_menu" style={{"right":"-34px","left":"unset","height":"auto"}}>
|
|
|
|
<ul className="drop_down_menu" style={{"right":"-34px","left":"unset","height":"auto"}}>
|
|
|
|
<li><a href={"/api/graduation_tasks/"+task_Id+"/tasks_list.xlsx"} calssName="color-dark">导出成绩</a></li>
|
|
|
|
<li><a href={"/api/graduation_tasks/"+task_Id+"/tasks_list.xlsx"} className="color-dark">导出成绩</a></li>
|
|
|
|
<li><a href={"/api/graduation_tasks/"+task_Id+"/tasks_list.zip"} calssName="color-dark">导出作品附件</a></li>
|
|
|
|
<li><a href={"/api/graduation_tasks/"+task_Id+"/tasks_list.zip"} className="color-dark">导出作品附件</a></li>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</li>:""}
|
|
|
|
</li>:""}
|
|
|
|
|
|
|
|
|
|
|
@ -1141,17 +1144,28 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
<div id="graduation_work_list" style={{padding:'0px 40px 10px 40px'}}>
|
|
|
|
<div id="graduation_work_list" style={{padding:'0px 40px 10px 40px'}}>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
`
|
|
|
|
|
|
|
|
.edu-menu-lists li:hover {
|
|
|
|
|
|
|
|
background: #f0f0f0 !important;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.edu-menu-lists li:hover a{
|
|
|
|
|
|
|
|
color: #666 !important;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
<div className="clearfix">
|
|
|
|
<div className="clearfix">
|
|
|
|
{this.props.isAdmin()===true?<span className="fl color-grey-6 font-12">
|
|
|
|
{this.props.isAdmin()===true?<span className="fl color-grey-6 font-12">
|
|
|
|
<span className="color-orange-tip">{taskslistdata&&taskslistdata.work_count}</span>
|
|
|
|
<span className="color-orange-tip">{taskslistdata&&taskslistdata.work_count}</span>
|
|
|
|
个检索结果({taskslistdata&&taskslistdata.work_count} 学生) </span>:""}
|
|
|
|
个检索结果({taskslistdata&&taskslistdata.work_count} 学生) </span>:""}
|
|
|
|
{this.props.isAdmin()===true?<div className="fr color-grey-6 edu-menu-panel">
|
|
|
|
{this.props.isAdmin()===true?<div className="fr color-grey-6 edu-menu-panel">
|
|
|
|
<p>
|
|
|
|
<p>
|
|
|
|
<a data-remote="true">
|
|
|
|
<a data-remote="true" class="color-grey-6 font-12">
|
|
|
|
{order==="updated_at"?"更新时间":order==="work_score"?"最终成绩":order==="student_id"?"学生学号":""}排序</a>
|
|
|
|
{order==="updated_at"?"更新时间":order==="work_score"?"最终成绩":order==="student_id"?"学生学号":""}排序</a>
|
|
|
|
<i className="iconfont icon-xiajiantou ml5 font-12 color-grey-6"></i></p>
|
|
|
|
<i className="iconfont icon-xiajiantou ml5 font-12 color-grey-6"></i></p>
|
|
|
|
<ul className="edu-menu-list">
|
|
|
|
<ul className="edu-menu-list edu-menu-lists" style={{width: '87px'}}>
|
|
|
|
<li onClick={(e)=>this.funorder("updated_at")}><a data-remote="true">更新时间</a>
|
|
|
|
<li onClick={(e)=>this.funorder("updated_at")}><a data-remote="true">更新时间</a>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
<li onClick={(e)=>this.funorder("work_score" )}><a data-remote="true">最终成绩</a>
|
|
|
|
<li onClick={(e)=>this.funorder("work_score" )}><a data-remote="true">最终成绩</a>
|
|
|
|