|
|
@ -205,15 +205,16 @@ class CommonWorkItem extends Component{
|
|
|
|
{item.uncommit_count===undefined?"":<span className="mr20 fl">{item.uncommit_count} 未交</span>}
|
|
|
|
{item.uncommit_count===undefined?"":<span className="mr20 fl">{item.uncommit_count} 未交</span>}
|
|
|
|
{
|
|
|
|
{
|
|
|
|
item.status_time!="" &&
|
|
|
|
item.status_time!="" &&
|
|
|
|
<Tooltip placement="bottom" title={ item.status.indexOf('提交中') != -1 ? '提交剩余时间' :
|
|
|
|
|
|
|
|
item.status.indexOf('补交中') != -1 ? '补交剩余时间' :
|
|
|
|
|
|
|
|
item.status.indexOf('申诉中') != -1 ? '申诉剩余时间' :
|
|
|
|
|
|
|
|
item.status.indexOf('匿评中') != -1 ? '匿评剩余时间' :
|
|
|
|
|
|
|
|
item.status.indexOf('匿评申诉中') != -1 ? '匿评申诉剩余时间' : ''}>
|
|
|
|
|
|
|
|
<span className="mr20 fl">{item.status_time}</span>
|
|
|
|
<span className="mr20 fl">{item.status_time}</span>
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
{/*<Tooltip placement="bottom" title={ item.status.indexOf('提交中') != -1 ? '提交剩余时间' :*/}
|
|
|
|
|
|
|
|
{/* item.status.indexOf('补交中') != -1 ? '补交剩余时间' :*/}
|
|
|
|
|
|
|
|
{/* item.status.indexOf('申诉中') != -1 ? '申诉剩余时间' :*/}
|
|
|
|
|
|
|
|
{/* item.status.indexOf('匿评中') != -1 ? '匿评剩余时间' :*/}
|
|
|
|
|
|
|
|
{/* item.status.indexOf('匿评申诉中') != -1 ? '匿评申诉剩余时间' : ''}>*/}
|
|
|
|
|
|
|
|
{/*</Tooltip>*/}
|
|
|
|
{isAdmin && <div className="fr">
|
|
|
|
{isAdmin && <div className="fr">
|
|
|
|
<WordsBtn style="blue" className="fl font-16 ml28" onClick={ () => { this.props.toEditPage(this.props.match.params, item.homework_id) }}>编辑</WordsBtn>
|
|
|
|
<WordsBtn style="blue" className="fl font-16 ml28" onClick={ () => { this.props.toEditPage(this.props.match.params, item.homework_id) }}>编辑</WordsBtn>
|
|
|
|
<WordsBtn style="blue" className="fl font-16 ml28" onClick={ () => { this.props.toWorkSettingPage(this.props.match.params, item.homework_id) }}>设置</WordsBtn>
|
|
|
|
<WordsBtn style="blue" className="fl font-16 ml28" onClick={ () => { this.props.toWorkSettingPage(this.props.match.params, item.homework_id) }}>设置</WordsBtn>
|
|
|
|