From 8555010ae0a158370af6f371687a4554d67bde7c Mon Sep 17 00:00:00 2001 From: jjh Date: Tue, 22 Aug 2023 10:11:08 +0900 Subject: [PATCH] =?UTF-8?q?url=20=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WEB-INF/jsp/fims/excl/excl01010-main.jsp | 22 +++++++++---------- .../WEB-INF/jsp/fims/excl/excl01020-info.jsp | 6 ++--- .../WEB-INF/jsp/fims/excl/excl02010-main.jsp | 10 ++++----- .../WEB-INF/jsp/fims/excl/excl02020-info.jsp | 13 +++++------ .../WEB-INF/jsp/fims/excl/excl02030-info.jsp | 4 ++-- .../WEB-INF/jsp/fims/excl/excl03010-main.jsp | 6 ++--- 6 files changed, 27 insertions(+), 34 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 5eea8314..509ba54c 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 @@ -266,7 +266,7 @@ * Global Variable **************************************************************************/ // URL - var prefixUrl = "/excl/excl01"; + var ${pageName}PrefixUrl = "/excl/excl01"; // 공통 코드 // var FIM021 = new CommonCodes(${FIM021}, true); // var FIM022 = new CommonCodes(${FIM022}, true); @@ -282,11 +282,9 @@ , dataGetter : obj => obj.levyExclList , appendData : true , urls : { - load : wctx.url(prefixUrl + "/010/list.do") // 검색 - , getInfo : wctx.url(prefixUrl + "/020/info.do?openerPageName=${pageName}") // 등록 및 수정 팝업 - , remove : wctx.url(prefixUrl + "/010/removes.do") // 선택(체크) 자료 삭제 -// , getInfo : wctx.url(prefixUrl + "/020/info.do") // 등록 및 수정 팝업 -// , remove : wctx.url(prefixUrl + "/010/remove.do") // 자료 삭제 + load : wctx.url(${pageName}PrefixUrl + "/010/list.do") // 검색 + , getInfo : wctx.url(${pageName}PrefixUrl + "/020/info.do?openerPageName=${pageName}") // 등록 및 수정 팝업 + , remove : wctx.url(${pageName}PrefixUrl + "/010/removes.do") // 선택(체크) 자료 삭제 } , formats : { LEVY_EXCL_YMD : dateFormat @@ -351,14 +349,14 @@ return; } - let dataItems = ${pageName}Control.dataset.getDataset("item"); - let crdnIDs = {}; +// let dataItems = ${pageName}Control.dataset.getDataset("item"); +// let crdnIDs = {}; - for (let iLoop = 0; iLoop < dataItems.length; iLoop++) { - let key = dataItems[iLoop].data.CRDN_ID; +// for (let iLoop = 0; iLoop < dataItems.length; iLoop++) { +// let key = dataItems[iLoop].data.CRDN_ID; - crdnIDs[iLoop] = key; - } +// crdnIDs[iLoop] = key; +// } ajax.get({ url : wctx.url("/sprt/sprt02/010/main.do") diff --git a/src/main/webapp/WEB-INF/jsp/fims/excl/excl01020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/excl/excl01020-info.jsp index 03c9a057..db81e5c1 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/excl/excl01020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/excl/excl01020-info.jsp @@ -67,7 +67,7 @@ * Global Variable **************************************************************************/ // URL - var prefixUrl = "/excl/excl01"; + var ${pageName}PrefixUrl = "/excl/excl01"; // var ${pageName}Fields = new FormFields("#frmEdit--${pageName}"); // 공통 코드 @@ -85,8 +85,8 @@ , keymapper : info => info ? info.LEVY_EXCL_ID : "" , dataGetter : obj => obj.levyExclInfo , urls : { - create : wctx.url(prefixUrl + "/020/create.do") // 등록 - , update : wctx.url(prefixUrl + "/020/update.do") // 수정 + create : wctx.url(${pageName}PrefixUrl + "/020/create.do") // 등록 + , update : wctx.url(${pageName}PrefixUrl + "/020/update.do") // 수정 } , formats : { LEVY_EXCL_YMD : dateFormat 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 55dd9bda..c1ff6191 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 @@ -285,7 +285,7 @@ * Global Variable **************************************************************************/ // URL - var prefixUrl = "/excl/excl02"; + var ${pageName}PrefixUrl = "/excl/excl02"; // 공통 코드 /************************************************************************** @@ -299,11 +299,9 @@ , dataGetter : obj => obj.opnnSbmsnList , appendData : true , urls : { - load : wctx.url(prefixUrl + "/010/list.do") // 검색 - , getInfo : wctx.url(prefixUrl + "/020/info.do") // 등록 및 수정 팝업 - , create : wctx.url(prefixUrl + "/020/create.do") // 신규 등록 - , update : wctx.url(prefixUrl + "/020/update.do") // 자료 수정 - , remove : wctx.url(prefixUrl + "/010/removes.do") // 선택(체크) 자료 삭제 + load : wctx.url(${pageName}PrefixUrl + "/010/list.do") // 검색 + , getInfo : wctx.url(${pageName}PrefixUrl + "/020/info.do") // 등록 및 수정 팝업 + , remove : wctx.url(${pageName}PrefixUrl + "/010/removes.do") // 선택(체크) 자료 삭제 } , formats : { RCPT_YMD : dateFormat diff --git a/src/main/webapp/WEB-INF/jsp/fims/excl/excl02020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/excl/excl02020-info.jsp index 8926b828..46237031 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/excl/excl02020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/excl/excl02020-info.jsp @@ -151,11 +151,8 @@ - - - - - + + @@ -175,7 +172,7 @@ * Global Variable **************************************************************************/ // URL - var prefixUrl = "/excl/excl02"; + var ${pageName}PrefixUrl = "/excl/excl02"; // FormFields var ${pageName}Fields = new FormFields("#frmEdit--${pageName}"); // 파일 리스트 @@ -190,8 +187,8 @@ , keymapper : info => info ? info.OPNN_ID : "" , dataGetter : obj => obj.opnnSbmsnInfo , urls : { - create : wctx.url(prefixUrl + "/020/create.do") // 등록 - , update : wctx.url(prefixUrl + "/020/update.do") // 수정 + create : wctx.url(${pageName}PrefixUrl + "/020/create.do") // 등록 + , update : wctx.url(${pageName}PrefixUrl + "/020/update.do") // 수정 } , formats : { CRDN_YMD : dateFormat diff --git a/src/main/webapp/WEB-INF/jsp/fims/excl/excl02030-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/excl/excl02030-info.jsp index 7614f5fb..579f493a 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/excl/excl02030-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/excl/excl02030-info.jsp @@ -105,7 +105,7 @@ * Global Variable **************************************************************************/ // URL - var prefixUrl = "/excl/excl02"; + var ${pageName}PrefixUrl = "/excl/excl02"; // var ${pageName}Fields = new FormFields("#frmEdit--${pageName}"); @@ -118,7 +118,7 @@ , keymapper : info => info ? info.OPNN_ID : "" , dataGetter : obj => obj.opnnSbmsnInfo , urls : { - update : wctx.url(prefixUrl + "/030/updateAnswer.do") // 답변 처리 + update : wctx.url(${pageName}PrefixUrl + "/030/updateAnswer.do") // 심의(답변) 처리 } , formats : { RCPT_YMD : dateFormat // 접수 일자 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 c8dbcd7b..812f6853 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 @@ -226,7 +226,7 @@ * Global Variable **************************************************************************/ // URL - var prefixUrl = "/excl/excl03"; + var ${pageName}PrefixUrl = "/excl/excl03"; // 공통 코드 /************************************************************************** @@ -240,8 +240,8 @@ , dataGetter : obj => obj.crdnReRegList , appendData : true , urls : { - load : wctx.url(prefixUrl + "/010/list.do") // 검색 - , create : wctx.url(prefixUrl + "/010/create.do") // 신규 등록 + load : wctx.url(${pageName}PrefixUrl + "/010/list.do") // 검색 + , create : wctx.url(${pageName}PrefixUrl + "/010/create.do") // 신규 등록 } , formats : { RE_REG_YMD : dateFormat