dapingmu.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496
  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" style="font-size: 2em">
  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" style="font-size: 2em">
  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:300px"></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. exporting: {
  235. enabled: false
  236. },
  237. xAxis: [{
  238. categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
  239. 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
  240. labels: {
  241. enabled: false,
  242. }
  243. }],
  244. yAxis: [{ // Primary yAxis
  245. labels: {
  246. format: '{value}',
  247. style: {
  248. color: '#ffc107',
  249. fontSize:'20px'
  250. }
  251. },
  252. title: {
  253. text: '堆积数',
  254. style: {
  255. color: '#ffc107',
  256. fontSize:'20px'
  257. }
  258. }
  259. }, { // Secondary yAxis
  260. title: {
  261. text: '不良率',
  262. style: {
  263. color: 'red',
  264. fontSize:'20px'
  265. }
  266. },
  267. min:0,
  268. max:25,
  269. labels: {
  270. format: '{value} %',
  271. style: {
  272. color: 'red',
  273. fontSize:'20px'
  274. }
  275. },
  276. opposite: true
  277. }],
  278. tooltip: {
  279. shared: true
  280. },
  281. legend: {
  282. layout: 'vertical',
  283. align: 'left',
  284. x: 120,
  285. verticalAlign: 'top',
  286. y: 100,
  287. floating: true,
  288. backgroundColor: (Highcharts.theme && Highcharts.theme.legendBackgroundColor) || '#FFFFFF'
  289. },
  290. series: [ {
  291. name: '堆积数',
  292. color:'#ffc107',
  293. type: 'area',
  294. data: [10,15, 12, 14.5, 18.2, 15, 10, 13, 13.3, 14.3, 13.9, 9.6],
  295. tooltip: {
  296. valueSuffix: ''
  297. }
  298. },{
  299. name: '不良率',
  300. type: 'spline',
  301. color:'#ff0000',
  302. yAxis: 1,
  303. data: [10, 11, 12, 10.1, 10.2, 1, 5, 7, 8, 10, 5, 7],
  304. tooltip: {
  305. valueSuffix: ' %'
  306. }
  307. }]
  308. });
  309. </script>
  310. <script>
  311. /*var chart = Highcharts.chart('container4', {
  312. chart: {
  313. type: 'line',
  314. },
  315. credits: {
  316. enabled:false,
  317. },
  318. title: {
  319. text: null
  320. },
  321. xAxis: {
  322. categories: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月']
  323. },
  324. yAxis: [{ // Primary yAxis
  325. labels: {
  326. format: '{value}',
  327. style: {
  328. color: Highcharts.getOptions().colors[1]
  329. }
  330. },
  331. title: {
  332. text: '堆积数',
  333. style: {
  334. color: Highcharts.getOptions().colors[1]
  335. }
  336. }
  337. }, { // Secondary yAxis
  338. title: {
  339. text: '不良率',
  340. style: {
  341. color: Highcharts.getOptions().colors[0]
  342. }
  343. },
  344. labels: {
  345. format: '{value} %',
  346. style: {
  347. color: Highcharts.getOptions().colors[0]
  348. }
  349. },
  350. opposite: true
  351. }],
  352. plotOptions: {
  353. line: {
  354. dataLabels: {
  355. // 开启数据标签
  356. enabled: true
  357. },
  358. // 关闭鼠标跟踪,对应的提示框、点击事件会失效
  359. enableMouseTracking: false
  360. }
  361. },
  362. series: [{
  363. name: '不良率',
  364. type: 'spline',
  365. yAxis: 1,
  366. 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],
  367. tooltip: {
  368. valueSuffix: ' %'
  369. }
  370. }, {
  371. name: '堆积数',
  372. type: 'spline',
  373. 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],
  374. tooltip: {
  375. valueSuffix: ''
  376. }
  377. }]
  378. });*/
  379. </script>
  380. <script>
  381. var chart = Highcharts.chart('container5',{
  382. chart: {
  383. type: 'column'
  384. },
  385. credits:{
  386. enabled: false // 禁用版权信息
  387. },
  388. legend: {
  389. enabled: false
  390. },
  391. exporting: {
  392. enabled: false
  393. },
  394. title: {
  395. text: '每拉实时产能',
  396. style:{
  397. fontSize:"10px",
  398. }
  399. },
  400. xAxis: {
  401. categories: [
  402. '一月','二月','三月','四月','五月','六月','七月','八月','九月','十月','十一月','十二月'
  403. ],
  404. crosshair: true,
  405. labels:{
  406. style:{
  407. fontSize:'20px'
  408. }
  409. }
  410. },
  411. yAxis: {
  412. min: 0,
  413. title: null,
  414. labels:{
  415. style:{
  416. fontSize:'20px'
  417. }
  418. }
  419. },
  420. tooltip: {
  421. // head + 每个 point + footer 拼接成完整的 table
  422. headerFormat: '<span style="font-size:10px">{point.key}</span><table>',
  423. pointFormat: '<tr><td style="color:{series.color};padding:0">{series.name}: </td>' +
  424. '<td style="padding:0"><b>{point.y:.1f} mm</b></td></tr>',
  425. footerFormat: '</table>',
  426. shared: true,
  427. useHTML: true
  428. },
  429. plotOptions: {
  430. column: {
  431. borderWidth: 0
  432. }
  433. },
  434. series: [{
  435. name: '东京',
  436. 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]
  437. }, {
  438. name: '纽约',
  439. 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]
  440. }, {
  441. name: '伦敦',
  442. 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]
  443. }, {
  444. name: '柏林',
  445. 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]
  446. }]
  447. });
  448. </script>
  449. </body>
  450. </html>