|
|
@@ -239,7 +239,7 @@ |
|
|
|
} |
|
|
|
let distance = this.map.getDistance(myP1, myP2).toFixed(2) |
|
|
|
// alert('距离'+ distance) |
|
|
|
console.log('距离', distance, '打卡坐标:', myP1, '当前坐标:', myP2) |
|
|
|
// console.log('距离', distance, '打卡坐标:', myP1, '当前坐标:', myP2) |
|
|
|
if (Number(distance) > Number(this.info.GPSRange)) { |
|
|
|
this.$set(this.info, 'AttendanceType', 4) |
|
|
|
this.$set(this.info, 'AttendanceTypeString', '外勤打卡') |
|
|
@@ -357,7 +357,7 @@ |
|
|
|
width: 48%; |
|
|
|
display: inline-block; |
|
|
|
border-radius: 50%; |
|
|
|
background-color: #e7f5ff; |
|
|
|
// background-color: #e7f5ff; |
|
|
|
} |
|
|
|
|
|
|
|
.pen2 { |
|
|
|