dev_forum
杨树林 5 years ago
parent 0b41ca08a9
commit 543262ae3c

@ -350,6 +350,9 @@ class Listofworksstudentone extends Component {
if(result === undefined){
return
}
try {
if (result.status === 200) {
if(this.props.isNotMember()===false) {
this.setState({
@ -374,10 +377,12 @@ class Listofworksstudentone extends Component {
}
}
}
}
}catch (e) {
console.log(e);
}
}).catch((error) => {
console.log(error)
console.log(error);
})
}

@ -188,14 +188,14 @@ class ShixunHomeworkPage extends Component {
<a className="fr color-blue font-16" onClick={this.workshowmodel}>代码查重</a>
: "" : ""}
{this.state.view_report === true ? <Link className="fr color-blue font-16" target={"_blank"}
to={`/courses/${this.state.props.match.params.coursesId}/${this.state.shixuntypes}/${this.state.props.match.params.homeworkid}/shixun_work_report`}>
to={`/courses/${this.props.match.params.coursesId}/${this.state.shixuntypes}/${this.props.match.params.homeworkid}/shixun_work_report`}>
查看实训报告
</Link> : ""}
{
teacherdata === undefined ? ""
: teacherdata.commit_des === null || teacherdata.commit_des === undefined ? "" :
<a className="fr color-blue font-16"
href={`/courses/${this.state.props.match.params.coursesId}/${this.state.shixuntypes}/${teacherdata === undefined ? "" : teacherdata.id}/commitsummary/${this.state.props.match.params.homeworkid}`}>{teacherdata.commit_des}</a>
href={`/courses/${this.props.match.params.coursesId}/${this.state.shixuntypes}/${teacherdata === undefined ? "" : teacherdata.id}/commitsummary/${this.props.match.params.homeworkid}`}>{teacherdata.commit_des}</a>
}
{teacherdata === undefined ? "" : <Startshixuntask
{...this.props}

@ -572,7 +572,7 @@ class ShixunStudentWork extends Component {
key: 'operating',
render: (text, record) => (
<span>
<a onClick={()=>this.Viewstudenttraininginformation("/courses/"+this.state.props.match.params.coursesId+"/"+this.state.shixuntypes+"/"+this.props.match.params.homeworkid+"/review_detail/"+record.operating)} >查看</a>
<a onClick={()=>this.Viewstudenttraininginformation("/courses/"+this.props.match.params.coursesId+"/"+this.state.shixuntypes+"/"+this.props.match.params.homeworkid+"/review_detail/"+record.operating)} >查看</a>
</span>
)
},

@ -59,7 +59,6 @@ class EducoderInteresse extends Component {
display: "flex",
justifyContent: "center",
width: "100%",
height: "600px",
marginTop: "20px",
}}>
<InterestpageComponent {...this.props} {...this.state}>

@ -73,7 +73,7 @@
display: flex;
flex-direction:column;
margin-left: 73px;
margin-top: 15px;
margin-top: 8px;
}
.ysldivhomediv2{
width: 110px;

Loading…
Cancel
Save