|
|
|
@ -43,7 +43,9 @@ class Fileslists extends Component{
|
|
|
|
|
has_course_groups:false,
|
|
|
|
|
course_is_public:undefined,
|
|
|
|
|
isSpin:false,
|
|
|
|
|
course_second_categories:[]
|
|
|
|
|
course_second_categories:[],
|
|
|
|
|
title: "",
|
|
|
|
|
link: ""
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -595,6 +597,8 @@ class Fileslists extends Component{
|
|
|
|
|
}else{
|
|
|
|
|
this.setState({
|
|
|
|
|
Addanexternallink:false,
|
|
|
|
|
title: "",
|
|
|
|
|
link: ""
|
|
|
|
|
})
|
|
|
|
|
if(ints===1){
|
|
|
|
|
this.Updateresourcepage();
|
|
|
|
@ -627,11 +631,14 @@ class Fileslists extends Component{
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Settingtypess=(id)=>{
|
|
|
|
|
Settingtypess=(id,title,link)=>{
|
|
|
|
|
debugger
|
|
|
|
|
this.setState({
|
|
|
|
|
Addanexternallink:true,
|
|
|
|
|
Exterchainname:"资源设置",
|
|
|
|
|
discussMessageid:id,
|
|
|
|
|
title: title,
|
|
|
|
|
link: link
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -779,7 +786,9 @@ class Fileslists extends Component{
|
|
|
|
|
child,
|
|
|
|
|
sort,
|
|
|
|
|
Addanexternallink,
|
|
|
|
|
Exterchainname
|
|
|
|
|
Exterchainname,
|
|
|
|
|
title,
|
|
|
|
|
link,
|
|
|
|
|
} = this.state;
|
|
|
|
|
let category_id= this.props.match.params.category_id;
|
|
|
|
|
|
|
|
|
@ -876,6 +885,8 @@ class Fileslists extends Component{
|
|
|
|
|
{Addanexternallink&&Addanexternallink===true?<SendResources
|
|
|
|
|
{...this.props}
|
|
|
|
|
{...this.state}
|
|
|
|
|
title={title}
|
|
|
|
|
link={link}
|
|
|
|
|
modalname={Exterchainname}
|
|
|
|
|
visible={Addanexternallink}
|
|
|
|
|
discussMessageid={discussMessageid}
|
|
|
|
@ -1071,7 +1082,7 @@ class Fileslists extends Component{
|
|
|
|
|
isNotMember={this.props.isNotMember()}
|
|
|
|
|
checkBox={this.props.isAdmin()?<Checkbox value={item.id} key={item.id}></Checkbox>:""}
|
|
|
|
|
Settingtypes={(id)=>this.Settingtypes(id)}
|
|
|
|
|
Settingtypess={(id)=>this.Settingtypess(id)}
|
|
|
|
|
Settingtypess={(id,t,l)=>this.Settingtypess(id,t,l)}
|
|
|
|
|
coursesId={this.props.match.params.coursesId}
|
|
|
|
|
updatafiledfun={()=>this.updatafiled()}
|
|
|
|
|
index={index}
|
|
|
|
|