|
|
|
@ -81,10 +81,15 @@ class PackageIndexNEIBannerConcent extends Component {
|
|
|
|
|
|
|
|
|
|
let Url = `/api/v1/project_package_categories.json`;
|
|
|
|
|
axios.get(Url).then((response) => {
|
|
|
|
|
console.log(response)
|
|
|
|
|
this.setState({
|
|
|
|
|
categories:response.data.categories
|
|
|
|
|
})
|
|
|
|
|
// console.log(response)
|
|
|
|
|
if(response.data.status===-1){
|
|
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
this.setState({
|
|
|
|
|
categories:response.data.categories
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}).catch((error) => {
|
|
|
|
|
console.log(error)
|
|
|
|
|
})
|
|
|
|
@ -546,17 +551,19 @@ class PackageIndexNEIBannerConcent extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
onChangemin_prices=(e)=>{
|
|
|
|
|
this.props.setcheckout()
|
|
|
|
|
this.setState({
|
|
|
|
|
min_price:e.target.value
|
|
|
|
|
})
|
|
|
|
|
this.setcheckout()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
onChangemax_prices=(e)=>{
|
|
|
|
|
this.props.setcheckout()
|
|
|
|
|
this.setState({
|
|
|
|
|
max_price:e.target.value
|
|
|
|
|
})
|
|
|
|
|
this.setcheckout()
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
onChangeContact_name=(e)=>{
|
|
|
|
@ -741,10 +748,10 @@ class PackageIndexNEIBannerConcent extends Component {
|
|
|
|
|
<span className="shaiTitle fl mt5 ml10">竞标截止:</span>
|
|
|
|
|
<DatePicker
|
|
|
|
|
showToday={false}
|
|
|
|
|
showTime
|
|
|
|
|
showTime={{ format: 'HH:mm' }}
|
|
|
|
|
locale={locale}
|
|
|
|
|
style={{"width": "260px"}}
|
|
|
|
|
format="YYYY-MM-DD HH:mm:ss"
|
|
|
|
|
format="YYYY-MM-DD HH:mm"
|
|
|
|
|
placeholder="请选择任务的竞标截止日期"
|
|
|
|
|
className={"fafas"}
|
|
|
|
|
value={this.state.deadline_at}
|
|
|
|
|