|
|
|
@ -101,7 +101,11 @@ class Fileslists extends Component{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
componentDidUpdate = (prevProps) => {
|
|
|
|
|
if(prevProps.match.params.main_id != this.props.match.params.main_id){
|
|
|
|
|
|
|
|
|
|
if(prevProps.coursesidtype!=this.props.coursesidtype||prevProps.match.params.main_id!=this.props.match.params.main_id||prevProps.match.params.Id!=this.props.match.params.Id){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(this.props.match.params.main_id){
|
|
|
|
|
this.getcourse_groupslists()
|
|
|
|
|
this.setState({
|
|
|
|
|
isSpin:true,
|
|
|
|
@ -116,7 +120,8 @@ class Fileslists extends Component{
|
|
|
|
|
this.seactall(undefined,"desc");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if(prevProps.match.params.Id != this.props.match.params.Id){
|
|
|
|
|
|
|
|
|
|
if(this.props.match.params.Id){
|
|
|
|
|
this.getcourse_groupslists()
|
|
|
|
|
this.setState({
|
|
|
|
|
isSpin:true,
|
|
|
|
@ -133,6 +138,8 @@ class Fileslists extends Component{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
updadatalist=(id)=>{
|
|
|
|
|
// this.seactall(id)
|
|
|
|
|
if(this.props.user&&this.props.user.login=== ""||this.props.user&&this.props.user.login=== null||this.props.user&&this.props.user.login=== undefined){
|
|
|
|
@ -916,7 +923,7 @@ class Fileslists extends Component{
|
|
|
|
|
{
|
|
|
|
|
`
|
|
|
|
|
.filesnameslist{
|
|
|
|
|
max-width: 200px;
|
|
|
|
|
max-width: 370px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|