Compare commits

..

No commits in common. "79323512c8bcf3edcf269cee0c689b0d6314c25f" and "725c1c10fa140f1008d9ec20d1782e4bc2c06360" have entirely different histories.

3 changed files with 33 additions and 48 deletions

View File

@ -479,14 +479,12 @@
},
liliaoshi(){
let massageTypeId = this.orderXm.massageTypeId;
let longitude = this.longitude;
let latitude = this.latitude;
uni.setStorage({
key: 'taocanDd',
data: '支付',
success: function () {
uni.navigateTo({
url: '/pages/therapist/therapistDingdan?massageTypeId='+massageTypeId+'&latitude='+latitude+'&longitude='+longitude
url: '/pages/therapist/therapistDingdan?massageTypeId='+massageTypeId
})
}
});
@ -514,6 +512,7 @@
},
addressMy() {
this.$Request.getT('/app/address/selectAddressById').then(res => {
console.log(res)
if (res.code == 0) {
this.name = res.data.name;
this.mobile = res.data.phone;
@ -562,6 +561,7 @@
},
changeLog(e){//
console.log("11111",e)
this.single=e;
},
goChat() {

View File

@ -495,14 +495,12 @@
liliaoshi(){
var that=this
let massageTypeId = that.orderXm.massageTypeId;
let longitude = that.longitude;
let latitude = that.latitude;
uni.setStorage({
key: 'taocanDd',
data: '我的套餐',
success: function () {
uni.navigateTo({
url: '/pages/therapist/therapistDingdan?technicianType='+that.orderXm.level+'&massageTypeId='+massageTypeId+'&latitude='+latitude+'&longitude='+longitude
url: '/pages/therapist/therapistDingdan?technicianType='+that.orderXm.level+'&massageTypeId='+massageTypeId
})
}
});

View File

@ -224,8 +224,6 @@
let that = this
that.technicianType=e.technicianType
that.massageTypeId=e.massageTypeId
that.longitude=e.longitude
that.latitude=e.latitude
// that.getLocation();//
// that.getLocation(true);//
uni.getStorage({
@ -235,46 +233,34 @@
}
});
that.getTypeList();
if(that.latitude!='' && that.longitude!=''){
uni.setStorageSync('latitude', that.latitude)
uni.setStorageSync('longitude', that.longitude)
if (that.amap) {
that.amap.setCenter(new AMap.LngLat(that.latitude, that.longitude));
}
if (that.infoWindow) {
that.infoWindow.setPosition(new TMap.LatLng(that.latitude, that.longitude));
}
that.page = 1
that.getTypeList();
}else{
uni.getLocation({
type: 'gcj02',
geocode: true, //true
highAccuracyExpireTime: 500,
success: function(res) {
console.log(res, '地理位置-----------------------》')
that.latitude = res.latitude
that.longitude = res.longitude
uni.setStorageSync('latitude', res.latitude)
uni.setStorageSync('longitude', res.longitude)
if (that.amap) {
that.amap.setCenter(new AMap.LngLat(res.latitude, res.longitude));
}
if (that.infoWindow) {
that.infoWindow.setPosition(new TMap.LatLng(res.latitude, res.longitude));
}
that.page = 1
that.getTypeList();
},
fail: function(e) {
console.log('获取地址失败1', e)
// #ifdef APP-PLUS
that.checkPermission();
// #endif
uni.getLocation({
type: 'gcj02',
geocode: true, //true
highAccuracyExpireTime: 500,
success: function(res) {
console.log(res, '地理位置-----------------------》')
that.latitude = res.latitude
that.longitude = res.longitude
uni.setStorageSync('latitude', res.latitude)
uni.setStorageSync('longitude', res.longitude)
if (that.amap) {
that.amap.setCenter(new AMap.LngLat(res.latitude, res.longitude));
}
})
}
if (that.infoWindow) {
that.infoWindow.setPosition(new TMap.LatLng(res.latitude, res.longitude));
}
that.page = 1
that.getTypeList();
},
fail: function(e) {
console.log('获取地址失败1', e)
// #ifdef APP-PLUS
that.checkPermission();
// #endif
}
})
//
if (e.invitation) {
that.$queue.setData('inviterCode', e.invitation);
@ -355,6 +341,7 @@
wx.requestSubscribeMessage({
tmplIds: this.arr,
success(re) {
console.log(JSON.stringify(re), 111111111111)
var datas = JSON.stringify(re);
if (datas.indexOf("accept") != -1) {
console.log(re)
@ -673,7 +660,7 @@
city: this.city,
technicianType:this.technicianType
}
console.log(data)
// console.log(data)
this.$Request.get("/app/artificer/selectArtificerList", data).then(res => {
this.loading = false;
if (res.code == 0) {