From 84e3993ab02351a74b627db9c0edb6991657eece Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Thu, 9 May 2024 09:15:56 +0900 Subject: [PATCH] =?UTF-8?q?=EC=86=8C=EC=8A=A4=20=EC=A0=95=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WEB-INF/jsp/fims/cvlc/cvlc01020-info.jsp | 2 +- .../WEB-INF/jsp/fims/sprt/sprt01120-info.jsp | 4 ++-- .../WEB-INF/jsp/fims/sprt/sprt01140-info.jsp | 4 ++-- .../WEB-INF/jsp/fims/sprt/sprt01150-info.jsp | 4 ++-- .../webapp/WEB-INF/jsp/fims/stng01010-main.jsp | 14 +++++++------- .../webapp/WEB-INF/jsp/fims/stng01020-main.jsp | 12 ++++++------ .../webapp/WEB-INF/jsp/fims/stng01030-main.jsp | 12 ++++++------ 7 files changed, 26 insertions(+), 26 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01020-info.jsp index 355c3c28..993fd0ae 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01020-info.jsp @@ -439,7 +439,7 @@ $(document).ready(function(){ * Dataset.on **************************************************************************/ $P.crdnControl.dataset.onCurrentChange = (dataItem) => { - $P.formFields.set(dataItem); + $P.formFields.set($P.crdnControl,dataItem); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01120-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01120-info.jsp index 9d9a3764..0debabe2 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01120-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01120-info.jsp @@ -194,8 +194,8 @@ $(document).ready(function(){ $("#tbody--${pageName}").setCurrentRow(key); var info = $P.provided.getInfo(key); - var ff = new FimsFormFields("#frmEdit--${pageName}"); - ff.set(info); + var formFields = new FimsFormFields("#frmEdit--${pageName}"); + formFields.set(info); } //교부청구서 파일 생성 diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01140-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01140-info.jsp index 5e65318a..03fa3e7c 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01140-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01140-info.jsp @@ -111,8 +111,8 @@ $(document).ready(function(){ $("#tbody--${pageName}").setCurrentRow(key); var info = $P.provided.getInfo(key); - var ff = new FimsFormFields("#frmEdit--${pageName}"); - ff.set(info); + var formFields = new FimsFormFields("#frmEdit--${pageName}"); + formFields.set(info); } $P.fnMakeFile = (fileType, paper) => { diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01150-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01150-info.jsp index f764138b..662037ac 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01150-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01150-info.jsp @@ -109,8 +109,8 @@ $(document).ready(function(){ $("#tbody--${pageName}").setCurrentRow(key); var info = $P.provided.getInfo(key); - var ff = new FimsFormFields("#frmEdit--${pageName}"); - ff.set(info); + var formFields = new FimsFormFields("#frmEdit--${pageName}"); + formFields.set(info); } $P.fnMakeFile = (fileType, paper) => { diff --git a/src/main/webapp/WEB-INF/jsp/fims/stng01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/stng01010-main.jsp index 1af62a0b..246b6814 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/stng01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/stng01010-main.jsp @@ -274,8 +274,8 @@ $(document).ready(function(){ $P.fnLoad = () => { - var ff = new FimsFormFields("#frmSearch--${pageName}"); - var query = ff.get(); + var formFields = new FimsFormFields("#frmSearch--${pageName}"); + var query = formFields.get(); ajax.post({ url : wctx.url("/stng/stng01/010/info.do"), data : query, @@ -723,11 +723,11 @@ $(document).ready(function(){ dialog.alert("저장되었습니다."); } - var ff = new FimsFormFields("#frmEdit--${pageName}").get(); - $("#frmSearch--${pageName}").find("[name='sggCd']").val(ff.sggCd); - $("#frmSearch--${pageName}").find("[name='taskSeCd']").val(ff.taskSeCd); - $("#frmSearch--${pageName}").find("[name='sndngSeCd']").val(ff.sndngSeCd); - $("#frmSearch--${pageName}").find("[name='paperSeCd']").val(ff.paperSeCd); + var formFields = new FimsFormFields("#frmEdit--${pageName}").get(); + $("#frmSearch--${pageName}").find("[name='sggCd']").val(formFields.sggCd); + $("#frmSearch--${pageName}").find("[name='taskSeCd']").val(formFields.taskSeCd); + $("#frmSearch--${pageName}").find("[name='sndngSeCd']").val(formFields.sndngSeCd); + $("#frmSearch--${pageName}").find("[name='paperSeCd']").val(formFields.paperSeCd); $("#btnLoad--${pageName}").click(); diff --git a/src/main/webapp/WEB-INF/jsp/fims/stng01020-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/stng01020-main.jsp index 26e417b0..ce7e13c7 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/stng01020-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/stng01020-main.jsp @@ -188,8 +188,8 @@ $(document).ready(function(){ $P.fnLoad = () => { - var ff = new FimsFormFields("#frmSearch--${pageName}"); - var query = ff.get(); + var formFields = new FimsFormFields("#frmSearch--${pageName}"); + var query = formFields.get(); ajax.post({ url : wctx.url("/stng/stng01/020/info.do"), data : query, @@ -460,10 +460,10 @@ $(document).ready(function(){ alert("저장되었습니다."); - var ff = new FimsFormFields("#frmEdit--${pageName}").get(); - $("#frmSearch--${pageName}").find("[name='sggCd']").val(ff.sggCd); - $("#frmSearch--${pageName}").find("[name='taskSeCd']").val(ff.taskSeCd); - $("#frmSearch--${pageName}").find("[name='tmplatId']").val(ff.tmplatId); + var formFields = new FimsFormFields("#frmEdit--${pageName}").get(); + $("#frmSearch--${pageName}").find("[name='sggCd']").val(formFields.sggCd); + $("#frmSearch--${pageName}").find("[name='taskSeCd']").val(formFields.taskSeCd); + $("#frmSearch--${pageName}").find("[name='tmplatId']").val(formFields.tmplatId); $("#btnLoad--${pageName}").click(); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/stng01030-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/stng01030-main.jsp index c03a8ba7..7d22f95e 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/stng01030-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/stng01030-main.jsp @@ -156,8 +156,8 @@ $(document).ready(function(){ $P.fnLoad = () => { - var ff = new FimsFormFields("#frmSearch--${pageName}"); - var query = ff.get(); + var formFields = new FimsFormFields("#frmSearch--${pageName}"); + var query = formFields.get(); ajax.post({ url : wctx.url("/stng/stng01/030/info.do"), data : query, @@ -365,10 +365,10 @@ $(document).ready(function(){ dialog.alert("저장되었습니다."); - var ff = new FimsFormFields("#frmEdit--${pageName}").get(); - $("#frmSearch--${pageName}").find("[name='sggCd']").val(ff.sggCd); - $("#frmSearch--${pageName}").find("[name='taskSeCd']").val(ff.taskSeCd); - $("#frmSearch--${pageName}").find("[name='sndngSeCd']").val(ff.sndngSeCd); + var formFields = new FimsFormFields("#frmEdit--${pageName}").get(); + $("#frmSearch--${pageName}").find("[name='sggCd']").val(formFields.sggCd); + $("#frmSearch--${pageName}").find("[name='taskSeCd']").val(formFields.taskSeCd); + $("#frmSearch--${pageName}").find("[name='sndngSeCd']").val(formFields.sndngSeCd); $("#btnLoad--${pageName}").click();