From dbdb0dcbaa9f9ec8fb88b7b1e566b02d1c5ab86a Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Mon, 17 Jun 2024 18:18:41 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=8F=90=EA=B8=B0=EA=B2=B0=EA=B3=BC=20?= =?UTF-8?q?=EB=93=B1=EB=A1=9D=20=EB=B2=84=ED=8A=BC=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WEB-INF/jsp/adds/nims/dsuseMgtRslt-main.jsp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtRslt-main.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtRslt-main.jsp index a8a67d8..314bf06 100644 --- a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtRslt-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtRslt-main.jsp @@ -281,11 +281,11 @@ }; // 신청서 정보 dialog - $P.control.getInfo = (gdccId) => { + $P.control.getInfo = () => { let dialogTitle = "폐기 결과[통보] 등록"; - var usrRptIdNo = $P.control.dataset.getCurrent().USR_RPT_ID_NO; - if (typeof usrRptIdNo == "undefined" || usrRptIdNo == null || usrRptIdNo == "") return; - let params = {usrRptIdNo : usrRptIdNo}; + let dscdmngId = $P.control.dataset.getCurrent().DSCDMNG_ID; + if (typeof dscdmngId == "undefined" || dscdmngId == null || dscdmngId == "") return; + let params = {dscdmngId : dscdmngId}; ajax.get({ url : wctx.url("/adds/nims/dsuseMgtRslt-info.do") @@ -400,8 +400,8 @@ $("#schRgtrNm--${pageName}").val(userNm); // 사용자 명 } - // 전자우편 안내문 등록 버튼 이벤트 - $P.fnCreateEpostGdcc = (title) => { + // 폐기결과[통보]등록 등록 버튼 이벤트 + $P.fnCreateDsuseMgtRslt = () => { $P.control.getInfo(); } @@ -472,9 +472,9 @@ } }); - // 안내문 등록 버튼 이벤트 + // 폐기결과[통보]등록 이벤트 $("#btnCreateDsuseMGT--${pageName}").on("click", function() { - $P.fnCreateEpostGdcc($(this).attr("title")); + $P.fnCreateDsuseMgtRslt(); }); // form-date 항목에서 키보드로 입력시 날짜 포맷팅 적용