|
|
|
@ -125,6 +125,8 @@ class Curriculum extends Component {
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
Ontitine=(s)=>{
|
|
|
|
|
console.log("CurriculumCurriculum");
|
|
|
|
|
console.log(s);
|
|
|
|
|
if(s==="ec_course_support_setting"){
|
|
|
|
|
this.setState({
|
|
|
|
|
titine:1,
|
|
|
|
@ -243,19 +245,19 @@ class Curriculum extends Component {
|
|
|
|
|
<Switch>
|
|
|
|
|
{/*Curriculumtwo 测试用*/}
|
|
|
|
|
{/*课程目标*/}
|
|
|
|
|
<Route extra path='/ecs/major_schools/:majorId/years/:yearId/subpage/courses/:type/1'
|
|
|
|
|
<Route extra path='/ecs/major_schools/:majorId/years/:yearId/courses/subpage/:type/1'
|
|
|
|
|
render={ (props) => (<EcCourseSupportSetting {...this.props} {...props} {...this.state} Ontitine={(i)=>this.Ontitine(i)} />) }></Route>
|
|
|
|
|
{/*课程考核方式与数据来源*/}
|
|
|
|
|
<Route extra path='/ecs/major_schools/:majorId/years/:yearId/subpage/courses/:type/2'
|
|
|
|
|
<Route extra path='/ecs/major_schools/:majorId/years/:yearId/courses/subpage/:type/2'
|
|
|
|
|
render={ (props) => (<Curriculumtwo {...this.props} {...props} {...this.state} Ontitine={(i)=>this.Ontitine(i)}/>) }></Route>
|
|
|
|
|
{/*成绩等级设置*/}
|
|
|
|
|
<Route extra path='/ecs/major_schools/:majorId/years/:yearId/subpage/courses/:type/3'
|
|
|
|
|
<Route extra path='/ecs/major_schools/:majorId/years/:yearId/courses/subpage/:type/3'
|
|
|
|
|
render={ (props) => (<Curriculumtwo {...this.props} {...props} {...this.state} Ontitine={(i)=>this.Ontitine(i)}/>) }></Route>
|
|
|
|
|
{/*4课程目标评价方法*/}
|
|
|
|
|
<Route extra path='/ecs/major_schools/:majorId/years/:yearId/subpage/courses/:type/4'
|
|
|
|
|
{/*4课程目标评价方法*/ }
|
|
|
|
|
<Route extra path='/ecs/major_schools/:majorId/years/:yearId/courses/subpage/:type/4'
|
|
|
|
|
render={ (props) => (<EcCourseEvaluationsbottom {...this.props} {...props} {...this.state} Ontitine={(i)=>this.Ontitine(i)}/>) }></Route>
|
|
|
|
|
{/*5课程达成评价结果*/}
|
|
|
|
|
<Route extra path='/ecs/major_schools/:majorId/years/:yearId/subpage/courses/:type/5'
|
|
|
|
|
<Route extra path='/ecs/major_schools/:majorId/years/:yearId/courses/subpage/:type/5'
|
|
|
|
|
render={ (props) => (<EcCompletionCalculation {...this.props} {...props} {...this.state} Ontitine={(i)=>this.Ontitine(i)} triggerRef={this.bindRef}/>) }></Route>
|
|
|
|
|
</Switch>
|
|
|
|
|
</div>
|
|
|
|
|