|
|
|
@ -153,22 +153,14 @@ class GraduationTasksappraiseReply extends Component{
|
|
|
|
|
const { current_user, memo } = this.props
|
|
|
|
|
const isAdmin = this.props.isAdmin();
|
|
|
|
|
const isStudent=this.props.isStudent();
|
|
|
|
|
const isNotMember=this.props.isNotMember();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return(
|
|
|
|
|
<React.Fragment>
|
|
|
|
|
<div className="edu-back-white padding20-30" style={{marginTop: '16px'}}>
|
|
|
|
|
{isStudent===true?comment_scores.length===0?
|
|
|
|
|
<div id="forum_list" className="forum_table">
|
|
|
|
|
<div className="mh650 edu-back-white">
|
|
|
|
|
<div
|
|
|
|
|
className="edu-tab-con-box clearfix edu-txt-center">
|
|
|
|
|
<img className="edu-nodata-img mb20"
|
|
|
|
|
src={getImageUrl("images/educoder/nodata.png")}/>
|
|
|
|
|
<p className="edu-nodata-p mb30">没有数据可以显示!</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>:
|
|
|
|
|
{comment_scores.length===0&&isStudent===true||comment_scores.length===0&&isNotMember===true? "": <div className="edu-back-white padding20-30" style={{marginTop: '16px'}}>
|
|
|
|
|
{isStudent===true?
|
|
|
|
|
|
|
|
|
|
<GraduationTasksappraiseReplyChild
|
|
|
|
|
{...this.props}
|
|
|
|
|
{...this.state}
|
|
|
|
@ -188,8 +180,19 @@ class GraduationTasksappraiseReply extends Component{
|
|
|
|
|
/>
|
|
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
}
|
|
|
|
|
</React.Fragment>
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export default ImageLayerOfCommentHOC() (GraduationTasksappraiseReply);
|
|
|
|
|
{/*<div id="forum_list" className="forum_table">*/}
|
|
|
|
|
{/*<div className="mh650 edu-back-white">*/}
|
|
|
|
|
{/*<div*/}
|
|
|
|
|
{/*className="edu-tab-con-box clearfix edu-txt-center">*/}
|
|
|
|
|
{/*<img className="edu-nodata-img mb20"*/}
|
|
|
|
|
{/*src={getImageUrl("images/educoder/nodata.png")}/>*/}
|
|
|
|
|
{/*<p className="edu-nodata-p mb30">没有数据可以显示!</p>*/}
|
|
|
|
|
{/*</div>*/}
|
|
|
|
|
{/*</div>*/}
|
|
|
|
|
{/*</div>*/}
|