history_page.html 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. <html xmlns="http://www.w3.org/1999/xhtml">
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html"; charset="utf-8" />
  4. <title>视频信息</title>
  5. <link href="js/bstable/css/bootstrap.min.css" rel="stylesheet" type="text/css">
  6. <link href="js/bstable/css/bootstrap-table.css" rel="stylesheet" type="text/css">
  7. <link href="css/table.css" rel="stylesheet" type="text/css">
  8. <style>
  9. .notice_check input,.notice_check select,.notice_check select option{border: 1px #9ca9b6 solid !important;background-color: transparent !important;color: #9ca9b6}
  10. .fixed-table-pagination{border-top: 1px #39444f solid !important;}
  11. .table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{border: 1px #39444f solid !important;;}
  12. .fixed-table-container tbody td{border: 1px #39444f solid !important}
  13. th{background-color: #505b6f !important;}
  14. #table td, #table th, #table1 td, #table1 th, #table2 td, #table2 th{color: #d9dcde !important}
  15. thead th{background-color: #ECF4FB;border: #9ca9b6 1px solid !important;}
  16. tbody tr:nth-child(2n+1){background-color: #1f2838 !important;}
  17. tbody tr:hover{background-color: #323b44 !important;}
  18. .pagination-info{color:#8d9ca7}
  19. </style>
  20. </head>
  21. <body style="background-color:#171e2b;color: #fff;font-family: 微软雅黑;overflow: auto" >
  22. <div class="notice_main " style="background-color: #171e2b;border: 1px #39444f solid">
  23. <div class="notice_check">
  24. <p>
  25. <label class="">时间:</label>
  26. <input type="date" class="find_input" placeholder="">
  27. <!--<label class="">设备类型:</label>-->
  28. <!--<select class="find_input">-->
  29. <!--<option>全部</option>-->
  30. <!--</select>-->
  31. <!--<label class="">所属区域:</label>-->
  32. <!--<select class="find_input">-->
  33. <!--<option>全部</option>-->
  34. <!--</select>-->
  35. <button class="check_btn">查询</button>
  36. </p>
  37. </div>
  38. <div class="clear"></div>
  39. <table id="table" class="table_style" style="margin: 0 auto" > </table>
  40. </div>
  41. <script src="js/jquery.js"></script>
  42. <script src="js/bstable/js/bootstrap.min.js"></script>
  43. <script src="js/bstable/js/bootstrap-table.js"></script>
  44. <script src="js/bstable/js/bootstrap-table-zh-CN.min.js"></script>
  45. <script type="text/javascript">
  46. $(function () {
  47. $('#table').bootstrapTable({
  48. method: "get",
  49. striped: true,
  50. singleSelect: false,
  51. url: "json/carmes1.json",
  52. dataType: "json",
  53. pagination: true, //分页
  54. pageSize: 8,
  55. pageNumber: 1,
  56. search: false, //显示搜索框
  57. contentType: "application/x-www-form-urlencoded",
  58. queryParams:null,
  59. columns: [
  60. {
  61. title: "序列号",
  62. field: 'id',
  63. align: 'center',
  64. valign: 'middle'
  65. },
  66. {
  67. title: '点位号',
  68. field: 'no02',
  69. align: 'center',
  70. valign: 'middle'
  71. },
  72. {
  73. title: '时间',
  74. field: 'no03',
  75. align: 'center',
  76. valign: 'middle'
  77. },
  78. {
  79. title: '高猛酸盐',
  80. field: 'type',
  81. align: 'center'
  82. },
  83. {
  84. title: '氨氮',
  85. field: 'no05',
  86. align: 'center'
  87. },
  88. {
  89. title: '总磷',
  90. field: 'name',
  91. align: 'center'
  92. }
  93. // {
  94. // title: '生产厂家',
  95. // field: 'unit',
  96. // align: 'center'
  97. // },
  98. // {
  99. // title: '安装时间',
  100. // field: 'person',
  101. // align: 'center'
  102. // },
  103. // {
  104. // title: '安装位置',
  105. // field: 'num',
  106. // align: 'center'
  107. // }
  108. ]
  109. });
  110. });
  111. function edit() {
  112. var Name = "运输车详情";
  113. var Href = "carTail.html";
  114. var data_id = $("#add").attr('data-id');
  115. window.parent.$.learuntab.myAddTab(Name, Href, data_id);
  116. }
  117. function carAnalysis() {
  118. var Name = "运输车分析";
  119. var Href = "transport_analysis.html";
  120. var data_id = $("#add").attr('data-id');
  121. window.parent.$.learuntab.myAddTab(Name, Href, data_id);
  122. }
  123. function analiysis(){
  124. layer.open({
  125. type: 2,
  126. title: '单体分析',
  127. shade: 0.5,
  128. skin: 'layui-layer-rim',
  129. area: ['65%', '30%'],
  130. shadeClose: true,
  131. closeBtn: 2,
  132. content: 'car_one.html'
  133. });
  134. }
  135. function totalAnaliysis() {
  136. layer.open({
  137. type: 2,
  138. title: '总体分析',
  139. shade: 0.5,
  140. skin: 'layui-layer-rim',
  141. area: ['60%', '30%'],
  142. shadeClose: true,
  143. closeBtn: 2,
  144. content: 'car_total.html'
  145. })
  146. }
  147. </script>
  148. </body>
  149. </html>