|
|
@@ -44,7 +44,7 @@
|
|
|
<view class="car_address">
|
|
|
<view class="address">
|
|
|
送/取车地址:{{form.carAddress}}
|
|
|
- <image src="/static/order/address.png" mode="" @click="navigation(form.userLongitude,form.userLatitude)"></image>
|
|
|
+ <image src="/static/order/address.png" mode="" @click="navigation(form.userLongitude,form.userLatitude,form.carAddress)"></image>
|
|
|
</view>
|
|
|
<view class="car_license">
|
|
|
车牌号:{{form.licenseNo}}
|
|
|
@@ -69,7 +69,17 @@
|
|
|
<span style="font-weight: 600;">救援地址:</span>
|
|
|
{{form.carAddress}}
|
|
|
</view>
|
|
|
- <view class="go" @click="navigation(form.userLongitude,form.userLatitude)">
|
|
|
+ <view class="go" @click="navigation(form.userLongitude,form.userLatitude,form.carAddress)">
|
|
|
+ <image src="/static/order/address.png" mode=""></image>
|
|
|
+ 导航
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="address" v-if="form.checkType==23" style="margin-top: 20rpx;">
|
|
|
+ <view class="location">
|
|
|
+ <span style="font-weight: 600;">送达地址:</span>
|
|
|
+ {{form.deliveryAddr}}
|
|
|
+ </view>
|
|
|
+ <view class="go" @click="navigation(form.deliveryLongitude,form.deliveryLatitude,form.deliveryAddr)">
|
|
|
<image src="/static/order/address.png" mode=""></image>
|
|
|
导航
|
|
|
</view>
|
|
|
@@ -323,7 +333,7 @@
|
|
|
到达现场
|
|
|
</view>
|
|
|
<view class="accept" @click.stop="help"
|
|
|
- v-if="form.statusCode ==4 && form.flowStatus=='07' || form.flowStatus=='06'|| form.flowStatus=='08'">
|
|
|
+ v-if="(form.statusCode ==4 && form.flowStatus=='07' || form.flowStatus=='06'|| form.flowStatus=='08')">
|
|
|
救援完成
|
|
|
</view>
|
|
|
<view class="accept" @click.stop="evaluate" v-if=" form.flowStatus =='12' ">
|
|
|
@@ -586,7 +596,7 @@
|
|
|
})
|
|
|
},
|
|
|
//导航
|
|
|
- navigation(longitude,latitude){
|
|
|
+ navigation(longitude,latitude,name){
|
|
|
console.log(this.form)
|
|
|
// uni.openLocation({
|
|
|
// longitude: Number(this.form.userLongitude),
|
|
|
@@ -603,7 +613,8 @@
|
|
|
uni.openLocation({
|
|
|
longitude: Number(longitude),
|
|
|
latitude: Number(latitude),
|
|
|
- name: this.form.carAddress, // 位置名称
|
|
|
+ name:name,
|
|
|
+ // name: this.form.carAddress, // 位置名称
|
|
|
// address: e.F_Address, // 位置地点
|
|
|
success: function(res) {
|
|
|
console.log('打开系统位置地图成功')
|