jiangping
2024-12-11 eb49564ab17c6695d8928d5a63a57c58b3cfd79c
h5/pages/driver/queueUpRecord.vue
@@ -6,11 +6,11 @@
      </view>
      <!--  -->
      <view class="main_list">
         <view class="item" :class="{ active: item.driverId == driverInfo.memberId }" v-for="item in dataList" :key="item.id">
         <view class="item" :class="{ active: item.drivierPhone == driverInfo.mobile }" v-for="item in dataList" :key="item.id">
            <view class="status padding" v-if="item.status == 2">排队中</view>
            <view class="status" v-else :class="{ padding: item.status != 5 }">{{ statusMap[item.status] }}</view>
            <view v-if="item.driverId == driverInfo.memberId" class="me">我</view>
            <image v-if="item.driverId == driverInfo.memberId" class="avatar" src="@/static/driver/ic_truck_mine@2x.png" mode=""></image>
            <view v-if="item.drivierPhone == driverInfo.mobile" class="me">我</view>
            <image v-if="item.drivierPhone == driverInfo.mobile" class="avatar" src="@/static/driver/ic_truck_mine@2x.png" mode=""></image>
            <image v-else class="avatar" src="@/static/driver/ic_truck@2x.png" mode=""></image>
            <view class="content">
               <view class="id_card" v-if="item.carCodeFront">{{ item.carCodeFront.slice(0, 4) }}**{{ item.carCodeFront.slice(6) }}</view>
@@ -23,6 +23,7 @@
               </view>
            </view>
         </view>
      </view>
   </view>
</template>
@@ -48,6 +49,9 @@
      this.type = option.type;
      this.platformId = option.platformId;
      this.getData(option.jobId || '');
      uni.setNavigationBarTitle({
        title: this.type == 0 ? '已签到车辆' : '作业中车辆'
      })
   },
   methods: {
      getData(jobId) {