vibration_test.html 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. {% extends "index.html" %}
  2. {% block title %}水塔監控{% endblock %}
  3. {% block head %}
  4. {{ super() }}
  5. {% endblock %}
  6. {% block body %}
  7. <script type="text/javascript" src="/static/vibration.js"></script>
  8. <div style="overflow: hidden;">
  9. <div id='select_boxes'>
  10. <select class="select-item" id="company-list" onChange="onChangeColumn1();">
  11. <option value=0>公司A</option>
  12. </select>
  13. <select class="select-item" id="factory-list" onChange="onChangeColumn2();">
  14. <option value=0>工廠A</option>
  15. </select>
  16. <select class="select-item" id="department-list" onChange="onChangeColumn3();">
  17. <option value=0>廠區A</option>
  18. </select>
  19. <select class="select-item" id="towerGroup-list">
  20. <option value=0>機組1</option>
  21. </select>
  22. <button class="me-0" id="tower_btn" onclick="click_button();"><i class="fas fa-search me-2"></i>搜尋</button>
  23. </div>
  24. <div id="select_boxes">
  25. <div id="tower-img">
  26. <select class="select-item" id="tower" onChange="show_tower_info();">
  27. </select>
  28. </div>
  29. </div>
  30. <div class="state">
  31. <div class="row">
  32. <div class="col-lg-8 pe-0">
  33. <div class="card h-100">
  34. <div>
  35. <div style="float:left;" class="device">
  36. <h1 style="color:#002e86;" class="fw-bold mb-0">設備狀態:<span style="color: #078B07;">健康<i
  37. class="fas fa-check-circle ps-1"></i></span></h1>
  38. <!-- <h1 style="color: #078B07;"></h1> -->
  39. </div>
  40. <div style="float:left;" class="Connect">
  41. <h1 style="color:#002e86;" class="fw-bold mb-0">連線狀態:<span style="color: #078B07;">正常<i
  42. class="fas fa-check-circle ps-1"></i></span></h1>
  43. </div>
  44. <div style="float:left; margin-top: 15px;">
  45. <p class="mb-0">最後更新時間:2021/09/15 18:09</p>
  46. </div>
  47. </div>
  48. <h1 class="my-0 py-0">
  49. <hr class="my-1" style="background:#002e86; height: 1px; opacity: 1;">
  50. </h1>
  51. <div>
  52. <div class="row px-0 mx-0">
  53. <div class="col-lg-6">
  54. <img class="img-fluid w-100 mt-4" src="/static/img/dev001.png" alt="">
  55. </div>
  56. <div class="col-lg-3">
  57. <img class="img-fluid mt-2" src="/static/img/dev001-pic1.png" alt="">
  58. <img class="img-fluid mt-2" src="/static/img/dev001-pic2.png" alt="">
  59. </div>
  60. <div style="color:#002e86" class="col-lg-3 py-3 px-0 fw-bold">
  61. <div style="margin-top: 50px;">
  62. <p>設備位區:<span class="fw-bold">台塑</span></p>
  63. </div>
  64. <div>
  65. <p>設備位置:<span class="fw-bold">公用四廠</span></p>
  66. </div>
  67. <div>
  68. <p>負責人:<span class="fw-bold">***</span></p>
  69. </div>
  70. </div>
  71. </div>
  72. </div>
  73. </div>
  74. </div>
  75. <div class="col-lg-4 ps-0">
  76. <div class="card h-100">
  77. <h1 style="color:#002e86">通道雷達圖</h1>
  78. <h1 class="my-0 py-0">
  79. <hr class="my-1" style="background:#002e86; height: 1px; opacity: 1;">
  80. </h1>
  81. </div>
  82. </div>
  83. </div>
  84. </div>
  85. <div id='test'></div>
  86. <div class="my-5">
  87. <div class="row">
  88. <div class="col-lg-5 pe-0">
  89. <div class="card h-100">
  90. <h1 style="color:#002e86;">通道照片</h1>
  91. <h1 class="my-0 py-0">
  92. <hr class="my-1" style="background:#002e86; height: 1px; opacity: 1;">
  93. </h1>
  94. <div style="padding: 15px;">
  95. <img class="img-fluid mt-3" src="/static/img/dev001-chl.png" alt="">
  96. </div>
  97. </div>
  98. </div>
  99. <div class="col-lg-7 ps-0">
  100. <div class="card h-100">
  101. <h1 class="pb-0" style="color:#002e86;">通道列表</h1>
  102. <div style="padding:15px;">
  103. <table style="font-size: 16px; border-color:#4c6caa; border-top:1px solid #4c6caa;" class="table text-center">
  104. <thead style="background:#e4f8ff; color:#4c6caa;">
  105. <tr>
  106. <th class="border-0">編號</th>
  107. <th class="border-0">vrms(mm/s)</th>
  108. <th class="border-0">健康狀態</th>
  109. <th class="border-0">健康指標</th>
  110. <th class="border-0">連線運作狀態</th>
  111. </tr>
  112. <tbody id="tower_info">
  113. </tbody>
  114. </thead>
  115. </table>
  116. </div>
  117. </div>
  118. </div>
  119. </div>
  120. </div>
  121. <div id='tower_perfrom'></div>
  122. </div>
  123. <script>
  124. function navlinkactive() {
  125. $('#nav-vibration').addClass('active');
  126. }
  127. navlinkactive();
  128. </script>
  129. {% endblock %}