|
@@ -125,7 +125,7 @@
|
|
<span v-if="!curDateIsUpload" style="text-align: left;" class="vongi-yidi-location" @click="getPoint"
|
|
<span v-if="!curDateIsUpload" style="text-align: left;" class="vongi-yidi-location" @click="getPoint"
|
|
|
|
|
|
>{{report.address}}<i class="mui-icon mui-icon-location" style="color: #096DD9;font-size: 13px;">重新定位</i></span>
|
|
>{{report.address}}<i class="mui-icon mui-icon-location" style="color: #096DD9;font-size: 13px;">重新定位</i></span>
|
|
- <span v-if="curDateIsUpload" class="vongi-yidi-location aaa" >{{address?address:report.address}}</span>
|
|
|
|
|
|
+ <span v-if="curDateIsUpload" class="vongi-yidi-location aaa" style="text-align: left;" >{{address?address:report.address}}</span>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@@ -197,7 +197,7 @@
|
|
|
|
|
|
longitude: 112.276527,
|
|
longitude: 112.276527,
|
|
latitude: 30.306427,
|
|
latitude: 30.306427,
|
|
- address: '湖北省荆州市江津东路附155号荆鹏软件园',
|
|
|
|
|
|
+ address: '定位中……',
|
|
},
|
|
},
|
|
address:'',
|
|
address:'',
|
|
curDateIsUpload: false,
|
|
curDateIsUpload: false,
|
|
@@ -271,8 +271,8 @@
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
getPoint(){
|
|
getPoint(){
|
|
- this.report.address=='定位中……';
|
|
|
|
- this.isLoading = true;
|
|
|
|
|
|
+ this.report.address='定位中……';
|
|
|
|
+ //this.isLoading = true;
|
|
WxJsApi.getLocation().then((res) => {
|
|
WxJsApi.getLocation().then((res) => {
|
|
this.isLoading = false;
|
|
this.isLoading = false;
|
|
|
|
|