| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303 |
- <!doctype html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
- <link rel="shortcut icon" href="/img/logo.png" />
- <link rel="bookmark" href="/img/logo.png" />
- <link rel="stylesheet" href="/plugins/bootstrap-4.3.1/css/bootstrap.min.css">
- <link rel="stylesheet" href="/plugins/font-awesome-4.7.0/css/font-awesome.min.css">
- <link href="/Plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet" />
- <link rel="stylesheet" href="../DashBoard.css?v3" />
- <script src="/Plugins/jquery-3.4.1/jquery-3.4.1.min.js"></script>
- <script src="/Plugins/xrequest/xrequest.min.js"></script>
- <title>东科软件</title>
- </head>
- <body class="bg-white p-0 dk-report">
- <!--实时缺陷记录-->
- <div class="container-fluid pt-1 p-0 box_1920_1080">
- <div class="position-absolute">
- <span id="成检分级质量" class="dk-report-loading" style="padding-left: 290px;font-size: 13px;color: #38dcff;font-weight: 700;float: left;padding-top: 40px;"></span>
- </div>
- <h4 class="text-center pb-2 dk-report-title" style="font-size: 80px; font-weight: bolder;color: #f8f9fa;">成检分级质量看板(一期)</h4>
- <table id="小件看板第一table" class="table-hover table-striped" style="font-size: 14px; width: 1875px; height:60px; margin-left: 21px; margin-top: -18px;">
- <tr style="height: 70px; width: 1866px;">
- <td scope="col" class="text-center" id="wd" style="width: 130px; font-size: 40px; color: #f8f9fa; text-align:left ">
- <div style="text-align:right;"><span id="sj" style=" font-size: 35px;">0000-00-00 00:00</span></div>
- </td>
- </tr>
- </table>
- <div style="width: 97.7%; height:65%">
- <table id="数据分级" class="table-hover table-striped" style=" width: 100%; height: 5%; margin-left: 21px; margin-top: -17px;">
- <thead style="border: 1px solid #38dcff ">
- <tr style="height: 90px; width: 1866px; ">
- <td colspan="2" scope="col" class="text-center" id="wd" style="width: 130px; font-size: 55px; color: #f8f9fa; text-align: center ">工 号</td>
- <td colspan="2" scope="col" class="text-center" id="wd" style="width: 130px; font-size: 55px; color: #f8f9fa; text-align: center ">检验数</td>
- <td colspan="2" scope="col" class="text-center" id="wd" style="width: 130px; font-size: 55px; color: #f8f9fa; text-align: center ">常规漏检</td>
- <td colspan="2" scope="col" class="text-center" id="wd" style="width: 130px; font-size: 55px; color: #f8f9fa; text-align: center ">严重漏检</td>
- <td colspan="2" scope="col" class="text-center" id="wd" style="width: 130px; font-size: 55px; color: #f8f9fa; text-align: center ">漏检数</td>
- <td colspan="2" scope="col" class="text-center" id="wd" style="width: 130px; font-size: 55px; color: #f8f9fa; text-align: center ">漏检率</td>
- </tr>
- <tr style="height: 90px; width: 1866px; ">
- <td colspan="2" scope="col" class="text-center" id="usercode1" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: center "></td>
- <td colspan="2" scope="col" class="text-center" id="countj1" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: center "></td>
- <td colspan="2" scope="col" class="text-center" id="countcg1" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- <td colspan="2" scope="col" class="text-center" id="countyz1" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- <td colspan="2" scope="col" class="text-center" id="countlj1" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- <td colspan="2" scope="col" class="text-center" id="lv1" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- </tr>
- <tr style="height: 90px; width: 1866px; ">
- <td colspan="2" scope="col" class="text-center" id="usercode2" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: center "></td>
- <td colspan="2" scope="col" class="text-center" id="countj2" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: center "></td>
- <td colspan="2" scope="col" class="text-center" id="countcg2" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- <td colspan="2" scope="col" class="text-center" id="countyz2" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- <td colspan="2" scope="col" class="text-center" id="countlj2" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- <td colspan="2" scope="col" class="text-center" id="lv2" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- </tr>
- <tr style="height: 90px; width: 1866px; ">
- <td colspan="2" scope="col" class="text-center" id="usercode3" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: center "></td>
- <td colspan="2" scope="col" class="text-center" id="countj3" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: center "></td>
- <td colspan="2" scope="col" class="text-center" id="countcg3" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- <td colspan="2" scope="col" class="text-center" id="countyz3" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- <td colspan="2" scope="col" class="text-center" id="countlj3" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- <td colspan="2" scope="col" class="text-center" id="lv3" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- </tr>
- <tr style="height: 90px; width: 1866px; ">
- <td colspan="2" scope="col" class="text-center" id="usercode4" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: center "></td>
- <td colspan="2" scope="col" class="text-center" id="countj4" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: center "></td>
- <td colspan="2" scope="col" class="text-center" id="countcg4" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- <td colspan="2" scope="col" class="text-center" id="countyz4" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- <td colspan="2" scope="col" class="text-center" id="countlj4" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- <td colspan="2" scope="col" class="text-center" id="lv4" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- </tr>
- <tr style="height: 90px; width: 1866px; ">
- <td colspan="2" scope="col" class="text-center" id="usercode5" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: center "></td>
- <td colspan="2" scope="col" class="text-center" id="countj5" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: center "></td>
- <td colspan="2" scope="col" class="text-center" id="countcg5" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- <td colspan="2" scope="col" class="text-center" id="countyz5" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- <td colspan="2" scope="col" class="text-center" id="countlj5" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- <td colspan="2" scope="col" class="text-center" id="lv5" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- </tr>
- <tr style="height: 90px; width: 1866px; ">
- <td colspan="2" scope="col" class="text-center" id="usercode6" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: center "></td>
- <td colspan="2" scope="col" class="text-center" id="countj6" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: center "></td>
- <td colspan="2" scope="col" class="text-center" id="countcg6" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- <td colspan="2" scope="col" class="text-center" id="countyz6" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- <td colspan="2" scope="col" class="text-center" id="countlj6" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- <td colspan="2" scope="col" class="text-center" id="lv6" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- </tr>
- <tr style="height: 90px; width: 1866px; ">
- <td colspan="2" scope="col" class="text-center" id="usercode7" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: center "></td>
- <td colspan="2" scope="col" class="text-center" id="countj7" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: center "></td>
- <td colspan="2" scope="col" class="text-center" id="countcg7" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- <td colspan="2" scope="col" class="text-center" id="countyz7" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- <td colspan="2" scope="col" class="text-center" id="countlj7" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- <td colspan="2" scope="col" class="text-center" id="lv7" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- </tr>
- <tr style="height: 90px; width: 1866px; ">
- <td colspan="2" scope="col" class="text-center" id="usercode8" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: center "></td>
- <td colspan="2" scope="col" class="text-center" id="countj8" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: center "></td>
- <td colspan="2" scope="col" class="text-center" id="countcg8" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- <td colspan="2" scope="col" class="text-center" id="countyz8" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- <td colspan="2" scope="col" class="text-center" id="countlj8" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- <td colspan="2" scope="col" class="text-center" id="lv8" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- </tr>
- <tr style="height: 90px; width: 1866px; ">
- <td colspan="2" scope="col" class="text-center" id="usercode9" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: center "></td>
- <td colspan="2" scope="col" class="text-center" id="countj9" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: center "></td>
- <td colspan="2" scope="col" class="text-center" id="countcg9" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- <td colspan="2" scope="col" class="text-center" id="countyz9" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- <td colspan="2" scope="col" class="text-center" id="countlj9" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- <td colspan="2" scope="col" class="text-center" id="lv9" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 55px; color: #f8f9fa; text-align: right "></td>
- </tr>
- </thead>
- </table>
- </div>
- </div>
- <!--版权信息-->
- <script src="/Plugins/bootstrap-4.3.1/js/bootstrap.bundle.min.js"></script>
- <script src="/Plugins/bootstrap-table/bootstrap-table.min.js"></script>
- <script src="/Plugins/bootstrap-table/bootstrap-table-locale-all.min.js"></script>
- <script src="/Plugins/sweetalert/sweetalert.min.js"></script>
- <script src="/Plugins/chartjs-2.8.0/chart-2.8.min.js"></script>
- <script src="/Plugins/chartjs-2.8.0/utils.js"></script>
- <script>
- //缺陷明细定时翻页
- var showpage = 10; //显示条数
- var pages = 1; //当前页数
- var excesspage; //剩余条数
- var countpage; //总条数
- $(document).ready(function () {
- loadServerTime();
- TableOne();
- doGetData = setInterval(function () { TableOne(); }, 60000);
- doGetData = setInterval(function () { loadServerTime(); }, 60000);
- });
- //取服务器时间
- function loadServerTime() {
- $.get('GradingData.ashx?m=fwq', function (data) {
- var json = JSON.parse(data);
- if (json["success"] == true) {
- $('#sj').html(json["sj"]);
- }
- });
- }
- function TableOne() {
- $.get('GradingData.ashx?m=分级数据', function (data) {
- var json = JSON.parse(data);
- if (json["success"] == true) {
- $('#usercode1').text(json["rows"][0]["USERCODE"]);
- $('#countj1').text(json["rows"][0]["COUNTJ"]);
- $('#countcg1').text(json["rows"][0]["COUNTCG"]);
- $('#countyz1').text(json["rows"][0]["COUNTYZ"]);
- $('#countlj1').text(json["rows"][0]["COUNTLJ"]);
- $('#lv1').text(json["rows"][0]["LV"]);
- $('#usercode2').text(json["rows"][1]["USERCODE"]);
- $('#countj2').text(json["rows"][1]["COUNTJ"]);
- $('#countcg2').text(json["rows"][1]["COUNTCG"]);
- $('#countyz2').text(json["rows"][1]["COUNTYZ"]);
- $('#countlj2').text(json["rows"][1]["COUNTLJ"]);
- $('#lv2').text(json["rows"][1]["LV"]);
- $('#usercode3').text(json["rows"][2]["USERCODE"]);
- $('#countj3').text(json["rows"][2]["COUNTJ"]);
- $('#countcg3').text(json["rows"][2]["COUNTCG"]);
- $('#countyz3').text(json["rows"][2]["COUNTYZ"]);
- $('#countlj3').text(json["rows"][2]["COUNTLJ"]);
- $('#lv3').text(json["rows"][2]["LV"]);
- $('#usercode4').text(json["rows"][3]["USERCODE"]);
- $('#countj4').text(json["rows"][3]["COUNTJ"]);
- $('#countcg4').text(json["rows"][3]["COUNTCG"]);
- $('#countyz4').text(json["rows"][3]["COUNTYZ"]);
- $('#countlj4').text(json["rows"][3]["COUNTLJ"]);
- $('#lv4').text(json["rows"][3]["LV"]);
- $('#usercode5').text(json["rows"][4]["USERCODE"]);
- $('#countj5').text(json["rows"][4]["COUNTJ"]);
- $('#countcg5').text(json["rows"][4]["COUNTCG"]);
- $('#countyz5').text(json["rows"][4]["COUNTYZ"]);
- $('#countlj5').text(json["rows"][4]["COUNTLJ"]);
- $('#lv5').text(json["rows"][4]["LV"]);
- $('#usercode6').text(json["rows"][5]["USERCODE"]);
- $('#countj6').text(json["rows"][5]["COUNTJ"]);
- $('#countcg6').text(json["rows"][5]["COUNTCG"]);
- $('#countyz6').text(json["rows"][5]["COUNTYZ"]);
- $('#countlj6').text(json["rows"][5]["COUNTLJ"]);
- $('#lv6').text(json["rows"][5]["LV"]);
- var a1 = json["rows"][0]["LV"];
- var lj1 = parseFloat(a1.replace(/[^\d.]/g, ""));
- if (lj1 > 0.8) {
- document.getElementById('lv1').style.color = 'red';
- }
- else {
- document.getElementById('lv1').style.color = '';
- }
- var a2 = json["rows"][1]["LV"];
- var lj2 = parseFloat(a2.replace(/[^\d.]/g, ""));
- if (lj2 > 0.8) {
- document.getElementById('lv2').style.color = 'red';
- }
- else {
- document.getElementById('lv2').style.color = '';
- }
- var a3 = json["rows"][2]["LV"];
- var lj3 = parseFloat(a3.replace(/[^\d.]/g, ""));
- if (lj3 > 0.8) {
- document.getElementById('lv3').style.color = 'red';
- }
- else {
- document.getElementById('lv3').style.color = '';
- }
- var a4 = json["rows"][3]["LV"];
- var lj4 = parseFloat(a4.replace(/[^\d.]/g, ""));
- if (lj4 > 0.8) {
- document.getElementById('lv4').style.color = 'red';
- }
- else {
- document.getElementById('lv4').style.color = '';
- }
- var a5 = json["rows"][4]["LV"];
- var lj5 = parseFloat(a5.replace(/[^\d.]/g, ""));
- if (lj5 > 0.8) {
- document.getElementById('lv5').style.color = 'red';
- }
- else {
- document.getElementById('lv5').style.color = '';
- }
- var a6 = json["rows"][5]["LV"];
- var lj6 = parseFloat(a6.replace(/[^\d.]/g, ""));
- if (lj6 > 0.8) {
- document.getElementById('lv6').style.color = 'red';
- }
- else {
- document.getElementById('lv6').style.color = '';
- }
- $('#usercode7').text(json["rows"][6]["USERCODE"]);
- $('#countj7').text(json["rows"][6]["COUNTJ"]);
- $('#countcg7').text(json["rows"][6]["COUNTCG"]);
- $('#countyz7').text(json["rows"][6]["COUNTYZ"]);
- $('#countlj7').text(json["rows"][6]["COUNTLJ"]);
- $('#lv7').text(json["rows"][6]["LV"]);
- var a7 = json["rows"][6]["LV"];
- var lj7 = parseFloat(a7.replace(/[^\d.]/g, ""));
- if (lj7 > 0.8) {
- document.getElementById('lv7').style.color = 'red';
- }
- else {
- document.getElementById('lv7').style.color = '';
- }
- $('#usercode8').text(json["rows"][7]["USERCODE"]);
- $('#countj8').text(json["rows"][7]["COUNTJ"]);
- $('#countcg8').text(json["rows"][7]["COUNTCG"]);
- $('#countyz8').text(json["rows"][7]["COUNTYZ"]);
- $('#countlj8').text(json["rows"][7]["COUNTLJ"]);
- $('#lv8').text(json["rows"][7]["LV"]);
- var a8 = json["rows"][7]["LV"];
- var lj8 = parseFloat(a8.replace(/[^\d.]/g, ""));
- if (lj8 > 0.8) {
- document.getElementById('lv8').style.color = 'red';
- }
- else {
- document.getElementById('lv8').style.color = '';
- }
- $('#usercode9').text(json["rows"][8]["USERCODE"]);
- $('#countj9').text(json["rows"][8]["COUNTJ"]);
- $('#countcg9').text(json["rows"][8]["COUNTCG"]);
- $('#countyz9').text(json["rows"][8]["COUNTYZ"]);
- $('#countlj9').text(json["rows"][8]["COUNTLJ"]);
- $('#lv9').text(json["rows"][8]["LV"]);
- var a9 = json["rows"][8]["LV"];
- var lj9 = parseFloat(a9.replace(/[^\d.]/g, ""));
- if (lj9 > 0.8) {
- document.getElementById('lv9').style.color = 'red';
- }
- else {
- document.getElementById('lv9').style.color = '';
- }
- }
- });
- }
-
- </script>
- <style>
- table {
- height: 40px;
- color: #f8f9fa !important;
- font-size: 20px;
- font-weight: 700;
- background: rgba(25, 52, 90,.5);
- border: 1px solid #38dcff;
- margin-bottom: 1rem;
- }
- td {
- padding: 2px !important;
- text-align: center !important;
- border-bottom: 1px solid #38dcff !important;
- border-right: 1px dashed #38dcff !important;
- border: white;
- }
- a {
- background-color: lightblue;
- }
- </style>
- </body>
- </html>
|