|
|
|
@ -2033,7 +2033,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
page:1,
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
this.Searchdatasys(this.state.order, this.state.commit_status, null, this.state.checkedValuesineinfo, this.state.searchtext, 1, this.state.limit);
|
|
|
|
|
this.Searchdatasys(this.state.order, this.state.course_groupyslstwo, null, this.state.checkedValuesineinfo, this.state.searchtext, 1, this.state.limit);
|
|
|
|
|
}
|
|
|
|
|
// notlimiteds = () => {
|
|
|
|
|
// this.setState({
|
|
|
|
@ -2160,7 +2160,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.Searchdatasys(this.state.order, this.state.commit_status, checkedValues, this.state.checkedValuesineinfo, this.state.searchtext, 1, this.state.limit);
|
|
|
|
|
this.Searchdatasys(this.state.order, this.state.course_groupyslstwo, checkedValues, this.state.checkedValuesineinfo, this.state.searchtext, 1, this.state.limit);
|
|
|
|
|
} else if (checkedValues.length === data.length) {
|
|
|
|
|
if (this.state.loadingstate === false) {
|
|
|
|
|
this.setState({
|
|
|
|
@ -2177,7 +2177,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.Searchdatasys(this.state.order, this.state.commit_status, checkedValues, this.state.checkedValuesineinfo, this.state.searchtext, 1, this.state.limit);
|
|
|
|
|
this.Searchdatasys(this.state.order, this.state.course_groupyslstwo, checkedValues, this.state.checkedValuesineinfo, this.state.searchtext, 1, this.state.limit);
|
|
|
|
|
} else {
|
|
|
|
|
// console.log(checkedValues);
|
|
|
|
|
if (this.state.loadingstate === false) {
|
|
|
|
@ -2195,7 +2195,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.Searchdatasys(this.state.order, this.state.commit_status, checkedValues, this.state.checkedValuesineinfo, this.state.searchtext, 1, this.state.limit);
|
|
|
|
|
this.Searchdatasys(this.state.order, this.state.course_groupyslstwo, checkedValues, this.state.checkedValuesineinfo, this.state.searchtext, 1, this.state.limit);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -2218,7 +2218,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.Searchdatasys(this.state.order, this.state.commit_status, this.state.review, undefined, this.state.searchtext, 1, this.state.limit)
|
|
|
|
|
this.Searchdatasys(this.state.order, this.state.course_groupyslstwo, this.state.review, undefined, this.state.searchtext, 1, this.state.limit)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
funtaskstatustwo = (checkedValues, data) => {
|
|
|
|
@ -2240,7 +2240,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.Searchdatasys(this.state.order, this.state.commit_status, this.state.review, checkedValues, this.state.searchtext, 1, this.state.limit)
|
|
|
|
|
this.Searchdatasys(this.state.order, this.state.course_groupyslstwo, this.state.review, checkedValues, this.state.searchtext, 1, this.state.limit)
|
|
|
|
|
} else if (checkedValues.length === data.length) {
|
|
|
|
|
if (this.state.loadingstate === false) {
|
|
|
|
|
this.setState({
|
|
|
|
@ -2257,7 +2257,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.Searchdatasys(this.state.order, this.state.commit_status, this.state.review, checkedValues, this.state.searchtext, 1, this.state.limit)
|
|
|
|
|
this.Searchdatasys(this.state.order, this.state.course_groupyslstwo, this.state.review, checkedValues, this.state.searchtext, 1, this.state.limit)
|
|
|
|
|
} else {
|
|
|
|
|
// console.log(checkedValues);
|
|
|
|
|
if (this.state.loadingstate === false) {
|
|
|
|
@ -2278,7 +2278,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.Searchdatasys(this.state.order, this.state.commit_status, this.state.review, checkedValues, this.state.searchtext, 1, this.state.limit)
|
|
|
|
|
this.Searchdatasys(this.state.order, this.state.course_groupyslstwo, this.state.review, checkedValues, this.state.searchtext, 1, this.state.limit)
|
|
|
|
|
this.props.setcourse_groupysls(checkedValues)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -2299,7 +2299,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.Searchdatasys(this.state.order, this.state.commit_status, this.state.review, this.state.checkedValuesineinfo, this.state.searchtext, 1, this.state.limit);
|
|
|
|
|
this.Searchdatasys(this.state.order, this.state.course_groupyslstwo, this.state.review, this.state.checkedValuesineinfo, this.state.searchtext, 1, this.state.limit);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
//搜索学生按钮输入 老师
|
|
|
|
@ -2316,7 +2316,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.Searchdatasys(this.state.order, this.state.commit_status, this.state.review, this.state.checkedValuesineinfo, value, 1, this.state.limit);
|
|
|
|
|
this.Searchdatasys(this.state.order, this.state.course_groupyslstwo, this.state.review, this.state.checkedValuesineinfo, value, 1, this.state.limit);
|
|
|
|
|
// this.Startsorting(this.state.order,this.state.checkedValuesine,this.state.checkedValuesineinfo,value);
|
|
|
|
|
// console.log(value)
|
|
|
|
|
|
|
|
|
@ -2353,6 +2353,8 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
|
|
|
|
|
//排序
|
|
|
|
|
funordersy = (e) => {
|
|
|
|
|
console.log(this.state.course_groupyslstwo);
|
|
|
|
|
debugger
|
|
|
|
|
if (e === "end_at") {
|
|
|
|
|
// 时间
|
|
|
|
|
// 时间排序是从小到大
|
|
|
|
@ -2367,7 +2369,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.Searchdatasys(e, this.state.commit_status, this.state.review, this.state.checkedValuesineinfo, this.state.searchtext, this.state.page,this.state.limit)
|
|
|
|
|
this.Searchdatasys(e, this.state.course_groupyslstwo, this.state.review, this.state.checkedValuesineinfo, this.state.searchtext, this.state.page,this.state.limit)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (e === "score") {
|
|
|
|
@ -2385,7 +2387,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.Searchdatasys(e, this.state.commit_status, this.state.review, this.state.checkedValuesineinfo, this.state.searchtext, null, null)
|
|
|
|
|
this.Searchdatasys(e, this.state.course_groupyslstwo, this.state.review, this.state.checkedValuesineinfo, this.state.searchtext, null, null)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (e === "student_id") {
|
|
|
|
@ -2402,7 +2404,7 @@ class Studentshavecompletedthelist extends Component {
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.Searchdatasys(e, this.state.commit_status, this.state.review, this.state.checkedValuesineinfo, this.state.searchtext, null, null)
|
|
|
|
|
this.Searchdatasys(e, this.state.course_groupyslstwo, this.state.review, this.state.checkedValuesineinfo, this.state.searchtext, null, null)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
setExerciseReviewAndAnswer = () => {
|
|
|
|
|