|
|
|
@ -452,6 +452,11 @@ class CoursesIndex extends Component{
|
|
|
|
|
(props) => (<Resourcelist {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
<Route exact path="/courses/:coursesId/boards/:boardId"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<ListPageIndex {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
{/*课堂讨论*/}
|
|
|
|
|
<Route path="/courses/:coursesId/boards/:boardId"
|
|
|
|
|
render={
|
|
|
|
@ -593,13 +598,13 @@ class CoursesIndex extends Component{
|
|
|
|
|
></Route>
|
|
|
|
|
|
|
|
|
|
{/* 普通作业 */}
|
|
|
|
|
<Route path="/courses/:coursesId/common_homeworks" exact
|
|
|
|
|
<Route path="/courses/:coursesId/common_homeworks/:category_id" exact
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<ListPageIndex {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
{/* 分组作业 */}
|
|
|
|
|
<Route path="/courses/:coursesId/group_homeworks" exact
|
|
|
|
|
<Route path="/courses/:coursesId/group_homeworks/:category_id" exact
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<ListPageIndex {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|