|
|
|
@ -1810,7 +1810,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
Getalistofworks = (homeworkid, bool) => {
|
|
|
|
|
// console.log("获取作品列表");
|
|
|
|
|
// console.log("935");
|
|
|
|
|
// debugger
|
|
|
|
|
// debugger111111111111111
|
|
|
|
|
let searchtype = this.props.history.location.search;
|
|
|
|
|
let urll = `/homework_commons/${homeworkid}/works_list.json`;
|
|
|
|
|
var datasysl = {
|
|
|
|
@ -1823,16 +1823,9 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
course_group: this.state.checkedValuesineinfo,
|
|
|
|
|
}
|
|
|
|
|
axios.post(urll, datasysl).then((result) => {
|
|
|
|
|
// console.log("980000000____________________");
|
|
|
|
|
|
|
|
|
|
if (result === undefined) {
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
// if(result.data.message!==undefined){
|
|
|
|
|
//
|
|
|
|
|
// return;
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
|
teacherdata: result.data,
|
|
|
|
|
task_status: result.data.task_status,
|
|
|
|
@ -1891,7 +1884,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
|
|
|
|
|
// 获取作品列表
|
|
|
|
|
Getalistofworkstwo = (ordervlue, checkedValuesine, checkedValuesineinfo, searchtext, page, limit) => {
|
|
|
|
|
// console.log("获取作品列表");
|
|
|
|
|
// console.log("获取作品列表");222222222222
|
|
|
|
|
var homeworkid = this.props.match.params.homeworkid;
|
|
|
|
|
let urll = `/homework_commons/${homeworkid}/works_list.json`;
|
|
|
|
|
// console.log(homeworkid);
|
|
|
|
@ -2427,7 +2420,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Startsorting = (ordervlue, checkedValuesine, checkedValuesineinfo, searchtext, page, limit) => {
|
|
|
|
|
// console.log("获取作品列表Listofworksstudenttwo");
|
|
|
|
|
// console.log("获取作品列表Listofworksstudenttwo");33333333
|
|
|
|
|
var homeworkid = this.props.match.params.homeworkid;
|
|
|
|
|
let urll = `/homework_commons/${homeworkid}/works_list.json`;
|
|
|
|
|
// console.log(homeworkid);
|
|
|
|
@ -2548,7 +2541,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
//searchtext 输入的姓名和学号
|
|
|
|
|
//order 排序时间
|
|
|
|
|
//debug=t 是老师的意思
|
|
|
|
|
// console.log(ordervlue)7009
|
|
|
|
|
// console.log(ordervlue)70094444444
|
|
|
|
|
|
|
|
|
|
var homeworkid = this.props.match.params.homeworkid;
|
|
|
|
|
let urll = `/homework_commons/${homeworkid}/works_list.json?`;
|
|
|
|
|