From 522073f658bccd864bddeaf1763701a21a8b64c1 Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期二, 25 三月 2025 16:03:10 +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