|
|
|
@ -294,20 +294,23 @@ class ShixunhomeWorkItem extends Component{
|
|
|
|
|
{/*/courses/1309/9373/listofworks*/}
|
|
|
|
|
{/*to={`/courses/${this.props.match.params.coursesId}/${discussMessage.homework_id}/jobsettings`}*/}
|
|
|
|
|
{
|
|
|
|
|
this.props.isAdmin?<Link to={"/courses/"+this.props.match.params.coursesId+"/"+this.state.shixuntypes+"/"+discussMessage.homework_id+"/list?tab=0"}
|
|
|
|
|
className="fl mt3 font-16 font-bd color-dark maxwidth580">{discussMessage.name}</Link>:""
|
|
|
|
|
this.props.isAdmin?<a href={"/courses/"+this.props.match.params.coursesId+"/"+this.state.shixuntypes+"/"+discussMessage.homework_id+"/list?tab=0"}
|
|
|
|
|
title={discussMessage.name}
|
|
|
|
|
className="fl mt3 font-16 font-bd color-dark maxwidth580">{discussMessage.name}</a>:""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
this.props.isStudent? <Link to={`/courses/${this.props.match.params.coursesId}/${this.state.shixuntypes}/${discussMessage.homework_id}/openlist?tab=0`}
|
|
|
|
|
className="fl mt3 font-16 font-bd color-dark maxwidth580">{discussMessage.name}</Link>:""
|
|
|
|
|
this.props.isStudent? <a href={`/courses/${this.props.match.params.coursesId}/${this.state.shixuntypes}/${discussMessage.homework_id}/openlist?tab=0`}
|
|
|
|
|
title={discussMessage.name}
|
|
|
|
|
className="fl mt3 font-16 font-bd color-dark maxwidth580">{discussMessage.name}</a>:""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
this.props.isNotMember===true? this.props.discussMessage.private_icon===true?
|
|
|
|
|
<span className="fl mt3 font-16 font-bd color-dark maxwidth580">{discussMessage.name}</span>
|
|
|
|
|
: <Link to={`/courses/${this.props.match.params.coursesId}/${this.state.shixuntypes}/${discussMessage.homework_id}/openlist?tab=0`}
|
|
|
|
|
className="fl mt3 font-16 font-bd color-dark maxwidth580">{discussMessage.name}</Link>:""
|
|
|
|
|
<span className="fl mt3 font-16 font-bd color-dark maxwidth580" title={discussMessage.name}>{discussMessage.name}</span>
|
|
|
|
|
: <a href={`/courses/${this.props.match.params.coursesId}/${this.state.shixuntypes}/${discussMessage.homework_id}/openlist?tab=0`}
|
|
|
|
|
title={discussMessage.name}
|
|
|
|
|
className="fl mt3 font-16 font-bd color-dark maxwidth580">{discussMessage.name}</a>:""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -333,9 +336,27 @@ class ShixunhomeWorkItem extends Component{
|
|
|
|
|
{discussMessage.commit_count===undefined?"":<span className="mr15 color-grey9">{discussMessage.commit_count} 已交</span>}
|
|
|
|
|
{discussMessage.uncommit_count===undefined?"":<span className="mr15 color-grey9">{discussMessage.uncommit_count} 未交</span>}
|
|
|
|
|
{/*<span className="mr15 color-grey9">{discussMessage.replies_count} 3 未评</span>*/}
|
|
|
|
|
<Tooltip title={discussMessage.time_status===1?"提交剩余时间":"补交剩余时间"} placement="bottom">
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
discussMessage.time_status===1?
|
|
|
|
|
<Tooltip title={"提交剩余时间"} placement="bottom">
|
|
|
|
|
<span className="mr15 color-grey9">{discussMessage.status_time}</span>
|
|
|
|
|
</Tooltip>
|
|
|
|
|
:discussMessage.time_status===2?
|
|
|
|
|
<Tooltip title={"补交剩余时间"} placement="bottom">
|
|
|
|
|
<span className="mr15 color-grey9">{discussMessage.status_time}</span>
|
|
|
|
|
</Tooltip>
|
|
|
|
|
:discussMessage.time_status===3?
|
|
|
|
|
<Tooltip title={"匿评剩余时间"} placement="bottom">
|
|
|
|
|
<span className="mr15 color-grey9">{discussMessage.status_time}</span>
|
|
|
|
|
</Tooltip>
|
|
|
|
|
:discussMessage.time_status===4?
|
|
|
|
|
<Tooltip title={"申诉剩余时间"} placement="bottom">
|
|
|
|
|
<span className="mr15 color-grey9">{discussMessage.status_time}</span>
|
|
|
|
|
</Tooltip>
|
|
|
|
|
:
|
|
|
|
|
<span className="mr15 color-grey9">{discussMessage.status_time}</span>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
{/* { discussMessage.replies_count != 0 && <span className="mr15 color-grey9">{discussMessage.replies_count} 回复</span> }
|
|
|
|
|
{ discussMessage.praise_num != 0 && <span className="mr15 color-grey9">{discussMessage.praise_num} 点赞</span> }
|
|
|
|
|