dev_forum
杨树林 6 years ago
parent a49ca20bbb
commit 19a1a13dfd

@ -1933,14 +1933,14 @@ class Listofworks extends Component {
loadingstate: true,
})
this.Startsorting(this.state.order, checkedValues, this.state.checkedValuesineinfo, this.state.searchtext, this.state.page, this.state.limit);
this.Startsorting(this.state.order, checkedValues, this.state.checkedValuesineinfo, this.state.searchtext, null, this.state.limit);
} else if (checkedValues.length === data.length) {
this.setState({
unlimited: 0,
course_groupyslstwo: [],
loadingstate: true,
})
this.Startsorting(this.state.order, checkedValues, this.state.checkedValuesineinfo, this.state.searchtext, this.state.page, this.state.limit);
this.Startsorting(this.state.order, checkedValues, this.state.checkedValuesineinfo, this.state.searchtext, null, this.state.limit);
} else {
// console.log(checkedValues);
this.setState({
@ -1948,7 +1948,7 @@ class Listofworks extends Component {
unlimited: 1,
loadingstate: true
})
this.Startsorting(this.state.order, checkedValues, this.state.checkedValuesineinfo, this.state.searchtext, this.state.page, this.state.limit);
this.Startsorting(this.state.order, checkedValues, this.state.checkedValuesineinfo, this.state.searchtext, null, this.state.limit);
}
@ -1965,9 +1965,9 @@ class Listofworks extends Component {
course_groupysls: undefined,
checkedValuesineinfo:[],
loadingstate: true,
page: 1,
})
this.Startsorting(this.state.order, this.state.course_groupyslstwo, checkedValues, this.state.searchtext, this.state.page, this.state.limit);
this.Startsorting(this.state.order, this.state.course_groupyslstwo, checkedValues, this.state.searchtext, 1, this.state.limit);
} else if (checkedValues.length === data.length) {
this.setState({
unlimitedtwo: 1,
@ -1975,7 +1975,7 @@ class Listofworks extends Component {
checkedValuesineinfo:[],
loadingstate: true,
})
this.Startsorting(this.state.order, this.state.checcourse_groupyslstwokedValuesine, checkedValues, this.state.searchtext, this.state.page, this.state.limit);
this.Startsorting(this.state.order, this.state.checcourse_groupyslstwokedValuesine, checkedValues, this.state.searchtext, 1, this.state.limit);
} else {
this.setState({
checkedValuesineinfo: checkedValues,
@ -1983,7 +1983,7 @@ class Listofworks extends Component {
unlimitedtwo: 0,
loadingstate: true,
})
this.Startsorting(this.state.order, this.state.course_groupyslstwo, checkedValues, this.state.searchtext, this.state.page, this.state.limit);
this.Startsorting(this.state.order, this.state.course_groupyslstwo, checkedValues, this.state.searchtext, 1, this.state.limit);
}

Loading…
Cancel
Save