ll
liukangdong
2024-08-29 986118de12da6830ffb0c86af8e70567352c9bb9
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 {