|  | @@ -156,13 +156,13 @@
 | 
											
												
													
														|  |  						//#endif
 |  |  						//#endif
 | 
											
												
													
														|  |  						that.payeeinfo.longitude = res.longitude;
 |  |  						that.payeeinfo.longitude = res.longitude;
 | 
											
												
													
														|  |  						that.payeeinfo.latitude = res.latitude;
 |  |  						that.payeeinfo.latitude = res.latitude;
 | 
											
												
													
														|  | -						var dst = `${that.payeeinfo.longitude},${that.payeeinfo.latitude}`;
 |  | 
 | 
											
												
													
														|  | 
 |  | +						var dst = `${that.payeeinfo.latitude},${that.payeeinfo.longitude}`;
 | 
											
												
													
														|  |  						var src = res.latitude + ',' + res.longitude;
 |  |  						var src = res.latitude + ',' + res.longitude;
 | 
											
												
													
														|  |  						var locRet = location?.distance?.(src, dst);
 |  |  						var locRet = location?.distance?.(src, dst);
 | 
											
												
													
														|  |  						that.positionInfo = true;
 |  |  						that.positionInfo = true;
 | 
											
												
													
														|  |  						// console.log('locRet',locRet);
 |  |  						// console.log('locRet',locRet);
 | 
											
												
													
														|  |  						// ALog?.info({msg:locRet.distance})
 |  |  						// ALog?.info({msg:locRet.distance})
 | 
											
												
													
														|  | -						if(locRet<=that.payeeinfo.workDistance){//在打卡范围内
 |  | 
 | 
											
												
													
														|  | 
 |  | +						if(locRet.distance <= that.payeeinfo.workDistance){//在打卡范围内
 | 
											
												
													
														|  |  							that.outPosition = false;
 |  |  							that.outPosition = false;
 | 
											
												
													
														|  |  							console.log('that.workType',that.workType);
 |  |  							console.log('that.workType',that.workType);
 | 
											
												
													
														|  |  							// debugger;
 |  |  							// debugger;
 |