From 60526435234e9bd9468cd4b6d885504964d3ae5f Mon Sep 17 00:00:00 2001
From: mrzhssss <pro6@qq.com>
Date: 星期二, 13 九月 2022 16:52:38 +0800
Subject: [PATCH] ##

---
 src/main/webapp/static/js/tableData2.js |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/src/main/webapp/static/js/tableData2.js b/src/main/webapp/static/js/tableData2.js
index af4d0a8..43c2845 100644
--- a/src/main/webapp/static/js/tableData2.js
+++ b/src/main/webapp/static/js/tableData2.js
@@ -3,9 +3,9 @@
     getThbodyData()
     getType()
 }, 0)
-setInterval(function () {
-    getThbodyData()
-}, 5000)
+//setInterval(function () {
+//    getThbodyData()
+//}, 5000)
 
 //琛ㄥご灏忚繘搴﹁〃
 var getType = function () {
@@ -16,9 +16,9 @@
         success: function (res) {
             if (res.code === 200) {
                 var str = '<tr>'
-                    + '<th>' + '椤圭洰鎬绘暟' + '</th>' + '<th>' + res.data.totalQuantity + '</th>'
-                    + '<th>' + '闆嗘垚椤圭洰' + '</th>' + '<th>' + res.data.intoSum + '</th>'
-                    + '<th>' + '闈為泦鎴愰」鐩暟' + '</th>' + '<th>' + res.data.wrongInto + '</th>'
+                    //+ '<th>' + '椤圭洰鎬绘暟' + '</th>' + '<th>' + res.data.totalQuantity + '</th>'
+                    //+ '<th>' + '闆嗘垚椤圭洰' + '</th>' + '<th>' + res.data.intoSum + '</th>'
+                    + '<th>' + '甯歌椤圭洰鏁�' + '</th>' + '<th>' + res.data.wrongInto + '</th>'
                     + '<th>' + '宸查獙鏀堕」鐩暟' + '</th>' + '<th>' + res.data.inspected + '</th>'
                     + '<th>' + '鏈獙鏀堕」鐩暟' + '</th>' + '<th>' + res.data.wrongInspected + '</th>'
                     + '<th>' + '宸插畬宸ユ湭楠屾敹鏁�' + '</th>' + '<th>' + res.data.finished + '</th>'
@@ -111,10 +111,11 @@
                     }
                     str = ''
                     for (var j = 0; j < node.length; j++) {
-                        var nodeName = node[j].flowId$ // 鑺傜偣鍚嶇О
+                        var weightNum = node[j].weightNum
+                        var itemId = node[j].itemId
                         var nodeEndTime = node[j].endTime$.substring(0, 10)
                         var nodeRealStartTime = node[j].realEndTime$.substring(0, 10)
-                        str1 = '<td class="normal">' + '<p>' + nodeEndTime + '</p>' + '<p>' + nodeRealStartTime + '</p>' + '</td>'
+                        str1 = '<td class="normal" id="item-'+ itemId + '-' + weightNum +'">' + '<p>' + nodeEndTime + '</p>' + '<p>' + nodeRealStartTime + '</p>' + '</td>'
                         str = str + str1
                     }
                     var str2 = '<tr id="row' + i + '" class="row">'

--
Gitblit v1.9.1