|
|
@ -656,11 +656,12 @@ submittojoinclass=(value)=>{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(type==="newshixuns"){
|
|
|
|
if(this.props&&this.props.current_user&&this.props.current_user.is_shixun_marker===false){
|
|
|
|
if(this.props&&this.props.current_user&&this.props.current_user.is_shixun_marker===false){
|
|
|
|
this.setgoshowqqgtounp(true);
|
|
|
|
this.setgoshowqqgtounp(true);
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1276,7 +1277,7 @@ submittojoinclass=(value)=>{
|
|
|
|
<li><a onClick={(url)=>this.getUser("/courses/new")}>{this.props.user&&this.props.user.main_site===false?"新建课堂":"新建翻转课堂"}</a></li>:""
|
|
|
|
<li><a onClick={(url)=>this.getUser("/courses/new")}>{this.props.user&&this.props.user.main_site===false?"新建课堂":"新建翻转课堂"}</a></li>:""
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{shixuntype===true?"":
|
|
|
|
{shixuntype===true?"":
|
|
|
|
<li><a onClick={(url)=>this.getUser("/shixuns/new")}>新建实训项目</a></li>
|
|
|
|
<li><a onClick={(url)=>this.getUser("/shixuns/new","newshixuns")}>新建实训项目</a></li>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{this.props.user&&this.props.user.main_site===false?"":this.props.Headertop===undefined?"":<li><a onClick={(url)=>this.getUser("/paths/new")} >新建实践课程</a></li>}
|
|
|
|
{this.props.user&&this.props.user.main_site===false?"":this.props.Headertop===undefined?"":<li><a onClick={(url)=>this.getUser("/paths/new")} >新建实践课程</a></li>}
|
|
|
|
{this.props.user&&this.props.user.main_site===true?"":this.props.Headertop===undefined?"":
|
|
|
|
{this.props.user&&this.props.user.main_site===true?"":this.props.Headertop===undefined?"":
|
|
|
|