|
@@ -48,7 +48,7 @@
|
|
|
<u-icon name="checkmark-circle-fill" color="#da0808" size="28"></u-icon>
|
|
|
您已超出考勤范围:{{payeeinfo.roadName}}
|
|
|
</view>
|
|
|
- <view class="statistics u-flex">
|
|
|
+ <!-- <view class="statistics u-flex">
|
|
|
<view class="statistics-item">
|
|
|
<view class="statistics-item-til">本月已打卡</view>
|
|
|
<view class="statistics-item-con">
|
|
@@ -63,15 +63,17 @@
|
|
|
天
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
+
|
|
|
+ <map id="navmap" scale="13" :latitude="latitude" :longitude="longitude" :markers="covers" ></map>
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
- <u-bottom color="#949494">
|
|
|
+ <!-- <u-bottom color="#949494">
|
|
|
<view class="bottom" slot="content">
|
|
|
城市智慧停车 版权所有
|
|
|
</view>
|
|
|
- </u-bottom>
|
|
|
+ </u-bottom> -->
|
|
|
|
|
|
<u-popup class="remark" v-model="remarkPopupShow" @close="remarkClose" mode="bottom">
|
|
|
<u-button class="submit-btn" type="primary" size="mini" @click="getPunchIn">打卡</u-button>
|
|
@@ -105,6 +107,10 @@
|
|
|
remarkTip:'',
|
|
|
remark:'',
|
|
|
workType:1,
|
|
|
+ // 地图
|
|
|
+ covers: [],
|
|
|
+ latitude: '',
|
|
|
+ longitude: '',
|
|
|
}
|
|
|
},
|
|
|
onLoad(){
|
|
@@ -249,7 +255,14 @@
|
|
|
// type: 'success',
|
|
|
// });
|
|
|
this.payeeinfo ={...this.payeeinfo,...res.data};
|
|
|
-
|
|
|
+ // console.log('getPunchInfo res',res);
|
|
|
+ this.latitude = res.data.latitude;
|
|
|
+ this.longitude = res.data.longitude;
|
|
|
+ let mark = {
|
|
|
+ latitude:res.data.latitude,
|
|
|
+ longitude:res.data.longitude
|
|
|
+ };
|
|
|
+ this.covers.push(mark);
|
|
|
if(!res.data.isPunchIn){//还未打上班卡
|
|
|
this.workType = 1;
|
|
|
}
|