chromesetting
杨树林 5 years ago
parent 19cd24ad9b
commit db8b54fe43

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

Loading…
Cancel
Save