|
|
|
@ -56,6 +56,14 @@ const ShixunHomework= Loadable({
|
|
|
|
|
loading: Loading,
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
const GraduationTopics= Loadable({
|
|
|
|
|
loader: () => import('./graduation/topics'),
|
|
|
|
|
loading: Loading,
|
|
|
|
|
})
|
|
|
|
|
const GraduationTasks= Loadable({
|
|
|
|
|
loader: () => import('./graduation/tasks'),
|
|
|
|
|
loading: Loading,
|
|
|
|
|
})
|
|
|
|
|
class ListPageIndex extends Component{
|
|
|
|
|
constructor(props) {
|
|
|
|
|
super(props)
|
|
|
|
@ -181,7 +189,15 @@ class ListPageIndex extends Component{
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Route path="/courses/:coursesId/graduation_topics/:Id"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<GraduationTopics {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}></Route>
|
|
|
|
|
<Route path="/courses/:coursesId/graduation_tasks/:Id"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<GraduationTasks {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
{/* 默认 */}
|
|
|
|
|
<Route path="/courses/:coursesId"
|
|
|
|
|
render={
|
|
|
|
|