|
|
|
@ -385,6 +385,12 @@ class CoursesBanner extends Component {
|
|
|
|
|
window.location.reload();
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setHistoryFun=(url)=>{
|
|
|
|
|
this.props.history.replace(url)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
|
let { Addcoursestypes, coursedata,excellent, modalsType, modalsTopval, loadtype,modalsBottomval,antIcon,is_guide,AccountProfiletype} = this.state;
|
|
|
|
|
|
|
|
|
@ -588,10 +594,10 @@ class CoursesBanner extends Component {
|
|
|
|
|
`}
|
|
|
|
|
</style>
|
|
|
|
|
<Breadcrumb separator="|" className={"mt5"}>
|
|
|
|
|
<Breadcrumb.Item href={"/courses/"+this.props.match.params.coursesId+"/teachers"}>
|
|
|
|
|
<Breadcrumb.Item onClick={()=>this.setHistoryFun("/courses/"+this.props.match.params.coursesId+"/teachers")}>
|
|
|
|
|
<span className="color-grey-c font-16"><span className={"mr10"}>教师</span> <span className={"mr10"}>{coursedata.teacher_count}</span></span>
|
|
|
|
|
</Breadcrumb.Item>
|
|
|
|
|
<Breadcrumb.Item href={"/courses/"+this.props.match.params.coursesId+"/students"}>
|
|
|
|
|
<Breadcrumb.Item onClick={()=>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>
|
|
|
|
|
</Breadcrumb.Item>
|
|
|
|
|
<Breadcrumb.Item>{coursedata.credit===null?"":
|
|
|
|
|