dev_forum
杨树林 6 years ago
parent 6d5a750883
commit a77cdce1b3

@ -952,7 +952,6 @@ class Listofworksstudentone extends Component {
console.log(result);
debugger
if (result.status === 200) {
if(this.props.isNotMember()===false) {
this.setState({
teacherdata: result.data,
task_status: result.data.task_status,
@ -974,7 +973,6 @@ class Listofworksstudentone extends Component {
this.seacthdatas(result.data, result.data.student_works);
}
}
}
}).catch((error) => {
console.log(error);
@ -1378,7 +1376,6 @@ class Listofworksstudentone extends Component {
if (result !== undefined) {
// console.log("学生公开的作品列表")
// console.log(JSON.stringify(result))
if(this.props.isNotMember()===false) {
this.setState({
teacherdata: result.data,
task_status: result.data.task_status,
@ -1396,7 +1393,6 @@ class Listofworksstudentone extends Component {
this.props.Getdataback(result,result.data);
this.seacthdata(result.data);
}
}
}).catch((error) => {
console.log(error)
this.setState({
@ -1492,7 +1488,6 @@ class Listofworksstudentone extends Component {
}
axios.post(urll, data).then((result) => {
if(this.props.isNotMember()===false){
if (result !== undefined) {
// console.log(url)
// console.log("作品列表6789077")
@ -1512,7 +1507,7 @@ class Listofworksstudentone extends Component {
})
this.props.Getdataback(result,result.data);
this.seacthdatat(result.data,result.data.student_works,result.data.work_efficiency,result.data.course_group_info,1);
} }
}
}).catch((error) => {
console.log(error)
this.setState({
@ -1555,7 +1550,6 @@ class Listofworksstudentone extends Component {
// console.log(url)
// console.log("作品列表______________________")
// console.log(JSON.stringify(result))
if(this.props.isNotMember()===false){
if (result !== undefined) {
this.setState({
teacherdata: result.data,
@ -1572,9 +1566,8 @@ class Listofworksstudentone extends Component {
})
this.props.Getdataback(result,result.data);
this.seacthdatat(result.data,result.data.student_works,result.data.work_efficiency,result.data.course_group_info,page);
}
// }
}
// }
}).catch((error) => {
console.log(error)
this.setState({

Loading…
Cancel
Save