运维小程序
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 4.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <!-- echarts -->
  2. <view class="container">
  3. <view class="navigation-container" style="{{'height: ' + navStatusBarHeight +'px'}}">
  4. <!--空白来占位状态栏-->
  5. <view style="{{'height: ' + statusBarHeight +'px'}}"></view>
  6. <!--自定义导航栏 -->
  7. <view class="navigation-bar" style="{{'height:' + navBarHeight +'px'}}">
  8. <!-- 晟运储能 -->
  9. <!-- <picker bindchange="bindPickerChange" value="{{index}}" range="{{objectArray}}" range-key="powerstationName">
  10. <view class="picker">
  11. {{objectArray[index].powerstationName}}
  12. <t-icon class="chevron_down" name="chevron-down" size="40rpx" data-name="chevron-down"/>
  13. </view>
  14. </picker> -->
  15. <!-- 天宏汇通运维 -->
  16. {{currentTime}}
  17. </view>
  18. </view>
  19. <!-- -->
  20. <view class="home">
  21. <view style="height: 20rpx;"></view>
  22. <view style="{{'height: ' + navStatusBarHeight +'px'}}"></view>
  23. <view class="statistics" data-index="2" bind:tap="rolelocate">
  24. <view class="statistics_top">
  25. <view class="statistics_1">
  26. <view class="statistics_digit">{{workorder.allcount}}</view>
  27. <view class="statistics_title">全部工单</view>
  28. </view>
  29. <view class="statistics_1">
  30. <view class="statistics_digit">{{workorder.incompletecount}}</view>
  31. <view class="statistics_title">全部待办</view>
  32. </view>
  33. <view class="statistics_1">
  34. <view class="statistics_digit">{{workorder.completecount}}</view>
  35. <view class="statistics_title">全部办结</view>
  36. </view>
  37. </view>
  38. <view style="height: 20rpx;"></view>
  39. <view class="statistics_top">
  40. <view class="statistics_1">
  41. <view class="statistics_digit">{{workorder.myworkodercount}}</view>
  42. <view class="statistics_title">我的工单</view>
  43. </view>
  44. <view class="statistics_1">
  45. <view class="statistics_digit">{{workorder.myworkodertodo}}</view>
  46. <view class="statistics_title">我的待办</view>
  47. </view>
  48. <view class="statistics_1">
  49. <view class="statistics_digit">{{workorder.myworkoderend}}</view>
  50. <view class="statistics_title">我的已办</view>
  51. </view>
  52. </view>
  53. </view>
  54. <view class="vajra">
  55. <view class="vajra_role" data-index="1" bind:tap="rolelocate">
  56. <image class="role" src="https://esos-iot.com/myminio/project/e83bca83352e4da68afff3238258a49a.png" mode=""/>
  57. <view>
  58. 创建工单
  59. </view>
  60. </view>
  61. <view class="vajra_apply" data-index="2" bind:tap="rolelocate">
  62. <image class="role" src="https://esos-iot.com/myminio/project/f0de02ce78b14463b1824b35882d3ecf.png" mode=""/>
  63. <view>
  64. 工单统计
  65. </view>
  66. </view>
  67. <view class="vajra_apply" data-index="3" bind:tap="rolelocate">
  68. <image class="role" src="https://esos-iot.com/myminio/project/31fc6a71019744e0bdcd3523afa8dc35.png" mode=""/>
  69. <view>
  70. 资产台账
  71. </view>
  72. </view>
  73. <view class="vajra_rights" data-index="4" bind:tap="rolelocate">
  74. <image class="role" src="https://esos-iot.com/myminio/project/a76948bfa5094d4c90e2a4c5514481e1.png" mode=""/>
  75. <view>
  76. 值工排班
  77. </view>
  78. </view>
  79. </view>
  80. <view class="examine">
  81. 待审核
  82. </view>
  83. <view class="examine_box" wx:for="{{reviewdata}}" wx:key="index" data-id="{{item.id}}" data-workorderId="{{item.workorderId}}" bind:tap="ondetails">
  84. <view class="examine_title">
  85. <view class="examine_title0" wx:if="{{item.type==1}}">日常<text wx:if="{{item.workorderGrade==1}}"> 低</text><text wx:if="{{item.workorderGrade==2}}"> 中</text><text wx:if="{{item.workorderGrade==3}}"> 高</text></view>
  86. <view class="examine_title01" wx:if="{{item.type==2}}">故障 / <text wx:if="{{item.workorderGrade==1}}"> 低</text><text wx:if="{{item.workorderGrade==2}}"> 中</text><text wx:if="{{item.workorderGrade==3}}"> 高</text>
  87. </view>
  88. <view class="examine_title02" wx:if="{{item.type==3}}">其他<text wx:if="{{item.workorderGrade==1}}"> 低</text><text wx:if="{{item.workorderGrade==2}}"> 中</text><text wx:if="{{item.workorderGrade==3}}"> 高</text></view>
  89. <view class="examine_title1">{{item.workorderName}}</view>
  90. <!-- <view class="examine_title2" wx:if="{{item.examineType==4}}">待审核</view> -->
  91. <view class="examine_title2" wx:if="{{item.examineType==5}}">待审核</view>
  92. <view class="examine_title2" wx:if="{{item.examineType==6}}">审核完成</view>
  93. <view class="examine_title2" wx:if="{{item.examineType==7}}">审核失败</view>
  94. </view>
  95. <view class="examine_content">
  96. <view>描述:{{item.workorderContent}}</view>
  97. <view class="feedback examine_name" wx:if="{{item.examineType==7}}">退回原因:{{item.workoderReason}}</view>
  98. <view class="feedback examine_name" wx:if="{{item.examineCount!=0&&item.examineType!=7}}">退回原因:{{item.lastfail||'无'}}</view>
  99. </view>
  100. <view class="examine_bottom">
  101. <view> <text>发起人:</text>{{item.workorderPromoter}}</view>
  102. <view>发起时间:{{item.workorderStarttime}}</view>
  103. </view>
  104. <!-- <view class="examine_button">
  105. <view class="examine_buttonleft">通过</view>
  106. <view class="examine_buttonright">不通过</view>
  107. </view> -->
  108. </view>
  109. <view class="available" wx:if="{{reviewdata.length==0}}">
  110. <image src="https://esos-iot.com/myminio/project/9efa1691f71a48b6ae20648c0a2dae56.png" mode="aspectFit"/>
  111. </view>
  112. <view style="height: 160rpx;"> </view>
  113. </view>
  114. </view>
  115. <!---->