denglu.html 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. <!DOCTYPE html>
  2. <html>
  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="css/cyllic.css" rel="stylesheet" type="text/css">
  12. <link href="css/mateial.css" 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"
  15. integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
  16. <!-- Waves Effect Css -->
  17. <link href="plugins/node-waves/waves.css" rel="stylesheet"/>
  18. <!-- Animation Css -->
  19. <link href="plugins/animate-css/animate.css" rel="stylesheet"/>
  20. <!-- Morris Chart Css-->
  21. <link href="plugins/morrisjs/morris.css" rel="stylesheet"/>
  22. <!-- Custom Css -->
  23. <link href="css/style-frontend.css" rel="stylesheet">
  24. <!-- AdminBSB Themes. You can choose a theme from css/themes instead of get all themes -->
  25. <link href="css/themes/all-themes.css" rel="stylesheet"/>
  26. <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
  27. <script src="https://cdn.bootcss.com/popper.js/1.12.9/umd/popper.min.js"
  28. integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
  29. crossorigin="anonymous"></script>
  30. <script src="https://cdn.bootcss.com/bootstrap/4.0.0/js/bootstrap.min.js"
  31. integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
  32. crossorigin="anonymous"></script>
  33. <link rel="icon" href="https://static.jianshukeji.com/highcharts/images/favicon.ico">
  34. <meta name="viewport" content="width=device-width, initial-scale=1">
  35. <style>
  36. /* css 代码 */
  37. </style>
  38. <script src="https://img.hcharts.cn/highcharts/highcharts.js"></script>
  39. <script src="https://img.hcharts.cn/highcharts/modules/exporting.js"></script>
  40. <script src="https://img.hcharts.cn/highcharts-plugins/highcharts-zh_CN.js"></script>
  41. <script src="https://img.hcharts.cn/highcharts/themes/dark-unica.js"></script>
  42. <script language="JavaScript">
  43. function startTime() {
  44. var today = new Date();//定义日期对象
  45. var yyyy = today.getFullYear();//通过日期对象的getFullYear()方法返回年
  46. var MM = today.getMonth() + 1;//通过日期对象的getMonth()方法返回年
  47. var dd = today.getDate();//通过日期对象的getDate()方法返回年
  48. var hh = today.getHours();//通过日期对象的getHours方法返回小时
  49. var mm = today.getMinutes();//通过日期对象的getMinutes方法返回分钟
  50. var ss = today.getSeconds();//通过日期对象的getSeconds方法返回秒
  51. // 如果分钟或小时的值小于10,则在其值前加0,比如如果时间是下午3点20分9秒的话,则显示15:20:09
  52. MM = checkTime(MM);
  53. dd = checkTime(dd);
  54. mm = checkTime(mm);
  55. ss = checkTime(ss);
  56. var day; //用于保存星期(getDay()方法得到星期编号)
  57. if (today.getDay() == 0) day = "星期日 "
  58. if (today.getDay() == 1) day = "星期一 "
  59. if (today.getDay() == 2) day = "星期二 "
  60. if (today.getDay() == 3) day = "星期三 "
  61. if (today.getDay() == 4) day = "星期四 "
  62. if (today.getDay() == 5) day = "星期五 "
  63. if (today.getDay() == 6) day = "星期六 "
  64. document.getElementById('nowDateTimeSpan').innerHTML = yyyy + "-" + MM + "-" + dd + " " + day + " " + hh + ":" + mm + ":" + ss;
  65. setTimeout('startTime()', 1000);//每一秒中重新加载startTime()方法
  66. }
  67. function checkTime(i) {
  68. if (i < 10) {
  69. i = "0" + i;
  70. }
  71. return i;
  72. }
  73. </script>
  74. </head>
  75. <body class="" style="background-color: #17253f !important;" onload="startTime();">
  76. <div class="text-center">
  77. <nav class="navbar" style="background-color: red">
  78. <div class="container-fluid">
  79. <div class="navbar-header">
  80. <a class="navbar-brand text-white" href="index.html">工厂产能监控系统</a>
  81. </div>
  82. <div style="color: #ffffff"><img src="images/logo.jpg" style="width: 10%"> &nbsp;&nbsp;&nbsp;&nbsp;深圳市度彼电子有限公司
  83. </div>
  84. <font color="#ffffff"><span id="nowDateTimeSpan"></span></font>
  85. V161923<div onclick="logout()" class="btn btn-warning"> 注销账户 </div>
  86. </div>
  87. </nav>
  88. <div class="container-fluid" style="margin-top: 10em">
  89. <div class="alert alert-warning" id="mpAlert" style="display:none">
  90. </div>
  91. <div class="alert alert-link" id="mpRemain" style="display:none">
  92. </div>
  93. <div class="card">
  94. <h5 class="card-header">
  95. 生产线模式 :
  96. <select name="select" id="pro_areaCode">
  97. <option value="0" selected="selected">生产拉线数据读取中</option>
  98. </select>
  99. </h5>
  100. <div class="card-body">
  101. <h5 class="card-title">您可以看到生产线内部的实时状况</h5>
  102. <p class="card-text">
  103. 班次 :
  104. <select id="period_ID">
  105. <option value="1">加载中</option>
  106. </select>
  107. </p>
  108. <a href="#" class="btn btn-primary" onclick="moveToStart(this)">开始班次</a>
  109. </div>
  110. </div>
  111. <div class="card">
  112. <h5 class="card-header">大屏模式</h5>
  113. <div class="card-body">
  114. <h5 class="card-title">您可以看到全厂实时状况</h5>
  115. <p class="card-text">点击下面按钮,打开大屏幕</p>
  116. <a href="#" class="btn btn-primary" onclick="location.href='dapingmu.html'">前往大屏幕</a>
  117. </div>
  118. </div>
  119. </div>
  120. </div>
  121. <script src="js/basic.js"></script>
  122. <script src="js/getparam.js"></script>
  123. <script src="js/entrance.js"></script>
  124. </body>
  125. </html>