From d944e67947188bd0d2c9321e857a7db87d6f752e Mon Sep 17 00:00:00 2001 From: minuk926 Date: Fri, 4 Nov 2022 11:51:30 +0900 Subject: [PATCH 01/13] =?UTF-8?q?fix:=20=ED=94=84=EB=A1=9C=EA=B7=B8?= =?UTF-8?q?=EB=9E=A8=EA=B4=80=EB=A6=AC=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../framework/biz/mng/menu/mngProgramMgtPopup.jsp | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngProgramMgtPopup.jsp b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngProgramMgtPopup.jsp index 2608c9be..b033140a 100644 --- a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngProgramMgtPopup.jsp +++ b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngProgramMgtPopup.jsp @@ -6,12 +6,13 @@ <%--@elvariable id="progrmMngVO" type=""--%> + + + + - - +
- +
diff --git a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/auth/mngAuthRoleGrantMgtPopup.jsp b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/auth/mngAuthRoleGrantMgtPopup.jsp index a23d41fd..f35903c9 100644 --- a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/auth/mngAuthRoleGrantMgtPopup.jsp +++ b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/auth/mngAuthRoleGrantMgtPopup.jsp @@ -235,6 +235,7 @@ readData: { url: '' , initParams: {authorCode: $('#authorCode').val()} + ,serializer: (params) => fnAddPageInfo(document.frmSearch, params) } } }; diff --git a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngProgramMgtForm.jsp b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngProgramMgtForm.jsp index dee013c7..d431565f 100644 --- a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngProgramMgtForm.jsp +++ b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngProgramMgtForm.jsp @@ -164,6 +164,7 @@ api: { readData: { url: '' + ,serializer: (params) => fnAddPageInfo(document.frmSearch, params) } } } diff --git a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngProgramMgtPopup.jsp b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngProgramMgtPopup.jsp index b033140a..7916d98b 100644 --- a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngProgramMgtPopup.jsp +++ b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/menu/mngProgramMgtPopup.jsp @@ -2,27 +2,20 @@ <%@ include file="/WEB-INF/jsp/framework/taglibs.jsp"%> <%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> + + + <%--@elvariable id="progrmMngVO" type=""--%> - @@ -145,8 +124,5 @@ * initialize **************************************************************************/ $(document).ready(function(){ - $(".popup").css("position","absolute"); - $(".content_header").css("display","none"); - $("#cur_loc").css("display","none"); }); diff --git a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/usr/mngUserMgtForm.jsp b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/usr/mngUserMgtForm.jsp index 024e92da..279a1fdb 100644 --- a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/usr/mngUserMgtForm.jsp +++ b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/usr/mngUserMgtForm.jsp @@ -66,21 +66,6 @@ GRID.reloadData(); } - ,pageLink: function(flag, url, params){ - switch (flag) { - case "move": //페이지 이동 - document.frmSearch.searchKeyword.value = ""; - document.frmSearch.action = url; - document.frmSearch.submit(); - break; - case "popup": //팝업 OPEN - fnBiz.pagePopup(flag, url, params); - break; - default: - break; - } - } - ,pagePopup: function(flag, params){ let url; let popTitle; @@ -217,6 +202,7 @@ api: { readData: { url: '' + ,serializer: (params) => fnAddPageInfo(document.frmSearch, params) } } }; diff --git a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/usr/mngUserMgtPopup.jsp b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/usr/mngUserMgtPopup.jsp index 7737fcf4..d657fefb 100644 --- a/src/main/webapp/WEB-INF/jsp/framework/biz/mng/usr/mngUserMgtPopup.jsp +++ b/src/main/webapp/WEB-INF/jsp/framework/biz/mng/usr/mngUserMgtPopup.jsp @@ -2,27 +2,20 @@ <%@ include file="/WEB-INF/jsp/framework/taglibs.jsp"%> <%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> + + + <%--@elvariable id="userInfoVO" type=""--%> - @@ -236,7 +214,7 @@ } ,add: () => { - //if(!validateUserInfoVO(document.getElementById('userInfoVO'))) return; + if(!validateUserInfoVO(document.getElementById('userInfoVO'))) return; cmmBizAjax('add', { url: '' From a7c0c3d638b1c4fa15e68d87f1611937b5c2af7f Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Sun, 6 Nov 2022 03:15:41 +0900 Subject: [PATCH 05/13] =?UTF-8?q?refactor:=20=EC=97=85=EB=AC=B4=ED=8C=9D?= =?UTF-8?q?=EC=97=85(=EB=93=B1=EB=A1=9D/=EB=B3=80=EA=B2=BD/=EC=82=AD?= =?UTF-8?q?=EC=A0=9C)=20=ED=83=80=EC=9D=B4=ED=8B=80=20=EB=B0=8F=20?= =?UTF-8?q?=EB=B2=84=ED=8A=BC=20=EA=B3=B5=ED=86=B5=20JSP=20include=20?= =?UTF-8?q?=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 32 ++ .../fims/biz/common/popup/fimsTotal_popup.jsp | 16 +- .../WEB-INF/jsp/fims/biz/rt/rt0200Sel.jsp | 1 + .../WEB-INF/jsp/framework/biz-popup-btn.jsp | 21 + .../WEB-INF/jsp/framework/biz-popup-title.jsp | 20 + .../biz/mng/auth/mngAuthGrpMgtForm.jsp | 423 ++++++------------ .../biz/mng/auth/mngAuthGrpMgtPopup.jsp | 250 +++++------ .../biz/mng/auth/mngAuthRoleMgtForm.jsp | 23 +- .../resources/framework/js/cmm/XitCmmnUtil.js | 4 +- 9 files changed, 310 insertions(+), 480 deletions(-) create mode 100644 src/main/webapp/WEB-INF/jsp/framework/biz-popup-btn.jsp create mode 100644 src/main/webapp/WEB-INF/jsp/framework/biz-popup-title.jsp diff --git a/README.md b/README.md index 5def51f0..3d401ac4 100644 --- a/README.md +++ b/README.md @@ -96,3 +96,35 @@ access token : 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 3) MyBatisX mapper에서 xml을 편하게 이동 ``` + +### 팝업 공통처리 : 등록 / 변경 / 삭제 팝업 +```html + +1) 변수 정의 + + + +2) title include + +