|  | @@ -284,6 +284,7 @@ const PublicCustomer = React.createClass({
 | 
	
		
			
				|  |  |          this.state.RowData = record;
 | 
	
		
			
				|  |  |          this.setok(record.id);       
 | 
	
		
			
				|  |  |          this.setState({
 | 
	
		
			
				|  |  | +        	selectedRowKeys:[],
 | 
	
		
			
				|  |  |          	hids:record.id
 | 
	
		
			
				|  |  |          })
 | 
	
		
			
				|  |  |      },
 | 
	
	
		
			
				|  | @@ -397,22 +398,15 @@ const PublicCustomer = React.createClass({
 | 
	
		
			
				|  |  |              loading: true
 | 
	
		
			
				|  |  |          });  
 | 
	
		
			
				|  |  |          this.setState({
 | 
	
		
			
				|  |  | -            selectedRowKeys:[],            
 | 
	
		
			
				|  |  | -        });
 | 
	
		
			
				|  |  | -        let deletedIds=this.state.rowId; 
 | 
	
		
			
				|  |  | -         for (let idx = 0; idx < this.state.selectedRows.length; idx++) {
 | 
	
		
			
				|  |  | -            let rowItem = this.state.selectedRows[idx];                          
 | 
	
		
			
				|  |  | -            if (rowItem.id) {
 | 
	
		
			
				|  |  | -                deletedIds=rowItem.id;               
 | 
	
		
			
				|  |  | -            };            
 | 
	
		
			
				|  |  | -        };       
 | 
	
		
			
				|  |  | +            selectedRowKeys:this.state.selectedRowKeys,            
 | 
	
		
			
				|  |  | +        });              
 | 
	
		
			
				|  |  |          $.ajax({
 | 
	
		
			
				|  |  |              method: "get",
 | 
	
		
			
				|  |  |              dataType: "json",
 | 
	
		
			
				|  |  |              crossDomain: false,          
 | 
	
		
			
				|  |  |              url:globalConfig.context + '/api/admin/customer/listCustomerLog',
 | 
	
		
			
				|  |  |              data: {
 | 
	
		
			
				|  |  | -                  customerId:deletedIds                 	
 | 
	
		
			
				|  |  | +                  customerId:this.state.record                 	
 | 
	
		
			
				|  |  |              },
 | 
	
		
			
				|  |  |              success: function (data) {            	
 | 
	
		
			
				|  |  |                  let theArr = [];
 | 
	
	
		
			
				|  | @@ -466,24 +460,17 @@ const PublicCustomer = React.createClass({
 | 
	
		
			
				|  |  |          this.state.data = [];
 | 
	
		
			
				|  |  |          this.setState({
 | 
	
		
			
				|  |  |              loading: true
 | 
	
		
			
				|  |  | -        });
 | 
	
		
			
				|  |  | -        this.setState({
 | 
	
		
			
				|  |  | -            selectedRowKeys:[],            
 | 
	
		
			
				|  |  | -        });
 | 
	
		
			
				|  |  | -        let deletedIds=this.state.rowId; 
 | 
	
		
			
				|  |  | -         for (let idx = 0; idx < this.state.selectedRows.length; idx++) {
 | 
	
		
			
				|  |  | -            let rowItem = this.state.selectedRows[idx];                          
 | 
	
		
			
				|  |  | -            if (rowItem.id) {
 | 
	
		
			
				|  |  | -                deletedIds=rowItem.id;               
 | 
	
		
			
				|  |  | -            };            
 | 
	
		
			
				|  |  | -        };       
 | 
	
		
			
				|  |  | +        });       
 | 
	
		
			
				|  |  | +        this.setState({        	
 | 
	
		
			
				|  |  | +            selectedRowKeys:this.state.selectedRowKeys,            
 | 
	
		
			
				|  |  | +        });              
 | 
	
		
			
				|  |  |          $.ajax({
 | 
	
		
			
				|  |  |              method: "get",
 | 
	
		
			
				|  |  |              dataType: "json",
 | 
	
		
			
				|  |  |              crossDomain: false,          
 | 
	
		
			
				|  |  |              url:globalConfig.context + '/api/admin/customer/listAllFollowUpRecord',
 | 
	
		
			
				|  |  |              data: {
 | 
	
		
			
				|  |  | -                  customerId:deletedIds                 	
 | 
	
		
			
				|  |  | +                  customerId:this.state.record                 	
 | 
	
		
			
				|  |  |              },
 | 
	
		
			
				|  |  |              success: function (data) {            	
 | 
	
		
			
				|  |  |                  let theArr = [];
 | 
	
	
		
			
				|  | @@ -519,27 +506,32 @@ const PublicCustomer = React.createClass({
 | 
	
		
			
				|  |  |                  this.setState({//导出数据
 | 
	
		
			
				|  |  |                      datahistory: theArr, 
 | 
	
		
			
				|  |  |                      theWomanID:theWomanID,
 | 
	
		
			
				|  |  | -                    theFollowID:theFollowID,
 | 
	
		
			
				|  |  | +                    theFollowID:theFollowID,                    
 | 
	
		
			
				|  |  |                  });
 | 
	
		
			
				|  |  |              }.bind(this),
 | 
	
		
			
				|  |  |          }).always(function () {
 | 
	
		
			
				|  |  | -            this.setState({
 | 
	
		
			
				|  |  | +            this.setState({            	
 | 
	
		
			
				|  |  |                  loading: false
 | 
	
		
			
				|  |  |              });
 | 
	
		
			
				|  |  |          }.bind(this));
 | 
	
		
			
				|  |  |      }, 
 | 
	
		
			
				|  |  |      
 | 
	
		
			
				|  |  |      render() {
 | 
	
		
			
				|  |  | -    	  const theData = this.state.data || {}; 
 | 
	
		
			
				|  |  | -        const rowSelection = {
 | 
	
		
			
				|  |  | +    	const theData = this.state.data || {}; 
 | 
	
		
			
				|  |  | +        const rowSelection = {        	
 | 
	
		
			
				|  |  |              selectedRowKeys: this.state.selectedRowKeys,
 | 
	
		
			
				|  |  | -            onChange: (selectedRowKeys, selectedRows) => {
 | 
	
		
			
				|  |  | +            onChange: (selectedRowKeys, selectedRows,e) => {
 | 
	
		
			
				|  |  |                  this.setState({
 | 
	
		
			
				|  |  | -                    selectedRows: selectedRows.slice(-1),
 | 
	
		
			
				|  |  | -                    selectedRowKeys: selectedRowKeys.slice(-1)
 | 
	
		
			
				|  |  | -                });
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -        };
 | 
	
		
			
				|  |  | +                    selectedRows: selectedRows.slice(-1),                    
 | 
	
		
			
				|  |  | +                    selectedRowKeys:selectedRowKeys.slice(-1)
 | 
	
		
			
				|  |  | +                });                
 | 
	
		
			
				|  |  | +            }, 
 | 
	
		
			
				|  |  | +            onSelect: (record, selected, selectedRows) => {			   
 | 
	
		
			
				|  |  | +			    this.setState({
 | 
	
		
			
				|  |  | +			    	record:record.id
 | 
	
		
			
				|  |  | +			    })
 | 
	
		
			
				|  |  | +			},
 | 
	
		
			
				|  |  | +        };          
 | 
	
		
			
				|  |  |          const hasSelected = this.state.selectedRowKeys.length > 0;
 | 
	
		
			
				|  |  |          const { RangePicker } = DatePicker;
 | 
	
		
			
				|  |  |          return (
 |