dapingmu.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474
  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="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. </head>
  37. <body class="theme-red">
  38. <section class="content" style="margin: 0 auto">
  39. <!-- #END# CPU Usage -->
  40. <div class="row clearfix">
  41. <!-- Visitors -->
  42. <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
  43. <div class="card" style="margin-bottom: 0.2em">
  44. <div class="body bg-pink">
  45. <div class="row text-center">
  46. <div class="col-3"></div>
  47. <div class="col-3">全场产能:</div>
  48. <div class="col-3">122555</div>
  49. <div class="col-3"></div>
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. <!-- #END# Visitors -->
  55. <!-- Latest Social Trends -->
  56. <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
  57. <div class="card" style="margin-bottom: 0.2em">
  58. <div class="body bg-cyan text-center">
  59. <div class="row text-center">
  60. <div class="col-3"></div>
  61. <div class="col-3">全厂坏品数:</div>
  62. <div class="col-3">15555</div>
  63. <div class="col-3"></div>
  64. </div>
  65. </div>
  66. </div>
  67. </div>
  68. <!-- #END# Latest Social Trends -->
  69. <!-- Answered Tickets -->
  70. <!-- #END# Answered Tickets -->
  71. </div>
  72. <div class="container-fluid">
  73. <div id="container3" style="min-width:350px;height:330px;padding-bottom: 0.2em"></div>
  74. <div id="container5" style="min-width:350px;height:320px"></div>
  75. </div>
  76. </section>
  77. <!-- Jquery Core Js -->
  78. <script src="plugins/jquery/jquery.min.js"></script>
  79. <!-- Bootstrap Core Js -->
  80. <script src="plugins/bootstrap/js/bootstrap.js"></script>
  81. <!-- Select Plugin Js -->
  82. <script src="plugins/bootstrap-select/js/bootstrap-select.js"></script>
  83. <!-- Slimscroll Plugin Js -->
  84. <script src="plugins/jquery-slimscroll/jquery.slimscroll.js"></script>
  85. <!-- Waves Effect Plugin Js -->
  86. <script src="plugins/node-waves/waves.js"></script>
  87. <!-- Jquery CountTo Plugin Js -->
  88. <script src="plugins/jquery-countto/jquery.countTo.js"></script>
  89. <!-- Morris Plugin Js -->
  90. <script src="plugins/raphael/raphael.min.js"></script>
  91. <script src="plugins/morrisjs/morris.js"></script>
  92. <!-- ChartJs -->
  93. <script src="plugins/chartjs/Chart.bundle.js"></script>
  94. <!-- Flot Charts Plugin Js -->
  95. <script src="plugins/flot-charts/jquery.flot.js"></script>
  96. <script src="plugins/flot-charts/jquery.flot.resize.js"></script>
  97. <script src="plugins/flot-charts/jquery.flot.pie.js"></script>
  98. <script src="plugins/flot-charts/jquery.flot.categories.js"></script>
  99. <script src="plugins/flot-charts/jquery.flot.time.js"></script>
  100. <!-- Sparkline Chart Plugin Js -->
  101. <script src="plugins/jquery-sparkline/jquery.sparkline.js"></script>
  102. <!-- Custom Js -->
  103. <script src="js/admin.js"></script>
  104. <script src="js/pages/index.js"></script>
  105. <!-- Demo Js -->
  106. <script src="js/demo.js"></script>
  107. <script>
  108. var chart = Highcharts.chart('container1', {
  109. chart: {
  110. type: 'area',
  111. backgroundColor:'#E91E63',
  112. style:{
  113. color:'#FFFFFF',
  114. fontSize:"20px",
  115. }
  116. },
  117. colors: [ '#ffffff'
  118. ],
  119. legend: {
  120. enabled: false
  121. },
  122. credits: {
  123. enabled:false,
  124. },
  125. title: {
  126. text: '全厂产能',
  127. style:{
  128. color:'#FFFFFF',
  129. fontSize:"20px",
  130. }
  131. },
  132. xAxis: {
  133. categories: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
  134. labels:{
  135. enabled:false,
  136. style:{
  137. fontSize:16,
  138. color:'#ffffff',
  139. }
  140. }
  141. },
  142. yAxis: {
  143. title: {
  144. text: null
  145. },
  146. labels:{
  147. style:{
  148. fontSize:16,
  149. color:'#ffffff',
  150. }
  151. }
  152. },
  153. /* plotOptions: {
  154. line: {
  155. dataLabels: {
  156. // 开启数据标签
  157. enabled: true
  158. },
  159. // 关闭鼠标跟踪,对应的提示框、点击事件会失效
  160. enableMouseTracking: false
  161. }
  162. series: {
  163. dataLabels: {
  164. enabled: true,
  165. color: 'red',
  166. }
  167. },*/
  168. plotOptions: {
  169. series: {
  170. dataLabels: {
  171. enabled: true,
  172. color: 'black'
  173. }
  174. }
  175. },
  176. series: [{
  177. name: '东京',
  178. data: [7.0, 6.9, 9.5, 14.5, 18.4, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6],
  179. }]
  180. });
  181. </script>
  182. <script>
  183. var chart = Highcharts.chart('container2', {
  184. chart: {
  185. type: 'line',
  186. },
  187. exporting: {
  188. enabled: false
  189. },
  190. credits: {
  191. enabled:false,
  192. },
  193. title: {
  194. text: '全厂坏品数'
  195. },
  196. xAxis: {
  197. categories: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月']
  198. },
  199. yAxis: {
  200. title: {
  201. text: '气温 (°C)'
  202. }
  203. },
  204. plotOptions: {
  205. line: {
  206. dataLabels: {
  207. // 开启数据标签
  208. enabled: true
  209. },
  210. // 关闭鼠标跟踪,对应的提示框、点击事件会失效
  211. enableMouseTracking: false
  212. }
  213. },
  214. series: [{
  215. name: '东京',
  216. data: [7.0, 6.9, 9.5, 14.5, 18.4, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6]
  217. }, {
  218. name: '伦敦',
  219. data: [3.9, 4.2, 5.7, 8.5, 11.9, 15.2, 17.0, 16.6, 14.2, 10.3, 6.6, 4.8]
  220. }]
  221. });
  222. </script>
  223. <script>
  224. var chart = Highcharts.chart('container3', {
  225. title: {
  226. text: null
  227. },
  228. chart: {
  229. zoomType: 'xy'
  230. },
  231. credits:{
  232. enabled: false // 禁用版权信息
  233. },
  234. xAxis: [{
  235. categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
  236. 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
  237. crosshair: true
  238. }],
  239. yAxis: [{ // Primary yAxis
  240. labels: {
  241. format: '{value}',
  242. style: {
  243. color: Highcharts.getOptions().colors[1]
  244. }
  245. },
  246. title: {
  247. text: '堆积数',
  248. style: {
  249. color: Highcharts.getOptions().colors[1]
  250. }
  251. }
  252. }, { // Secondary yAxis
  253. title: {
  254. text: '不良率',
  255. style: {
  256. color: Highcharts.getOptions().colors[0]
  257. }
  258. },
  259. labels: {
  260. format: '{value} %',
  261. style: {
  262. color: Highcharts.getOptions().colors[0]
  263. }
  264. },
  265. opposite: true
  266. }],
  267. tooltip: {
  268. shared: true
  269. },
  270. legend: {
  271. layout: 'vertical',
  272. align: 'left',
  273. x: 120,
  274. verticalAlign: 'top',
  275. y: 100,
  276. floating: true,
  277. backgroundColor: (Highcharts.theme && Highcharts.theme.legendBackgroundColor) || '#FFFFFF'
  278. },
  279. series: [ {
  280. name: '堆积数',
  281. color:'#ffc107',
  282. type: 'area',
  283. data: [7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6],
  284. tooltip: {
  285. valueSuffix: ''
  286. }
  287. },{
  288. name: '不良率',
  289. type: 'spline',
  290. color:'#ff0000',
  291. yAxis: 1,
  292. data: [49.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4],
  293. tooltip: {
  294. valueSuffix: ' %'
  295. }
  296. }]
  297. });
  298. </script>
  299. <script>
  300. /*var chart = Highcharts.chart('container4', {
  301. chart: {
  302. type: 'line',
  303. },
  304. credits: {
  305. enabled:false,
  306. },
  307. title: {
  308. text: null
  309. },
  310. xAxis: {
  311. categories: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月']
  312. },
  313. yAxis: [{ // Primary yAxis
  314. labels: {
  315. format: '{value}',
  316. style: {
  317. color: Highcharts.getOptions().colors[1]
  318. }
  319. },
  320. title: {
  321. text: '堆积数',
  322. style: {
  323. color: Highcharts.getOptions().colors[1]
  324. }
  325. }
  326. }, { // Secondary yAxis
  327. title: {
  328. text: '不良率',
  329. style: {
  330. color: Highcharts.getOptions().colors[0]
  331. }
  332. },
  333. labels: {
  334. format: '{value} %',
  335. style: {
  336. color: Highcharts.getOptions().colors[0]
  337. }
  338. },
  339. opposite: true
  340. }],
  341. plotOptions: {
  342. line: {
  343. dataLabels: {
  344. // 开启数据标签
  345. enabled: true
  346. },
  347. // 关闭鼠标跟踪,对应的提示框、点击事件会失效
  348. enableMouseTracking: false
  349. }
  350. },
  351. series: [{
  352. name: '不良率',
  353. type: 'spline',
  354. yAxis: 1,
  355. data: [49.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4],
  356. tooltip: {
  357. valueSuffix: ' %'
  358. }
  359. }, {
  360. name: '堆积数',
  361. type: 'spline',
  362. data: [7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6],
  363. tooltip: {
  364. valueSuffix: ''
  365. }
  366. }]
  367. });*/
  368. </script>
  369. <script>
  370. var chart = Highcharts.chart('container5',{
  371. chart: {
  372. type: 'column'
  373. },
  374. credits:{
  375. enabled: false // 禁用版权信息
  376. },
  377. legend: {
  378. enabled: false
  379. },
  380. exporting: {
  381. enabled: false
  382. },
  383. title: {
  384. text: '工位实时产能',
  385. style:{
  386. fontSize:"10px",
  387. }
  388. },
  389. xAxis: {
  390. categories: [
  391. '一月','二月','三月','四月','五月','六月','七月','八月','九月','十月','十一月','十二月'
  392. ],
  393. crosshair: true
  394. },
  395. yAxis: {
  396. min: 0,
  397. title: null
  398. },
  399. tooltip: {
  400. // head + 每个 point + footer 拼接成完整的 table
  401. headerFormat: '<span style="font-size:10px">{point.key}</span><table>',
  402. pointFormat: '<tr><td style="color:{series.color};padding:0">{series.name}: </td>' +
  403. '<td style="padding:0"><b>{point.y:.1f} mm</b></td></tr>',
  404. footerFormat: '</table>',
  405. shared: true,
  406. useHTML: true
  407. },
  408. plotOptions: {
  409. column: {
  410. borderWidth: 0
  411. }
  412. },
  413. series: [{
  414. name: '东京',
  415. data: [49.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
  416. }, {
  417. name: '纽约',
  418. data: [83.6, 78.8, 98.5, 93.4, 106.0, 84.5, 105.0, 104.3, 91.2, 83.5, 106.6, 92.3]
  419. }, {
  420. name: '伦敦',
  421. data: [48.9, 38.8, 39.3, 41.4, 47.0, 48.3, 59.0, 59.6, 52.4, 65.2, 59.3, 51.2]
  422. }, {
  423. name: '柏林',
  424. data: [42.4, 33.2, 34.5, 39.7, 52.6, 75.5, 57.4, 60.4, 47.6, 39.1, 46.8, 51.1]
  425. }]
  426. });
  427. </script>
  428. </body>
  429. </html>