|
|
|
@ -117,14 +117,14 @@ class BanksIndex extends Component{
|
|
|
|
|
|
|
|
|
|
<Switch {...this.props}>
|
|
|
|
|
{/*毕设任务编辑*/}
|
|
|
|
|
<Route path='/banks/gtask/:workId/edit'
|
|
|
|
|
<Route path='/banks/gtask/:workId/edit/:type'
|
|
|
|
|
render={
|
|
|
|
|
(props) => {
|
|
|
|
|
return (<GtaskBanksEdit {...this.props} {...props} {...this.state} {...common}/>)
|
|
|
|
|
}
|
|
|
|
|
}></Route>
|
|
|
|
|
|
|
|
|
|
<Route path='/banks/normal/:workId/edit'
|
|
|
|
|
<Route path='/banks/normal/:workId/edit/:type'
|
|
|
|
|
render={
|
|
|
|
|
(props) => {
|
|
|
|
|
return (<HomeworkBanksEdit {...this.props} {...props} {...this.state} {...common}
|
|
|
|
@ -133,7 +133,7 @@ class BanksIndex extends Component{
|
|
|
|
|
}
|
|
|
|
|
}></Route>
|
|
|
|
|
|
|
|
|
|
<Route path='/banks/group/:workId/edit'
|
|
|
|
|
<Route path='/banks/group/:workId/edit/:type'
|
|
|
|
|
render={
|
|
|
|
|
(props) => {
|
|
|
|
|
return (<HomeworkBanksEdit {...this.props} {...props} {...this.state} {...common}
|
|
|
|
@ -142,7 +142,7 @@ class BanksIndex extends Component{
|
|
|
|
|
}
|
|
|
|
|
}></Route>
|
|
|
|
|
|
|
|
|
|
<Route path='/banks/exercise/:Id/edit'
|
|
|
|
|
<Route path='/banks/exercise/:Id/edit/:type'
|
|
|
|
|
render={
|
|
|
|
|
(props) => {
|
|
|
|
|
return (<ExerciseBanksEdit {...this.props} {...props} {...this.state} {...common}
|
|
|
|
@ -151,7 +151,7 @@ class BanksIndex extends Component{
|
|
|
|
|
}></Route>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Route path='/banks/gtopic/:bankId/edit'
|
|
|
|
|
<Route path='/banks/gtopic/:bankId/edit/:type'
|
|
|
|
|
render={
|
|
|
|
|
(props) => {
|
|
|
|
|
return (<GtopicBanksEdit {...this.props} {...props} {...this.state} {...common}/>)
|
|
|
|
@ -160,7 +160,7 @@ class BanksIndex extends Component{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{/*题库问卷编辑详情*/}
|
|
|
|
|
<Route path="/banks/poll/:workid/edit"
|
|
|
|
|
<Route path="/banks/poll/:workid/edit/:type"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<PollNewQuestbank {...this.props} {...props} {...this.state} {...common} />)
|
|
|
|
|
}
|
|
|
|
|