电速宝
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.wxml 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <!-- pages/userlist/index.wxml -->
  2. <!-- -->
  3. <view class="setup">
  4. <view class="driver-info" wx:for="{{userdata}}" wx:key="operationId">
  5. <image src="https://esos-iot.com/myminio/project/2a1b32553c3d4ef992bc797d26cf1614.png" class="driver-avatar"></image>
  6. <view class="driver-details">
  7. <view class="driver-name">目的地: {{item.poiName}}</view>
  8. <view class="driver-arrive">电话:{{item.phone}}</view>
  9. <view class="driver-car">预约时间: {{item.workorderStarttime}}</view>
  10. </view>
  11. <button class="cancel-btn" data-id="{{item.workorderId}}" bindtap="cancelOrder">分配工单</button>
  12. </view>
  13. </view>
  14. <t-popup
  15. visible="{{visible}}"
  16. bind:visible-change="onVisibleChange1"
  17. placement="bottom"
  18. >
  19. <view class="driverpopup">
  20. <view class="driverpopup_box">
  21. <picker bindchange="onVisibleChange" value="{{driverindex}}" range="{{selectdriveralldata}}" range-key="operationName">
  22. <view class="picker">
  23. 分配司机:{{selectdriveralldata[driverindex].operationName}}
  24. </view>
  25. </picker>
  26. </view>
  27. <view class="driverpopup_box">
  28. <picker bindchange="oncarChange" value="{{carindex}}" range="{{selectcaralldata}}" range-key="carName">
  29. <view class="picker">
  30. 分配车辆:{{selectcaralldata[carindex].carName}}
  31. </view>
  32. </picker>
  33. </view>
  34. <view class="botton">
  35. <view class="botton_box" bind:tap="submit">确定</view>
  36. </view>
  37. </view>
  38. </t-popup>
  39. <!-- -->
  40. <view></view>