project_pack
杨树明 5 years ago
parent 874de4b85c
commit 75152931a0

@ -381,7 +381,7 @@ class PackageIndexNEIBannerConcent extends Component {
<Input <Input
className={"fafafas fl"} className={"fafafas fl"}
style={{"width": "260px"}} style={{"width": "260px"}}
value={this.state.contact_phone} value={this.props.phone}
placeholder="请输入手机号" placeholder="请输入手机号"
disabled={true} disabled={true}
/> />

@ -38,10 +38,30 @@ class ProjectPackageIndex extends Component {
<Switch> <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/edit"
<Route path="/project_packages/:id" {...this.props} component={PackageIndexNEITaskDetails}></Route> render={
<Route path="/project_packages" {...this.props} component={PackageIndex}></Route> (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> </Switch>
</div> </div>

Loading…
Cancel
Save