|
|
|
@ -1031,8 +1031,9 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
// console.log(this.props);
|
|
|
|
|
// console.log(this.props.isAdmin())
|
|
|
|
|
this.student();
|
|
|
|
|
console.log("Listofworksstudentone---------------");
|
|
|
|
|
console.log(this.props);
|
|
|
|
|
// console.log("Listofworksstudentone---------------");
|
|
|
|
|
// console.log(this.props);
|
|
|
|
|
// console.log(JSON.stringify(this.props));
|
|
|
|
|
}
|
|
|
|
|
isupdatas = () => {
|
|
|
|
|
var homeworkid = this.props.match.params.homeworkid;
|
|
|
|
@ -2475,8 +2476,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}else {
|
|
|
|
|
this.props.showNotification(`正在下载中`);
|
|
|
|
|
window.open("/api"+url, '_blank');
|
|
|
|
|
this.props.slowDownload(url);
|
|
|
|
|
}
|
|
|
|
|
}).catch((error) => {
|
|
|
|
|
console.log(error)
|
|
|
|
@ -2498,8 +2498,9 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
|
|
|
|
|
let course_is_end = this.props.current_user&&this.props.current_user.course_is_end;
|
|
|
|
|
|
|
|
|
|
console.log("Listofworksstudentone+++++++++");
|
|
|
|
|
console.log(this.props);
|
|
|
|
|
// console.log("Listofworksstudentone+++++++++");
|
|
|
|
|
// console.log(this.props);
|
|
|
|
|
// console.log(JSON.stringify(this.props));
|
|
|
|
|
return (
|
|
|
|
|
this.props.isAdmin() === true ?
|
|
|
|
|
(
|
|
|
|
|