|
|
|
@ -726,17 +726,19 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
|
{this.props.isAdmin()?operation.map((tag,key) => {
|
|
|
|
|
return(
|
|
|
|
|
<div key={key}>
|
|
|
|
|
{tag.status===0?"--":<Tooltip placement="bottom" title={tag.name==="分配"?"指定该作品的交叉评阅人":tag.name==="调分"?<pre>调整学生最终成绩<br/>
|
|
|
|
|
<Tooltip placement="bottom" title={tag.name==="分配"?"指定该作品的交叉评阅人":tag.name==="调分"?<pre>调整学生最终成绩<br/>
|
|
|
|
|
其它历史评分将全部失效</pre>:""}>
|
|
|
|
|
|
|
|
|
|
{tag.name==="评阅"?<a style={{color:'#4CACFF'}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >{tag.name}</a>
|
|
|
|
|
{tag.name==="评阅"?tag.status===0?"--":<a style={{color:'#4CACFF'}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >
|
|
|
|
|
tag.name
|
|
|
|
|
</a>
|
|
|
|
|
:
|
|
|
|
|
<a style={{color:tag.name==="调分"?"#000":'#4CACFF'}}
|
|
|
|
|
<a style={{color:tag.name==="调分"?"#000":'#4CACFF'}}
|
|
|
|
|
onClick={tag.name==="调分"?()=>this.showModulationtype(tag.id):tag.name==="分配"?()=>this.showAllocationModal(tag.id):""}
|
|
|
|
|
>{tag.name}</a>
|
|
|
|
|
>{tag.status===0?"":tag.name}</a>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</Tooltip>}
|
|
|
|
|
</Tooltip>
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
}):""}
|
|
|
|
@ -745,9 +747,7 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
|
operation.map((tag,key) => {
|
|
|
|
|
return(
|
|
|
|
|
<div key={key}>
|
|
|
|
|
{tag.status===0?"--":
|
|
|
|
|
<a style={{color:'#4CACFF'}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >查看</a>
|
|
|
|
|
}
|
|
|
|
|
{tag.status===0?"--":<a style={{color:'#4CACFF'}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >查看</a>}
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
):""
|
|
|
|
@ -858,19 +858,21 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
|
{this.props.isAdmin()?operation.map((tag,key) => {
|
|
|
|
|
return(
|
|
|
|
|
<div key={key}>
|
|
|
|
|
{tag.status===0?"--":
|
|
|
|
|
|
|
|
|
|
<Tooltip placement="bottom" title={tag.name==="分配"?"指定该作品的交叉评阅人":tag.name==="调分"?<pre>调整学生最终成绩<br/>
|
|
|
|
|
其它历史评分将全部失效</pre>:""}>
|
|
|
|
|
|
|
|
|
|
{tag.name==="评阅"?<a style={{color:'#4CACFF'}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >{tag.name}</a>
|
|
|
|
|
{tag.name==="评阅"?tag.status===0?"--":<a style={{color:'#4CACFF'}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >
|
|
|
|
|
tag.name
|
|
|
|
|
</a>
|
|
|
|
|
:
|
|
|
|
|
<a style={{color:tag.name==="调分"?"#000":'#4CACFF'}}
|
|
|
|
|
onClick={tag.name==="调分"?()=>this.showModulationtype(tag.id):tag.name==="分配"?()=>this.showAllocationModal(tag.id):""}
|
|
|
|
|
>{tag.name}</a>
|
|
|
|
|
>{tag.status===0?"":tag.name}</a>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</Tooltip>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
}):""}
|
|
|
|
@ -879,9 +881,9 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
|
operation.map((tag,key) => {
|
|
|
|
|
return(
|
|
|
|
|
<div key={key}>
|
|
|
|
|
{tag.status===0?"--":
|
|
|
|
|
<a style={{color:'#4CACFF'}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >查看</a>
|
|
|
|
|
}
|
|
|
|
|
{tag.status===0?"--":<a style={{color:'#4CACFF'}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >
|
|
|
|
|
查看
|
|
|
|
|
</a>}
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
):""
|
|
|
|
@ -1006,14 +1008,15 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
|
{this.props.isAdmin()?operation.map((tag,key) => {
|
|
|
|
|
return(
|
|
|
|
|
<div key={key}>
|
|
|
|
|
{tag.status===0?"--":
|
|
|
|
|
|
|
|
|
|
<Tooltip placement="bottom" title={tag.name==="分配"?"指定该作品的交叉评阅人":tag.name==="调分"?<pre>调整学生最终成绩<br/>
|
|
|
|
|
其它历史评分将全部失效</pre>:""}>
|
|
|
|
|
{tag.name==="评阅"?<a style={{color:'#4CACFF'}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >{tag.name}</a>
|
|
|
|
|
{tag.name==="评阅"?tag.status===0?"--":<a style={{color:'#4CACFF'}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >
|
|
|
|
|
tag.name</a>
|
|
|
|
|
:
|
|
|
|
|
<a style={{color:tag.name==="调分"?"#000":'#4CACFF'}}
|
|
|
|
|
onClick={tag.name==="调分"?()=>this.showModulationtype(tag.id):tag.name==="分配"?()=>this.showAllocationModal(tag.id):""}
|
|
|
|
|
>{tag.name}</a>
|
|
|
|
|
>{tag.status===0?"":tag.name}</a>
|
|
|
|
|
}
|
|
|
|
|
</Tooltip>
|
|
|
|
|
}
|
|
|
|
@ -1026,9 +1029,9 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
|
operation.map((tag,key) => {
|
|
|
|
|
return(
|
|
|
|
|
<div key={key}>
|
|
|
|
|
{tag.status===0?"--":
|
|
|
|
|
<a style={{color:'#4CACFF'}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >查看</a>
|
|
|
|
|
}
|
|
|
|
|
{tag.status===0?"--": <a style={{color:'#4CACFF'}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >
|
|
|
|
|
查看
|
|
|
|
|
</a>}
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
):""
|
|
|
|
@ -1138,14 +1141,16 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
|
{this.props.isAdmin()?operation.map((tag,key) => {
|
|
|
|
|
return(
|
|
|
|
|
<div key={key}>
|
|
|
|
|
{tag.status===0?"--":
|
|
|
|
|
|
|
|
|
|
<Tooltip placement="bottom" title={tag.name==="分配"?"指定该作品的交叉评阅人":tag.name==="调分"?<pre>调整学生最终成绩<br/>
|
|
|
|
|
其它历史评分将全部失效</pre>:""}>
|
|
|
|
|
{tag.name==="评阅"?<a style={{color:'#4CACFF'}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >{tag.name}</a>
|
|
|
|
|
{tag.name==="评阅"?tag.status===0?"--":<a style={{color:'#4CACFF'}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >
|
|
|
|
|
tag.name
|
|
|
|
|
</a>
|
|
|
|
|
:
|
|
|
|
|
<a style={{color:tag.name==="调分"?"#000":'#4CACFF'}}
|
|
|
|
|
onClick={tag.name==="调分"?()=>this.showModulationtype(tag.id):tag.name==="分配"?()=>this.showAllocationModal(tag.id):""}
|
|
|
|
|
>{tag.name}</a>
|
|
|
|
|
>{tag.status===0?"":tag.name}</a>
|
|
|
|
|
}
|
|
|
|
|
</Tooltip>
|
|
|
|
|
}
|
|
|
|
@ -1158,9 +1163,8 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
|
operation.map((tag,key) => {
|
|
|
|
|
return(
|
|
|
|
|
<div key={key}>
|
|
|
|
|
{tag.status===0?"--":
|
|
|
|
|
<a style={{color:'#4CACFF'}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >查看</a>
|
|
|
|
|
}
|
|
|
|
|
{tag.status===0?"--":<a style={{color:'#4CACFF'}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >
|
|
|
|
|
查看</a>}
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
):""
|
|
|
|
@ -1284,7 +1288,7 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
|
<Link className="active" to={"/courses/"+courseId+"/graduation_tasks/"+category_id+"/"+task_Id+"/list"}>任务列表</Link>
|
|
|
|
|
<Link to={"/courses/"+courseId+"/graduation_tasks/"+category_id+"/"+task_Id+"/questions"}>任务问答</Link>
|
|
|
|
|
<Link style={{paddingLeft:'38px'}}
|
|
|
|
|
to={"/courses/"+courseId+"/graduation_tasks/"+category_id+"/"+task_Id+"/setting"}>设置</Link>
|
|
|
|
|
to={"/courses/"+courseId+"/graduation_tasks/"+category_id+"/"+task_Id+"/setting?tab=3"}>设置</Link>
|
|
|
|
|
|
|
|
|
|
{/*<a className={"fr color-blue font-16"} href={"/courses/"+courseId+"/graduation_tasks/"+task_Id+"/edit"}>编辑任务</a>*/}
|
|
|
|
|
{/*<a className={"fr color-blue font-16"} onClick={this.end}>立即截止</a>*/}
|
|
|
|
@ -1318,7 +1322,7 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
|
{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>
|
|
|
|
|
<ul className="drop_down_menu" style={{"right":"-34px","left":"unset","height":"auto"}}>
|
|
|
|
|
<li><a href={"/api/graduation_tasks/"+task_Id+"/tasks_list.xls"} calssName="color-dark">导出成绩</a></li>
|
|
|
|
|
<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.zip"} calssName="color-dark">导出作品附件</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</li>:""}
|
|
|
|
|