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({