From 1e6b1d669d573e96da019f9783b50a4a371f4608 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com>
Date: Sat, 13 Jul 2019 14:14:17 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../PackageIndexNEIBannerConcent.js | 23 ++++++++++++-------
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEIBannerConcent.js b/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEIBannerConcent.js
index 1f0ab6b7..c476d554 100644
--- a/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEIBannerConcent.js
+++ b/public/react/src/modules/projectPackages/PackageIndexNewandEdit/PackageIndexNEIBannerConcent.js
@@ -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 {
竞标截止: