|
|
|
@ -563,10 +563,11 @@ class Fileslists extends Component{
|
|
|
|
|
this.onCheckBoxChange(checkBoxValues)
|
|
|
|
|
}
|
|
|
|
|
PaginationTask=(page)=>{
|
|
|
|
|
console.log(3)
|
|
|
|
|
|
|
|
|
|
let {search,order,selectpage,checkAllValue,checkBoxValues}=this.state;
|
|
|
|
|
let selectpagetype=selectpage===page?true:false
|
|
|
|
|
let selectpagetype=selectpage===page&&checkBoxValues.length===15?true:false
|
|
|
|
|
console.log(selectpagetype)
|
|
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
|
page:page,
|
|
|
|
|
checkAllValue:selectpagetype,
|
|
|
|
@ -1040,8 +1041,7 @@ class Fileslists extends Component{
|
|
|
|
|
return (!this.state.dirSearchValue || item.name.indexOf(this.state.dirSearchValue) != -1)
|
|
|
|
|
}).map((itm,k)=>{
|
|
|
|
|
return(
|
|
|
|
|
filesId&&filesId===itm.value?"":
|
|
|
|
|
<div>
|
|
|
|
|
<div className="bordboom">
|
|
|
|
|
<div className="bordboom" style={{display:'flex',marginTop:15,height:30}}>
|
|
|
|
|
<div onClick={() => this.moveTos(itm.value )} style={{marginLeft:15,width:itm.title.length>13?200:undefined,color:'#000000',overflow: 'hidden',textOverflow:'ellipsis',whiteSpace: 'nowrap'}}>{itm.title}</div>
|
|
|
|
|
{itm.children.length===0?'':<i style={{marginLeft:15,marginRight:15}} onClick={() => this.istowshow(itm,filesId)} className="iconfont icon-xiajiantou font-12 ml2"></i>}
|
|
|
|
@ -1050,7 +1050,10 @@ class Fileslists extends Component{
|
|
|
|
|
itm.children.map((tt,ti) => {
|
|
|
|
|
return(
|
|
|
|
|
filesId&&filesId===itm.id?"":
|
|
|
|
|
<div style={{marginLeft:30}} key={ti} id={tt.value} onClick={() => this.moveTos(tt.value )} title={tt.name}>{tt.title}</div>
|
|
|
|
|
<Tooltip placement="right"title={tt.title.length>13?tt.title:''} >
|
|
|
|
|
<div style={{marginLeft:30,width:tt.title.length>13?200:undefined,color:'#000000',overflow: 'hidden',textOverflow:'ellipsis',whiteSpace: 'nowrap'}} key={ti} id={tt.value} onClick={() => this.moveTos(tt.value )} title={tt.name}>{tt.title}</div>
|
|
|
|
|
</Tooltip>
|
|
|
|
|
|
|
|
|
|
)
|
|
|
|
|
})
|
|
|
|
|
:''}
|
|
|
|
|