| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198 |
- <!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="box_1920_1080" style="width: 1280px; height: 720px; background-size: contain;">>
- <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: 60px; font-weight: bolder;color: #f8f9fa;">高压看板</h4>
- <table id="高压看板table" class="table-hover table-striped" style="font-size: 14px; width: 1244px; margin-left: 21px; margin-top: -18px;">
- <thead style="border: 1px solid #38dcff ">
- <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>
- </thead>
- </table>
- <div style="width: 610px; height: 100px ">
- <table id="C25" class="table-hover table-striped" style=" width: 100%; height: 5%; margin-left: 21px; margin-top: -17px;">
- <thead style="height: 250px ;border: 1px solid #38dcff ">
- <tr style="height: 100px; width: 1866px; ">
- <td colspan="6" scope="col" class="text-center" id="wd" style="width: 200px; font-size: 82px; color: #f8f9fa; text-align: center ">C25</td>
- </tr>
- <tr style="height: 50px; width: 1866px; ">
- <td colspan="2" scope="col" class="text-center" id="wd" style="width: 130px; font-size: 52px; color: #f8f9fa; text-align: center ">型 号</td>
- <td colspan="2" scope="col" class="text-center" id="wd" style="width: 130px; font-size: 35px; color: #f8f9fa; text-align: center ">H01412M-G</td>
- <td colspan="2" scope="col" class="text-center" id="wd" style="width: 130px; font-size: 35px; color: #f8f9fa; text-align: center ">H0972M-G</td>
- </tr>
- <tr style="height: 50px; width: 1866px; ">
- <td colspan="2" scope="col" class="text-center" id="gh1" style="width: 130px; font-size: 52px; color: #f8f9fa; text-align: center ">注浆数</td>
- <td colspan="2" scope="col" class="text-center" id="cl1" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 40px; color: #f8f9fa; text-align: center "></td>
- <td colspan="2" scope="col" class="text-center" id="hgl1" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 40px; color: #f8f9fa; text-align: right "></td>
- </tr>
- <tr style="height: 50px; width: 1866px; ">
- <td colspan="2" scope="col" class="text-center" id="gh2" style="width: 130px; font-size: 52px; color: #f8f9fa; text-align: center ">修补率</td>
- <td colspan="2" scope="col" class="text-center" id="cl2" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 40px; color: #f8f9fa; text-align: center "></td>
- <td colspan="2" scope="col" class="text-center" id="hgl2" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 40px; color: #f8f9fa; text-align: right "></td>
- </tr>
- <tr style="height: 50px; width: 1866px; ">
- <td colspan="2" scope="col" class="text-center" id="gh3" style="width: 130px; font-size: 52px; color: #f8f9fa; text-align: center ">保坯率</td>
- <td colspan="2" scope="col" class="text-center" id="cl3" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 40px; color: #f8f9fa; text-align: center "></td>
- <td colspan="2" scope="col" class="text-center" id="hgl3" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 40px; color: #f8f9fa; text-align: right "></td>
- </tr>
- <tr style="height: 50px; width: 1866px; ">
- <td colspan="2" scope="col" class="text-center" id="gh4" style="width: 130px; font-size: 52px; color: #f8f9fa; text-align: center ">合格率</td>
- <td colspan="2" scope="col" class="text-center" id="cl4" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 40px; color: #f8f9fa; text-align: center "></td>
- <td colspan="2" scope="col" class="text-center" id="hgl4" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 40px; color: #f8f9fa; text-align: right "></td>
- </tr>
- </thead>
- </table>
- </div>
- <div style="width: 630px; height:100px; margin-top: -100px; margin-left: 610px;">
- <table id="C89" 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: 100px; width: 1866px; ">
- <td colspan="6" scope="col" class="text-center" id="wd" style="width: 100px; font-size: 82px; color: #f8f9fa; text-align: center ">C89</td>
- </tr>
- <tr style="height: 50px; width: 1866px; ">
- <td colspan="2" scope="col" class="text-center" id="wd" style="width: 130px; font-size: 52px; color: #f8f9fa; text-align: center ">型 号</td>
- <td colspan="2" scope="col" class="text-center" id="wd" style="width: 130px; font-size: 35px; color: #f8f9fa; text-align: center ">H01412M-G</td>
- <td colspan="2" scope="col" class="text-center" id="wd" style="width: 130px; font-size: 35px; color: #f8f9fa; text-align: center ">H0972M-G</td>
- </tr>
- <tr style="height: 50px; width: 1866px; ">
- <td colspan="2" scope="col" class="text-center" id="gh6" style="width: 130px; font-size: 52px; color: #f8f9fa; text-align: center ">注浆数</td>
- <td colspan="2" scope="col" class="text-center" id="cl6" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 40px; color: #f8f9fa; text-align: center "></td>
- <td colspan="2" scope="col" class="text-center" id="hgl6" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 40px; color: #f8f9fa; text-align: right "> </td>
- </tr>
- <tr style="height: 50px; width: 1866px; ">
- <td colspan="2" scope="col" class="text-center" id="gh7" style="width: 130px; font-size: 52px; color: #f8f9fa; text-align: center ">修补率</td>
- <td colspan="2" scope="col" class="text-center" id="cl7" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 40px; color: #f8f9fa; text-align: center "></td>
- <td colspan="2" scope="col" class="text-center" id="hgl7" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 40px; color: #f8f9fa; text-align: right "> </td>
- </tr>
- <tr style="height: 50px; width: 1866px; ">
- <td colspan="2" scope="col" class="text-center" id="gh8" style="width: 130px; font-size: 52px; color: #f8f9fa; text-align: center ">保坯率</td>
- <td colspan="2" scope="col" class="text-center" id="cl8" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 40px; color: #f8f9fa; text-align: center "></td>
- <td colspan="2" scope="col" class="text-center" id="hgl8" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 40px; color: #f8f9fa; text-align: right "></td>
- </tr>
- <tr style="height: 50px; width: 1866px; ">
- <td colspan="2" scope="col" class="text-center" id="gh9" style="width: 130px; font-size: 52px; color: #f8f9fa; text-align: center ">合格率</td>
- <td colspan="2" scope="col" class="text-center" id="cl9" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 40px; color: #f8f9fa; text-align: center "></td>
- <td colspan="2" scope="col" class="text-center" id="hgl9" style="padding: 0px 0px 0px 0px; width: 130px; font-size: 40px; 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();
- Lode();
- doGetData = setInterval(function () { loadServerTime(); }, 60000);
- doGetData = setInterval(function () { Lode(); }, 60000);
- });
- function Lode() {
- TableOne();
- }
-
- //function loadServerTime() {
- // // 获取当前日期和时间
- // const now = new Date();
- // // 格式化日期为 'YYYY-MM-DD HH:mm' 的形式
- // const formattedDate = `${now.getFullYear()}-${('0' + (now.getMonth() + 1)).slice(-2)}-${('0' + now.getDate()).slice(-2)} ${('0' + now.getHours()).slice(-2)}:${('0' + now.getMinutes()).slice(-2)}`;
- // // 将格式化后的日期和时间显示在页面上
- // document.getElementById('sj').textContent = formattedDate;
- // console.log(formattedDate);
- //}
- // 取服务器时间
- function loadServerTime() {
- $.get('HighPressureKanban.ashx?m=fwq', function (data) {
- var json = JSON.parse(data);
- if (json["success"] == true) {
- $('#sj').html(json["sj"]);
- }
- });
- }
-
- function TableOne() {
- $.get('HighPressureKanban.ashx?m=ReadAll', function (data) {
- var json = JSON.parse(data);
- //console.log(json);
- if (json["success"] == true) {
- for (var i = 0; i < json["rows"].length; i++) {
- $('#cl1').text(json["rows"][0]["实时注浆"]);
- $('#hgl1').text(json["rows"][1]["实时注浆"]);
- $('#cl2').text(json["rows"][0]["一检修补率"]);
- $('#hgl2').text(json["rows"][1]["一检修补率"]);
- $('#cl3').text(json["rows"][0]["保坯率"]);
- $('#hgl3').text(json["rows"][1]["保坯率"]);
- $('#cl4').text(json["rows"][0]["合格率"]);
- $('#hgl4').text(json["rows"][1]["合格率"]);
- $('#cl6').text(json["rows"][2]["实时注浆"]);
- $('#hgl6').text(json["rows"][3]["实时注浆"]);
- $('#cl7').text(json["rows"][2]["一检修补率"]);
- $('#hgl7').text(json["rows"][3]["一检修补率"]);
- $('#cl8').text(json["rows"][2]["保坯率"]);
- $('#hgl8').text(json["rows"][3]["保坯率"]);
- $('#cl9').text(json["rows"][2]["合格率"]);
- $('#hgl9').text(json["rows"][3]["合格率"]);
- }
- }
- });
- }
-
-
- </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>
|