myworksheet.wxml 1.8 KB

123456789101112131415161718192021222324252627282930313233
  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. <text class='bold inline'>{{item.chargStationName}}</text>
  12. <text class="h1 inline">{{item.mainLocation==null?'':item.mainLocation}}</text>
  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>预计完成时间:{{item.exceptTime}}</text>
  27. <text>工单创建时间:{{item.workCreatetime}}</text>
  28. <view id="{{item.id}}" class='detail' bindtap="getRoute">详情
  29. <image src='/images/detail.png'></image>
  30. </view>
  31. </view>
  32. </scroll-view>
  33. </view>