From 18bd30f3f755fa29f12633aac20e405f3c128671 Mon Sep 17 00:00:00 2001 From: jjh Date: Fri, 13 Sep 2024 16:16:27 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9E=84=EB=8C=80=EA=B8=B0=EC=97=85=EA=B4=80?= =?UTF-8?q?=EB=A6=AC=20=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../webapp/WEB-INF/jsp/fims/rent/rent01010-main.jsp | 4 ++-- .../webapp/WEB-INF/jsp/fims/rent/rent01030-main.jsp | 10 +++------- src/main/webapp/resources/js/fims/rent/rent01030.js | 2 +- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/fims/rent/rent01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/rent/rent01010-main.jsp index 88cbcf4b..4370d74b 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/rent/rent01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/rent/rent01010-main.jsp @@ -310,8 +310,8 @@ // 임대기업 매핑 등록 버튼 이벤트 $P.fnCreate = () => { let params = { - userId: $P.$findn("userId").val() - , schEntNo: null + callPurpose: "create" + , userId: $P.$findn("userId").val() }; $P.createInfo(params); diff --git a/src/main/webapp/WEB-INF/jsp/fims/rent/rent01030-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/rent/rent01030-main.jsp index d7e0564a..55187df6 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/rent/rent01030-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/rent/rent01030-main.jsp @@ -207,7 +207,7 @@ * 버튼 clickEvent **************************************************************************/ // 업무 구분 변경 이벤트 - $P.fnReset = (initSearchYN) => { + $P.fnReset = () => { // 화면 초기화 $P.findn("frmSearch").reset(); // dataset 초기화 @@ -229,10 +229,6 @@ colsOuterHTML += this.outerHTML; }); $P.findn("tableRspns").changeColumn(colsOuterHTML); - - if (initSearchYN && $P.$findn("schEntNo").val() != "") { - $P.fnSearchList(); - } } // 검색 버튼 클릭 이벤트 @@ -276,7 +272,7 @@ } dialog.alert({ - content: "현재 " + $P.ctrl.prefixName + " 정보를 저장하시겠습니까?" + content: "현재 임대기업매핑 정보를 저장하시겠습니까?" , onOK: () => { let params = { callPurpose: "create" @@ -371,7 +367,7 @@ $P.setEvent(); // 2. 초기 설정 - $P.fnReset(true); + $P.fnReset(); // 3. 보안모드 fn_securityModeToggle($("#securityMode--top").is(":checked")); diff --git a/src/main/webapp/resources/js/fims/rent/rent01030.js b/src/main/webapp/resources/js/fims/rent/rent01030.js index 6d133d0a..45db205d 100644 --- a/src/main/webapp/resources/js/fims/rent/rent01030.js +++ b/src/main/webapp/resources/js/fims/rent/rent01030.js @@ -109,7 +109,7 @@ function newRent01030Control(pageName, doctx="[data-doctx='rent01030']") { // 저장 callback ctrl.onSave = (params, resp) => { - let showMessage = resp.rtnMsg.replace(/[S]|[F]/g, ctrl.prefixName); + let showMessage = resp.rtnMsg.replace(/[S]|[F]/g, "임대기업매핑"); // 메시지 출력 dialog.alert({