|
|
|
@ -514,6 +514,7 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
showAllocationModal=(id)=>{
|
|
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
|
Allocationtype:true,
|
|
|
|
|
operationId:id
|
|
|
|
@ -861,13 +862,13 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
|
{
|
|
|
|
|
tag.name &&
|
|
|
|
|
<Tooltip key={key} placement="bottom" title={tag.name==="分配"?taskslistdata&&taskslistdata.cross_comment===true?"":"指定该作品的交叉评阅人":tag.name==="调分"?<pre>调整学生最终成绩<br/>其它历史评分将全部失效</pre>:""}>
|
|
|
|
|
{tag.name==="评阅"?<p style={{color:'#4CACFF',padding:"0px 5px"}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >
|
|
|
|
|
{tag.name==="评阅"?<a style={{color:'#4CACFF',padding:"0px 5px"}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >
|
|
|
|
|
{tag.name}
|
|
|
|
|
</p>
|
|
|
|
|
</a>
|
|
|
|
|
:
|
|
|
|
|
<p style={{color:tag.name==="调分"?"#000":'#4CACFF',padding:"0px 5px"}}
|
|
|
|
|
onClick={tag.name==="调分"?()=>this.showModulationtype(tag.id):tag.name==="分配"?taskslistdata&&taskslistdata.cross_comment===true?"":()=>this.showAllocationModal(tag.id):""}>
|
|
|
|
|
{tag.name==="分配"?taskslistdata&&taskslistdata.cross_comment===true?"":tag.name:tag.name}
|
|
|
|
|
onClick={tag.name==="调分"?()=>this.showModulationtype(tag.id):tag.name==="分配"?taskslistdata&&taskslistdata.cross_comment===true?"":"":""}>
|
|
|
|
|
{tag.name==="分配"?taskslistdata&&taskslistdata.cross_comment===true?"":"":tag.name}
|
|
|
|
|
</p>
|
|
|
|
|
}
|
|
|
|
|
</Tooltip>
|
|
|
|
|