dapingmu.html 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. <!DOCTYPE html>
  2. <html style="height: 100%">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=Edge">
  6. <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  7. <title>流水线管理页-度彼科技</title>
  8. <!-- Favicon-->
  9. <link rel="icon" href="favicon.ico" type="image/x-icon">
  10. <!-- Google Fonts -->
  11. <link href="https://fonts.googleapis.com/css?family=Roboto:400,700&subset=latin,cyrillic-ext" rel="stylesheet" type="text/css">
  12. <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" type="text/css">
  13. <!-- Bootstrap Core Css -->
  14. <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
  15. <!-- Waves Effect Css -->
  16. <link href="plugins/node-waves/waves.css" rel="stylesheet" />
  17. <!-- Animation Css -->
  18. <link href="plugins/animate-css/animate.css" rel="stylesheet" />
  19. <!-- Morris Chart Css-->
  20. <link href="plugins/morrisjs/morris.css" rel="stylesheet" />
  21. <!-- Custom Css -->
  22. <link href="css/style.css" rel="stylesheet">
  23. <!-- AdminBSB Themes. You can choose a theme from css/themes instead of get all themes -->
  24. <link href="css/themes/all-themes.css" rel="stylesheet" />
  25. <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
  26. <script src="https://cdn.bootcss.com/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
  27. <script src="https://cdn.bootcss.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
  28. <link rel="icon" href="https://static.jianshukeji.com/highcharts/images/favicon.ico">
  29. <meta name="viewport" content="width=device-width, initial-scale=1">
  30. <style>
  31. /* css 代码 */
  32. th, td{
  33. color:white;
  34. }
  35. </style>
  36. <script src="https://img.hcharts.cn/highcharts/highcharts.js"></script>
  37. <script src="https://img.hcharts.cn/highcharts/modules/exporting.js"></script>
  38. <script src="https://img.hcharts.cn/highcharts-plugins/highcharts-zh_CN.js"></script>
  39. <script src="https://img.hcharts.cn/highcharts/themes/dark-unica.js"></script>
  40. <script language="JavaScript">
  41. function startTime()
  42. {
  43. var today=new Date();//定义日期对象
  44. var yyyy = today.getFullYear();//通过日期对象的getFullYear()方法返回年
  45. var MM = today.getMonth()+1;//通过日期对象的getMonth()方法返回年
  46. var dd = today.getDate();//通过日期对象的getDate()方法返回年
  47. var hh=today.getHours();//通过日期对象的getHours方法返回小时
  48. var mm=today.getMinutes();//通过日期对象的getMinutes方法返回分钟
  49. var ss=today.getSeconds();//通过日期对象的getSeconds方法返回秒
  50. // 如果分钟或小时的值小于10,则在其值前加0,比如如果时间是下午3点20分9秒的话,则显示15:20:09
  51. MM=checkTime(MM);
  52. dd=checkTime(dd);
  53. mm=checkTime(mm);
  54. ss=checkTime(ss);
  55. var day; //用于保存星期(getDay()方法得到星期编号)
  56. if(today.getDay()==0) day = "星期日 "
  57. if(today.getDay()==1) day = "星期一 "
  58. if(today.getDay()==2) day = "星期二 "
  59. if(today.getDay()==3) day = "星期三 "
  60. if(today.getDay()==4) day = "星期四 "
  61. if(today.getDay()==5) day = "星期五 "
  62. if(today.getDay()==6) day = "星期六 "
  63. document.getElementById('nowDateTimeSpan').innerHTML=yyyy+"-"+MM +"-"+ dd +" " + day+" " + hh+":"+mm+":"+ss;
  64. setTimeout('startTime()',1000);//每一秒中重新加载startTime()方法
  65. }
  66. function checkTime(i)
  67. {
  68. if (i<10){
  69. i="0" + i;
  70. }
  71. return i;
  72. }
  73. </script>
  74. </head>
  75. <body class="theme-black" style="background-color: #2d2d2d !important;" onload="startTime()">
  76. <nav class="navbar" style="background-color: red">
  77. <div class="container-fluid">
  78. <div class="navbar-header">
  79. <a class="navbar-brand" href="index.html">工厂产能监控系统</a>
  80. </div>
  81. <div style="color:#fff" class="text-center"><img src="images/logo.jpg" style="width: 10%;"> 深圳市度彼电子有限公司</div>
  82. <font color="#ffffff"><span id="nowDateTimeSpan"></span></font>
  83. </div>
  84. </nav>
  85. <div class="container" style="max-width:none; !important; padding-top:100px;">
  86. <div class="alert alert-warning" id="mpAlert" style="display:none">
  87. </div>
  88. <div class="text-white row">
  89. <div class="col-md-4">
  90. <div class="text-center">全厂产能统计</div>
  91. <table class="table table-bordered text-center" style="color: #ffffff">
  92. <thead>
  93. <tr>
  94. <th scope="col">时间</th>
  95. <th scope="col">良品数</th>
  96. <th scope="col">不良品数</th>
  97. <th scope="col">堆积数</th>
  98. <th scope="col">不良率</th>
  99. </tr>
  100. </thead>
  101. <tbody id="rank-one">
  102. </tbody>
  103. </table>
  104. </div>
  105. <div class="col-md-8 text-white">
  106. <div class="text-center text-lg">本厂今日生产能手榜</div>
  107. <div class="row">
  108. <div class="col-md-6">
  109. <table class="table table-bordered text-center table-striped">
  110. <thead>
  111. <tr>
  112. <th scope="col" colspan="3">红榜</th>
  113. </tr>
  114. <tr>
  115. <th>人员</th>
  116. <th>良品数</th>
  117. <th>不良率</th>
  118. </tr>
  119. </thead>
  120. <tbody id="rank-two">
  121. </tbody>
  122. </table>
  123. </div>
  124. <div class="col-md-6">
  125. <table class="table table-bordered text-center table-striped">
  126. <thead>
  127. <tr>
  128. <th scope="col" colspan="3">黑榜</th>
  129. </tr>
  130. <tr>
  131. <th>人员</th>
  132. <th>良品数</th>
  133. <th>不良率</th>
  134. </tr>
  135. </thead>
  136. <tbody id="rank-three">
  137. </tbody>
  138. </table>
  139. </div>
  140. </div>
  141. </div>
  142. </div>
  143. <div class="row" style-height="50">
  144. <div class="row col-md-12 ">
  145. <div id="graph-1" class="chartsize col-md-12" style-height="30"></div>
  146. </div>
  147. <div class="row col-md-12 ">
  148. <div id="graph-2" class="chartsize col-md-12" style-height="30"></div>
  149. </div>
  150. </div>
  151. </div>
  152. <!-- Modal -->
  153. <div id="modalContainer"></div>
  154. <!-- Common Js Files -->
  155. <script src="js/basic.js"></script>
  156. <script src="js/getparam.js"></script>
  157. <script src="js/resize.js"></script>
  158. <script src="js/common.js"></script>
  159. <!--- Unique -->
  160. <script src="js/dapingmu.js"></script>
  161. <script src="js/dapingmu-display.js"></script>
  162. </body>
  163. </html>