boss1.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  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. </style>
  33. <script src="https://img.hcharts.cn/highcharts/highcharts.js"></script>
  34. <script src="https://img.hcharts.cn/highcharts/modules/exporting.js"></script>
  35. <script src="https://img.hcharts.cn/highcharts-plugins/highcharts-zh_CN.js"></script>
  36. <script>
  37. var timer=null;
  38. function displayClock(num){//num是传入的startClock中的动态值
  39. if(num<10){
  40. return "0"+num;
  41. }
  42. else{
  43. return num;
  44. }
  45. }
  46. //停止计时
  47. function stopClock(){
  48. clearTimeout(timer);
  49. }
  50. //开始计时
  51. function startClock(){
  52. var time =new Date();
  53. var hours=displayClock(time.getHours())+":";
  54. var minutes=displayClock(time.getMinutes())+":";
  55. var seconds=displayClock(time.getSeconds());
  56. //显示时间
  57. show.innerHTML=hours+minutes+seconds;//在id为show的块区域显示
  58. timer=setTimeout("startClock()",1000);//延时器
  59. }
  60. </script>
  61. </head>
  62. <style>
  63. #show{
  64. font-size: 30px;
  65. color:#black;
  66. text-align:center;
  67. }
  68. </style>
  69. <body onload="startClock()" onunload="stopClock()" class="theme-red" style="height: 100%">
  70. <div class="container-fluid" style="margin: 0 auto;height: 100%">
  71. <div style="width: 60%;float: left;height: 100%">
  72. <div class="row" style="font-size: 2em;height: 8%">
  73. <div class="col-3"></div>
  74. <div class="col-3">全厂统揽</div>
  75. <div class="col-3" id="show"></div>
  76. <div class="col-3"></div>
  77. </div>
  78. <div class="row " style="height: 35%">
  79. <!-- Visitors -->
  80. <script>
  81. function addContent(name){
  82. console.log( $(name));
  83. $(name).tab('show');
  84. }
  85. </script>
  86. <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6"style="height: 80%">
  87. <div class="card">
  88. <div class="body bg-pink">
  89. <div class="text-center" style="font-size: 2em">全厂产能</div>
  90. <div class="row text-center" style="font-size: 2em">
  91. <div class="col-2"></div>
  92. <div class="col-4">今日</div>
  93. <div class="col-4">1255</div>
  94. <div class="col-2"></div>
  95. </div>
  96. <div class="row text-center" style="font-size: 2em">
  97. <div class="col-2"></div>
  98. <div class="col-4">昨日</div>
  99. <div class="col-4">1235</div>
  100. <div class="col-2"></div>
  101. </div>
  102. <div class="row text-center" style="font-size: 2em">
  103. <div class="col-2"></div>
  104. <div class="col-4">本周</div>
  105. <div class="col-4">12355</div>
  106. <div class="col-2"></div>
  107. </div>
  108. <div class="row text-center" style="font-size: 2em">
  109. <div class="col-2"></div>
  110. <div class="col-4">本月</div>
  111. <div class="col-4">552555</div>
  112. <div class="col-2"></div>
  113. </div>
  114. </div>
  115. </div>
  116. </div>
  117. <!-- #END# Visitors -->
  118. <!-- Latest Social Trends -->
  119. <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
  120. <div class="card">
  121. <div class="body bg-cyan">
  122. <div class="text-center" style="font-size: 2em">全厂不良率</div>
  123. <div class="row text-center" style="font-size: 2em">
  124. <div class="col-2"></div>
  125. <div class="col-4">今日</div>
  126. <div class="col-4">10%</div>
  127. <div class="col-2"></div>
  128. </div>
  129. <div class="row text-center" style="font-size: 2em">
  130. <div class="col-2"></div>
  131. <div class="col-4">昨日</div>
  132. <div class="col-4">9%</div>
  133. <div class="col-2"></div>
  134. </div>
  135. <div class="row text-center" style="font-size: 2em">
  136. <div class="col-2"></div>
  137. <div class="col-4">本周</div>
  138. <div class="col-4">10%</div>
  139. <div class="col-2"></div>
  140. </div>
  141. <div class="row text-center" style="font-size: 2em">
  142. <div class="col-2"></div>
  143. <div class="col-4">本月</div>
  144. <div class="col-4">11%</div>
  145. <div class="col-2"></div>
  146. </div>
  147. </div>
  148. </div>
  149. </div>
  150. <!-- #END# Latest Social Trends -->
  151. <!-- Answered Tickets -->
  152. <!-- #END# Answered Tickets -->
  153. </div>
  154. <div class="" style="height: 55%">
  155. <div class="card">
  156. <div class="body" style="font-size: 2em">
  157. <div class="table-responsive" style="width: 50%;float: left">
  158. <table class="table table-hover dashboard-task-infos">
  159. <thead>
  160. <tr style="border-bottom:3px solid black;">
  161. <th>不良工率最高</th>
  162. <th>数量</th>
  163. </tr>
  164. </thead>
  165. <tbody id="rank-one">
  166. <tr >
  167. <td>张三</td>
  168. <td>11</td>
  169. </tr>
  170. <tr>
  171. <td>李四</td>
  172. <td>33</td>
  173. </tr>
  174. <tr>
  175. <td>王五</td>
  176. <td>21</td>
  177. </tr>
  178. </tbody>
  179. </table>
  180. </div>
  181. <div class="table-responsive" style="width:50%">
  182. <table class="table table-hover dashboard-task-infos">
  183. <thead>
  184. <tr style="border-bottom:3px solid black;">
  185. <th>产能最低</th>
  186. <th>数量</th>
  187. </tr>
  188. </thead>
  189. <tbody id="rank-one">
  190. <tr >
  191. <td>Task A</td>
  192. <td>22</td>
  193. </tr>
  194. <tr>
  195. <td>Task B</td>
  196. <td>44</td>
  197. </tr>
  198. <tr>
  199. <td>Task C</td>
  200. <td>12</td>
  201. </tr>
  202. </tbody>
  203. </table>
  204. </div>
  205. </div>
  206. </div>
  207. </div>
  208. </div>
  209. <div class="" style="width: 40%;float: right">
  210. <div class="">
  211. <div class="card">
  212. <div class="body bg-teal">
  213. <div class="text-center" style="font-size: 2em">每拉产能</div>
  214. <div class="row text-center" style="font-size: 2em">
  215. <div class="col-2"></div>
  216. <div class="col-5">生产线<span>一</span>号</div>
  217. <div class="col-4">1255</div>
  218. <div class="col-2"></div>
  219. </div>
  220. <div class="row text-center" style="font-size: 2em">
  221. <div class="col-2"></div>
  222. <div class="col-5">生产线<span>二</span>号</div>
  223. <div class="col-4">1235</div>
  224. <div class="col-2"></div>
  225. </div>
  226. <div class="row text-center" style="font-size: 2em">
  227. <div class="col-2"></div>
  228. <div class="col-5">生产线<span>三</span>号</div>
  229. <div class="col-4">12355</div>
  230. <div class="col-2"></div>
  231. </div>
  232. <div class="row text-center" style="font-size: 2em">
  233. <div class="col-2"></div>
  234. <div class="col-5">生产线<span>四</span>号</div>
  235. <div class="col-4">552555</div>
  236. <div class="col-2"></div>
  237. </div>
  238. <div class="row text-center" style="font-size: 2em">
  239. <div class="col-2"></div>
  240. <div class="col-5">生产线<span>一</span>号</div>
  241. <div class="col-4">1255</div>
  242. <div class="col-2"></div>
  243. </div>
  244. <div class="row text-center" style="font-size: 2em">
  245. <div class="col-2"></div>
  246. <div class="col-5">生产线<span>二</span>号</div>
  247. <div class="col-4">1235</div>
  248. <div class="col-2"></div>
  249. </div>
  250. <div class="row text-center" style="font-size: 2em">
  251. <div class="col-2"></div>
  252. <div class="col-5">生产线<span>三</span>号</div>
  253. <div class="col-4">12355</div>
  254. <div class="col-2"></div>
  255. </div>
  256. <div class="row text-center" style="font-size: 2em">
  257. <div class="col-2"></div>
  258. <div class="col-5">生产线<span>四</span>号</div>
  259. <div class="col-4">552555</div>
  260. <div class="col-2"></div>
  261. </div>
  262. </div>
  263. </div>
  264. </div>
  265. </div>
  266. </div>
  267. <!-- Jquery Core Js -->
  268. <script src="plugins/jquery/jquery.min.js"></script>
  269. <!-- Bootstrap Core Js -->
  270. <script src="plugins/bootstrap/js/bootstrap.js"></script>
  271. <!-- Select Plugin Js -->
  272. <script src="plugins/bootstrap-select/js/bootstrap-select.js"></script>
  273. <!-- Slimscroll Plugin Js -->
  274. <script src="plugins/jquery-slimscroll/jquery.slimscroll.js"></script>
  275. <!-- Waves Effect Plugin Js -->
  276. <script src="plugins/node-waves/waves.js"></script>
  277. <!-- Jquery CountTo Plugin Js -->
  278. <script src="plugins/jquery-countto/jquery.countTo.js"></script>
  279. <!-- Morris Plugin Js -->
  280. <script src="plugins/raphael/raphael.min.js"></script>
  281. <script src="plugins/morrisjs/morris.js"></script>
  282. <!-- ChartJs -->
  283. <script src="plugins/chartjs/Chart.bundle.js"></script>
  284. <!-- Flot Charts Plugin Js -->
  285. <script src="plugins/flot-charts/jquery.flot.js"></script>
  286. <script src="plugins/flot-charts/jquery.flot.resize.js"></script>
  287. <script src="plugins/flot-charts/jquery.flot.pie.js"></script>
  288. <script src="plugins/flot-charts/jquery.flot.categories.js"></script>
  289. <script src="plugins/flot-charts/jquery.flot.time.js"></script>
  290. <!-- Sparkline Chart Plugin Js -->
  291. <script src="plugins/jquery-sparkline/jquery.sparkline.js"></script>
  292. <!-- Custom Js -->
  293. <script src="js/admin.js"></script>
  294. <script src="js/pages/index.js"></script>
  295. <!-- Demo Js -->
  296. <script src="js/demo.js"></script>
  297. </body>
  298. </html>