1
This commit is contained in:
parent
d0eedf37dc
commit
ca591d5aeb
@ -49,6 +49,9 @@
|
||||
</template>
|
||||
<template v-else-if="orderData.rescueStatus > 2">
|
||||
<view @click.stop="gettel" class="orderCardBtnGroupItem">联系司机</view>
|
||||
</template>
|
||||
<template v-if="orderData.orderStatus == 3 && orderData.isWeiXiu!=='1'">
|
||||
<view @click.stop="toRepair(orderData.id)" class="orderCardBtnGroupItem">转维修</view>
|
||||
</template>
|
||||
</view>
|
||||
</view>
|
||||
@ -125,7 +128,24 @@
|
||||
default:
|
||||
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() {
|
||||
uni.navigateTo({
|
||||
url: '/pages/details/details?id=' + this.orderData.id
|
||||
|
@ -26,7 +26,7 @@
|
||||
<image src="../../static/quesheng.png" mode=""></image>
|
||||
</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-left">
|
||||
<view class="left-lan">
|
||||
|
@ -48,6 +48,11 @@
|
||||
</image>
|
||||
</view>
|
||||
<view style="color: #000;font-size: 34rpx;font-weight: bold;padding: 24rpx 0;">救援信息</view>
|
||||
|
||||
|
||||
<!-- rescueType = 5 -->
|
||||
|
||||
|
||||
<!-- 填空 -->
|
||||
<view class="jyxx">
|
||||
<view class="jyxx-tinput" @click="show = true" v-if="isAppointment == 1">
|
||||
@ -111,6 +116,28 @@
|
||||
</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="text1"> 现场图片</view>
|
||||
@ -165,6 +192,8 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
// isWeiXiu: '0',
|
||||
isKouChe: '0',
|
||||
show: false,
|
||||
value1: Number(new Date()),
|
||||
rescueLongitude: '',
|
||||
@ -408,7 +437,10 @@
|
||||
rescueType: this.rescueType,
|
||||
carType: this.carType,
|
||||
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({
|
||||
url: '/app/rescueInfo/add',
|
||||
|
Loading…
Reference in New Issue
Block a user