myworksheet.wxml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <!--pages/ucenter/myworksheet/myworksheet.wxml-->
  2. <view class="container">
  3. <view class="addNew" bindtap="addNew">新增工单</view>
  4. <scroll-view class='context' scroll-y='true'>
  5. <view bindtap="goInfo" class="map_text" hover-class='active' data-keywords="{{item}}" wx:key='{{key}}' wx:for="{{worksheets}}">
  6. <view class='worksheet_text_title'>
  7. <view class='worksheet'>
  8. <image src='/images/myworksheet.png'></image>
  9. </view>
  10. <view class='worksheet_text_title1'>
  11. <view class='bold inline'>{{item.chargStationName==null?'无关联场站':item.chargStationName}}</view>
  12. <view class="h1 inline">{{item.mainLocation==null?'':item.mainLocation}}</view>
  13. </view>
  14. </view>
  15. <text wx:if="{{item.workStatus==null}}">工作状态:未知</text>
  16. <text wx:if="{{item.workStatus==1}}">工作状态:新建</text>
  17. <text wx:if="{{item.workStatus==2}}">工作状态:指派人员</text>
  18. <text wx:if="{{item.workStatus==3}}">工作状态:指派确认</text>
  19. <text wx:if="{{item.workStatus==4}}">工作状态:施工前安全准备</text>
  20. <text wx:if="{{item.workStatus==5}}">工作状态:进行中</text>
  21. <text wx:if="{{item.workStatus==6}}">工作状态:完成工作内容</text>
  22. <text wx:if="{{item.workStatus==7}}">工作状态:完成工单</text>
  23. <text wx:if="{{item.workBigclass==null}}">工单大类:未知</text>
  24. <text wx:if="{{item.workBigclass==1}}">工单大类:售后服务</text>
  25. <text wx:if="{{item.workBigclass==2}}">工单大类:工程实施</text>
  26. <text wx:if="{{item.exceptTime!==null}}">预计完成时间:{{item.exceptTime}}</text>
  27. <text wx:if="{{item.exceptTime==null}}">预计完成时间:未知</text>
  28. <text wx:if="{{item.workCreatetime!==null}}">工单创建时间:{{item.workCreatetime}}</text>
  29. <text wx:if="{{item.workCreatetime==null}}">工单创建时间:未知</text>
  30. <view id="{{item.id}}" class='detail' bindtap="getRoute">详情
  31. <image src='/images/detail.png'></image>
  32. </view>
  33. </view>
  34. </scroll-view>
  35. </view>