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