|
|
|
@ -591,16 +591,29 @@ class CoursesIndex extends Component{
|
|
|
|
|
(props) => (<ListPageIndex {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
|
|
|
|
|
{/* 普通作业 */}
|
|
|
|
|
<Route path="/courses/:coursesId/common_homeworks" exact
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<ListPageIndex {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
{/* 分组作业 */}
|
|
|
|
|
<Route path="/courses/:coursesId/group_homeworks" exact
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<ListPageIndex {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
|
|
|
|
|
{/* 普通作业 */}
|
|
|
|
|
<Route path="/courses/:coursesId/common_homeworks"
|
|
|
|
|
<Route path="/courses/:coursesId/common_homeworks/" strict
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<CommonWork {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
|
|
|
|
|
{/* 分组作业 */}
|
|
|
|
|
<Route path="/courses/:coursesId/group_homeworks"
|
|
|
|
|
<Route path="/courses/:coursesId/group_homeworks/" strict
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<GroupWork {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|