|
|
@ -734,21 +734,20 @@ background:rgba(204,204,204,0.2) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`}
|
|
|
|
`}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
{ excellent===true&&this.props.isAdminOrStudent()===false?"":<Breadcrumb separator="|" className={"mt5"}>
|
|
|
|
<Breadcrumb separator="|" className={"mt5"}>
|
|
|
|
|
|
|
|
<Breadcrumb.Item className={excellent === true && this.props.isAdminOrStudent() === false ?"":"pointer"}>
|
|
|
|
<Breadcrumb.Item className={"pointer"}>
|
|
|
|
<Tooltip getPopupContainer={trigger => trigger.parentNode} visible={excellent === true && this.props.isAdminOrStudent() === false ?false:coursedata.teacher_applies_count===undefined?false:coursedata.teacher_applies_count>0?true:false}
|
|
|
|
<Tooltip getPopupContainer={trigger => trigger.parentNode} visible={coursedata.teacher_applies_count===undefined?false:coursedata.teacher_applies_count>0?true:false}
|
|
|
|
|
|
|
|
placement="topLeft"
|
|
|
|
placement="topLeft"
|
|
|
|
title={<pre className="antsoancss">
|
|
|
|
title={<pre className="antsoancss">
|
|
|
|
{coursedata.teacher_applies_count===undefined?"":coursedata.teacher_applies_count>0?
|
|
|
|
{coursedata.teacher_applies_count===undefined?"":coursedata.teacher_applies_count>0?
|
|
|
|
<span >您有{coursedata.teacher_applies_count}条新的加入申请
|
|
|
|
<span >您有{coursedata.teacher_applies_count}条新的加入申请
|
|
|
|
<a className={"daishenp"} onClick={()=>this.setHistoryFun("/courses/"+this.props.match.params.coursesId+"/teachers?tab=2")}>
|
|
|
|
<a className={"daishenp"} onClick={excellent === true && this.props.isAdminOrStudent() === false ?"":()=>this.setHistoryFun("/courses/"+this.props.match.params.coursesId+"/teachers?tab=2")}>
|
|
|
|
<span style={{
|
|
|
|
<span style={{
|
|
|
|
color:"#FFA804"
|
|
|
|
color:"#FFA804"
|
|
|
|
}}>
|
|
|
|
}}>
|
|
|
|
待审批
|
|
|
|
待审批
|
|
|
|
</span></a></span>:""}</pre>}>
|
|
|
|
</span></a></span>:""}</pre>}>
|
|
|
|
<span className="color-grey-c font-16" onClick={()=>this.setHistoryFun("/courses/"+this.props.match.params.coursesId+"/teachers")}>
|
|
|
|
<span className="color-grey-c font-16" onClick={excellent === true && this.props.isAdminOrStudent() === false ?"":()=>this.setHistoryFun("/courses/"+this.props.match.params.coursesId+"/teachers")}>
|
|
|
|
<span className={"mr10"}>教师</span>
|
|
|
|
<span className={"mr10"}>教师</span>
|
|
|
|
<span className={"mr10"}>{coursedata.teacher_count}</span>
|
|
|
|
<span className={"mr10"}>{coursedata.teacher_count}</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
@ -756,8 +755,8 @@ background:rgba(204,204,204,0.2) !important;
|
|
|
|
</Breadcrumb.Item>
|
|
|
|
</Breadcrumb.Item>
|
|
|
|
|
|
|
|
|
|
|
|
<Breadcrumb.Item
|
|
|
|
<Breadcrumb.Item
|
|
|
|
className={excellent===true&&coursedata.course_end === true?this.props.isAdminOrTeacher()===true?"pointer":"":"pointer"}
|
|
|
|
className={excellent === true && this.props.isAdminOrStudent() === false ?"":excellent===true&&coursedata.course_end === true?this.props.isAdminOrTeacher()===true?"pointer":"":"pointer"}
|
|
|
|
onClick={excellent===true&&coursedata.course_end === true?this.props.isAdminOrTeacher()===true?()=>this.setHistoryFun("/courses/"+this.props.match.params.coursesId+"/students"):"":()=>this.setHistoryFun("/courses/"+this.props.match.params.coursesId+"/students")}
|
|
|
|
onClick={excellent === true && this.props.isAdminOrStudent() === false ?"":excellent===true&&coursedata.course_end === true?this.props.isAdminOrTeacher()===true?()=>this.setHistoryFun("/courses/"+this.props.match.params.coursesId+"/students"):"":()=>this.setHistoryFun("/courses/"+this.props.match.params.coursesId+"/students")}
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<span className="color-grey-c font-16"><span className={"mr10 ml10"}>学生</span> <span className={"mr10"}>{coursedata.student_count}</span></span>
|
|
|
|
<span className="color-grey-c font-16"><span className={"mr10 ml10"}>学生</span> <span className={"mr10"}>{coursedata.student_count}</span></span>
|
|
|
|
</Breadcrumb.Item>
|
|
|
|
</Breadcrumb.Item>
|
|
|
@ -766,7 +765,7 @@ background:rgba(204,204,204,0.2) !important;
|
|
|
|
<span className="color-grey-c font-16"><span className={"mr10 ml10"}>学分</span> <span className={"mr10"}>{coursedata.credit}</span></span>
|
|
|
|
<span className="color-grey-c font-16"><span className={"mr10 ml10"}>学分</span> <span className={"mr10"}>{coursedata.credit}</span></span>
|
|
|
|
}</Breadcrumb.Item>
|
|
|
|
}</Breadcrumb.Item>
|
|
|
|
|
|
|
|
|
|
|
|
</Breadcrumb>}
|
|
|
|
</Breadcrumb>
|
|
|
|
|
|
|
|
|
|
|
|
{/*<li className={"mt7 teachersbox"} >*/}
|
|
|
|
{/*<li className={"mt7 teachersbox"} >*/}
|
|
|
|
{/*<Link to={"/courses/"+this.props.match.params.coursesId+"/teachers"}>*/}
|
|
|
|
{/*<Link to={"/courses/"+this.props.match.params.coursesId+"/teachers"}>*/}
|
|
|
|