From b51eadaa66a5c0ee6da0e418a3ba193dfc878fca Mon Sep 17 00:00:00 2001 From: zhang <zc857179121@qq.com> Date: 星期四, 03 七月 2025 13:21:56 +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