diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rt0200/rtRt0200Sel.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rt0200/rtRt0200Sel.jsp index 3f47adce..201d89fa 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rt0200/rtRt0200Sel.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rt0200/rtRt0200Sel.jsp @@ -363,7 +363,10 @@ clickRegBtn: function(props){ let rowData = props.grid.getRow(props.rowKey); - <%--Rt0200_main.pagePopup('detail', '', params);--%> + let params = ''; + params += "selectedId=" + rowData.reglt_id; + this.pagePopup('detail', '', params); + <%-- CmmPopup.open('', { tilesDef: 'popup', @@ -375,8 +378,33 @@ }, '단속자료 상세 현황' ) + --%> }, + pagePopup: function(flag, url, params){ + var popUrl = url; + popUrl += "?tilesDef=popup"; + if(!(params == undefined || params == null)){ + popUrl += "&"; + popUrl += params; + } + var popTitle = ''; + var popOption = ''; + switch (flag) { + case "insert": //등록 + popTitle = ""; + popOption = "width=760px, height=890px, resizable=no, scrollbars=yes, location=no, top=50px, left=50px"; + break; + case "detail": //상세 + popTitle = "단속자료 상세보기"; + popOption = "width=1500px, height=900px, resizable=no, scrollbars=yes, location=no, top=50px, left=50px"; + break; + default: + break; + } + + window.open(popUrl, popTitle ,popOption); + }, addData: function(){