地图找人 点击头像直接跳转到技师主页
This commit is contained in:
parent
78562262b0
commit
83cef0a93d
|
@ -1013,7 +1013,33 @@
|
|||
let that = this;
|
||||
webMap.addMarker(uni.amap, map, this.orderList, (e, udata) => {
|
||||
that.currentMarkerIndex = udata.userId;
|
||||
that.showPopup = true;
|
||||
// that.showPopup = true;
|
||||
console.log('授权', uni.getStorageSync('sendMsg'))
|
||||
if (uni.getStorageSync('sendMsg')) {
|
||||
console.log('授权+1')
|
||||
wx.requestSubscribeMessage({
|
||||
tmplIds: this.arr,
|
||||
success(re) {
|
||||
var datas = JSON.stringify(re);
|
||||
if (datas.indexOf("accept") != -1) {
|
||||
console.log(re)
|
||||
}
|
||||
},
|
||||
fail: (res) => {
|
||||
console.log(res)
|
||||
}
|
||||
})
|
||||
}
|
||||
if (this.token) {
|
||||
uni.navigateTo({
|
||||
url: '/pages/therapist/orderDetail?artificerId=' + udata.artificerId + "&classifyId=" + this
|
||||
.tabIndex
|
||||
});
|
||||
} else {
|
||||
uni.navigateTo({
|
||||
url: '/pages/public/login'
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
updateMarker(map) {
|
||||
|
|
Loading…
Reference in New Issue