|  | @@ -27,7 +27,7 @@ const PersonalReport = React.createClass({
 | 
												
													
														
															|  |  			url: globalConfig.context + "/api/admin/report/sales/personal",
 |  |  			url: globalConfig.context + "/api/admin/report/sales/personal",
 | 
												
													
														
															|  |  			data: {
 |  |  			data: {
 | 
												
													
														
															|  |  				pNo: pageNo || 1,
 |  |  				pNo: pageNo || 1,
 | 
												
													
														
															|  | -                pSize: 9,
 |  | 
 | 
												
													
														
															|  | 
 |  | +                pSize: 10,
 | 
												
													
														
															|  |  				date:this.state.selTime?(this.state.selTime+' '+'00:00:00'):'',
 |  |  				date:this.state.selTime?(this.state.selTime+' '+'00:00:00'):'',
 | 
												
													
														
															|  |  				depName:this.state.departmentSearch,
 |  |  				depName:this.state.departmentSearch,
 | 
												
													
														
															|  |  				name:this.state.uesrNameSearch,
 |  |  				name:this.state.uesrNameSearch,
 | 
												
											
												
													
														
															|  | @@ -39,8 +39,6 @@ const PersonalReport = React.createClass({
 | 
												
													
														
															|  |  					if(data.error && data.error.length) {
 |  |  					if(data.error && data.error.length) {
 | 
												
													
														
															|  |  						message.warning(data.error[0].message);
 |  |  						message.warning(data.error[0].message);
 | 
												
													
														
															|  |  					};
 |  |  					};
 | 
												
													
														
															|  | -					this.state.pagination.current=0	
 |  | 
 | 
												
													
														
															|  | -					this.state.pagination.total=0
 |  | 
 | 
												
													
														
															|  |  					thedata = {};
 |  |  					thedata = {};
 | 
												
													
														
															|  |  				} else {
 |  |  				} else {
 | 
												
													
														
															|  |  					thedata.map(function(item, index) {
 |  |  					thedata.map(function(item, index) {
 | 
												
											
												
													
														
															|  | @@ -68,7 +66,8 @@ const PersonalReport = React.createClass({
 | 
												
													
														
															|  |  						})
 |  |  						})
 | 
												
													
														
															|  |  					})
 |  |  					})
 | 
												
													
														
															|  |  					this.state.pagination.current =pageNo;
 |  |  					this.state.pagination.current =pageNo;
 | 
												
													
														
															|  | -					this.state.pagination.total=30
 |  | 
 | 
												
													
														
															|  | 
 |  | +					this.state.pagination.total=total.totalRecordCount;
 | 
												
													
														
															|  | 
 |  | +					
 | 
												
													
														
															|  |  				};
 |  |  				};
 | 
												
													
														
															|  |  				if(!data.data.length){
 |  |  				if(!data.data.length){
 | 
												
													
														
															|  |  					this.state.pagination.total=0;
 |  |  					this.state.pagination.total=0;
 | 
												
											
												
													
														
															|  | @@ -184,9 +183,9 @@ const PersonalReport = React.createClass({
 | 
												
													
														
															|  |  			timeState:false,
 |  |  			timeState:false,
 | 
												
													
														
															|  |  			pagination: {
 |  |  			pagination: {
 | 
												
													
														
															|  |                  defaultCurrent: 1,
 |  |                  defaultCurrent: 1,
 | 
												
													
														
															|  | -                defaultPageSize: 10,
 |  | 
 | 
												
													
														
															|  | 
 |  | +                defaultPageSize: 11,
 | 
												
													
														
															|  |                  showQuickJumper: true,
 |  |                  showQuickJumper: true,
 | 
												
													
														
															|  | -                pageSize: 10,
 |  | 
 | 
												
													
														
															|  | 
 |  | +                pageSize: 11,
 | 
												
													
														
															|  |                  onChange: function (page) {
 |  |                  onChange: function (page) {
 | 
												
													
														
															|  |                      this.totalData(page);
 |  |                      this.totalData(page);
 | 
												
													
														
															|  |                  }.bind(this),
 |  |                  }.bind(this),
 |