|
|
|
@ -395,8 +395,9 @@ class commonWork extends Component{
|
|
|
|
|
secondRowLeft={
|
|
|
|
|
<div style={{"display":"inline-block", "marginTop": "22px"}}>
|
|
|
|
|
<span>共 {mainList&&mainList.all_count} 个作业</span>
|
|
|
|
|
<span style={{"marginLeft":"16px"}}>已发布作业:{published_count}个</span>
|
|
|
|
|
{this.props.isAdmin()?<span style={{"marginLeft":"16px"}}>未发布作业:{unpublished_count}个</span>:""}
|
|
|
|
|
<span style={{"marginLeft":"16px"}}>已发布:{published_count}个</span>
|
|
|
|
|
{/* {this.props.isAdmin()?:""} */}
|
|
|
|
|
<span style={{"marginLeft":"16px"}}>未发布:{unpublished_count}个</span>
|
|
|
|
|
</div>
|
|
|
|
|
}
|
|
|
|
|
searchPlaceholder={"请输入名称进行搜索"}
|
|
|
|
|