deviceDetail.vue 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <template>
  2. <view>
  3. <view class="timeBox flex justify-between align-center padding-lr-sm">
  4. <view class="time">测试用传装置</view>
  5. <button class="cu-btn radius bg-offLine sm">
  6. <view class="radiusStatus offLine"></view>
  7. 离线
  8. </button>
  9. </view>
  10. <view>
  11. <!-- 基本信息start -->
  12. <view class="basic-info">
  13. <view class="info-tit margin-left-xs">
  14. <text class="cuIcon-titles margin-right-xs"></text>
  15. 基本信息
  16. </view>
  17. <view class="info-content">
  18. <view class="info-one-info ">
  19. <text>设备类型:</text>
  20. <text>报警主机</text>
  21. </view>
  22. <view>
  23. <text>设备编号:</text>
  24. <text>15221</text>
  25. </view>
  26. <view>
  27. <text>物联网卡号:</text>
  28. <text></text>
  29. </view>
  30. <view>
  31. <text>安装位置:</text>
  32. <text>物联网开发</text>
  33. </view>
  34. <view>
  35. <text>添加时间:</text>
  36. <text>2019-05-28 16:12:45</text>
  37. </view>
  38. <view>
  39. <text>设备地址:</text>
  40. <text>青浦区徐乐路208c幢</text>
  41. </view>
  42. </view>
  43. </view>
  44. <!-- 基本信息end -->
  45. <!-- 图表start -->
  46. <view class="processStatus">
  47. <view class="info-tit margin-left-xs">
  48. <text class="cuIcon-titles margin-right-xs"></text>
  49. 图表
  50. </view>
  51. <view class="info-content" >
  52. <chart :bindData="staticData"></chart>
  53. </view>
  54. </view>
  55. <!-- 图表end -->
  56. <!-- 图表start -->
  57. <view class="processStatus">
  58. <view class="info-tit margin-left-xs">
  59. <text class="cuIcon-titles margin-right-xs"></text>
  60. 图表
  61. </view>
  62. <view class="info-content" >
  63. <chart2 :bindData="staticData"></chart2>
  64. </view>
  65. </view>
  66. <!-- 图表end -->
  67. <!-- 表格start -->
  68. <table-detail></table-detail>
  69. <!-- 表格end -->
  70. <br>
  71. </view>
  72. </view>
  73. </template>
  74. <script>
  75. import chart from './components/chart.vue';
  76. import chart2 from './components/chart2.vue';
  77. import tableDetail from './components/table-detail.vue';
  78. export default {
  79. components: {
  80. chart,chart2,tableDetail
  81. },
  82. data() {
  83. return {
  84. staticData: {
  85. wubao:9,
  86. unSolve:6,
  87. truely:20
  88. },
  89. }
  90. },
  91. onLoad: function(option) {
  92. },
  93. methods: {
  94. }
  95. }
  96. </script>
  97. <style lang="scss">
  98. </style>