|
|
|
@ -7,12 +7,10 @@ import { SnackbarHOC } from 'educoder';
|
|
|
|
|
import { TPMIndexHOC } from '../../../tpm/TPMIndexHOC';
|
|
|
|
|
import { CNotificationHOC } from '../../../courses/common/CNotificationHOC'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import "../usersInfo.css"
|
|
|
|
|
import "../../../courses/css/members.css"
|
|
|
|
|
import "../../../courses/css/Courses.css"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import Loadable from 'react-loadable';
|
|
|
|
|
import Loading from '../../../../Loading';
|
|
|
|
|
|
|
|
|
@ -110,14 +108,6 @@ class BanksIndex extends Component{
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<Switch {...this.props}>
|
|
|
|
|
{/*毕设任务编辑*/}
|
|
|
|
|
<Route path='/banks/gtask/:workId/edit'
|
|
|
|
|
render={
|
|
|
|
|
(props) => {
|
|
|
|
|
return (<GtaskBanksEdit {...this.props} {...props} {...this.state} {...common}/>)
|
|
|
|
|
}
|
|
|
|
|
}></Route>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Route path='/banks/normal/:workId/edit'
|
|
|
|
|
render={
|
|
|
|
@ -143,46 +133,51 @@ class BanksIndex extends Component{
|
|
|
|
|
}
|
|
|
|
|
}></Route>
|
|
|
|
|
|
|
|
|
|
<Route path='/banks/gtopic/:bankId'
|
|
|
|
|
render={
|
|
|
|
|
(props) => {
|
|
|
|
|
return (<BanksTabIndex {...this.props} {...props} {...this.state} {...common}/>)
|
|
|
|
|
}
|
|
|
|
|
}></Route>
|
|
|
|
|
<Route path='/banks/poll/:bankId'
|
|
|
|
|
{/*毕设任务编辑*/}
|
|
|
|
|
<Route path='/banks/gtask/:workId/edit'
|
|
|
|
|
render={
|
|
|
|
|
(props) => {
|
|
|
|
|
return (<GtaskBanksEdit {...this.props} {...props} {...this.state} {...common}/>)
|
|
|
|
|
}
|
|
|
|
|
}></Route>
|
|
|
|
|
|
|
|
|
|
{/*题库问卷编辑详情*/}
|
|
|
|
|
<Route path="/courses/poll/:workid/edit"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<PollNewQuestbank {...this.props} {...props} {...this.state} {...common} />)
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Route path='/banks/poll/:bankId'
|
|
|
|
|
render={
|
|
|
|
|
(props) => {
|
|
|
|
|
return (<BanksTabIndex {...this.props} {...props} {...this.state} {...common} />)
|
|
|
|
|
}
|
|
|
|
|
}></Route>
|
|
|
|
|
{/*题库问卷编辑详情*/}
|
|
|
|
|
<Route path="/courses/poll/:workid/edit"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<PollNewQuestbank {...this.props} {...this.state} {...common} />)
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
|
|
|
|
|
{/*毕设任务题库详情*/}
|
|
|
|
|
<Route path="/banks/gtask/:workid"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<Completetaskpage {...this.props} {...this.state} {...common} />)
|
|
|
|
|
(props) => (<Completetaskpage {...this.props} {...props} {...this.state} {...common} />)
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
{/*毕设内容题库详情*/}
|
|
|
|
|
<Route path="/banks/gtopic/:workid"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<CompletetopicdePage {...this.props} {...this.state} {...common}/>)
|
|
|
|
|
(props) => (<CompletetopicdePage {...this.props} {...props} {...this.state} {...common}/>)
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
{/*分组作业题库详情*/}
|
|
|
|
|
<Route path="/banks/group/:workid"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<GroupjobbankPage {...this.props} {...this.state} {...common} />)
|
|
|
|
|
(props) => (<GroupjobbankPage {...this.props} {...props} {...this.state} {...common} />)
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
{/* 普通作业题库详情*/}
|
|
|
|
|
<Route path="/banks/normal/:workid"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<Generaljobbankdetails {...this.props} {...this.state} {...common} />)
|
|
|
|
|
(props) => (<Generaljobbankdetails {...this.props} {...props} {...this.state} {...common} />)
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
</Switch>
|
|
|
|
@ -192,4 +187,13 @@ class BanksIndex extends Component{
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export default CNotificationHOC() ( SnackbarHOC() ( TPMIndexHOC(BanksIndex) ));
|
|
|
|
|
export default CNotificationHOC() ( SnackbarHOC() ( TPMIndexHOC(BanksIndex) ));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// <Route path='/banks/gtopic/:bankId'
|
|
|
|
|
// render={
|
|
|
|
|
// (props) => {
|
|
|
|
|
// return (<BanksTabIndex {...this.props} {...props} {...this.state} {...common}/>)
|
|
|
|
|
// }
|
|
|
|
|
// }></Route>
|