|
|
|
@ -554,85 +554,89 @@ class App extends Component {
|
|
|
|
|
}
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
<Route path="/myproblems/record_detail/:id"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<RecordDetail {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|
/>
|
|
|
|
|
<Route
|
|
|
|
|
path="/problems/:id/edit"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<NewOrEditTask {...this.props} {...props} {...this.state} />)
|
|
|
|
|
} />
|
|
|
|
|
<Route path="/Integeneration/:type/:id"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<Paperreview {...this.props} {...props} {...this.state} />)
|
|
|
|
|
} />
|
|
|
|
|
<Route path="/paperreview/:type"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<Paperreview {...this.props} {...props} {...this.state} />)
|
|
|
|
|
} />
|
|
|
|
|
<Route path="/paperlibrary/edit/:id"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<Paperlibraryeditid {...this.props} {...props} {...this.state} />)
|
|
|
|
|
} />
|
|
|
|
|
|
|
|
|
|
<Route path="/paperlibrary/see/:id"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<Paperlibraryseeid {...this.props} {...props} {...this.state} />)
|
|
|
|
|
} />
|
|
|
|
|
|
|
|
|
|
<Route path="/myproblems/:id/:tab?"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<StudentStudy {...this.props} {...props} {...this.state} />)
|
|
|
|
|
} />
|
|
|
|
|
<Route path="/question/edit/:id"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<Questionitem_banks {...this.props} {...props} {...this.state} />)
|
|
|
|
|
} />
|
|
|
|
|
|
|
|
|
|
<Route path="/question/newitem"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<Questionitem_banks {...this.props} {...props} {...this.state} />)
|
|
|
|
|
} />
|
|
|
|
|
<Route path="/question/:type"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<Headplugselection {...this.props} {...props} {...this.state} />)
|
|
|
|
|
} />
|
|
|
|
|
<Route path="/paperlibrary"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<Testpaperlibrary {...this.props} {...props} {...this.state} />)
|
|
|
|
|
} />
|
|
|
|
|
|
|
|
|
|
<Route path="/Integeneration"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<Integeneration {...this.props} {...props} {...this.state} />)
|
|
|
|
|
} />
|
|
|
|
|
|
|
|
|
|
<Route path="/problems"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<Developer {...this.props} {...props} {...this.state} />)
|
|
|
|
|
} />
|
|
|
|
|
|
|
|
|
|
<Route path="/question"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<Headplugselection {...this.props} {...props} {...this.state} />)
|
|
|
|
|
} />
|
|
|
|
|
<Route path="/wxcode/:identifier?" component={WXCode}
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<WXCode {...this.props} {...props} {...this.state}></WXCode>)
|
|
|
|
|
}
|
|
|
|
|
/>
|
|
|
|
|
<Route exact path="/"
|
|
|
|
|
// component={ShixunsHome}
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<ShixunsHome {...this.props} {...props} {...this.state}></ShixunsHome>)
|
|
|
|
|
}
|
|
|
|
|
/>
|
|
|
|
|
<Route component={Shixunnopage} />
|
|
|
|
|
<Route path="/myproblems/record_detail/:id"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<RecordDetail {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|
/>
|
|
|
|
|
<Route
|
|
|
|
|
path="/problems/:id/edit"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<NewOrEditTask {...this.props} {...props} {...this.state} />)
|
|
|
|
|
} />
|
|
|
|
|
<Route path="/Integeneration/:type/:id"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<Paperreview {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}/>
|
|
|
|
|
<Route path="/paperreview/:type"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<Paperreview {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}/>
|
|
|
|
|
{/*<Route path="/paperlibrary/edit/:id"*/}
|
|
|
|
|
{/* render={*/}
|
|
|
|
|
{/* (props) => (<Paperlibraryeditid {...this.props} {...props} {...this.state} />)*/}
|
|
|
|
|
{/* }/>*/}
|
|
|
|
|
|
|
|
|
|
{/*<Route path="/paperlibrary/see/:id"*/}
|
|
|
|
|
{/* render={*/}
|
|
|
|
|
{/* (props) => (<Paperlibraryseeid {...this.props} {...props} {...this.state} />)*/}
|
|
|
|
|
{/* }/>*/}
|
|
|
|
|
|
|
|
|
|
<Route path="/myproblems/:id/:tab?"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<StudentStudy {...this.props} {...props} {...this.state} />)
|
|
|
|
|
} />
|
|
|
|
|
{/*<Route path="/question/edit/:id"*/}
|
|
|
|
|
{/* render={*/}
|
|
|
|
|
{/* (props) => (<Questionitem_banks {...this.props} {...props} {...this.state} />)*/}
|
|
|
|
|
{/* } />*/}
|
|
|
|
|
|
|
|
|
|
{/*<Route path="/question/newitem"*/}
|
|
|
|
|
{/* render={*/}
|
|
|
|
|
{/* (props) => (<Questionitem_banks {...this.props} {...props} {...this.state} />)*/}
|
|
|
|
|
{/* } />*/}
|
|
|
|
|
{/*<Route path="/question/:type"*/}
|
|
|
|
|
{/* render={*/}
|
|
|
|
|
{/* (props) => (<Headplugselection {...this.props} {...props} {...this.state} />)*/}
|
|
|
|
|
{/* } />*/}
|
|
|
|
|
{/*<Route path="/paperlibrary"*/}
|
|
|
|
|
{/* render={*/}
|
|
|
|
|
{/* (props) => (<Testpaperlibrary {...this.props} {...props} {...this.state} />)*/}
|
|
|
|
|
{/* }/>*/}
|
|
|
|
|
|
|
|
|
|
<Route path="/Integeneration"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<Integeneration {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}/>
|
|
|
|
|
|
|
|
|
|
<Route path="/problems"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<Developer {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}/>
|
|
|
|
|
|
|
|
|
|
{/*<Route path="/question"*/}
|
|
|
|
|
{/* render={*/}
|
|
|
|
|
{/* (props) => (<Headplugselection {...this.props} {...props} {...this.state} />)*/}
|
|
|
|
|
{/* }/>*/}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{/*<Route path="/wxcode/:identifier?" component={WXCode}*/}
|
|
|
|
|
{/* render={*/}
|
|
|
|
|
{/* (props)=>(<WXCode {...this.props} {...props} {...this.state}></WXCode>)*/}
|
|
|
|
|
{/* }*/}
|
|
|
|
|
{/*/>*/}
|
|
|
|
|
|
|
|
|
|
<Route exact path="/"
|
|
|
|
|
// component={ShixunsHome}
|
|
|
|
|
render={
|
|
|
|
|
(props)=>(<ShixunsHome {...this.props} {...props} {...this.state}></ShixunsHome>)
|
|
|
|
|
}
|
|
|
|
|
/>
|
|
|
|
|
<Route component={Shixunnopage}/>
|
|
|
|
|
|
|
|
|
|
</Switch>
|
|
|
|
|
</Router>
|
|
|
|
|
</Switch>
|
|
|
|
|
</Router>
|
|
|
|
|
</MuiThemeProvider>
|
|
|
|
|
</ConfigProvider>
|
|
|
|
|
</Provider >
|
|
|
|
|