|
|
@ -111,6 +111,9 @@ class ShixunHomeworkPage extends Component {
|
|
|
|
let {tab, teacherdata, jobsettingsdata} = this.state;
|
|
|
|
let {tab, teacherdata, jobsettingsdata} = this.state;
|
|
|
|
|
|
|
|
|
|
|
|
const isAdmin = this.props.isAdmin();
|
|
|
|
const isAdmin = this.props.isAdmin();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
console.log(this.props)
|
|
|
|
|
|
|
|
console.log(this.state)
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<div className="newMain clearfix ">
|
|
|
|
<div className="newMain clearfix ">
|
|
|
|
<div className={"educontent mb20"} style={{width: "1200px"}}>
|
|
|
|
<div className={"educontent mb20"} style={{width: "1200px"}}>
|
|
|
@ -222,7 +225,7 @@ class ShixunHomeworkPage extends Component {
|
|
|
|
<a className="fr color-blue font-16" onClick={(child)=>this.workshowmodels(this.child)}>代码查重</a>
|
|
|
|
<a className="fr color-blue font-16" onClick={(child)=>this.workshowmodels(this.child)}>代码查重</a>
|
|
|
|
: "" : ""}
|
|
|
|
: "" : ""}
|
|
|
|
{this.state.view_report === true ? <Link className="fr color-blue font-16" target={"_blank"}
|
|
|
|
{this.state.view_report === true ? <Link className="fr color-blue font-16" target={"_blank"}
|
|
|
|
to={`/courses/${this.props.match.params.coursesId}/${this.state.shixuntypes}/${this.props.match.params.homeworkid}/shixun_work_report`}>
|
|
|
|
to={`/courses/${this.props.match.params.coursesId}/${this.state.shixuntypes}/${teacherdata&&teacherdata.work_id}/shixun_work_report`}>
|
|
|
|
查看实训报告
|
|
|
|
查看实训报告
|
|
|
|
</Link> : ""}
|
|
|
|
</Link> : ""}
|
|
|
|
{
|
|
|
|
{
|
|
|
|