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