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