|
|
@ -332,7 +332,7 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
Topval:"发布设置均可修改",
|
|
|
|
Topval:"发布设置均可修改",
|
|
|
|
Botvalleft:"点击修改",
|
|
|
|
Botvalleft:"点击修改",
|
|
|
|
Botval:"此设置将对所有分班生效",
|
|
|
|
Botval:"此设置将对所有分班生效",
|
|
|
|
starttime:moment(new Date()).format('YYYY-MM-DD 00:00'),
|
|
|
|
starttime:moment(moment(new Date())).format("YYYY-MM-DD HH:mm") ,
|
|
|
|
starttimes:this.props.getNowFormatDates(1),
|
|
|
|
starttimes:this.props.getNowFormatDates(1),
|
|
|
|
typs:"start",
|
|
|
|
typs:"start",
|
|
|
|
endtime:endtime,
|
|
|
|
endtime:endtime,
|
|
|
@ -544,6 +544,7 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
axios.get(url).then((result)=>{
|
|
|
|
axios.get(url).then((result)=>{
|
|
|
|
|
|
|
|
|
|
|
|
if(result.data.status===0){
|
|
|
|
if(result.data.status===0){
|
|
|
|
|
|
|
|
this.searchValue()
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
|
Modalstype:true,
|
|
|
|
Modalstype:true,
|
|
|
|
Modalstopval:result.data.message,
|
|
|
|
Modalstopval:result.data.message,
|
|
|
@ -730,7 +731,7 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
其它历史评分将全部失效</pre>:""}>
|
|
|
|
其它历史评分将全部失效</pre>:""}>
|
|
|
|
|
|
|
|
|
|
|
|
{tag.name==="评阅"?tag.status===0?"--":<a style={{color:'#4CACFF'}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >
|
|
|
|
{tag.name==="评阅"?tag.status===0?"--":<a style={{color:'#4CACFF'}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >
|
|
|
|
tag.name
|
|
|
|
{tag.name}
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
:
|
|
|
|
:
|
|
|
|
<a style={{color:tag.name==="调分"?"#000":'#4CACFF'}}
|
|
|
|
<a style={{color:tag.name==="调分"?"#000":'#4CACFF'}}
|
|
|
@ -863,7 +864,7 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
其它历史评分将全部失效</pre>:""}>
|
|
|
|
其它历史评分将全部失效</pre>:""}>
|
|
|
|
|
|
|
|
|
|
|
|
{tag.name==="评阅"?tag.status===0?"--":<a style={{color:'#4CACFF'}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >
|
|
|
|
{tag.name==="评阅"?tag.status===0?"--":<a style={{color:'#4CACFF'}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >
|
|
|
|
tag.name
|
|
|
|
{tag.name}
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
:
|
|
|
|
:
|
|
|
|
<a style={{color:tag.name==="调分"?"#000":'#4CACFF'}}
|
|
|
|
<a style={{color:tag.name==="调分"?"#000":'#4CACFF'}}
|
|
|
@ -1012,7 +1013,8 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
<Tooltip placement="bottom" title={tag.name==="分配"?"指定该作品的交叉评阅人":tag.name==="调分"?<pre>调整学生最终成绩<br/>
|
|
|
|
<Tooltip placement="bottom" title={tag.name==="分配"?"指定该作品的交叉评阅人":tag.name==="调分"?<pre>调整学生最终成绩<br/>
|
|
|
|
其它历史评分将全部失效</pre>:""}>
|
|
|
|
其它历史评分将全部失效</pre>:""}>
|
|
|
|
{tag.name==="评阅"?tag.status===0?"--":<a style={{color:'#4CACFF'}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >
|
|
|
|
{tag.name==="评阅"?tag.status===0?"--":<a style={{color:'#4CACFF'}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >
|
|
|
|
tag.name</a>
|
|
|
|
{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):""}
|
|
|
|
onClick={tag.name==="调分"?()=>this.showModulationtype(tag.id):tag.name==="分配"?()=>this.showAllocationModal(tag.id):""}
|
|
|
@ -1145,7 +1147,7 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
<Tooltip placement="bottom" title={tag.name==="分配"?"指定该作品的交叉评阅人":tag.name==="调分"?<pre>调整学生最终成绩<br/>
|
|
|
|
<Tooltip placement="bottom" title={tag.name==="分配"?"指定该作品的交叉评阅人":tag.name==="调分"?<pre>调整学生最终成绩<br/>
|
|
|
|
其它历史评分将全部失效</pre>:""}>
|
|
|
|
其它历史评分将全部失效</pre>:""}>
|
|
|
|
{tag.name==="评阅"?tag.status===0?"--":<a style={{color:'#4CACFF'}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >
|
|
|
|
{tag.name==="评阅"?tag.status===0?"--":<a style={{color:'#4CACFF'}} href={"/courses/"+courseId+"/graduation_tasks/"+tag.id+"/appraise"} >
|
|
|
|
tag.name
|
|
|
|
{tag.name}
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
:
|
|
|
|
:
|
|
|
|
<a style={{color:tag.name==="调分"?"#000":'#4CACFF'}}
|
|
|
|
<a style={{color:tag.name==="调分"?"#000":'#4CACFF'}}
|
|
|
@ -1256,6 +1258,7 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
visible={visibles}
|
|
|
|
visible={visibles}
|
|
|
|
Cancel={this.Cancel}
|
|
|
|
Cancel={this.Cancel}
|
|
|
|
taskid={taskslistdata&&taskslistdata.task_id}
|
|
|
|
taskid={taskslistdata&&taskslistdata.task_id}
|
|
|
|
|
|
|
|
funlist={this.searchValue()}
|
|
|
|
/>:""}
|
|
|
|
/>:""}
|
|
|
|
|
|
|
|
|
|
|
|
{taskslistdata&&taskslistdata?
|
|
|
|
{taskslistdata&&taskslistdata?
|
|
|
@ -1551,7 +1554,7 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
to={"/courses/"+courseId+"/graduation_tasks/"+category_id+"/"+task_Id+"/setting"}>设置</Link>
|
|
|
|
to={"/courses/"+courseId+"/graduation_tasks/"+category_id+"/"+task_Id+"/setting"}>设置</Link>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{taskslistdata.work_status===undefined?"":taskslistdata.work_status.map((item,key)=>{
|
|
|
|
{taskslistdata.work_status===undefined||taskslistdata.work_status===null||taskslistdata.work_status.length===0?"":taskslistdata.work_status.map((item,key)=>{
|
|
|
|
return(
|
|
|
|
return(
|
|
|
|
<span key={key}>
|
|
|
|
<span key={key}>
|
|
|
|
{item==="提交作品"?<a className={"fr color-blue font-16"} href={"/courses/"+this.props.match.params.coursesId+"/graduation_tasks/"+category_id+"/"+task_Id+"/works/new"}>提交作品</a>:""}
|
|
|
|
{item==="提交作品"?<a className={"fr color-blue font-16"} href={"/courses/"+this.props.match.params.coursesId+"/graduation_tasks/"+category_id+"/"+task_Id+"/works/new"}>提交作品</a>:""}
|
|
|
|