|
|
|
@ -493,7 +493,8 @@ class Fileslists extends Component{
|
|
|
|
|
let selectpagetype=selectpage===page?true:false
|
|
|
|
|
this.setState({
|
|
|
|
|
page:page,
|
|
|
|
|
checkAllValue:selectpagetype
|
|
|
|
|
checkAllValue:selectpagetype,
|
|
|
|
|
checkBoxValues:[]
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
let{pagesize,tagname,searchValue,sort,sorttype,coursesecondcategoryid}=this.state;
|
|
|
|
@ -801,7 +802,7 @@ class Fileslists extends Component{
|
|
|
|
|
|
|
|
|
|
{this.props.isAdmin()? files===undefined?'' :files.length===0? "":<div className="mt20 edu-back-white padding20-30" style={{display:this.props.isAdmin()||this.props.isStudent()?"":"none"}}>
|
|
|
|
|
<div className="clearfix">
|
|
|
|
|
{this.props.isAdmin()? <Checkbox className="fl" onChange={this.onCheckAll} checked={checkAllValue}>已选 {checkBoxValues.length} 个</Checkbox>:""}
|
|
|
|
|
{this.props.isAdmin()? <Checkbox className="fl" onChange={this.onCheckAll} checked={checkAllValue}>已选 {checkBoxValues.length} 个 (不支持跨页勾选)</Checkbox>:""}
|
|
|
|
|
<div className="studentList_operation_ul">
|
|
|
|
|
{this.props.isAdmin()?<li className="li_line"><a href="javascript:void(0)" className="color-grey-9" onClick={this.onDelete}>删除</a></li>:""}
|
|
|
|
|
{this.props.isAdmin()?<li className="li_line"><a href="javascript:void(0)" className="color-grey-9" onClick={this.onSend}>发送</a></li>:""}
|
|
|
|
|