|
|
|
@ -401,7 +401,7 @@ class Workquestionandanswer extends Component {
|
|
|
|
|
className="active"
|
|
|
|
|
to={`/courses/${this.state.props.match.params.coursesId}/${this.state.shixuntypes}/${this.state.props.match.params.homeworkid}/questions`}>作业问答</Link>
|
|
|
|
|
{this.props.isAdmin()?
|
|
|
|
|
this.state.code_review===false?"":<Link
|
|
|
|
|
this.state.code_review===true?"":<Link
|
|
|
|
|
// to={`/courses/${this.state.props.match.params.coursesId}/${this.state.props.match.params.homeworkid}/student_work`}
|
|
|
|
|
to={`/courses/${this.state.props.match.params.coursesId}/${this.state.shixuntypes}/${this.state.props.match.params.homeworkid}/student_work`}>
|
|
|
|
|
代码查重</Link>:""}
|
|
|
|
@ -421,7 +421,7 @@ class Workquestionandanswer extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{this.props.isAdmin()?
|
|
|
|
|
this.state.code_review===false?
|
|
|
|
|
this.state.code_review===true?
|
|
|
|
|
<a className="fr color-blue font-16" onClick={this.workshowmodel}>代码查重</a>
|
|
|
|
|
:"":""}
|
|
|
|
|
|
|
|
|
|