페이지 표시 수정.

main
jjh 1 year ago
parent 226e065e03
commit e6d7bd6369

@ -303,10 +303,9 @@
${pageName}Control.onDatasetChange = obj => { ${pageName}Control.onDatasetChange = obj => {
renderList${pageName}(); renderList${pageName}();
$("#paging--${pageName}").setPaging({ $("#paging--${pageName}").setPagingInfo({
list : ${pageName}Control.dataset list : ${pageName}Control.dataset
// , prefix : ${pageName}Control.prefix , prefix : "paging--${pageName}"
, prefix : "paging--${pageName}"
, start : obj.${infoPrefix}Start , start : obj.${infoPrefix}Start
, totalSize : obj.${infoPrefix}Total , totalSize : obj.${infoPrefix}Total
, fetchSize : obj.${infoPrefix}Fetch , fetchSize : obj.${infoPrefix}Fetch
@ -362,7 +361,6 @@
${pageName}Control.query = getParams${pageName}(); // 검색조건 ${pageName}Control.query = getParams${pageName}(); // 검색조건
${pageName}Control.query.orderBy = "LEVY_EXCL_ID"; // 정렬 ${pageName}Control.query.orderBy = "LEVY_EXCL_ID"; // 정렬
${pageName}Control.urls.load = wctx.url("/excl/excl01/010/list.do"); // url
${pageName}Control.load(pageNumber); ${pageName}Control.load(pageNumber);
} }

@ -313,9 +313,8 @@
${pageName}Control.onDatasetChange = obj => { ${pageName}Control.onDatasetChange = obj => {
renderList${pageName}(); renderList${pageName}();
$("#paging--${pageName}").setPaging({ $("#paging--${pageName}").setPagingInfo({
list : ${pageName}Control.dataset list : ${pageName}Control.dataset
// , prefix : ${pageName}Control.prefix
, prefix : "paging--${pageName}" , prefix : "paging--${pageName}"
, start : obj.${infoPrefix}Start , start : obj.${infoPrefix}Start
, totalSize : obj.${infoPrefix}Total , totalSize : obj.${infoPrefix}Total
@ -372,7 +371,6 @@
${pageName}Control.query = getParams${pageName}(); // 검색조건 ${pageName}Control.query = getParams${pageName}(); // 검색조건
${pageName}Control.query.orderBy = "OPNN_ID"; // 정렬 ${pageName}Control.query.orderBy = "OPNN_ID"; // 정렬
${pageName}Control.urls.load = wctx.url("/excl/excl02/010/list.do"); // url
${pageName}Control.load(pageNumber); ${pageName}Control.load(pageNumber);
} }

@ -253,9 +253,8 @@
${pageName}Control.onDatasetChange = obj => { ${pageName}Control.onDatasetChange = obj => {
renderList${pageName}(); renderList${pageName}();
$("#paging--${pageName}").setPaging({ $("#paging--${pageName}").setPagingInfo({
list : ${pageName}Control.dataset list : ${pageName}Control.dataset
// , prefix : ${pageName}Control.prefix
, prefix : "paging--${pageName}" , prefix : "paging--${pageName}"
, start : obj.${infoPrefix}Start , start : obj.${infoPrefix}Start
, totalSize : obj.${infoPrefix}Total , totalSize : obj.${infoPrefix}Total
@ -312,7 +311,6 @@
${pageName}Control.query = getParams${pageName}(); // 검색조건 ${pageName}Control.query = getParams${pageName}(); // 검색조건
${pageName}Control.query.orderBy = "RE_REG_ID"; // 정렬 ${pageName}Control.query.orderBy = "RE_REG_ID"; // 정렬
${pageName}Control.urls.load = wctx.url("/excl/excl03/010/list.do"); // url
${pageName}Control.load(pageNumber); ${pageName}Control.load(pageNumber);
} }

@ -4,6 +4,10 @@ class LevyExclControl extends DatasetControl {
prefix : "levyExcl" prefix : "levyExcl"
, prefixName : "부과제외" , prefixName : "부과제외"
, infoSize : "xl" , 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 : "" , keymapper : info => info ? info.LEVY_EXCL_ID : ""
, dataGetter : obj => obj.levyExclList , dataGetter : obj => obj.levyExclList
, appendData : true , appendData : true

@ -4,6 +4,10 @@ class OpnnSbmsnControl extends DatasetControl {
prefix : "opnnSbmsn" prefix : "opnnSbmsn"
, prefixName : "의견제출" , prefixName : "의견제출"
, infoSize : "xl" , 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 : "" , keymapper : info => info ? info.OPNN_ID : ""
, dataGetter : obj => obj.opnnSbmsnList , dataGetter : obj => obj.opnnSbmsnList
, appendData : true , appendData : true

@ -4,6 +4,10 @@ class CrdnReControl extends DatasetControl {
prefix : "crdnRe" prefix : "crdnRe"
, prefixName : "단속재등록" , prefixName : "단속재등록"
, infoSize : "xl" , 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 : "" , keymapper : info => info ? info.RE_REG_ID : ""
, dataGetter : obj => obj.crdnReList , dataGetter : obj => obj.crdnReList
, appendData : true , appendData : true

Loading…
Cancel
Save