|
|
|
@ -749,9 +749,9 @@ class Coursesleftnav extends Component{
|
|
|
|
|
{/*毕业设计*/}
|
|
|
|
|
{/*{item.type==="graduation"?<div onClick={()=>this.Navmodalnames(1,"attachment",item.id)}>添加目录</div>:""}*/}
|
|
|
|
|
{/*讨论区*/}
|
|
|
|
|
{item.type==="board"?<div onClick={e=>this.Navmodalnames(e,6,"board",item.main_id)}>添加目录</div>:""}
|
|
|
|
|
{item.type==="board"?this.props.current_user&&this.props.current_user.course_is_end===true?"":<div onClick={e=>this.Navmodalnames(e,6,"board",item.main_id)}>添加目录</div>:""}
|
|
|
|
|
{/*分班*/}
|
|
|
|
|
{item.type==="course_group"?<div onClick={e=>this.Navmodalnames(e,2,"course_group",item.id)}>添加分班</div>:""}
|
|
|
|
|
{item.type==="course_group"?this.props.current_user&&this.props.current_user.course_is_end===true?"":<div onClick={e=>this.Navmodalnames(e,2,"course_group",item.id)}>添加分班</div>:""}
|
|
|
|
|
{/*分班*/}
|
|
|
|
|
{/*{item.type==="course_group"? :""}*/}
|
|
|
|
|
<div onClick={e=>this.Navmodalnames(e,3,"editname",item.id,item.name)}>重命名</div>
|
|
|
|
@ -798,7 +798,6 @@ class Coursesleftnav extends Component{
|
|
|
|
|
|
|
|
|
|
// console.log("778");
|
|
|
|
|
// console.log("CoursesLeftNav");
|
|
|
|
|
// console.log(this.props);
|
|
|
|
|
// console.log(course_modules);
|
|
|
|
|
|
|
|
|
|
return(
|
|
|
|
|