diff --git a/src/project/biaopin/AppFormReview/Add.vue b/src/project/biaopin/AppFormReview/Add.vue
index 33167ee4..b5ee921b 100644
--- a/src/project/biaopin/AppFormReview/Add.vue
+++ b/src/project/biaopin/AppFormReview/Add.vue
@@ -15,6 +15,11 @@
+
+
+ {{ forms.address }}
+
+
@@ -59,9 +64,9 @@ export default {
this.forms.girdId = this.user.girdId
this.forms.girdMemberId = this.user.girdMemberId
this.$dict.load(['wyGirdNewsType'])
- this.forms.lng = '114.305000'
- this.forms.lat = '30.592800'
- // this.getLocation()
+ // this.forms.lng = '114.305000'
+ // this.forms.lat = '30.592800'
+ this.getLocation()
},
onShow() {
document.title = '网格动态'
@@ -97,13 +102,13 @@ export default {
},
getLocation () {
- this.injectJWeixin(['getLocation']).then(res => {
+ this.injectJWeixin(['getLocation']).then(res1 => {
wx.getLocation({
type: 'wgs84',
- success: res => {
- this.forms.lng = res.longitude
- this.forms.lat = res.latitude
- this.$http.post('/api/appdvcpconfig/apiForward', `https://apis.map.qq.com/ws/geocoder/v1/?location=${res.latitude},${res.longitude}&key=3RZBZ-LZUCF-CT6J5-NWKZH-FCWOQ-UUFKY&get_poi=1`).then(res => {
+ success: res2 => {
+ this.forms.lng = res2.longitude
+ this.forms.lat = res2.latitude
+ this.$http.post('/api/appdvcpconfig/apiForward', `https://apis.map.qq.com/ws/geocoder/v1/?location=${res2.latitude},${res2.longitude}&key=3RZBZ-LZUCF-CT6J5-NWKZH-FCWOQ-UUFKY&get_poi=1`).then(res => {
if (res.code === 0) {
this.forms.address = res.data.result.address
}
diff --git a/src/project/biaopin/AppFormReview/Detail.vue b/src/project/biaopin/AppFormReview/Detail.vue
index 26a22950..65a43f81 100644
--- a/src/project/biaopin/AppFormReview/Detail.vue
+++ b/src/project/biaopin/AppFormReview/Detail.vue
@@ -19,7 +19,12 @@
类型
{{$dict.getLabel('wyGirdNewsType', data.type)}}
-
+
+ 地址
+
+
+ {{data.address}}
+