|
|
|
@ -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>
|
|
|
|
|
}
|
|
|
|
|
<a style={{color:'#4CACFF'}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >{tag.status===0?"":"查看"}</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,10 @@ 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>
|
|
|
|
|
}
|
|
|
|
|
<a style={{color:'#4CACFF'}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >
|
|
|
|
|
{tag.status===0?"":"查看"}
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
):""
|
|
|
|
@ -1006,14 +1009,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 +1030,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>
|
|
|
|
|
}
|
|
|
|
|
<a style={{color:'#4CACFF'}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >
|
|
|
|
|
{tag.status===0?"":"查看"}
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
):""
|
|
|
|
@ -1138,14 +1142,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 +1164,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>
|
|
|
|
|
}
|
|
|
|
|
<a style={{color:'#4CACFF'}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >
|
|
|
|
|
{tag.status===0?"":"查看"}</a>
|
|
|
|
|
</div>
|
|
|
|
|
)}
|
|
|
|
|
):""
|
|
|
|
|