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