From da87b03e7195a6f6083e6688182b57d44fa7abf5 Mon Sep 17 00:00:00 2001 From: Leeyh1121 <130335980+Leeyh1121@users.noreply.github.com> Date: Thu, 13 Jun 2024 10:42:58 +0900 Subject: [PATCH] =?UTF-8?q?fit=20:=20=ED=85=8C=EC=9D=B4=EB=B8=94=20?= =?UTF-8?q?=EC=8A=A4=ED=81=AC=EB=A1=A4=20=EA=B8=B0=EB=8A=A5=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jsp/adds/nims/dsuseMgtReceipt-info.jsp | 98 ++++++++++--------- 1 file changed, 54 insertions(+), 44 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-info.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-info.jsp index fabe14b..36811ff 100644 --- a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-info.jsp @@ -98,49 +98,51 @@
@@ -309,7 +311,7 @@ let trs = empty ? [document.getElementById("$productListNotFound--productList").content.outerHTML] : $P.productList.inStrings(foundTr.outerHTML, replacer); - $("#table-responsive--${pageName}")[0].changeContent(trs.join(), true, true); + $("#table-responsive--${pageName}")[0].changeContent(trs.join(), initScroll, noMore); } /************************************************************************** @@ -319,6 +321,13 @@ /************************************************************************** * 사용자 함수(function) **************************************************************************/ + // 검색 자료 재조회 + $P.fnRefreshList = () => { + $P.control.untilPageNum = $P.control.query.pageNum; + $P.control.query.fetchSize = $P.control.defaultFetchSize * $P.control.query.pageNum; + $P.control.load(1); + } + // 업무구분에 따른 URL 설정 $P.fnSetURL = (taskSeCd) => { // $P.control.urls.create = wctx.url("/" + taskSeCd + "${infoPrefixUrl}" + "/040/create.do"); // 등록 @@ -394,6 +403,7 @@ // 초기 화면 설정 $P.initForm = () => { + fnMakeScrollableTable($("#table-responsive--${pageName}")[0], $P.scrollDataList); // Dialog 마우스로 드래그 할 수 있도록 설정. //fnMakeDraggableDialog(document.getElementById($P.control.prefix + "Dialog")); }