|
|
|
@ -30,7 +30,7 @@ class GraduationTasksappraiseReplyChild extends Component{
|
|
|
|
|
return(
|
|
|
|
|
<React.Fragment>
|
|
|
|
|
|
|
|
|
|
<div className={"stud-class-set pd20 edu-back-white mb10"} style={{height:"100%"}}>
|
|
|
|
|
<div className={`${comment_scores && comment_scores.length && 'bor-bottom-greyE'} stud-class-set edu-back-white mb10 padding20-30`} style={{height:"100%"}}>
|
|
|
|
|
|
|
|
|
|
<Modals
|
|
|
|
|
modalsType={this.props.Modalstype}
|
|
|
|
@ -70,32 +70,31 @@ class GraduationTasksappraiseReplyChild extends Component{
|
|
|
|
|
{this.props.ultimate===true?"":<div className={"color-grey-6 mb10"}>
|
|
|
|
|
<span className="labal">全部评阅</span>
|
|
|
|
|
{ !!comment_scores.length && <span className="count">
|
|
|
|
|
{comment_scores.length===0?"":(comment_scores.length)}
|
|
|
|
|
{comment_scores.length===0?"":`(${comment_scores.length})`}
|
|
|
|
|
</span> }
|
|
|
|
|
</div>}
|
|
|
|
|
|
|
|
|
|
<div className="padding20 bor-bottom-greyE memoReplies commentsDelegateParent course-message"
|
|
|
|
|
style={{ paddingTop: '0px', paddingBottom: '0px' }}
|
|
|
|
|
>
|
|
|
|
|
{/* style={{ display: (comments && !!comments.length) ? 'block' : 'none' }} */}
|
|
|
|
|
{/* <div className="replies_count">
|
|
|
|
|
|
|
|
|
|
</div> */}
|
|
|
|
|
|
|
|
|
|
{this.props.ultimate===true?"": isAdmin && <GraduationTasksappraiseMainEditor {...this.props}
|
|
|
|
|
{this.props.ultimate===true ? "": isAdmin && <GraduationTasksappraiseMainEditor {...this.props}
|
|
|
|
|
addSuccess={() => this.props.addSuccess()}
|
|
|
|
|
></GraduationTasksappraiseMainEditor> }
|
|
|
|
|
<style>{`
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div className={"stud-class-set edu-back-white mb10"} style={{height:"100%"}}>
|
|
|
|
|
|
|
|
|
|
`}</style>
|
|
|
|
|
<div className="panel-comment_item">
|
|
|
|
|
{ comment_scores.map(item => {
|
|
|
|
|
return <Graduationtaskitem item={item} onDelete={this.props.onDelete} {...this.props}></Graduationtaskitem>
|
|
|
|
|
}) }
|
|
|
|
|
</div>
|
|
|
|
|
<div className="padding20 memoReplies commentsDelegateParent course-message"
|
|
|
|
|
style={{ paddingTop: '0px', paddingBottom: '0px' }}
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<style>{`
|
|
|
|
|
`}</style>
|
|
|
|
|
<div className="panel-comment_item">
|
|
|
|
|
{ comment_scores.map(item => {
|
|
|
|
|
return <Graduationtaskitem item={item} onDelete={this.props.onDelete} {...this.props}></Graduationtaskitem>
|
|
|
|
|
}) }
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</React.Fragment>
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|