|
|
|
@ -8,9 +8,9 @@ |
|
|
|
|
<text class="detail-title big-font">{{ pointDetail.patrolPointName }}</text> |
|
|
|
|
<text class="detail-status small-font" :class="pointDetail.checkDate != ''?'detail-status-on':'detail-status'">{{ pointDetail.checkDate != '' ? '已打卡' : '未打卡' }}</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="detail-box"> |
|
|
|
|
<view class="detail-box"> |
|
|
|
|
<view>开始时间:{{ pointDetail.patrolDate }}</view> |
|
|
|
|
<view>开始时间:{{ pointDetail.checkDate }}</view> |
|
|
|
|
<view>打开时间:{{ pointDetail.checkDate }}</view> |
|
|
|
|
<view>打卡方式:{{ pointDetail.checkInWay }}</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
@ -224,17 +224,25 @@ export default { |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
markertap(val) { |
|
|
|
|
console.log(val); |
|
|
|
|
//模拟点位数据 |
|
|
|
|
this.pointDetail = { |
|
|
|
|
patrolDate: '2023-03-03 09:10', |
|
|
|
|
patrolPointName: '嵩山打卡点3', |
|
|
|
|
checkDate: '2023-03-03 15:31:24', |
|
|
|
|
longitude: '114.14', |
|
|
|
|
dimension: '38.52', |
|
|
|
|
checkInWay: '扫码,刷脸' |
|
|
|
|
}; |
|
|
|
|
this.$refs.popup.open('bottom'); |
|
|
|
|
console.log(val); |
|
|
|
|
this.pointDetail = { |
|
|
|
|
patrolPointName: this.datas[val.detail.markerId].patrolPointName, |
|
|
|
|
checkDate: this.datas[val.detail.markerId].checkDate, |
|
|
|
|
longitude: this.datas[val.detail.markerId].longitude, |
|
|
|
|
dimension: this.datas[val.detail.markerId].dimension, |
|
|
|
|
checkInWay: this.datas[val.detail.markerId].checkInWay |
|
|
|
|
}; |
|
|
|
|
this.$refs.popup.open('bottom'); |
|
|
|
|
|
|
|
|
|
// this.pointDetail = { |
|
|
|
|
// patrolDate: '2023-03-03 09:10', |
|
|
|
|
// patrolPointName: '嵩山打卡点3', |
|
|
|
|
// checkDate: '2023-03-03 15:31:24', |
|
|
|
|
// longitude: '114.14', |
|
|
|
|
// dimension: '38.52', |
|
|
|
|
// checkInWay: '扫码,刷脸' |
|
|
|
|
// }; |
|
|
|
|
// this.$refs.popup.open('bottom'); |
|
|
|
|
}, |
|
|
|
|
// 巡更轨迹 |
|
|
|
|
getPatrollingTrajectory(){ |
|
|
|
@ -262,7 +270,7 @@ export default { |
|
|
|
|
longitude: item.longitude, |
|
|
|
|
width: 20, |
|
|
|
|
height: 30, |
|
|
|
|
id: index + 1, |
|
|
|
|
id: index, |
|
|
|
|
alpha: 0.7, |
|
|
|
|
// #ifdef H5 |
|
|
|
|
iconPath: '../../../static/activity_pin.png' |
|
|
|
|