|
|
@ -62,6 +62,8 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
let{teacher_comment,task_status,course_group,cross_comment,order,b_order,search}=this.state;
|
|
|
|
let{teacher_comment,task_status,course_group,cross_comment,order,b_order,search}=this.state;
|
|
|
|
this.seacthdata(teacher_comment,task_status,course_group,cross_comment,order,b_order,search,this.state.page);
|
|
|
|
this.seacthdata(teacher_comment,task_status,course_group,cross_comment,order,b_order,search,this.state.page);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.props.getsonar(teacher_comment, task_status, course_group, cross_comment, search)
|
|
|
|
|
|
|
|
|
|
|
|
try{
|
|
|
|
try{
|
|
|
|
this.props.triggerRef(this)
|
|
|
|
this.props.triggerRef(this)
|
|
|
|
}catch(e){
|
|
|
|
}catch(e){
|
|
|
@ -88,6 +90,8 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
})
|
|
|
|
})
|
|
|
|
let {teacher_comment, task_status, course_group, cross_comment, order, b_order, search} = this.state;
|
|
|
|
let {teacher_comment, task_status, course_group, cross_comment, order, b_order, search} = this.state;
|
|
|
|
this.seacthdata(teacher_comment, task_status, course_group, cross_comment, order, b_order, search,this.state.page);
|
|
|
|
this.seacthdata(teacher_comment, task_status, course_group, cross_comment, order, b_order, search,this.state.page);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.props.getsonar(teacher_comment, task_status, course_group, cross_comment, search)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
seacthdata=(teacher_comment,task_status,course_group,cross_comment,order,b_order,search,pages)=>{
|
|
|
|
seacthdata=(teacher_comment,task_status,course_group,cross_comment,order,b_order,search,pages)=>{
|
|
|
@ -244,8 +248,10 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
|
|
|
|
|
|
|
|
if(list.length===key){
|
|
|
|
if(list.length===key){
|
|
|
|
this.seacthdata(undefined, task_status, course_group, cross_comment, order, b_order, search,this.state.page);
|
|
|
|
this.seacthdata(undefined, task_status, course_group, cross_comment, order, b_order, search,this.state.page);
|
|
|
|
|
|
|
|
this.props.getsonar(undefined, task_status, course_group, cross_comment, search)
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
this.seacthdata(list[0], task_status, course_group, cross_comment, order, b_order, search,this.state.page);
|
|
|
|
this.seacthdata(list[0], task_status, course_group, cross_comment, order, b_order, search,this.state.page);
|
|
|
|
|
|
|
|
this.props.getsonar(list[0], task_status, course_group, cross_comment, search)
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -262,7 +268,7 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
loadingstate:true
|
|
|
|
loadingstate:true
|
|
|
|
})
|
|
|
|
})
|
|
|
|
this.seacthdata(teacher_comment, task_status, course_group, e.target.value===undefined||e.target.value===false?"":e.target.value, order, b_order, search,this.state.page);
|
|
|
|
this.seacthdata(teacher_comment, task_status, course_group, e.target.value===undefined||e.target.value===false?"":e.target.value, order, b_order, search,this.state.page);
|
|
|
|
|
|
|
|
this.props.getsonar(teacher_comment, task_status, course_group, e.target.value===undefined||e.target.value===false?"":e.target.value, search)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
inputSearchValue=(e)=>{
|
|
|
|
inputSearchValue=(e)=>{
|
|
|
@ -287,7 +293,7 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
loadingstate:true
|
|
|
|
loadingstate:true
|
|
|
|
})
|
|
|
|
})
|
|
|
|
this.seacthdata(teacher_comment, task_status, course_group, cross_comment, order, b_order, search,this.state.page);
|
|
|
|
this.seacthdata(teacher_comment, task_status, course_group, cross_comment, order, b_order, search,this.state.page);
|
|
|
|
|
|
|
|
this.props.getsonar(teacher_comment, task_status, course_group, cross_comment, search)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
funorder = (value, newb_order) => {
|
|
|
|
funorder = (value, newb_order) => {
|
|
|
@ -299,7 +305,7 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
loadingstate: true
|
|
|
|
loadingstate: true
|
|
|
|
})
|
|
|
|
})
|
|
|
|
this.seacthdata(teacher_comment, task_status, course_group, cross_comment, value, newb_order, search,this.state.page);
|
|
|
|
this.seacthdata(teacher_comment, task_status, course_group, cross_comment, value, newb_order, search,this.state.page);
|
|
|
|
|
|
|
|
this.props.getsonar(teacher_comment, task_status, course_group, cross_comment, search)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -320,6 +326,7 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
loadingstate:true
|
|
|
|
loadingstate:true
|
|
|
|
})
|
|
|
|
})
|
|
|
|
this.seacthdata(teacher_comment, null, course_group, cross_comment, order, b_order, search,this.state.page);
|
|
|
|
this.seacthdata(teacher_comment, null, course_group, cross_comment, order, b_order, search,this.state.page);
|
|
|
|
|
|
|
|
this.props.getsonar(teacher_comment, null, course_group, cross_comment, search)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// else if(checkedValues.length ===key){
|
|
|
|
// else if(checkedValues.length ===key){
|
|
|
|
// // 全部抖选中 自然就是查找全部 就是空
|
|
|
|
// // 全部抖选中 自然就是查找全部 就是空
|
|
|
@ -336,7 +343,7 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
loadingstate:true
|
|
|
|
loadingstate:true
|
|
|
|
})
|
|
|
|
})
|
|
|
|
this.seacthdata(teacher_comment, checkedValues===key?undefined:checkedValues, course_group, cross_comment, order, b_order, search,this.state.page);
|
|
|
|
this.seacthdata(teacher_comment, checkedValues===key?undefined:checkedValues, course_group, cross_comment, order, b_order, search,this.state.page);
|
|
|
|
|
|
|
|
this.props.getsonar(teacher_comment, checkedValues===key?undefined:checkedValues, course_group, cross_comment, search)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -355,6 +362,7 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
loadingstate:true
|
|
|
|
loadingstate:true
|
|
|
|
})
|
|
|
|
})
|
|
|
|
this.seacthdata(teacher_comment, task_status, null, cross_comment, order, b_order, search,this.state.page);
|
|
|
|
this.seacthdata(teacher_comment, task_status, null, cross_comment, order, b_order, search,this.state.page);
|
|
|
|
|
|
|
|
this.props.getsonar(teacher_comment,task_status, null, cross_comment, search)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// else if(checkedValues.length ===key){
|
|
|
|
// else if(checkedValues.length ===key){
|
|
|
|
// // 全部抖选中 自然就是查找全部 就是空
|
|
|
|
// // 全部抖选中 自然就是查找全部 就是空
|
|
|
@ -372,6 +380,7 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
loadingstate:true
|
|
|
|
loadingstate:true
|
|
|
|
})
|
|
|
|
})
|
|
|
|
this.seacthdata(teacher_comment, task_status, checkedValues===key?undefined:checkedValues, cross_comment, order, b_order, search,this.state.page);
|
|
|
|
this.seacthdata(teacher_comment, task_status, checkedValues===key?undefined:checkedValues, cross_comment, order, b_order, search,this.state.page);
|
|
|
|
|
|
|
|
this.props.getsonar(teacher_comment,task_status, checkedValues===key?undefined:checkedValues, cross_comment, search)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -564,6 +573,7 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
// console.log(result)
|
|
|
|
// console.log(result)
|
|
|
|
if(result.data.status===0){
|
|
|
|
if(result.data.status===0){
|
|
|
|
this.seacthdata(teacher_comment,task_status,course_group,cross_comment,order,b_order,search,this.state.page);
|
|
|
|
this.seacthdata(teacher_comment,task_status,course_group,cross_comment,order,b_order,search,this.state.page);
|
|
|
|
|
|
|
|
this.props.getsonar(teacher_comment,task_status, course_group, cross_comment, search)
|
|
|
|
this.props.showNotification(result.data.message);
|
|
|
|
this.props.showNotification(result.data.message);
|
|
|
|
this.cancelmodel();
|
|
|
|
this.cancelmodel();
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
@ -681,7 +691,7 @@ class GraduationTaskssettinglist extends Component{
|
|
|
|
})
|
|
|
|
})
|
|
|
|
let{teacher_comment,task_status,course_group,cross_comment,order,b_order,search}=this.state;
|
|
|
|
let{teacher_comment,task_status,course_group,cross_comment,order,b_order,search}=this.state;
|
|
|
|
this.seacthdata(teacher_comment,task_status,course_group,cross_comment,order,b_order,search,pageNumber);
|
|
|
|
this.seacthdata(teacher_comment,task_status,course_group,cross_comment,order,b_order,search,pageNumber);
|
|
|
|
|
|
|
|
this.props.getsonar(teacher_comment,task_status, course_group, cross_comment, search)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// 确认是否下载
|
|
|
|
/// 确认是否下载
|
|
|
|