From 15b3d227bc98840ceb7357a44c04e89529883d63 Mon Sep 17 00:00:00 2001 From: zouyx <1798599149@qq.com> Date: Thu, 12 Dec 2024 17:07:02 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=91=E7=9D=A3=E7=AB=AF-=E6=89=A7=E6=B3=95?= =?UTF-8?q?=E5=88=86=E6=9E=90-=E5=AF=BC=E5=87=BA=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../project/code/registration/staticRegistration.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/staticRegistration.html b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/staticRegistration.html index eef0a149..be22e116 100644 --- a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/staticRegistration.html +++ b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/staticRegistration.html @@ -467,9 +467,13 @@ if($('#startTime').val()==null||$('#startTime').val()==""){ params.startTime="2024-08-24"; beginDate=new Date("2024-08-24"); + }else{ + beginDate=new Date($('#startTime').val()); } if($('#endTime').val()==null||$('#endTime').val()==""){ params.endTime=endDate.getFullYear()+"-"+(endDate.getMonth()+1)+"-"+endDate.getDate(); + }else{ + endDate=new Date($('#endTime').val()); } }else{ if($('#dateSearch').val()=="year"){