|
|
|
@ -288,20 +288,9 @@ class App extends Component {
|
|
|
|
|
<Trialapplicationreview {...this.props} {...this.state}></Trialapplicationreview>
|
|
|
|
|
<Addcourses {...this.props} {...this.state}/>
|
|
|
|
|
<AccountProfile {...this.props} {...this.state}/>
|
|
|
|
|
{/*{*/}
|
|
|
|
|
{/* isRender === true?*/}
|
|
|
|
|
{/* <LoginDialog></LoginDialog> : ""*/}
|
|
|
|
|
{/*}*/}
|
|
|
|
|
|
|
|
|
|
{/*{*/}
|
|
|
|
|
{/* isRenders === true?*/}
|
|
|
|
|
{/*<Trialapplication></Trialapplication>*/}
|
|
|
|
|
{/*:""*/}
|
|
|
|
|
{/*}*/}
|
|
|
|
|
|
|
|
|
|
<Router>
|
|
|
|
|
<Switch>
|
|
|
|
|
{/*<Route path="/login" component={LoginRegisterPage}/>*/}
|
|
|
|
|
|
|
|
|
|
{/*众包创新*/}
|
|
|
|
|
<Route path={"/crowdsourcings"} component={ProjectPackages}/>
|
|
|
|
@ -327,9 +316,7 @@ class App extends Component {
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<UsersInfo {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}></Route>
|
|
|
|
|
{/*<Route*/}
|
|
|
|
|
{/* path="/trialapplication" component={Trialapplication}*/}
|
|
|
|
|
{/*/>*/}
|
|
|
|
|
|
|
|
|
|
<Route
|
|
|
|
|
path="/changepassword" component={EducoderLogin}
|
|
|
|
|
/>
|
|
|
|
@ -349,14 +336,6 @@ class App extends Component {
|
|
|
|
|
{/*列表页*/}
|
|
|
|
|
<Route path="/shixuns" component={TPMShixunsIndexComponent}/>
|
|
|
|
|
|
|
|
|
|
{/* <Route path="/shixunchild" component={TPMShixunchildIndexComponent}>
|
|
|
|
|
</Route>
|
|
|
|
|
<Route path="/fork_list" component={TPMshixunfork_listIndexComponent}>
|
|
|
|
|
</Route> */}
|
|
|
|
|
|
|
|
|
|
{/*<Route path="/forums" component={ForumsIndexComponent}>*/}
|
|
|
|
|
{/*</Route>*/}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{/*实训课程(原实训路径)*/}
|
|
|
|
|
<Route path="/paths" component={ShixunPaths}></Route>
|
|
|
|
@ -370,15 +349,6 @@ class App extends Component {
|
|
|
|
|
{/*课堂*/}
|
|
|
|
|
<Route path="/courses" component={CoursesIndex} {...this.props}></Route>
|
|
|
|
|
|
|
|
|
|
{/* 课堂讨论 */}
|
|
|
|
|
{/* <Route path="/board" component = {BoardIndex} {...this.props}></Route> */}
|
|
|
|
|
|
|
|
|
|
{/* <Route path="/tpforums" component={TPForumsIndexComponent}>
|
|
|
|
|
</Route> */}
|
|
|
|
|
|
|
|
|
|
{/* <Route path="/myshixuns/:shixunId/stages/:stageId" component={Index}/> */}
|
|
|
|
|
{/* 兴趣页面*/}
|
|
|
|
|
{/*<Route path="/interest" component={Interestpage}/>*/}
|
|
|
|
|
|
|
|
|
|
<Route path="/comment" component={CommentComponent}/>
|
|
|
|
|
<Route path="/testMaterial" component={TestMaterialDesignComponent}/>
|
|
|
|
@ -387,14 +357,9 @@ class App extends Component {
|
|
|
|
|
<Route path="/testRCComponent" component={TestComponent}/>
|
|
|
|
|
<Route path="/testUrlQuery" component={TestUrlQueryComponent}/>
|
|
|
|
|
|
|
|
|
|
{/* <Route component={NotFoundPage}/> */}
|
|
|
|
|
{/*列表页*/}
|
|
|
|
|
{/*<Route component={TPMShixunsIndexComponent}/>*/}
|
|
|
|
|
{/*首页*/}
|
|
|
|
|
<Route exact path="/" component={ShixunsHome}/>
|
|
|
|
|
<Route component={Shixunnopage}/>
|
|
|
|
|
|
|
|
|
|
{/*<Route component={ShixunsHome}/>*/}
|
|
|
|
|
|
|
|
|
|
</Switch>
|
|
|
|
|
</Router>
|
|
|
|
|