|
@@ -459,8 +459,8 @@ export default {
|
|
|
this.city = data.ad_info.province+data.ad_info.city+data.ad_info.district
|
|
this.city = data.ad_info.province+data.ad_info.city+data.ad_info.district
|
|
|
this.areaCode = data.ad_info.adcode;
|
|
this.areaCode = data.ad_info.adcode;
|
|
|
this.morCity = [this.areaCode.substring(0,2)+'0000',this.areaCode.substring(0,4)+'00',this.areaCode]
|
|
this.morCity = [this.areaCode.substring(0,2)+'0000',this.areaCode.substring(0,4)+'00',this.areaCode]
|
|
|
- this.longitude = data.ad_info.location.lng
|
|
|
|
|
- this.latitude = data.ad_info.location.lat
|
|
|
|
|
|
|
+ this.longitude = data.location.lng
|
|
|
|
|
+ this.latitude = data.location.lat
|
|
|
}).catch(err => {
|
|
}).catch(err => {
|
|
|
console.log(err);
|
|
console.log(err);
|
|
|
});
|
|
});
|
|
@@ -473,8 +473,8 @@ export default {
|
|
|
this.city = data.ad_info.province+data.ad_info.city+data.ad_info.district
|
|
this.city = data.ad_info.province+data.ad_info.city+data.ad_info.district
|
|
|
this.areaCode = data.ad_info.adcode;
|
|
this.areaCode = data.ad_info.adcode;
|
|
|
this.morCity = [this.areaCode.substring(0,2)+'0000',this.areaCode.substring(0,4)+'00',this.areaCode]
|
|
this.morCity = [this.areaCode.substring(0,2)+'0000',this.areaCode.substring(0,4)+'00',this.areaCode]
|
|
|
- this.longitude = data.ad_info.location.lng
|
|
|
|
|
- this.latitude = data.ad_info.location.lat
|
|
|
|
|
|
|
+ this.longitude = data.location.lng
|
|
|
|
|
+ this.latitude = data.location.lat
|
|
|
});
|
|
});
|
|
|
//#endif
|
|
//#endif
|
|
|
},
|
|
},
|
|
@@ -525,6 +525,7 @@ export default {
|
|
|
dataP.styleImg = this.styleImgUrls.join(',');
|
|
dataP.styleImg = this.styleImgUrls.join(',');
|
|
|
dataP.companyCode = this.companyCode
|
|
dataP.companyCode = this.companyCode
|
|
|
var url = '';
|
|
var url = '';
|
|
|
|
|
+ console.log(dataP)
|
|
|
if (this.id) {
|
|
if (this.id) {
|
|
|
dataP.id = this.id;
|
|
dataP.id = this.id;
|
|
|
uni.showModal({
|
|
uni.showModal({
|