|
|
|
@ -189,7 +189,12 @@ class Challengesjupyter extends Component {
|
|
|
|
|
const business = this.props&&this.props.current_user&&this.props.current_user.business?this.props.current_user.business:false;
|
|
|
|
|
//管理员
|
|
|
|
|
const admin = this.props&&this.props.current_user&&this.props.current_user.admin?this.props.current_user.admin:false;
|
|
|
|
|
let mysidentity =false;
|
|
|
|
|
try {
|
|
|
|
|
mysidentity =this.props.identity < 5 &&ChallengesDataList&& ChallengesDataList.shixun_status< 3?true:false;
|
|
|
|
|
}catch (e) {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<React.Fragment>
|
|
|
|
@ -301,7 +306,7 @@ class Challengesjupyter extends Component {
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
{
|
|
|
|
|
is_teacher===true||admin===true||business===true?
|
|
|
|
|
is_teacher===true||admin===true||business===true||mysidentity===true?
|
|
|
|
|
<div className="mt35">
|
|
|
|
|
<div className="pb47">
|
|
|
|
|
{
|
|
|
|
|