dev_cs
杨树明 5 years ago
parent c3eb389e9b
commit a069c86b26

@ -120,6 +120,8 @@ class EcSetting extends React.Component {
<Switch> <Switch>
<Route extra path='/ecs/major_schools/:majorId/years/:yearId/training_objectives' <Route extra path='/ecs/major_schools/:majorId/years/:yearId/training_objectives'
render={ (props) => (<TrainingObjective {...this.props} {...props} {...this.state} />) }></Route> render={ (props) => (<TrainingObjective {...this.props} {...props} {...this.state} />) }></Route>
<Route extra path='/ecs/major_schools/:majorId/years/:yearId/graduation_requirement'
render={ (props) => (<GraduationRequirement {...this.props} {...props} {...this.state} />) }></Route>
{/*学生*/} {/*学生*/}
@ -129,14 +131,11 @@ class EcSetting extends React.Component {
<Route extra path='/ecs/major_schools/:majorId/years/:yearId/courses' <Route extra path='/ecs/major_schools/:majorId/years/:yearId/courses'
render={ (props) => (<Curriculum {...this.props} {...props} {...this.state} />) }></Route> render={ (props) => (<Curriculum {...this.props} {...props} {...this.state} />) }></Route>
{/*课程体系VS毕业要求*/} {/*课程体系VS毕业要求*/}
<Route extra path='/ecs/major_schools/:majorId/years/:yearId/requirement_vs_courses'
render={ (props) => (<TrainingObjective {...this.props} {...props} {...this.state} />) }></Route>
<Route extra path='/ecs/major_schools/:majorId/years/:yearId/graduation_requirement'
render={ (props) => (<GraduationRequirement {...this.props} {...props} {...this.state} />) }></Route>
<Route extra path='/ecs/major_schools/:major_school_id/years/:ec_year_id/requirement_vs_courses' <Route extra path='/ecs/major_schools/:major_school_id/years/:ec_year_id/requirement_vs_courses'
render={ (props) => (<CourseSupports {...this.props} {...props} {...this.state} />) }></Route> render={ (props) => (<CourseSupports {...this.props} {...props} {...this.state} />) }></Route>
</Switch> </Switch>
) )
} }

Loading…
Cancel
Save