|
|
|
@ -53,20 +53,44 @@ class TPMNav extends Component {
|
|
|
|
|
{/*jupyter*/}
|
|
|
|
|
{
|
|
|
|
|
this.props.is_jupyter===true?
|
|
|
|
|
(
|
|
|
|
|
is_teacher===true?
|
|
|
|
|
<Link to={`/shixuns/${shixunId}/dataset`}
|
|
|
|
|
className={`${match.url.indexOf('dataset') != -1 ? 'active' : ''} fl mr40`}>数据集</Link>
|
|
|
|
|
:""
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
:""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
this.props.is_jupyter === false ?
|
|
|
|
|
<Link to={`/shixuns/${shixunId}/shixun_discuss`}
|
|
|
|
|
className={`${match.url.indexOf('shixun_discuss') != -1 ? 'active' : ''} fl mr40`}>评论</Link>
|
|
|
|
|
|
|
|
|
|
:""
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
this.props.is_jupyter === false ?
|
|
|
|
|
<Link to={`/shixuns/${shixunId}/ranking_list`}
|
|
|
|
|
className={`${match.url.indexOf('ranking_list') != -1 ? 'active' : ''} fl mr40`}>排行榜</Link>
|
|
|
|
|
className={`${match.url.indexOf('ranking_list') != -1 ? 'active' : ''} fl mr40`}>排行榜</Link>:""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
{this.props.identity >2||this.props.identity===undefined?"":
|
|
|
|
|
(this.props.is_jupyter === false?
|
|
|
|
|
<Link to={`/shixuns/${shixunId}/audit_situation`}
|
|
|
|
|
className={`${match.url.indexOf('audit_situation') != -1 ? 'active' : ''} fl`}>审核情况</Link>
|
|
|
|
|
:
|
|
|
|
|
is_teacher===true?
|
|
|
|
|
<Link to={`/shixuns/${shixunId}/audit_situation`}
|
|
|
|
|
className={`${match.url.indexOf('audit_situation') != -1 ? 'active' : ''} fl`}>审核情况</Link>
|
|
|
|
|
:
|
|
|
|
|
""
|
|
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
{this.props.identity >2||this.props.identity===undefined?"":<Link to={`/shixuns/${shixunId}/audit_situation`}
|
|
|
|
|
className={`${match.url.indexOf('audit_situation') != -1 ? 'active' : ''} fl`}>审核情况</Link>}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
{this.props.identity >4||this.props.identity===undefined ? "":<Link to={`/shixuns/${shixunId}/settings`} className="edu-default-btn edu-blueline-btn ml20 fr"
|
|
|
|
|
>配置</Link>}
|
|
|
|
|