<!-- pages/userlist/index.wxml -->
<!--  -->
<view class="setup">
  <view class="driver-info" wx:for="{{userdata}}" wx:key="operationId">
      <image src="https://esos-iot.com/myminio/project/2a1b32553c3d4ef992bc797d26cf1614.png" class="driver-avatar"></image>
      <view class="driver-details">
        <view class="driver-name">目的地: {{item.poiName}}</view>
        <view class="driver-arrive">电话：{{item.phone}}</view>
        <view class="driver-car">预约时间: {{item.workorderStarttime}}</view>
      </view>
      <button class="cancel-btn" data-id="{{item.workorderId}}" bindtap="cancelOrder">分配工单</button>
    </view>
</view>
<t-popup
  visible="{{visible}}"
  bind:visible-change="onVisibleChange1"
  placement="bottom"
>
<view class="driverpopup">

<view class="driverpopup_box">
  <picker bindchange="onVisibleChange" value="{{driverindex}}" range="{{selectdriveralldata}}" range-key="operationName">
    <view class="picker">
      分配司机：{{selectdriveralldata[driverindex].operationName}}
    </view>
  </picker>
</view>
<view class="driverpopup_box">
  <picker bindchange="oncarChange" value="{{carindex}}" range="{{selectcaralldata}}" range-key="carName">
    <view class="picker">
      分配车辆：{{selectcaralldata[carindex].carName}}
    </view>
  </picker>
</view>
<view class="botton">
<view class="botton_box" bind:tap="submit">确定</view>

</view>
</view>
</t-popup>
 <!--  -->
 <view></view>