From 7298d5354963a88643a543b51b90192dc9fc934c Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期四, 11 九月 2025 18:43:14 +0800
Subject: [PATCH] 最新版本541200007
---
h5/pages/staff/task/driver.vue | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/h5/pages/staff/task/driver.vue b/h5/pages/staff/task/driver.vue
index 7018b5d..a30079b 100644
--- a/h5/pages/staff/task/driver.vue
+++ b/h5/pages/staff/task/driver.vue
@@ -18,7 +18,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">
@@ -26,9 +26,10 @@
<view v-if="info.arriveDate" class="value">{{info.arriveDate.slice(0,16)}}</view>
</view>
<view class="item">
- <view class="label">鍑嗚繍璇佺収鐗�</view>
+ <view class="label">鍑嗚繍璇�/杩愬崟鐓х墖</view>
<view class="value">
<image
+ @click="priviewImage(info.prefixUrl + info.transportImg)"
v-if="info.transportImg"
class="avatar_wrap"
:src="info.prefixUrl + info.transportImg"
@@ -36,7 +37,7 @@
</view>
</view>
<view class="item">
- <view class="label">鍏ュ簱绫诲瀷</view>
+ <view class="label">浣滀笟绫诲瀷</view>
<view class="value">{{info.inType == 0 ? '鏁存墭鐩�' : '浠剁儫'}}</view>
</view>
<view class="item">
@@ -70,6 +71,7 @@
<image v-if="item.type == 1" class="img" src="@/static/staff/ic_chaosong@2x.png" />
<image v-else-if="item.approveType == 1 || item.approveType == 0" class="img"
src="@/static/staff/ic_shenpiren@2x.png" />
+ <image v-else-if="item.faceImg" :src="item.faceImg" class="img"></image>
<span v-else class="img_name">{{item.memberName && item.memberName.slice(0,1)}}</span>
<image v-if="item.status == 2" class="status" src="@/static/staff/liucheng_success@2x.png"
mode="widthFix" />
@@ -155,11 +157,17 @@
}
},
onLoad(option) {
+ uni.setStorageSync('ywinfo',{})
this.type = option.objType
this.infoStatus = option.info
this.getDetail(option.id)
},
methods: {
+ priviewImage(url) {
+ uni.previewImage({
+ urls: [url]
+ })
+ },
getDetail(id) {
driverApplyDetail({id}).then(res => {
this.info = res.data
--
Gitblit v1.9.3