jiangping
2025-02-26 4e2e52b766d87fc528d02bdebc1757c3dda8c596
h5/pages/staff/task/driver.vue
@@ -29,6 +29,7 @@
           <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"
@@ -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