From 986118de12da6830ffb0c86af8e70567352c9bb9 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 29 八月 2024 18:15:37 +0800
Subject: [PATCH] ll

---
 h5/pages/staff/task/driver.vue |   20 ++++++++++++++++----
 1 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/h5/pages/staff/task/driver.vue b/h5/pages/staff/task/driver.vue
index 6532036..3330aaf 100644
--- a/h5/pages/staff/task/driver.vue
+++ b/h5/pages/staff/task/driver.vue
@@ -3,7 +3,9 @@
     <view class="status_wrap">
       <view class="name">{{info.driverName}}鐨勫叆鍥绾�</view>
       <view class="desc">{{info.carCodeFront}}</view>
-      <view class="status">{{ statusMap[info.status] }}</view>
+      <view class="status" v-if="info.status != 2 && info.status != 3">{{ statusMap[info.status] }}</view>
+			<image v-if="info.status == 2" class="icon" src="@/static/ic_passed@2x.png" mode=""></image>
+			<image v-if="info.status == 3" class="icon" src="@/static/ic_refused@2x.png" mode=""></image>
     </view>
     <!--  -->
     <view class="emyty"></view>
@@ -121,6 +123,7 @@
       <view class="appr_modal">
         <view class="title">{{ this.flag == '0' ? '鎷掔粷' : '鍚屾剰' }}</view>
         <textarea
+					v-model="checkInfo"
           :placeholder="this.flag == '0' ? '鎷掔粷璇存槑锛屽繀濉�' : '鍚屾剰璇存槑锛岄潪蹇呭~'"
           placeholder-class="placeholder9"
         />
@@ -146,8 +149,8 @@
 			statusMap: {
 				0: '寰呭鎵�',
 				1: '瀹℃壒涓�',
-				2: '瀹℃壒閫氳繃',
-				3: '瀹℃壒涓嶉�氳繃',
+				2: '宸查�氳繃',
+				3: '宸叉嫆缁�',
 				4: '宸插彇娑�',
 			},
     }
@@ -176,7 +179,7 @@
 		},
 		handleAppy() {
 			const {flag,checkInfo, type,info } = this
-			if(flag == 0 && !checkInfo) return this.showToast('鎷掔粷璇存槑蹇呭~')
+			if(flag == 0 && checkInfo == '') return this.showToast('鎷掔粷璇存槑蹇呭~')
 			carUseBookAppr({
 				checkInfo,objId: info.id,objType: 6,status: flag == 0 ? 3 : 2
 			}).then(res => {
@@ -386,6 +389,15 @@
       background-color: #e9edff;
       color: $uni-color-primary;
     }
+		.icon{
+			width: 120rpx;
+			height: 120rpx;
+			border-radius: 50%;
+			position: absolute;
+			right: 0rpx;
+			top: 20rpx;
+			
+		}
   }
 
   .main_footer {

--
Gitblit v1.9.3