From 40254eb1fc7ad9bef6e820c0ffc0cc5a63e9e53e Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期二, 21 十月 2025 09:53:54 +0800
Subject: [PATCH] 1
---
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