From aa95589f3b49e10a72b2200a865c46b8077a4204 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期三, 11 六月 2025 11:16:32 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/js/report/inOut.js |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/static/js/report/inOut.js b/src/main/webapp/static/js/report/inOut.js
index a755f60..4d6aac3 100644
--- a/src/main/webapp/static/js/report/inOut.js
+++ b/src/main/webapp/static/js/report/inOut.js
@@ -46,6 +46,17 @@
             }
             pageCurr=curr;
             limit();
+
+            $.ajax({
+                url: baseUrl+"/report/viewInOutList/count",
+                headers: {'token': localStorage.getItem('token')},
+                contentType:'application/json;charset=UTF-8',
+                method: 'POST',
+                success: function (res) {
+                    $("#countNumIn").text(res.data.in + '娆�');
+                    $("#countNumOut").text(res.data.out + '娆�');
+                }
+            });
         }
     });
 
@@ -218,6 +229,21 @@
             limit(child);
         }
     });
+    /**
+     * 鏄剧ず搴撳瓨鎬绘暟閲�
+     */
+    $.ajax({
+        url: baseUrl+"/report/viewInOutList/date/count",
+        headers: {'token': localStorage.getItem('token')},
+        contentType:'application/json;charset=UTF-8',
+        method: 'POST',
+        data: JSON.stringify(searchData),
+        success: function (res) {
+            console.log(res);
+            $("#countNumIn").text(res.data.in + '娆�');
+            $("#countNumOut").text(res.data.out + '娆�');
+        }
+    });
 }
 
 function setFormVal(el, data, showImg) {

--
Gitblit v1.9.1