From 2a42da9e6f7c8fadcc9a3d763e9adbdeacf68a8f Mon Sep 17 00:00:00 2001
From: 18516761980 <56479841@qq.com>
Date: 星期一, 08 八月 2022 19:30:40 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/pipeline.html |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/src/main/webapp/views/pipeline.html b/src/main/webapp/views/pipeline.html
index 89333f8..822c9d8 100644
--- a/src/main/webapp/views/pipeline.html
+++ b/src/main/webapp/views/pipeline.html
@@ -59,9 +59,10 @@
             <!-- 绔欑偣鐘舵�佹暟鎹洃鎺х増 -->
             <div id="site-monitor" class="main-board">
                 <!-- 琛ㄦ牸 -->
-                <table id="site-table">
+                <!--鍥哄畾琛ㄥご table 鍔爐able-layout: fixed;  th 鍔� position:sticky;top: 0;-->
+                <table id="site-table" style="table-layout: fixed;">
                     <!-- 琛ㄥご -->
-                    <thead>
+                    <thead style="position:sticky;top: 0;">
                     <tr>
                         <th>绔欏彿</th>
                         <th>宸ヤ綔鍙�</th>
@@ -72,6 +73,7 @@
                         <th>鍏ュ簱鏍囪</th>
                         <th>绌烘澘淇″彿</th>
                         <th>鐩爣绔�</th>
+                        <th>楂樹綆搴撲綅</th>
                     </tr>
                     </thead>
                     <!-- 琛ㄦ牸鍐呭 -->
@@ -118,8 +120,6 @@
     </div>
 
 </div>
-
-
 </body>
 <script>
     // 鍒濆鍖�
@@ -147,7 +147,8 @@
     },500);
     function starGetSite() {
         if (stop) {
-            return
+            getSite();
+            // return
         } else {
             getSite();
         }
@@ -187,6 +188,7 @@
             method: 'POST',
             success: function (res) {
                 if (res.code === 200){
+                    console.log(res)
                     var table = res.data;
                     if (table.length > siteTableBlankRows && table.length !== siteTableFullRows) {
                         initSiteTable(table.length-siteTableBlankRows);
@@ -203,6 +205,7 @@
                         setVal(tr.children("td").eq(6), table[i-1].pakMk);
                         setVal(tr.children("td").eq(7), table[i-1].emptyMk);
                         setVal(tr.children("td").eq(8), table[i-1].staNo);
+                        setVal(tr.children("td").eq(9), table[i-1].locType1);
                     }
                 } else if (res.code === 403){
                     window.location.href = baseUrl+"/login";
@@ -288,6 +291,7 @@
                 "       <td></td>\n" +
                 "       <td></td>\n" +
                 "       <td></td>\n" +
+                "       <td></td>\n" +
                 "     </tr>\n";
         }
         $('#site-table tbody').after(html);

--
Gitblit v1.9.1