123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219 |
- <html xmlns:v-on="http://www.w3.org/1999/xhtml" xmlns:v-bind="http://www.w3.org/1999/xhtml">
- <head>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=Edge">
- <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
- <title>加载中 | 流水线管理 | 度彼科技 </title>
- <!-- Favicon-->
- <link rel="icon" href="favicon.ico" type="image/x-icon">
- <!-- Google Fonts -->
- <link href="css/cyllic.css" rel="stylesheet" type="text/css">
- <link href="css/mateial.css" rel="stylesheet" type="text/css">
- <!-- Bootstrap Core Css -->
- <link rel="stylesheet" href="css/third/bootstrap.min.css"
- >
- <!-- Waves Effect Css -->
- <link href="plugins/node-waves/waves.css" rel="stylesheet"/>
- <!-- Animation Css -->
- <link href="plugins/animate-css/animate.css" rel="stylesheet"/>
- <!-- Morris Chart Css-->
- <link href="plugins/morrisjs/morris.css" rel="stylesheet"/>
- <!-- Custom Css -- >
- <link href="css/style-frontend.css" rel="stylesheet">
- <!-- AdminBSB Themes. You can choose a theme from css/themes instead of get all themes -->
- <link href="css/themes/all-themes.css" rel="stylesheet"/>
- <script src="css/third/jq.3.2.1.min.js"></script>
- <script src="css/third/popper.1.12.9.js"></script>
- <script src="css/third/boot.min.js"></script>
- <script src="js/vue.js"></script>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <style>
- /* css 代码 */
- th, td{
- color:#fff;
- font-size: 1.2em;
- }
- .big-letter{
- font-size: 1.2em;
- }
- .middle-font{
- font-size: 1.02em;
- }
- .green-bar {
- background-color: #0f9d58;
- }
- .red-bar {
- background-color: #732020;
- }
- </style>
- <script src="css/third/hchart.js"></script>
- <script src="css/third/exporting.js"></script>
- <script src="css/third/cn.js"></script>
- <script src="css/third/dark.js"></script>
- <script src="js/timeService.js"></script>
- </head>
- <body class="theme-black" style="background-color: #2d2d2d !important;overflow: hidden" onload="startTime()">
- <nav class="navbar clearfix navbar-expand-lg navbar-dark" role="navigation" style="background-color: #732020;">
- <a class="navbar-brand" href="#">
- <img src="images/logo.jpg" width="42" height="30" class="d-inline-block align-top" alt="">
- 工厂产能监控系统
- </a>
- <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
- <span class="navbar-toggler-icon"></span>
- </button>
- <div class="collapse navbar-collapse" id="navbarSupportedContent">
- <ul class="navbar-nav mr-auto">
- <li class="nav-item">
- <a class="nav-link" href="#"> 主页 <span class="sr-only">(current)</span></a>
- </li>
- <li class="nav-item ">
- <a class="nav-link" href="dapingmu.html">全厂大屏</a>
- </li>
- <li class="nav-item active">
- <a class="nav-link" href="dapingmu.html">产线大屏</a>
- </li>
- <li class="nav-item dropdown">
- <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
- 前往
- </a>
- <div class="dropdown-menu" aria-labelledby="navbarDropdown">
- <a class="dropdown-item" href="#" onclick="history.go(0)">刷新</a>
- <div class="dropdown-divider"></div>
- <a class="dropdown-item" href="/server">后台入口</a>
- </div>
- </li>
- <li class="nav-item">
- <a class="nav-link bg-red text-white" href="javascript:void;" id="flow_title">深圳市度彼电子有限公司</a>
- </li>
- </ul>
- <div class="form-inline my-2 my-lg-0 text-white" >
- <button class="btn btn-outline-dark my-2 my-sm-0 text-white" id="nowDateTimeSpan"></button>
- <button class="btn btn-danger my-2 my-sm-0 close-schedule">下班</button>
- <button class="btn btn-warning my-2 my-sm-0 open-clear-panel">清除数据</button>
- <button class="btn btn-success my-2 my-sm-0" onclick="history.go(0)">重新加载</button>
- </div>
- </div>
- <!--<div class="container-fluid">
- <div class="navbar-header">
- <a class="navbar-brand" href="index.html">工厂产能监控系统</a>
- </div>
- <div style="color:#fff" class="text-center"><img src="images/logo.jpg" style="width: 10%;"> 深圳市度彼电子有限公司</div>
- <font color="#ffffff"><span id="nowDateTimeSpan"></span></font>
- </div>-->
- </nav>
- <div class="container" style="max-width:none; !important;">
- <div class="alert alert-warning" id="mpAlert" style="display:none">
- </div>
- <!-- Modal -->
- <div class="modal fade" id="clearModal" tabindex="-1" role="dialog" aria-labelledby="clearModalLabel" aria-hidden="true">
- <div class="modal-dialog modal-dialog-centered" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <h5 class="modal-title" id="clearModalLabel">清空手持机</h5>
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
- <span aria-hidden="true">×</span>
- </button>
- </div>
- <div class="modal-body">
- 请输入清除的手持机ID(编码):
- <input size="10" type="text" id="handInput">
- <div class="progress" style="display: none;" id="clearProgress">
- <div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100" style="width: 75%"></div>
- </div>
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
- <button type="button" class="btn btn-primary confirm-clear-data" data-dismiss="modal">确认清除</button>
- </div>
- </div>
- </div>
- </div>
- <div class="text-white row middle-font">
- <div class="col-md-3" style="height: 30vh">
- <div class="text-center big-letter">全厂产能统计</div>
- <table class="table table-bordered text-center">
- <thead>
- <tr>
- <th scope="col">时间</th>
- <th scope="col">良品数</th>
- <th scope="col">不良品数</th>
- <th scope="col">堆积数</th>
- <th scope="col">不良率</th>
- </tr>
- </thead>
- <tbody id="rank-one">
- </tbody>
- </table>
- </div>
- <div class="col-md-9 text-white" style="height: 30vh" id="redrank">
- <div class="text-center text-lg big-letter" @click="clicktitle">{{title}}</div>
- <div class="row">
- <div class="col-md-4" v-for="parto in parting">
- <table class="table table-bordered text-center table-striped">
- <thead>
- <tr>
- <th>名次</th>
- <th @click="useId">人员</th>
- <th @click="usePass">良品</th>
- <th @click="useFail">坏品</th>
- <th @click="useTotal">总量</th>
- <th @click="useRate">不良率</th>
- </tr>
- </thead>
- <tbody class="table-rank-0">
- <tr v-for="one in parto" v-bind:class="{'red-bar' : one.isRed, 'green-bar': one.isGreen}">
- <td>{{one.seq+1}}</td>
- <td>{{one.workerName}}</td>
- <td>{{one.passNum}}</td>
- <td>{{one.failNum}}</td>
- <td>{{one.totalNum}}</td>
- <td>{{one.failRate}} %</td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- <div class="container" style="height:50vh; max-width: 90% !important;" sxtyle-height="50">
- <div class="row col-md-12 ">
- <div id="graph-1" class="chartsize col-md-12" style="height:30vh" sxtyle-height="30"></div>
- </div>
- <div class="row col-md-12 ">
- <div id="graph-2" class="chartsize col-md-12" style="height:30vh" sxtyle-height="30"></div>
- </div>
- </div>
- </div>
- <!-- Modal -->
- <div id="modalContainer"></div>
- <!-- Common Js Files -->
- <script src="js/basic.js"></script>
- <script src="js/getparam.js"></script>
- <script src="js/resize.js"></script>
- <script src="js/common.js"></script>
- <!--- Unique -->
- <script src="js/lazhang-data.js"></script>
- <script src="js/lazhang-display.js"></script>
- <script src="js/newCommon.js"></script>
- <script src="js/newRedrankvue.js"></script>
- <script src="js/newLazhang.js"></script>
- </body>
- </html>
|