dengzhiguo hace 6 años
padre
commit
a1a9dec2ac

+ 1 - 2
js/component/manageCenter/achievement/crmAchievement.jsx

@@ -157,7 +157,7 @@ const AchievementDetailShow = Form.create()(React.createClass({
             method: "get",
             dataType: "json",
             crossDomain: false,
-            url: globalConfig.context + detailApiUrl,
+            url: globalConfig.context + "/api/admin/achievement/orgDetail",
             data: {
                 id: id,
                 ownerType:ownerType?ownerType:this.props.data.ownerType
@@ -791,7 +791,6 @@ const AchievementDetailForm = Form.create()(React.createClass({
         };
     },
     loadData(id, detailApiUrl,ownerType) {
-    	console.log(222);
         this.setState({
             loading: true
         });

+ 3 - 1
js/component/manageCenter/customer/NEW/intentionCustomer/intentionCustomer.jsx

@@ -326,7 +326,8 @@ const IntentionCustomer = Form.create()(React.createClass({
 		this.setState({
 			selectedRowKeys: [],
 			modalVisible:true,
-			basicState:true
+			basicState:true,
+			contactState:true,
 		})
 	},
 	//指定转交人自动补全
@@ -576,6 +577,7 @@ const IntentionCustomer = Form.create()(React.createClass({
     				modalVisible={this.state.modalVisible}
     				closeDesc={this.closeDesc}
     				basicState={this.state.basicState}
+    				contactState={this.state.contactState}
     			/>
           </div >
 		);

+ 2 - 1
js/component/manageCenter/customer/NEW/intentionCustomer/intentionDetail/intentionDetail.jsx

@@ -105,7 +105,8 @@ const IntentionDetail = React.createClass({
 			})
 		};
 		this.setState({
-			basicState:nextProps.basicState
+			basicState:nextProps.basicState,
+			contactState:nextProps.contactState,
 		})
 	},
 	render(){

+ 2 - 2
js/component/manageCenter/customer/NEW/signCustomer/intentionDetail/intentionDetail.jsx

@@ -90,7 +90,6 @@ const IntentionDetail = React.createClass({
 	},
 	//取消函数
 	closeDetail(e,s){
-		console.log(111);
 		this.setState({
 			basicState:false,
 			//contactState:true,
@@ -108,7 +107,8 @@ const IntentionDetail = React.createClass({
 			})
 		};
 		this.setState({
-			basicState:nextProps.basicState
+			basicState:nextProps.basicState,
+			contactState:nextProps.contactState,
 		})
 	},
 	render(){

+ 3 - 1
js/component/manageCenter/customer/NEW/signCustomer/signCustomer.jsx

@@ -254,7 +254,8 @@ const IntentionCustomer = Form.create()(React.createClass({
 		this.setState({
 			selectedRowKeys: [],
 			modalVisible:true,
-			basicState:true
+			basicState:true,
+			contactState:true,
 		})
 	},
 	//指定转交人自动补全
@@ -383,6 +384,7 @@ const IntentionCustomer = Form.create()(React.createClass({
     				modalVisible={this.state.modalVisible}
     				closeDesc={this.closeDesc}
     				basicState={this.state.basicState}
+    				contactState={this.state.contactState}
     			/>
           </div >
 		);