|
@@ -35,7 +35,7 @@
|
|
|
<!-- 送车到站显示信息结束 -->
|
|
<!-- 送车到站显示信息结束 -->
|
|
|
<!-- 上门取车显示信息开始 -->
|
|
<!-- 上门取车显示信息开始 -->
|
|
|
<view class="car_data" v-if="form.checkType == 0">
|
|
<view class="car_data" v-if="form.checkType == 0">
|
|
|
- <view class="car_id user_name" >
|
|
|
|
|
|
|
+ <view class="car_id user_name">
|
|
|
<span style="display: block;padding: 0px;">用户姓名:{{form.contactsName}}</span>
|
|
<span style="display: block;padding: 0px;">用户姓名:{{form.contactsName}}</span>
|
|
|
<span class="call">
|
|
<span class="call">
|
|
|
<image src="/static/order/call.png" mode=""></image> 联系客户
|
|
<image src="/static/order/call.png" mode=""></image> 联系客户
|
|
@@ -44,46 +44,47 @@
|
|
|
<view class="car_address">
|
|
<view class="car_address">
|
|
|
<view class="address">
|
|
<view class="address">
|
|
|
送/取车地址:{{form.carAddress}}
|
|
送/取车地址:{{form.carAddress}}
|
|
|
- <image src="/static/order/address.png" mode="" @click="navigation(form.userLongitude,form.userLatitude,form.carAddress)"></image>
|
|
|
|
|
|
|
+ <image src="/static/order/address.png" mode=""
|
|
|
|
|
+ @click="navigation(form.userLongitude,form.userLatitude,form.carAddress)"></image>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="car_license">
|
|
<view class="car_license">
|
|
|
车牌号:{{form.licenseNo}}
|
|
车牌号:{{form.licenseNo}}
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<!-- 上门取车显示信息结束 -->
|
|
<!-- 上门取车显示信息结束 -->
|
|
|
<!-- 救援显示信息开始 -->
|
|
<!-- 救援显示信息开始 -->
|
|
|
- <view class="car_data" v-if="form.checkType > 20">
|
|
|
|
|
- <view class="name">
|
|
|
|
|
- <view class="user_name">
|
|
|
|
|
- 用户姓名:{{form.contactsName}}
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="call" @click="callUser">
|
|
|
|
|
- <image src="/static/order/call.png" mode=""></image>
|
|
|
|
|
- 联系客户
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="address">
|
|
|
|
|
- <view class="location">
|
|
|
|
|
- <span style="font-weight: 600;">救援地址:</span>
|
|
|
|
|
- {{form.carAddress}}
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="go" @click="navigation(form.userLongitude,form.userLatitude,form.carAddress)">
|
|
|
|
|
- <image src="/static/order/address.png" mode=""></image>
|
|
|
|
|
- 导航
|
|
|
|
|
|
|
+ <view class="car_data" v-if="form.checkType > 20">
|
|
|
|
|
+ <view class="name">
|
|
|
|
|
+ <view class="user_name">
|
|
|
|
|
+ 用户姓名:{{form.contactsName}}
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="call" @click="callUser">
|
|
|
|
|
+ <image src="/static/order/call.png" mode=""></image>
|
|
|
|
|
+ 联系客户
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</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 class="address">
|
|
|
|
|
+ <view class="location">
|
|
|
|
|
+ <span style="font-weight: 600;">救援地址:</span>
|
|
|
|
|
+ {{form.carAddress}}
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="go" @click="navigation(form.userLongitude,form.userLatitude,form.carAddress)">
|
|
|
|
|
+ <image src="/static/order/address.png" mode=""></image>
|
|
|
|
|
+ 导航
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="go" @click="navigation(form.deliveryLongitude,form.deliveryLatitude,form.deliveryAddr)">
|
|
|
|
|
- <image src="/static/order/address.png" mode=""></image>
|
|
|
|
|
- 导航
|
|
|
|
|
|
|
+ <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>
|
|
|
</view>
|
|
</view>
|
|
|
- </view>
|
|
|
|
|
<view class="car_id">
|
|
<view class="car_id">
|
|
|
车牌号:{{form.licenseNo}}
|
|
车牌号:{{form.licenseNo}}
|
|
|
</view>
|
|
</view>
|
|
@@ -197,7 +198,7 @@
|
|
|
<view class="item_child">
|
|
<view class="item_child">
|
|
|
<span>商家地址:</span>
|
|
<span>商家地址:</span>
|
|
|
<view class="center">
|
|
<view class="center">
|
|
|
- {{form.merAddress}}
|
|
|
|
|
|
|
+ {{form.merAddress}}
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="item_child">
|
|
<view class="item_child">
|
|
@@ -378,7 +379,7 @@
|
|
|
paramState: null,
|
|
paramState: null,
|
|
|
titleCheckType: null, //接单提示区分
|
|
titleCheckType: null, //接单提示区分
|
|
|
serveType: '', //服务类型
|
|
serveType: '', //服务类型
|
|
|
- rightsId:''
|
|
|
|
|
|
|
+ rightsId: ''
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
@@ -410,7 +411,7 @@
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
//俩系客服
|
|
//俩系客服
|
|
|
- callService(){
|
|
|
|
|
|
|
+ callService() {
|
|
|
uni.makePhoneCall({
|
|
uni.makePhoneCall({
|
|
|
phoneNumber: this.form.custSerPhone,
|
|
phoneNumber: this.form.custSerPhone,
|
|
|
success: () => {
|
|
success: () => {
|
|
@@ -443,7 +444,7 @@
|
|
|
// 查看实况记录
|
|
// 查看实况记录
|
|
|
goLive() {
|
|
goLive() {
|
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
|
- url: '/pages/order/serviceOrder/live?taskId=' + this.taskId +'&checkType='+this.form.checkType
|
|
|
|
|
|
|
+ url: '/pages/order/serviceOrder/live?taskId=' + this.taskId + '&checkType=' + this.form.checkType
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
// 查看图片
|
|
// 查看图片
|
|
@@ -597,7 +598,7 @@
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
//导航
|
|
//导航
|
|
|
- navigation(longitude,latitude,name){
|
|
|
|
|
|
|
+ navigation(longitude, latitude, name) {
|
|
|
console.log(this.form)
|
|
console.log(this.form)
|
|
|
// uni.openLocation({
|
|
// uni.openLocation({
|
|
|
// longitude: Number(this.form.userLongitude),
|
|
// longitude: Number(this.form.userLongitude),
|
|
@@ -614,7 +615,7 @@
|
|
|
uni.openLocation({
|
|
uni.openLocation({
|
|
|
longitude: Number(longitude),
|
|
longitude: Number(longitude),
|
|
|
latitude: Number(latitude),
|
|
latitude: Number(latitude),
|
|
|
- name:name,
|
|
|
|
|
|
|
+ name: name,
|
|
|
// name: this.form.carAddress, // 位置名称
|
|
// name: this.form.carAddress, // 位置名称
|
|
|
// address: e.F_Address, // 位置地点
|
|
// address: e.F_Address, // 位置地点
|
|
|
success: function(res) {
|
|
success: function(res) {
|
|
@@ -678,13 +679,28 @@
|
|
|
},
|
|
},
|
|
|
//救援到达现场
|
|
//救援到达现场
|
|
|
arrive() {
|
|
arrive() {
|
|
|
- this.taskId = this.form.taskId
|
|
|
|
|
- this.checkType = this.form.checkType
|
|
|
|
|
- this.uptype = 4 //道路救援
|
|
|
|
|
- this.paramState = '06'
|
|
|
|
|
- this.serveType = '02'
|
|
|
|
|
- this.isUpload = true
|
|
|
|
|
|
|
+ // this.taskId = this.form.taskId
|
|
|
|
|
+ // this.checkType = this.form.checkType
|
|
|
|
|
+ // this.uptype = 4 //道路救援
|
|
|
|
|
+ // this.paramState = '06'
|
|
|
|
|
+ // this.serveType = '02'
|
|
|
|
|
+ // this.isUpload = true
|
|
|
// this.getDeatil()
|
|
// this.getDeatil()
|
|
|
|
|
+ let params = {
|
|
|
|
|
+ taskId: this.form.taskId,
|
|
|
|
|
+ checkType: this.form.checkType,
|
|
|
|
|
+ uptype: 4, // 道路救援
|
|
|
|
|
+ paramState: '06',
|
|
|
|
|
+ serveType: '02',
|
|
|
|
|
+ jumptype:1
|
|
|
|
|
+ // isUpload: true
|
|
|
|
|
+ }
|
|
|
|
|
+ let queryString = Object.keys(params)
|
|
|
|
|
+ .map(key => `${key}=${encodeURIComponent(params[key])}`)
|
|
|
|
|
+ .join('&');
|
|
|
|
|
+ uni.navigateTo({
|
|
|
|
|
+ url: '/pages/order/arriveUpload?${queryString}'
|
|
|
|
|
+ })
|
|
|
},
|
|
},
|
|
|
help() {
|
|
help() {
|
|
|
this.taskId = this.form.taskId
|
|
this.taskId = this.form.taskId
|
|
@@ -879,17 +895,20 @@
|
|
|
margin-top: 12rpx;
|
|
margin-top: 12rpx;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- .name{
|
|
|
|
|
|
|
+
|
|
|
|
|
+ .name {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
border-bottom: 1px solid #eeeeee;
|
|
border-bottom: 1px solid #eeeeee;
|
|
|
padding-bottom: 14rpx;
|
|
padding-bottom: 14rpx;
|
|
|
- .user_name{
|
|
|
|
|
|
|
+
|
|
|
|
|
+ .user_name {
|
|
|
font-weight: 600;
|
|
font-weight: 600;
|
|
|
font-size: 30rpx;
|
|
font-size: 30rpx;
|
|
|
}
|
|
}
|
|
|
- .call{
|
|
|
|
|
|
|
+
|
|
|
|
|
+ .call {
|
|
|
width: 156rpx;
|
|
width: 156rpx;
|
|
|
height: 48rpx;
|
|
height: 48rpx;
|
|
|
background: #F4F9FE;
|
|
background: #F4F9FE;
|
|
@@ -899,36 +918,42 @@
|
|
|
justify-content: center;
|
|
justify-content: center;
|
|
|
font-size: 24rpx;
|
|
font-size: 24rpx;
|
|
|
color: #2D88F4;
|
|
color: #2D88F4;
|
|
|
- image{
|
|
|
|
|
|
|
+
|
|
|
|
|
+ image {
|
|
|
width: 28rpx;
|
|
width: 28rpx;
|
|
|
height: 28rpx;
|
|
height: 28rpx;
|
|
|
margin-right: 8rpx;
|
|
margin-right: 8rpx;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- .address{
|
|
|
|
|
|
|
+
|
|
|
|
|
+ .address {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: start;
|
|
align-items: start;
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
margin-top: 16rpx;
|
|
margin-top: 16rpx;
|
|
|
margin-bottom: 12rpx;
|
|
margin-bottom: 12rpx;
|
|
|
- .location{
|
|
|
|
|
|
|
+
|
|
|
|
|
+ .location {
|
|
|
font-size: 26rpx;
|
|
font-size: 26rpx;
|
|
|
}
|
|
}
|
|
|
- .go{
|
|
|
|
|
|
|
+
|
|
|
|
|
+ .go {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
font-size: 18rpx;
|
|
font-size: 18rpx;
|
|
|
- color: rgba(45,136,244,0.96);
|
|
|
|
|
- image{
|
|
|
|
|
|
|
+ color: rgba(45, 136, 244, 0.96);
|
|
|
|
|
+
|
|
|
|
|
+ image {
|
|
|
width: 44rpx;
|
|
width: 44rpx;
|
|
|
height: 44rpx;
|
|
height: 44rpx;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- .car_id{
|
|
|
|
|
|
|
+
|
|
|
|
|
+ .car_id {
|
|
|
font-size: 26rpx;
|
|
font-size: 26rpx;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|