celldetail.wxml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <view class="page">
  2. <view class="box1">
  3. <view class="wrap3">
  4. <view class="outer3">
  5. <text lines="1" class="txt2">{{taskInfo.external_cabinet}}号格口状态:{{taskInfo.status}}</text>
  6. <view class="main1">
  7. <view class="group1">
  8. <text lines="1" class="word3" bindtap="show1">检修开柜</text>
  9. </view>
  10. <view class="group2">
  11. <text lines="1" wx:if="{{cold==1}}" class="info2" bindtap="show">冻结格口</text>
  12. <text lines="1" wx:if="{{cold==2}}" class="info2" bindtap="show3">解冻格口</text>
  13. </view>
  14. </view>
  15. </view>
  16. </view>
  17. <view class="wrap4">
  18. <view class="box2">
  19. <text lines="1" class="word4">格口历史状态</text>
  20. <view class="box3"></view>
  21. </view>
  22. </view>
  23. <view class="wrap9" wx:for="{{taskInfo.list}}">
  24. <view class="main7">
  25. <view class="box7">
  26. <text lines="1" class="info8">{{item.user_title}}</text>
  27. <text lines="1" class="word13">{{item.name_type}}:{{item.name}}</text>
  28. </view>
  29. <view class="box8">
  30. <text lines="1" class="word14">状态更新:{{item.device_title}}</text>
  31. <text lines="1" decode="true" class="word15">{{item.created}}</text>
  32. </view>
  33. <text lines="1" class="txt6">操作原因:{{item.remark}}</text>
  34. </view>
  35. </view>
  36. </view>
  37. <view class="box9" wx:if="{{show}}">
  38. <view class="bd1">
  39. <view class="bd2">
  40. <text lines="1" class="info9">{{title}}</text>
  41. <view class="mod1">
  42. <van-cell-group>
  43. <van-field value="{{ message }}" custom-style="height:200rpx;background-color:#F6F6F6" bind:change="onChange" maxlength="150" type="textarea" placeholder="请输入操作原因" border="{{ false }}" />
  44. </van-cell-group>
  45. </view>
  46. <view class="mod2">
  47. <button class="layer3" bindtap="show">
  48. <text lines="1" class="info10" >取消</text>
  49. </button>
  50. <view class="layer4">
  51. <text lines="1" class="txt7" bindtap="opentask">{{edit}}</text>
  52. </view>
  53. </view>
  54. </view>
  55. </view>
  56. </view>
  57. </view>