Commit 02796097 authored by 郭晓清's avatar 郭晓清

1、渠道标记

2、地图定位不准修复
parent a7fd455c
......@@ -293,12 +293,11 @@
// uni.getLocation({
// type: 'gcj02', //返回可以用于uni.openLocation的经纬度
// success: function (res) {
debugger
const latitude = this.contactAddressLatitud //res.latitude;
const longitude =this.contactAddressLongitud //res.longitude;
const latitude = this.order.contactAddressLatitud //res.latitude;
const longitude =this.order.contactAddressLongitud //res.longitude;
uni.openLocation({
latitude: Number(this.contactAddressLatitud),
longitude: Number(this.contactAddressLongitud),
latitude: Number(latitude),
longitude: Number(longitude),
success: function () {
console.log('success');
}
......@@ -574,9 +573,9 @@
// 不同请求类型传递不同数据
if(this.submitType === 'orderAccept'){ // 接单
data.orderId = this.order.orderId
data.channel = 'zypt'
}else if(this.submitType === 'orderGan'){ // 抢单
data.orderId = this.order.orderId
data.channel = 4
}else if(this.submitType === 'workerAppointment'){ // 预约
data.appointmentDatetime =this.appointmentDatetime
if(!data.appointmentDatetime ){
......@@ -596,6 +595,7 @@
return
}
}
data.channel = 4
data.exception = this.isErrorSign
data.coordinate = this.dataValue ? this.dataValue[0]+','+this.dataValue[1]:''
data.url = this.errorSignUrl?this.errorSignUrl:''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment