| 
					
				 | 
			
			
				@@ -443,7 +443,8 @@ const AchievementList = Form.create()(React.createClass({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	    });	   	     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	//点击客户的名字,进行详情的查询 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	setModal4Visible(e,index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	setModal4Visible(e,index) {	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		this.state.data=[]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		this.setState({ modal4Visible:true }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		let changeIds=this.state.datahistory[index].contactId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	     $.ajax({ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -461,23 +462,7 @@ const AchievementList = Form.create()(React.createClass({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     if (data.error && data.error.length) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         message.warning(data.error[0].message); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     };                    
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                } else {                	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    for (let i = 0; i < data.data.length; i++) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        let thisdata = data.data[i];                        
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        theArr.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        		key:i, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        		name:name,//联系人姓名 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        		sex:sex,//联系人性别 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        		mobile:mobile,//座机号 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        		telNum:telNum,//手机号 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        		email:email,//邮箱 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        		qq:qq,//qq 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        		wechat:wechat,//微信号 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        		depatrment:depatrment,//部门 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        		customerPosition:customerPosition,//职位 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    };                    
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                };                
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                }            
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.setState({//导出数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 			theDate:theDate,	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     		name:theDate.name,//联系人姓名 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -631,7 +616,7 @@ const AchievementList = Form.create()(React.createClass({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }.bind(this)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		informationRowClick(index){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			this.setModal8VisibleOk()			 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			this.setModal8VisibleOk();		 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			$.ajax({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             method: "get", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             dataType: "json", 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -643,43 +628,26 @@ const AchievementList = Form.create()(React.createClass({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             success: function (data) {            	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 let theArr = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 let theDate=data.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (!data.data) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     if (data.error && data.error.length) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         message.warning(data.error[0].message); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     };                    
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                } else {                	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    for (let i = 0; i < data.data.length; i++) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        let thisdata = data.data[i];                        
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        theArr.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    		key:i, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    		primaryFlg:primaryFlg, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    		name:name,//联系人姓名 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    		sex:sex,//联系人性别 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    		mobile:mobile,//座机号 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    		telNum:telNum,//手机号 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    		email:email,//邮箱 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    		qq:qq,//qq 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    		wechat:wechat,//微信号 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    		depatrment:depatrment,//部门 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    		customerPosition:customerPosition,//职位 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    };                    
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                };                
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                }             
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.setState({//导出数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                			primaryFlg:theDate.primaryFlg, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                			thaDate:theDate, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                			cid:theDate.cid,//客户ID 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                			id:theDate.id,//联系人ID 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    		name:theDate.name,//联系人姓名 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		            		sex:theDate.sex,//联系人性别 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		            		mobile:theDate.mobile,//座机号 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		            		telNum:theDate.telNum,//手机号 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		            		email:theDate.email,//邮箱 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		            		qq:theDate.qq,//qq 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		            		wechat:theDate.wechat,//微信号 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		            		depatrment:theDate.depatrment,//部门 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		            		customerPosition:theDate.customerPosition,//职位 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		            		companyName:theDate.companyName,//公司 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        			primaryFlg:theDate.primaryFlg,                			 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        			cid:theDate.cid,//客户ID 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        			id:theDate.id,//联系人ID 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            		name:theDate.name,//联系人姓名 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            		sex:theDate.sex,//联系人性别 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            		mobile:theDate.mobile,//座机号 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            		telNum:theDate.telNum,//手机号 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            		email:theDate.email,//邮箱 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            		qq:theDate.qq,//qq 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            		wechat:theDate.wechat,//微信号 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            		depatrment:theDate.depatrment,//部门 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            		customerPosition:theDate.customerPosition,//职位 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            		companyName:theDate.companyName,//公司 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }.bind(this), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }).always(function () { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -2400,100 +2368,63 @@ const AchievementList = Form.create()(React.createClass({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				                        	<FormItem className="half-item" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                            {...formItemLayout} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                            label="姓名" > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                            {getFieldDecorator('name', {					                               
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                                initialValue: this.state.name 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                            })( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                                <Input onChange={(e) => { this.setState({ name: e.target.value }) }}/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                                )} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					                             
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					                             <Input value={this.state.name} onChange={(e) => { this.setState({ name: e.target.value }) }}/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					                                 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                        </FormItem> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                        <FormItem className="half-item" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				                                {...formItemLayout} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				                                label="性别" > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				                                {getFieldDecorator('sex', {			                                	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				                                    initialValue: this.state.sex 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				                                })( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			                                     <Radio.Group onChange={(e) => { this.setState({ sex: e.target.value }); }}> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				                                 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			                                     <Radio.Group value={this.state.sex} onChange={(e) => { this.setState({ sex: e.target.value }); }}> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		    										<Radio value="0">男</Radio> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				                                   <Radio value="1">女</Radio> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				                                 </Radio.Group> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			                                    )} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			                                    
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				                       		</FormItem> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				                       		<FormItem 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						                        labelCol={{ span: 6 }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						                        wrapperCol={{ span: 14 }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						                        label="是否是主要联系人:" style={{marginLeft:"65px"}}> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				                       			{getFieldDecorator('primaryFlg', {			                                	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				                                    initialValue: this.state.primaryFlg 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				                                })( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			                                     	<Radio.Group onChange={(e) => {this.setState({primaryFlg: e.target.value });}}> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			                                     	<Radio.Group value={this.state.primaryFlg} onChange={(e) => {this.setState({primaryFlg: e.target.value });}}> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 								                        <Radio value={0}>是</Radio> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 								                        <Radio value={1}>否</Radio> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							                        </Radio.Group> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			                                    )} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						                         
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						                    	</FormItem>	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				                       			<FormItem className="half-item" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                            {...formItemLayout} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                            label="手机号码" > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                            {getFieldDecorator('telNum', {	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                                initialValue: this.state.telNum  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                            })( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                                <Input onChange={(e) => { this.setState({ telNum: e.target.value }) }}/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                                )} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					                            label="手机号码" >   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					                                <Input value={this.state.telNum} onChange={(e) => { this.setState({ telNum: e.target.value }) }}/>					                                
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                        </FormItem> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                        <FormItem className="half-item" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                            {...formItemLayout} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                            label="座机号" > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                            {getFieldDecorator('mobile', {	                               
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                                initialValue: this.state.mobile 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                            })( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                                <Input onChange={(e) => { this.setState({ mobile: e.target.value }) }}/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                                )} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					                            label="座机号" >					                          
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					                                <Input value={this.state.mobile} onChange={(e) => { this.setState({ mobile: e.target.value }) }}/>					                                
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                        </FormItem> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                        <FormItem className="half-item" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                            {...formItemLayout} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                            label="QQ号码" > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                            {getFieldDecorator('qq', {	                               
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                                initialValue: this.state.qq 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                            })( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                                <Input onChange={(e) => { this.setState({ qq: e.target.value }) }}/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                                )} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					                                <Input value={this.state.qq} onChange={(e) => { this.setState({ qq: e.target.value }) }}/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                        </FormItem> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                        <FormItem className="half-item" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                            {...formItemLayout} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                            label="邮箱号" > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                            {getFieldDecorator('email', {	                               
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                                initialValue: this.state.email 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                            })( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                                <Input onChange={(e) => { this.setState({ email: e.target.value }) }}/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                                )} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					                                <Input value={this.state.email} onChange={(e) => { this.setState({ email: e.target.value }) }}/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                        </FormItem> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                        <FormItem className="half-item" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                            {...formItemLayout} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                            label="微信" > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                            {getFieldDecorator('wechat', {	                               
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                                initialValue: this.state.wechat 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                            })( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                                <Input onChange={(e) => { this.setState({ wechat: e.target.value }) }}/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                                )} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					                                <Input value={this.state.wechat} onChange={(e) => { this.setState({ wechat: e.target.value }) }}/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                        </FormItem> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                        <FormItem className="half-item" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                            {...formItemLayout} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                            label="部门" > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                            {getFieldDecorator('depatrment', {	                               
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                                initialValue: this.state.depatrment 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                            })( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                                <Input onChange={(e) => { this.setState({ depatrment: e.target.value }) }}/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                                )} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					                                <Input value={this.state.depatrment} onChange={(e) => { this.setState({ depatrment: e.target.value }) }}/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                        </FormItem> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                        <FormItem className="half-item" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                            {...formItemLayout} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                            label="职位" > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                            {getFieldDecorator('customerPosition', {	                               
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                                initialValue: this.state.customerPosition 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                            })( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                                <Input onChange={(e) => { this.setState({ customerPosition: e.target.value }); }}/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					                                )} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					                                <Input value={this.state.customerPosition} onChange={(e) => { this.setState({ customerPosition: e.target.value }); }}/>                           
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					                        </FormItem>												                                   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 										        	</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 										        	<FormItem wrapperCol={{ span: 12, offset: 4 }}> 
			 |