jiangping
2025-02-26 4e2e52b766d87fc528d02bdebc1757c3dda8c596
h5/pages/staff/task/driver.vue
@@ -2,7 +2,7 @@
  <view class="main_app">
    <view class="status_wrap">
      <view class="name">{{info.driverName}}的入园预约</view>
      <view class="desc">{{info.carCodeFront}}</view>
      <view class="gray">{{info.carCodeFront}}</view>
         <view class="desc" :class="{
             gray: info.businessStatus == '2' || info.businessStatus == '3' || info.businessStatus == '4',
           }">{{ infoStatus }}</view>
@@ -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" />
@@ -101,7 +103,11 @@
      </view>
    </view>
    <view class="emyty"></view>
    <view class="main_footer">
    <view v-if="
      info.approveDateVO != null &&
      info.approveDateVO.canBeApproved != null &&
      info.approveDateVO.canBeApproved == 1
    " class="main_footer">
      <view class="btn" @click="handleSub('0')">拒绝</view>
      <view class="btn agree" @click="handleSub('1')">同意</view>
    </view>
@@ -151,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
@@ -425,14 +437,15 @@
      margin-bottom: 20rpx;
      color: #222222;
    }
    .desc {
      font-size: 26rpx;
      color: #999999;
      color: #ed4545;
         margin-bottom: 12rpx;
    }
      .gray {
         color: #999999;
         margin-bottom: 12rpx;
      }
    .status {