From 7298d5354963a88643a543b51b90192dc9fc934c Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期四, 11 九月 2025 18:43:14 +0800
Subject: [PATCH] 最新版本541200007

---
 h5/pages/driver/reservedDetail.vue |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/h5/pages/driver/reservedDetail.vue b/h5/pages/driver/reservedDetail.vue
index e3e47b5..a279e90 100644
--- a/h5/pages/driver/reservedDetail.vue
+++ b/h5/pages/driver/reservedDetail.vue
@@ -15,7 +15,7 @@
         <view class="value">{{info.inReason}}</view>
       </view>
       <view class="item">
-        <view class="label">鍚堝悓缂栧彿</view>
+        <view class="label">鍚堝悓/鍗曟嵁缂栧彿</view>
         <view class="value">{{info.contractNum}}</view>
       </view>
 			<view class="item">
@@ -23,17 +23,18 @@
 			  <view class="value" v-if="info.arriveDate">{{info.arriveDate.slice(0,16)}}</view>
 			</view>
 			<view class="item">
-			  <view class="label">鍑嗚繍璇佺収鐗�</view>
+			  <view class="label">鍑嗚繍璇�/杩愬崟鐓х墖</view>
 			  <view class="value">
 					<image
 						v-if="info.transportImg"
 					  class="avatar_wrap"
+						@click="priviewImage(info.prefixUrl + info.transportImg)"
 					  :src="info.prefixUrl + info.transportImg"
 					></image>
 				</view>
 			</view>
 			<view class="item">
-			  <view class="label">鍏ュ簱绫诲瀷</view>
+			  <view class="label">浣滀笟绫诲瀷</view>
 			  <view class="value">{{info.inType == 0 ? '鏁存墭鐩�' : '浠剁儫'}}</view>
 			</view>
 			<view class="item">
@@ -132,9 +133,15 @@
     }
   },
 	onLoad(option) {
+		uni.setStorageSync('ywinfo',{})
 		this.getDetail(option.id)
 	},
   methods: {
+		priviewImage(url) {
+			uni.previewImage({
+				urls: [url]
+			})
+		},
 		handleCancel(){
 			const { info } = this
 			uni.showModal({
@@ -144,6 +151,8 @@
 					if (res.confirm) {
 						driverCarRevoke({
 							id: info.id, info: ''
+						}).then(() => {
+							this.getDetail(info.id)
 						})
 					} else if (res.cancel) {
 						console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');

--
Gitblit v1.9.3