1
This commit is contained in:
parent
d0eedf37dc
commit
ca591d5aeb
@ -50,6 +50,9 @@
|
|||||||
<template v-else-if="orderData.rescueStatus > 2">
|
<template v-else-if="orderData.rescueStatus > 2">
|
||||||
<view @click.stop="gettel" class="orderCardBtnGroupItem">联系司机</view>
|
<view @click.stop="gettel" class="orderCardBtnGroupItem">联系司机</view>
|
||||||
</template>
|
</template>
|
||||||
|
<template v-if="orderData.orderStatus == 3 && orderData.isWeiXiu!=='1'">
|
||||||
|
<view @click.stop="toRepair(orderData.id)" class="orderCardBtnGroupItem">转维修</view>
|
||||||
|
</template>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -125,6 +128,23 @@
|
|||||||
default:
|
default:
|
||||||
return ''
|
return ''
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
toRepair(id){
|
||||||
|
let data ={
|
||||||
|
id: id
|
||||||
|
}
|
||||||
|
request({
|
||||||
|
url: '/app/rescueInfo/toRepair',
|
||||||
|
method: 'post',
|
||||||
|
params: data
|
||||||
|
}).then((res) => {
|
||||||
|
if (res.code == 200) {
|
||||||
|
uni.showToast({
|
||||||
|
title: '操作成功'
|
||||||
|
})
|
||||||
|
this.$emit('refresh')
|
||||||
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
onShowDetail() {
|
onShowDetail() {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
<image src="../../static/quesheng.png" mode=""></image>
|
<image src="../../static/quesheng.png" mode=""></image>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<order-card-vue :status="gindex" v-for="(item,index) in orderList" :key="index" :orderData="item"></order-card-vue>
|
<order-card-vue @refresh="getlist" :status="gindex" v-for="(item,index) in orderList" :key="index" :orderData="item"></order-card-vue>
|
||||||
<!-- <view class="boxt" v-for="(item,index) in orderList" :key="index" @click="godetail(item.id)">
|
<!-- <view class="boxt" v-for="(item,index) in orderList" :key="index" @click="godetail(item.id)">
|
||||||
<view class="boxt-left">
|
<view class="boxt-left">
|
||||||
<view class="left-lan">
|
<view class="left-lan">
|
||||||
|
@ -48,6 +48,11 @@
|
|||||||
</image>
|
</image>
|
||||||
</view>
|
</view>
|
||||||
<view style="color: #000;font-size: 34rpx;font-weight: bold;padding: 24rpx 0;">救援信息</view>
|
<view style="color: #000;font-size: 34rpx;font-weight: bold;padding: 24rpx 0;">救援信息</view>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- rescueType = 5 -->
|
||||||
|
|
||||||
|
|
||||||
<!-- 填空 -->
|
<!-- 填空 -->
|
||||||
<view class="jyxx">
|
<view class="jyxx">
|
||||||
<view class="jyxx-tinput" @click="show = true" v-if="isAppointment == 1">
|
<view class="jyxx-tinput" @click="show = true" v-if="isAppointment == 1">
|
||||||
@ -111,6 +116,28 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="xinput" v-if="rescueType !== 5">
|
||||||
|
<view class="text1"> <text class="hong1">*</text> 是否扣车</view>
|
||||||
|
<view class="xz" style="flex-wrap: wrap;row-gap: 20rpx">
|
||||||
|
<view :class="{'xlan': isKouChe==='1'}" class="kuang" @click="isKouChe = '1'">
|
||||||
|
<view class="">是</view>
|
||||||
|
</view>
|
||||||
|
<view :class="{'xlan': isKouChe==='0'}" class="kuang" @click="isKouChe = '0'">
|
||||||
|
<view class="">否</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<!-- <view class="xinput" v-if="rescueType !== 5">
|
||||||
|
<view class="text1"> <text class="hong1">*</text> 是否维修</view>
|
||||||
|
<view class="xz" style="flex-wrap: wrap;row-gap: 20rpx">
|
||||||
|
<view :class="{'xlan': isWeiXiu==='1'}" class="kuang" @click="isWeiXiu = '1'">
|
||||||
|
<view class="">是</view>
|
||||||
|
</view>
|
||||||
|
<view :class="{'xlan': isWeiXiu==='0'}" class="kuang" @click="isWeiXiu = '0'">
|
||||||
|
<view class="">否</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view> -->
|
||||||
|
|
||||||
<view class="tinput">
|
<view class="tinput">
|
||||||
<view class="text1"> 现场图片</view>
|
<view class="text1"> 现场图片</view>
|
||||||
@ -165,6 +192,8 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
// isWeiXiu: '0',
|
||||||
|
isKouChe: '0',
|
||||||
show: false,
|
show: false,
|
||||||
value1: Number(new Date()),
|
value1: Number(new Date()),
|
||||||
rescueLongitude: '',
|
rescueLongitude: '',
|
||||||
@ -408,7 +437,10 @@
|
|||||||
rescueType: this.rescueType,
|
rescueType: this.rescueType,
|
||||||
carType: this.carType,
|
carType: this.carType,
|
||||||
feeType: this.feeType,
|
feeType: this.feeType,
|
||||||
kcPosition: this.kcname
|
kcPosition: this.kcname,
|
||||||
|
isKouChe: this.isKouChe,
|
||||||
|
// isWeiXiu: this.isWeiXiu,
|
||||||
|
sectionRoad: (this.seletedRoad && this.seletedRoad.length>0)? this.seletedRoad[0]: null
|
||||||
}
|
}
|
||||||
request({
|
request({
|
||||||
url: '/app/rescueInfo/add',
|
url: '/app/rescueInfo/add',
|
||||||
|
Loading…
Reference in New Issue
Block a user