|
|
|
@ -1339,7 +1339,6 @@ |
|
|
|
this.checkYongjin = false |
|
|
|
this.searchForm.order = '' |
|
|
|
} |
|
|
|
console.log("shuaxin") |
|
|
|
this.searchForm.pageNum = 1 |
|
|
|
this.getDelivery(); |
|
|
|
}, |
|
|
|
@ -1350,16 +1349,13 @@ |
|
|
|
type: 'gcj02', // 返回国测局坐标,用于微信小程序地图组件 |
|
|
|
isHighAccuracy:true, |
|
|
|
success: (res) => { |
|
|
|
console.log('位置', res) |
|
|
|
that.latitude = res.latitude; |
|
|
|
that.longitude = res.longitude; |
|
|
|
that.tui.request('/worker/admin/editLocation', "POST", {workerId:id,geolocation:that.latitude + ',' + that.longitude}, false, false,true).then((res) => { |
|
|
|
|
|
|
|
}).catch((res) => {}); |
|
|
|
}, |
|
|
|
fail: (err) => { |
|
|
|
console.log('获取位置失败', err); |
|
|
|
} |
|
|
|
fail: (err) => {} |
|
|
|
}); |
|
|
|
}, |
|
|
|
checkTab1(type) { |
|
|
|
|