From e6d7bd63692beae8f7e610fab35b7e6187eb0ede Mon Sep 17 00:00:00 2001 From: jjh Date: Tue, 4 Jul 2023 18:41:30 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8E=98=EC=9D=B4=EC=A7=80=20=ED=91=9C?= =?UTF-8?q?=EC=8B=9C=20=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp | 6 ++---- src/main/webapp/WEB-INF/jsp/fims/excl/excl02010-main.jsp | 4 +--- src/main/webapp/WEB-INF/jsp/fims/excl/excl03010-main.jsp | 4 +--- src/main/webapp/resources/js/fims/excl/excl01010.js | 4 ++++ src/main/webapp/resources/js/fims/excl/excl02010.js | 4 ++++ src/main/webapp/resources/js/fims/excl/excl03010.js | 4 ++++ 6 files changed, 16 insertions(+), 10 deletions(-) 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 4800fb5b..4cbe7817 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 @@ -303,10 +303,9 @@ ${pageName}Control.onDatasetChange = obj => { renderList${pageName}(); - $("#paging--${pageName}").setPaging({ + $("#paging--${pageName}").setPagingInfo({ list : ${pageName}Control.dataset -// , prefix : ${pageName}Control.prefix - , prefix : "paging--${pageName}" + , prefix : "paging--${pageName}" , start : obj.${infoPrefix}Start , totalSize : obj.${infoPrefix}Total , fetchSize : obj.${infoPrefix}Fetch @@ -362,7 +361,6 @@ ${pageName}Control.query = getParams${pageName}(); // 검색조건 ${pageName}Control.query.orderBy = "LEVY_EXCL_ID"; // 정렬 - ${pageName}Control.urls.load = wctx.url("/excl/excl01/010/list.do"); // url ${pageName}Control.load(pageNumber); } 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 5b3f8d91..71ca3ec5 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 @@ -313,9 +313,8 @@ ${pageName}Control.onDatasetChange = obj => { renderList${pageName}(); - $("#paging--${pageName}").setPaging({ + $("#paging--${pageName}").setPagingInfo({ list : ${pageName}Control.dataset -// , prefix : ${pageName}Control.prefix , prefix : "paging--${pageName}" , start : obj.${infoPrefix}Start , totalSize : obj.${infoPrefix}Total @@ -372,7 +371,6 @@ ${pageName}Control.query = getParams${pageName}(); // 검색조건 ${pageName}Control.query.orderBy = "OPNN_ID"; // 정렬 - ${pageName}Control.urls.load = wctx.url("/excl/excl02/010/list.do"); // url ${pageName}Control.load(pageNumber); } 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 e11806c1..a2b30809 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 @@ -253,9 +253,8 @@ ${pageName}Control.onDatasetChange = obj => { renderList${pageName}(); - $("#paging--${pageName}").setPaging({ + $("#paging--${pageName}").setPagingInfo({ list : ${pageName}Control.dataset -// , prefix : ${pageName}Control.prefix , prefix : "paging--${pageName}" , start : obj.${infoPrefix}Start , totalSize : obj.${infoPrefix}Total @@ -312,7 +311,6 @@ ${pageName}Control.query = getParams${pageName}(); // 검색조건 ${pageName}Control.query.orderBy = "RE_REG_ID"; // 정렬 - ${pageName}Control.urls.load = wctx.url("/excl/excl03/010/list.do"); // url ${pageName}Control.load(pageNumber); } diff --git a/src/main/webapp/resources/js/fims/excl/excl01010.js b/src/main/webapp/resources/js/fims/excl/excl01010.js index 23751e5a..3ca4c280 100644 --- a/src/main/webapp/resources/js/fims/excl/excl01010.js +++ b/src/main/webapp/resources/js/fims/excl/excl01010.js @@ -4,6 +4,10 @@ class LevyExclControl extends DatasetControl { prefix : "levyExcl" , prefixName : "부과제외" , infoSize : "xl" + , urls : { + load : wctx.url("/excl/excl01/010/list.do") + , getInfo : wctx.url("/excl/excl01/020/info.do") + } , keymapper : info => info ? info.LEVY_EXCL_ID : "" , dataGetter : obj => obj.levyExclList , appendData : true diff --git a/src/main/webapp/resources/js/fims/excl/excl02010.js b/src/main/webapp/resources/js/fims/excl/excl02010.js index 6c0ba437..2cb3c878 100644 --- a/src/main/webapp/resources/js/fims/excl/excl02010.js +++ b/src/main/webapp/resources/js/fims/excl/excl02010.js @@ -4,6 +4,10 @@ class OpnnSbmsnControl extends DatasetControl { prefix : "opnnSbmsn" , prefixName : "의견제출" , infoSize : "xl" + , urls : { + load : wctx.url("/excl/excl02/010/list.do") + , getInfo : wctx.url("/excl/excl02/020/info.do") + } , keymapper : info => info ? info.OPNN_ID : "" , dataGetter : obj => obj.opnnSbmsnList , appendData : true diff --git a/src/main/webapp/resources/js/fims/excl/excl03010.js b/src/main/webapp/resources/js/fims/excl/excl03010.js index d7d7130e..5ffdfdb0 100644 --- a/src/main/webapp/resources/js/fims/excl/excl03010.js +++ b/src/main/webapp/resources/js/fims/excl/excl03010.js @@ -4,6 +4,10 @@ class CrdnReControl extends DatasetControl { prefix : "crdnRe" , prefixName : "단속재등록" , infoSize : "xl" + , urls : { + load : wctx.url("/excl/excl03/010/list.do") + , getInfo : wctx.url("/excl/excl03/020/info.do") + } , keymapper : info => info ? info.RE_REG_ID : "" , dataGetter : obj => obj.crdnReList , appendData : true