| 
					
				 | 
			
			
				@@ -284,75 +284,6 @@ const IntentionCustomer = Form.create()(React.createClass({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }.bind(this));   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	//上级主管输入框失去焦点是判断客户是否存在 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	selectAuto(value,options){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		this.setState({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			auto:value 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	blurChange(e){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		let theType=''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		let contactLists=this.state.customerArr||[]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			if (e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            contactLists.map(function (item) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (item.name == e.toString()) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    theType = item.id; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-           });      
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-   	    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		this.setState({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			theTypes:theType 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	//值改变时请求客户名称 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	httpChange(e){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		if(e.length>=1){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			this.supervisor(e);  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		}	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		this.setState({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			auto:e 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	//转交 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	changeAssigner() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		if(this.state.theTypes){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			this.setState({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				selectedRowKeys: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			let changeIds; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			for(let idx = 0; idx < this.state.selectedRows.length; idx++) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				let rowItem = this.state.selectedRows[idx]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				if(rowItem.id) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					changeIds = rowItem.id; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			$.ajax({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				method: "get", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				dataType: "json", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				crossDomain: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				url: globalConfig.context + "/api/admin/customer/transferToOther", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				data: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					uid: changeIds, //这一行数据的ID 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					aid: this.state.theTypes, //指定转交人的ID  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			}).done(function(data) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				if(!data.error.length) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					message.success('转交成功!'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					this.setState({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						auto:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						loading: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				} else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					message.warning(data.error[0].message); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				this.loadData(this.state.ispage); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			}.bind(this)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		}else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			message.warning('请输入转交人姓名') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	componentWillReceiveProps(nextProps) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		if(nextProps.ApiUrl!=this.props.ApiUrl) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			if(!this.state.searchMore){ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -414,24 +345,6 @@ const IntentionCustomer = Form.create()(React.createClass({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	                        </Button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	                </Popconfirm>:'' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	                <AutoComplete 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				        className="certain-category-search" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				        dropdownClassName="certain-category-search-dropdown" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				        dropdownMatchSelectWidth={false} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				        dropdownStyle={{ width: 120 }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				        style={{ width: '120px'}} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				        dataSource={options} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				        placeholder="输入转交人姓名" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				        value={this.state.auto} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				        onChange={this.httpChange} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				        filterOption={true} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				        onBlur={this.blurChange} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				        onSelect={this.selectAuto} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				        disabled={!hasSelected} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				      > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				        <Input /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				      </AutoComplete>   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					<Button type="primary" onClick={this.changeAssigner}  disabled={!hasSelected} >转交</Button>   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	                <span style={{marginLeft:'10px',marginRight:'20px'}}>更多搜索<Switch checked={!this.state.searchMore} onChange={this.searchSwitch} /></span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     <div className='clearfix' style={{marginTop:'5px'}}> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	                  <div className="search-more" style={this.state.searchMore ? { display: 'none' } : {}}>                    			                   
			 |