diff --git a/src/main/webapp/WEB-INF/jsp/dashboard.jsp b/src/main/webapp/WEB-INF/jsp/dashboard.jsp index 65920341..95a353a3 100644 --- a/src/main/webapp/WEB-INF/jsp/dashboard.jsp +++ b/src/main/webapp/WEB-INF/jsp/dashboard.jsp @@ -200,8 +200,8 @@ function fnMakeSkeleton(){ //통계 요청 데이터 생성(여러 건) function fnMakeStatReq(taskSeCd){ - var lastDay = DateUtil.getDate().date.replace("-",""); - var firstDay = DateUtil.getDateDay(-14).date.replaceAll("-",""); + var lastDay = TODAY().replaceAll("-",""); + var firstDay = DateSupport.getAddDay(-14).replaceAll("-",""); var defaultQuery = {}; diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02010-main.jsp index 4cdbf66c..336bbdd1 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02010-main.jsp @@ -495,7 +495,7 @@ $(document).ready(function(){ $P.$find("byOutput").val("동적 검색"); $P.$find("schRgtrNm").prop("readonly", true); // 사용자 이름 - $P.$find("schCrdnYmdFrom").datepicker('setDate', DateUtil.getDateDay(-7).date); + $P.$find("schCrdnYmdFrom").datepicker('setDate', DateSupport.getAddDay(-7)); $P.$find("schCrdnYmdTo").datepicker('setDate', TODAY()); $P.ctrl.dataset.setData([]); $P.alt.dataset.setData([]); diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn03010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn03010-main.jsp index c3287c5e..ec7417a1 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn03010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn03010-main.jsp @@ -182,7 +182,7 @@ $(document).ready(function(){ searchForm.find("select").each(function(){ $(this).find("option:eq(0)").prop("selected", true); }); $P.$find("byOutput").val("동적 검색"); - $P.$find("schCrdnYmdFrom").datepicker('setDate', DateUtil.getDateDay(-5475).date); + $P.$find("schCrdnYmdFrom").datepicker('setDate', DateSupport.getAddDay(-5475)); $P.$find("schCrdnYmdTo").datepicker('setDate', TODAY()); $P.ctrl.dataset.setData([]); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp index fd590ad8..2e8281da 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp @@ -356,7 +356,7 @@ $(document).ready(function(){ $P.$find("byOutput").val("동적 검색"); $P.$find("schRgtrNm").prop("readonly", true); // 사용자 이름 - $P.$find("schCrdnYmdFrom").datepicker('setDate', DateUtil.getDateDay(-365).date); + $P.$find("schCrdnYmdFrom").datepicker('setDate', DateSupport.getAddDay(-365)); $P.$find("schCrdnYmdTo").datepicker('setDate', TODAY()); $P.ctrl.dataset.setData([]); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01010-main.jsp index 8634a43b..63ee1ae1 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01010-main.jsp @@ -314,7 +314,7 @@ $(document).ready(function(){ searchForm.find("select").each(function(){ $(this).find("option:eq(0)").prop("selected", true); }); $P.$find("byOutput").val("동적 검색"); - searchForm.find("[name='schCvlcptRcptYmdFrom']").datepicker('setDate', DateUtil.getDateDay(-5475).date); + searchForm.find("[name='schCvlcptRcptYmdFrom']").datepicker('setDate', DateSupport.getAddDay(-5475)); searchForm.find("[name='schCvlcptRcptYmdTo']").datepicker('setDate', TODAY()); $P.ctrl.dataset.setData([]); diff --git a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc02010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc02010-main.jsp index 188855b5..723196b5 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc02010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc02010-main.jsp @@ -302,7 +302,7 @@ $(document).ready(function(){ searchForm.find("select").each(function(){ $(this).find("option:eq(0)").prop("selected", true); }); $P.$find("byOutput").val("동적 검색"); - $P.$find("schCvlcptRcptYmdFrom").datepicker('setDate', DateUtil.getDateDay(-31).date); + $P.$find("schCvlcptRcptYmdFrom").datepicker('setDate', DateSupport.getAddDay(-31)); $P.$find("schCvlcptRcptYmdTo").datepicker('setDate', TODAY()); $P.ctrl.dataset.setData([]); diff --git a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc03010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc03010-main.jsp index d573ce50..e0c0b8e7 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc03010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc03010-main.jsp @@ -287,7 +287,7 @@ $(document).ready(function(){ searchForm.find("select").each(function(){ $(this).find("option:eq(0)").prop("selected", true); }); $P.$find("byOutput").val("동적 검색"); - $P.$find("schCvlcptRcptYmdFrom").datepicker('setDate', DateUtil.getDateDay(-365).date); + $P.$find("schCvlcptRcptYmdFrom").datepicker('setDate', DateSupport.getAddDay(-365)); $P.$find("schCvlcptRcptYmdTo").datepicker('setDate', TODAY()); $P.ctrl.dataset.setData([]); diff --git a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc04010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc04010-main.jsp index 19bd0873..a6712336 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc04010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc04010-main.jsp @@ -215,7 +215,7 @@ $(document).ready(function(){ **************************************************************************/ $P.fnReset = () => { - $P.$find("schDmndYmdFrom").datepicker('setDate', DateUtil.getDateDay(-5475).date); + $P.$find("schDmndYmdFrom").datepicker('setDate', DateSupport.getAddDay(-5475)); $P.$find("schDmndYmdTo").datepicker('setDate', TODAY()); $P.ctrl.dataset.setData([]); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/epst/epst02030-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/epst/epst02030-main.jsp index 9ddda768..ea299141 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/epst/epst02030-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/epst/epst02030-main.jsp @@ -825,7 +825,7 @@ $("#conOrg--${pageName}").val("${conOrg}"); // E그린 외부기관구분코드 $("#frmSearch--${pageName} input[name='taskSeCd'][value='" + taskSeCd + "']").prop("checked", true); // 업무 구분 AppSupport.initDatepicker("frmSearch--${pageName}"); // 달력 초기화 - $("#schSendDateFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-7).date); + $("#schSendDateFrom--${pageName}").datepicker("setDate", DateSupport.getAddDay(-7)); $("#schSendDateTo--${pageName}").datepicker("setDate", new Date()); $("#byOutput--${pageName}").val("동적 검색"); // 동적 검색 $("#schRgtrNm--${pageName}").prop("readonly", true); // 사용자 이름 diff --git a/src/main/webapp/WEB-INF/jsp/fims/epst/epst02050-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/epst/epst02050-main.jsp index b99b4a80..5cb8d408 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/epst/epst02050-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/epst/epst02050-main.jsp @@ -538,7 +538,7 @@ $("#conOrg--${pageName}").val("${conOrg}"); // E그린 외부기관구분코드 $("#frmSearch--${pageName} input[name='taskSeCd'][value='" + taskSeCd + "']").prop("checked", true); // 업무 구분 코드 AppSupport.initDatepicker("frmSearch--${pageName}"); // 달력 초기화 - $("#schExtriRegymdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-7).date); + $("#schExtriRegymdFrom--${pageName}").datepicker("setDate", DateSupport.getAddDay(-7)); $("#schExtriRegymdTo--${pageName}").datepicker("setDate", new Date()); $("#byOutput--${pageName}").val("동적 검색"); // 동적 검색 $("#schRgtrNm--${pageName}").prop("readonly", true); // 사용자 이름 diff --git a/src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp index 1f9ff5f5..9175c755 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp @@ -577,7 +577,7 @@ $P.$find("frmSearch").find("input[name='taskSeCd'][value='" + taskSeCd + "']").prop("checked", true); // 업무 구분 코드 } - $P.$find("schLevyExclYmdFrom").datepicker('setDate', DateUtil.getDateDay(-7).date); // 부과 제외 일자 시작 + $P.$find("schLevyExclYmdFrom").datepicker('setDate', DateSupport.getAddDay(-7)); // 부과 제외 일자 시작 $P.$find("schLevyExclYmdTo").datepicker('setDate', TODAY()); // 부과 제외 일자 종료 $P.$find("byOutput").val("동적 검색"); // 동적 검색 $P.$find("schRgtrNm").prop("readonly", true); // 사용자 이름 diff --git a/src/main/webapp/WEB-INF/jsp/fims/excl/excl02010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/excl/excl02010-main.jsp index b91b16b6..6e9f1675 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/excl/excl02010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/excl/excl02010-main.jsp @@ -696,7 +696,7 @@ $P.$find("frmSearch").find("input[name='taskSeCd'][value='" + taskSeCd + "']").prop("checked", true); // 업무 구분 코드 } - $P.$find("schRcptYmdFrom").datepicker('setDate', DateUtil.getDateDay(-7).date); // 부과 제외 일자 시작 + $P.$find("schRcptYmdFrom").datepicker('setDate', DateSupport.getAddDay(-7)); // 부과 제외 일자 시작 $P.$find("schRcptYmdTo").datepicker('setDate', TODAY()); // 부과 제외 일자 종료 $P.$find("byOutput").val("동적 검색"); // 동적 검색 $P.$find("schRgtrNm").prop("readonly", true); // 사용자 이름 diff --git a/src/main/webapp/WEB-INF/jsp/fims/excl/excl03010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/excl/excl03010-main.jsp index ad4d5105..aa758867 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/excl/excl03010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/excl/excl03010-main.jsp @@ -561,7 +561,7 @@ $("#sggCd--${pageName}").val("${sggCd}"); // 시군구 코드 $("#frmSearch--${pageName} input[name='taskSeCd'][value='" + taskSeCd + "']").prop("checked", true); // 업무 구분 코드 AppSupport.initDatepicker("frmSearch--${pageName}"); // 달력 초기화 - $("#schReRegYmdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-7).date); // 재등록 일자 시작 + $("#schReRegYmdFrom--${pageName}").datepicker("setDate", DateSupport.getAddDay(-7)); // 재등록 일자 시작 $("#schReRegYmdTo--${pageName}").datepicker("setDate", new Date()); // 재등록 일자 종료 $("#byOutput--${pageName}").val("동적 검색"); // 동적 검색 $("#schRgtrNm--${pageName}").prop("readonly", true); // 사용자 이름 diff --git a/src/main/webapp/WEB-INF/jsp/fims/levy/levy01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/levy/levy01010-main.jsp index cf6a201e..45853fd9 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/levy/levy01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/levy/levy01010-main.jsp @@ -701,7 +701,7 @@ $("#sggCd--${pageName}").val("${sggCd}"); // 시군구 코드 $("#frmSearch--${pageName} input[name='taskSeCd'][value='" + taskSeCd + "']").prop("checked", true); // 업무 구분 코드 AppSupport.initDatepicker("frmSearch--${pageName}"); // 달력 초기화 - $("#schCrdnYmdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-7).date); // 단속 일자 시작 + $("#schCrdnYmdFrom--${pageName}").datepicker("setDate", DateSupport.getAddDay(-7)); // 단속 일자 시작 $("#schCrdnYmdTo--${pageName}").datepicker("setDate", new Date()); // 단속 일자 종료 $("#byOutput--${pageName}").val("동적 검색"); // 동적 검색 $("#schRgtrNm--${pageName}").prop("readonly", true); // 사용자 이름 diff --git a/src/main/webapp/WEB-INF/jsp/fims/levy/levy02010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/levy/levy02010-main.jsp index 36f89d22..78805af8 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/levy/levy02010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/levy/levy02010-main.jsp @@ -704,7 +704,7 @@ $("#sggCd--${pageName}").val("${sggCd}"); // 시군구 코드 $("#frmSearch--${pageName} input[name='taskSeCd'][value='" + taskSeCd + "']").prop("checked", true); // 업무 구분 코드 AppSupport.initDatepicker("frmSearch--${pageName}"); // 달력 초기화 - $("#schRdctYmdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-7).date); // 감경 일자 시작 + $("#schRdctYmdFrom--${pageName}").datepicker("setDate", DateSupport.getAddDay(-7)); // 감경 일자 시작 $("#schRdctYmdTo--${pageName}").datepicker("setDate", new Date()); // 감경 일자 종료 $("#byOutput--${pageName}").val("동적 검색"); // 동적 검색 $("#schRgtrNm--${pageName}").prop("readonly", true); // 사용자 이름 diff --git a/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt02010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt02010-main.jsp index 1e4e34c8..0c85edf6 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt02010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt02010-main.jsp @@ -33,7 +33,7 @@ $(document).ready(function(){ handleWindowResize : false, eventColor: '#ffeecc', select: function(arg) { - $P.getInfo("", arg.startStr.replaceAll("-",""), getPrevDay(arg.endStr.replaceAll("-",""),1)); + $P.getInfo("", arg.startStr.replaceAll("-",""), DateSupport.getPrevDay(arg.endStr.replaceAll("-",""),1)); }, eventClick:function(obj, element) { $P.getInfo(obj.event.id, "", ""); @@ -86,7 +86,7 @@ $(document).ready(function(){ $P.calendar.addEvent({ title : info.schdlCn, start : dateFormat.format(info.schdlBgngYmd), - end : dateFormat.format(getNextDay(info.schdlEndYmd,1)), + end : dateFormat.format(DateSupport.getNextDay(info.schdlEndYmd,1)), allDay : true }); } @@ -94,7 +94,7 @@ $(document).ready(function(){ $P.modify = (info) => { var ev = $P.calendar.getEventById(info.schdlId); ev.setProp("title", info.schdlCn); - ev.setDates(dateFormat.format(info.schdlBgngYmd), dateFormat.format(getNextDay(info.schdlEndYmd,1)), { allDay : true }); + ev.setDates(dateFormat.format(info.schdlBgngYmd), dateFormat.format(DateSupport.getNextDay(info.schdlEndYmd,1)), { allDay : true }); }; $P.del = (info) => { @@ -129,7 +129,7 @@ $(document).ready(function(){ id : info.SCHDL_ID, title : info.SCHDL_CN, start : dateFormat.format(info.SCHDL_BGNG_YMD), - end : dateFormat.format(getNextDay(info.SCHDL_END_YMD,1)), + end : dateFormat.format(DateSupport.getNextDay(info.SCHDL_END_YMD,1)), allDay : true }); diff --git a/src/main/webapp/WEB-INF/jsp/fims/rcvm/rcvm01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/rcvm/rcvm01010-main.jsp index a572635f..c5079fd9 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/rcvm/rcvm01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/rcvm/rcvm01010-main.jsp @@ -730,7 +730,7 @@ $("#sggCd--${pageName}").val("${sggCd}"); // 시군구 코드 $("#frmSearch--${pageName} input[name='taskSeCd'][value='" + taskSeCd + "']").prop("checked", true); // 업무 구분 코드 AppSupport.initDatepicker("frmSearch--${pageName}"); // 달력 초기화 - $("#schAcntgYmdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-7).date); // 회계 일자 시작 + $("#schAcntgYmdFrom--${pageName}").datepicker("setDate", DateSupport.getAddDay(-7)); // 회계 일자 시작 $("#schAcntgYmdTo--${pageName}").datepicker("setDate", new Date()); // 회계 일자 종료 $("#byOutput--${pageName}").val("동적 검색"); // 동적 검색 $("#schRgtrNm--${pageName}").prop("readonly", true); // 사용자 이름 diff --git a/src/main/webapp/WEB-INF/jsp/fims/rdca/rdca01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/rdca/rdca01010-main.jsp index c69a9012..0a843bc7 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/rdca/rdca01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/rdca/rdca01010-main.jsp @@ -735,7 +735,7 @@ // 업무 구분 코드 $("#frmSearch--${pageName} input[name='taskSeCd'][value='" + taskSeCd + "']").prop("checked", true); // 일자 - $("#schRdcamtYmdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-7).date); + $("#schRdcamtYmdFrom--${pageName}").datepicker("setDate", DateSupport.getAddDay(-7)); $("#schRdcamtYmdTo--${pageName}").datepicker("setDate", new Date()); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01010-main.jsp index c54099cb..343c2597 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01010-main.jsp @@ -741,7 +741,7 @@ $("#sggCd--${pageName}").val("${sggCd}"); // 시군구 코드 $("#frmSearch--${pageName} input[name='taskSeCd'][value='" + taskSeCd + "']").prop("checked", true); // 업무 구분 코드 AppSupport.initDatepicker("frmSearch--${pageName}"); // 달력 초기화 - $("#schLevyExclYmdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-7).date); + $("#schLevyExclYmdFrom--${pageName}").datepicker("setDate", DateSupport.getAddDay(-7)); $("#schLevyExclYmdTo--${pageName}").datepicker("setDate", new Date()); $("#byOutput--${pageName}").val("동적 검색"); // 동적 검색 $("#schRgtrNm--${pageName}").prop("readonly", true); // 사용자 이름 diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01030-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01030-main.jsp index bf3d9870..f3391341 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01030-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01030-main.jsp @@ -598,7 +598,7 @@ $("#sggCd--${pageName}").val("${sggCd}"); // 시군구 코드 $("#frmSearch--${pageName} input[name='taskSeCd'][value='" + taskSeCd + "']").prop("checked", true); // 업무 구분 코드 AppSupport.initDatepicker("frmSearch--${pageName}"); // 달력 초기화 - $("#schSndngYmdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-7).date); + $("#schSndngYmdFrom--${pageName}").datepicker("setDate", DateSupport.getAddDay(-7)); $("#schSndngYmdTo--${pageName}").datepicker("setDate", new Date()); $("#byOutput--${pageName}").val("동적 검색"); // 동적 검색 $("#schRgtrNm--${pageName}").prop("readonly", true); // 사용자 이름 diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01050-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01050-main.jsp index dee1795f..2a857475 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01050-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01050-main.jsp @@ -678,7 +678,7 @@ $("#sggCd--${pageName}").val("${sggCd}"); // 시군구 코드 $("#frmSearch--${pageName} input[name='taskSeCd'][value='" + taskSeCd + "']").prop("checked", true); // 업무 구분 코드 AppSupport.initDatepicker("frmSearch--${pageName}"); // 달력 초기화 - $("#schCrdnYmdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-7).date); + $("#schCrdnYmdFrom--${pageName}").datepicker("setDate", DateSupport.getAddDay(-7)); $("#schCrdnYmdTo--${pageName}").datepicker("setDate", new Date()); $("#byOutput--${pageName}").val("동적 검색"); // 동적 검색 $("#schRgtrNm--${pageName}").prop("readonly", true); // 사용자 이름 diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01070-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01070-main.jsp index 0804b4da..b26c0004 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01070-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01070-main.jsp @@ -601,7 +601,7 @@ $("#sggCd--${pageName}").val("${sggCd}"); // 시군구 코드 $("#frmSearch--${pageName} input[name='taskSeCd'][value='" + taskSeCd + "']").prop("checked", true); // 업무 구분 코드 AppSupport.initDatepicker("frmSearch--${pageName}"); // 달력 초기화 - $("#schSndngYmdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-7).date); + $("#schSndngYmdFrom--${pageName}").datepicker("setDate", DateSupport.getAddDay(-7)); $("#schSndngYmdTo--${pageName}").datepicker("setDate", new Date()); $("#byOutput--${pageName}").val("동적 검색"); // 동적 검색 $("#schRgtrNm--${pageName}").prop("readonly", true); // 사용자 이름 diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01080-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01080-info.jsp index 9f9aed7a..addf53d0 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01080-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01080-info.jsp @@ -482,7 +482,7 @@ $("#sndngEndYmd").datepicker("setDate", $P.control.dataset.getValue("SNDNG_END_YMD")); }, onOK: () => { - if (!inputDateComparison($("#sndngYmd").val(), $("#sndngEndYmd").val())) return; + if (!DateSupport.inputDateComparison($("#sndngYmd").val(), $("#sndngEndYmd").val())) return; $P.callbackDate({ "sndngYmd": $("#sndngYmd").val() diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01090-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01090-main.jsp index 3451747d..5f721275 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01090-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01090-main.jsp @@ -632,7 +632,7 @@ $("#frmSearch--${pageName} input[name='taskSeCd'][value='" + taskSeCd + "']").prop("checked", true); // 일자 - $("#schSndngYmdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-7).date); + $("#schSndngYmdFrom--${pageName}").datepicker("setDate", DateSupport.getAddDay(-7)); $("#schSndngYmdTo--${pageName}").datepicker("setDate", new Date()); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01110-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01110-main.jsp index 8e63c367..367ef970 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01110-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01110-main.jsp @@ -652,7 +652,7 @@ $("#sggCd--${pageName}").val("${sggCd}"); // 시군구 코드 $("#frmSearch--${pageName} input[name='taskSeCd'][value='" + taskSeCd + "']").prop("checked", true); // 업무 구분 코드 AppSupport.initDatepicker("frmSearch--${pageName}"); // 달력 초기화 - $("#schSndngYmdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-7).date); + $("#schSndngYmdFrom--${pageName}").datepicker("setDate", DateSupport.getAddDay(-7)); $("#schSndngYmdTo--${pageName}").datepicker("setDate", new Date()); $("#byOutput--${pageName}").val("동적 검색"); // 동적 검색 $("#schRgtrNm--${pageName}").prop("readonly", true); // 사용자 이름 diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01220-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01220-main.jsp index 05fd54b8..58f27e73 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01220-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01220-main.jsp @@ -768,7 +768,7 @@ $("#sggCd--${pageName}").val("${sggCd}"); // 시군구 코드 $("#frmSearch--${pageName} input[name='taskSeCd'][value='" + taskSeCd + "']").prop("checked", true); // 업무 구분 코드 AppSupport.initDatepicker("frmSearch--${pageName}"); // 달력 초기화 - $("#schDlvrYmdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-7).date); + $("#schDlvrYmdFrom--${pageName}").datepicker("setDate", DateSupport.getAddDay(-7)); $("#schDlvrYmdTo--${pageName}").datepicker("setDate", new Date()); $("#schChcRgIndct--${pageName}").prop("checked", true); // 선택등기표시 $("#byOutput--${pageName}").val("동적 검색"); // 동적 검색 diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01240-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01240-main.jsp index 46088aac..45423045 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01240-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01240-main.jsp @@ -532,7 +532,7 @@ // 문서번호, 제목, 공고기한 입력 let docNo = $P.control.dataset.getValue("DOC_NO"); let ttlNm = $P.control.dataset.getValue("TASK_SE_NM") + " 과태료 처분에 대한 " + $P.control.dataset.getValue("TTL_NM"); - let textDate = DateUtil.getDateDay(0).date + " ~ " + DateUtil.getDateDay(15).date + " (15일간)"; + let textDate = DateSupport.getAddDay(0).date + " ~ " + DateSupport.getAddDay(15) + " (15일간)"; // 문서번호, 제목, 공고기한 입력 let resp = await fetch(wctx.url("/resources/html/inputDocNoTtlDialog.html")); @@ -695,7 +695,7 @@ $("#sggCd--${pageName}").val("${sggCd}"); // 시군구 코드 $("#frmSearch--${pageName} input[name='taskSeCd'][value='" + taskSeCd + "']").prop("checked", true); // 업무 구분 코드 AppSupport.initDatepicker("frmSearch--${pageName}"); // 달력 초기화 - $("#schSvbtcYmdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-7).date); + $("#schSvbtcYmdFrom--${pageName}").datepicker("setDate", DateSupport.getAddDay(-7)); $("#schSvbtcYmdTo--${pageName}").datepicker("setDate", new Date()); $("#byOutput--${pageName}").val("동적 검색"); // 동적 검색 $("#schRgtrNm--${pageName}").prop("readonly", true); // 사용자 이름 diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01250-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01250-info.jsp index 4927d7cf..15e9a4a7 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01250-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01250-info.jsp @@ -409,7 +409,7 @@ // 문서번호, 제목, 공고기한 입력 let docNo = $P.control.dataset.getValue("DOC_NO"); let ttlNm = $P.control.dataset.getValue("TASK_SE_NM") + " 과태료 처분에 대한 " + $P.control.dataset.getValue("TTL_NM"); - let textDate = DateUtil.getDateDay(0).date + " ~ " + DateUtil.getDateDay(15).date + " (15일간)"; + let textDate = DateSupport.getAddDay(0).date + " ~ " + DateSupport.getAddDay(15) + " (15일간)"; // 문서번호, 제목, 공고기한 입력 let resp = await fetch(wctx.url("/resources/html/inputDocNoTtlDialog.html")); diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01260-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01260-info.jsp index d67812ad..a3324e85 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01260-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01260-info.jsp @@ -127,7 +127,7 @@ let sndngSeCd = item.data.SNDNG_SE_CD; $("#svbtcYmd--${pageName}").datepicker("setDate", new Date()); - $("#svbtcEndYmd--${pageName}").datepicker("setDate", DateUtil.getDateDay(15).date); + $("#svbtcEndYmd--${pageName}").datepicker("setDate", DateSupport.getAddDay(15)); if (sndngSeCd == "") { $("#ttlNm--${pageName}").val(FIM054[taskSeCd].value + " " + "공시송달"); } else { diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04010-main.jsp index 41dbf8c7..3464db35 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04010-main.jsp @@ -605,7 +605,7 @@ $("#sggCd--${pageName}").val("${sggCd}"); // 시군구 코드 $("#frmSearch--${pageName} input[name='taskSeCd'][value='" + taskSeCd + "']").prop("checked", true); // 업무 구분 코드 AppSupport.initDatepicker("frmSearch--${pageName}"); // 달력 초기화 - $("#schDscsnYmdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-7).date); + $("#schDscsnYmdFrom--${pageName}").datepicker("setDate", DateSupport.getAddDay(-7)); $("#schDscsnYmdTo--${pageName}").datepicker("setDate", new Date()); $("#byOutput--${pageName}").val("동적 검색"); // 동적 검색 $("#schRgtrNm--${pageName}").prop("readonly", true); // 사용자 이름 diff --git a/src/main/webapp/WEB-INF/jsp/include/tail.jsp b/src/main/webapp/WEB-INF/jsp/include/tail.jsp index e7ef8b12..48dc4237 100644 --- a/src/main/webapp/WEB-INF/jsp/include/tail.jsp +++ b/src/main/webapp/WEB-INF/jsp/include/tail.jsp @@ -39,8 +39,8 @@ - +