|
|
|
@ -79,7 +79,12 @@ class GraduationTasksedit extends Component{
|
|
|
|
|
let listid=[]
|
|
|
|
|
let graduation_id=this.state.data.graduation_id;
|
|
|
|
|
for(var list of fileList){
|
|
|
|
|
listid.push(list.response.id)
|
|
|
|
|
if(list.response!=undefined){
|
|
|
|
|
listid.push(list.response.id)
|
|
|
|
|
}else{
|
|
|
|
|
listid.push(list.id)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// console.log(listid)
|
|
|
|
@ -125,7 +130,7 @@ class GraduationTasksedit extends Component{
|
|
|
|
|
GraduationTasksedittype=false;
|
|
|
|
|
// window.location.href="/courses/"+course_id+"/graduation/"+graduationId+"/graduation_tasks/"+category_id+"/questions";
|
|
|
|
|
// this.goback()
|
|
|
|
|
window.location.href="/courses/"+this.props.match.params.coursesId+"/graduation_tasks/"+graduation_id+"/"+this.props.match.params.category_id +"/setting";
|
|
|
|
|
this.props.history.push("/courses/"+this.props.match.params.coursesId+"/graduation_tasks/"+graduation_id+"/"+this.props.match.params.category_id +"/setting");
|
|
|
|
|
}
|
|
|
|
|
}).catch((error) => {
|
|
|
|
|
console.log(error)
|
|
|
|
|