| | |
| | | </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> |
| | |
| | | <view class="address">{{ item.platformName || '等待分配月台' }}</view> |
| | | <view class="time" v-if="item.status == 5"> |
| | | <u-icon class="mr6" name="clock" color="#4d98a8"></u-icon> |
| | | <text>{{item.callDateTemp}}</text> |
| | | <text>{{item.startDateTemp}}</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | |
| | | </view> |
| | | </view> |
| | | </template> |
| | |
| | | this.type = option.type; |
| | | this.platformId = option.platformId; |
| | | this.getData(option.jobId || ''); |
| | | uni.setNavigationBarTitle({ |
| | | title: this.type == 0 ? '已签到车辆' : '作业中车辆' |
| | | }) |
| | | }, |
| | | methods: { |
| | | getData(jobId) { |