|
|
|
@ -462,27 +462,25 @@ class CoursesIndex extends Component{
|
|
|
|
|
return (
|
|
|
|
|
<Switch {...this.props}>
|
|
|
|
|
{/*毕设任务题库详情*/}
|
|
|
|
|
<Route path="/courses/completetask/:workid"
|
|
|
|
|
<Route path="/banks/gtopic_topics/:workid"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<Completetaskpage {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
{/*毕设内容题库详情*/}
|
|
|
|
|
<Route path="/courses/completetopic/:workid"
|
|
|
|
|
<Route path="/banks/gtask_topics/:workid"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<CompletetopicdePage {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
{/*GroupjobbankPage*/}
|
|
|
|
|
{/*分组作业题库详情*/}
|
|
|
|
|
<Route path="/courses/groupingwork/:workid"
|
|
|
|
|
<Route path="/banks/group_topics/:workid"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<GroupjobbankPage {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
{/*Generaljobbankdetails*/}
|
|
|
|
|
{/* 普通作业题库详情*/}
|
|
|
|
|
<Route path="/courses/ordinarywork/:workid"
|
|
|
|
|
<Route path="/banks/normal_topics/:workid"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<Generaljobbankdetails {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|