From 5248b3a8ac03d0d9f062b06377a4ef0a1904c633 Mon Sep 17 00:00:00 2001 From: leebj Date: Mon, 19 Aug 2024 09:31:24 +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 --- .../webapp/WEB-INF/jsp/fims/crdn/crdn01010-main.jsp | 3 ++- .../webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp | 3 ++- .../webapp/WEB-INF/jsp/fims/crdn/crdn08010-main.jsp | 3 ++- .../webapp/WEB-INF/jsp/fims/cvlc/cvlc01020-info.jsp | 12 ++++++++---- .../webapp/WEB-INF/jsp/fims/sprt/sprt01010-main.jsp | 2 ++ .../webapp/WEB-INF/jsp/fims/sprt/sprt01140-info.jsp | 4 +++- .../webapp/WEB-INF/jsp/fims/sprt/sprt01150-info.jsp | 4 +++- 7 files changed, 22 insertions(+), 9 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn01010-main.jsp index 190bc054..e67f4205 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn01010-main.jsp @@ -273,10 +273,11 @@ $(document).ready(function(){ size : "xl", content : resp, init : () => { - setDialogZindex(); $("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("data-ref-doctx","${pageName}"); + setDialogZindex(); + var parentRes = new Object(); var childReq = pageObject.childReq.pop(); diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp index 2e024b41..85c2352e 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp @@ -578,9 +578,10 @@ $(document).ready(function(){ , content: resp , size: "lg" , init: () => { - setDialogZindex(); $("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("data-ref-doctx","${pageName}"); + + setDialogZindex(); } }); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn08010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn08010-main.jsp index 1c691367..724570de 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn08010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn08010-main.jsp @@ -367,9 +367,10 @@ $(document).ready(function(){ , size: "lg" , content: template , init: () => { - setDialogZindex(); $("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("data-ref-doctx","${pageName}"); + + setDialogZindex(); } , onOK: () => { 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 fef4a4fa..ae9db40d 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 @@ -494,9 +494,10 @@ $(document).ready(function(){ content : resp, size : "md", init : () => { - setDialogZindex(); $("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("data-ref-doctx","${pageName}"); + + setDialogZindex(); }, onClose : () => {} }); @@ -660,9 +661,10 @@ $(document).ready(function(){ content : resp, size : "xl", init : () => { - setDialogZindex(); $("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("data-ref-doctx","${pageName}"); + + setDialogZindex(); } }); } @@ -1101,10 +1103,11 @@ $(document).ready(function(){ content : resp, size : "xxl", init : () => { - setDialogZindex(); $("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("data-ref-doctx","${pageName}"); + setDialogZindex(); + $(document).find("div.modal").last().on('shown.bs.modal', function () { let refDlgId = $P.refDlgId("crdnListDialog"); $("#"+refDlgId).find("[name='schCrdnYmdFrom']").set(""); @@ -1139,10 +1142,11 @@ $(document).ready(function(){ content : resp, size : "xxl", init : () => { - setDialogZindex(); $("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("data-ref-doctx","${pageName}"); + setDialogZindex(); + $(document).find("div.modal").last().on('shown.bs.modal', function () { let refDlgId = $P.refDlgId("crdnListDialog"); $("#"+refDlgId).find("[name='schDscsnYmdFrom']").set(""); diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01010-main.jsp index 73483942..c34ebff9 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01010-main.jsp @@ -743,6 +743,8 @@ $(document).ready(function() { , init : () => { $("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("data-ref-doctx","${pageName}"); + + setDialogZindex(); } , onClose : () => { } }); 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 b661877c..d7e2aba0 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 @@ -233,9 +233,11 @@ $(document).ready(function(){ size : "xxl", content : resp, init : () => { - setDialogZindex(); $("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("data-ref-doctx","${pageName}"); + + setDialogZindex(); + let refDlgId = $P.refDlgId(dialogName); 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 4ec2bdb4..83fd27d8 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 @@ -227,9 +227,11 @@ $(document).ready(function(){ , size : "xxl" , content : resp , init : () => { - setDialogZindex(); $("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("data-ref-doctx","${pageName}"); + + setDialogZindex(); + let refDlgId = $P.refDlgId(dialogName); $("#"+refDlgId).find("form[name='frmSearch']").find("[name='sggCd']").val(MY_INFO.info.sggCd);