|
|
|
@ -43,25 +43,25 @@ class ProjectPackageIndex extends Component {
|
|
|
|
|
<Switch>
|
|
|
|
|
{/*众包首页*/}
|
|
|
|
|
|
|
|
|
|
<Route path="/crowdsourcing/:id/edit"
|
|
|
|
|
<Route path="/crowdsourcings/:id/edit"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<PackageIndexNewandEdit {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
|
|
|
|
|
<Route path="/crowdsourcing/new"
|
|
|
|
|
<Route path="/crowdsourcings/new"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<PackageIndexNewandEdit {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
|
|
|
|
|
<Route path="/crowdsourcing/:id"
|
|
|
|
|
<Route path="/crowdsourcings/:id"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<PackageIndexNEITaskDetails {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|
></Route>
|
|
|
|
|
|
|
|
|
|
<Route path="/crowdsourcing"
|
|
|
|
|
<Route path="/crowdsourcings"
|
|
|
|
|
render={
|
|
|
|
|
(props) => (<PackageIndex {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|