fix: tiles fims-popup 적용

main
minuk926 2 years ago
parent d984cc92ab
commit cfaa52fbcd

@ -363,7 +363,10 @@
clickRegBtn: function(props){
let rowData = props.grid.getRow(props.rowKey);
<%--Rt0200_main.pagePopup('detail', '<c:url value="/cmm/fimsPopup/fimsTotalPopup.do"/>', params);--%>
let params = '';
params += "selectedId=" + rowData.reglt_id;
this.pagePopup('detail', '<c:url value="/cmm/fimsPopup/fimsTotalPopup.do"/>', params);
<%--
CmmPopup.open('<c:url value="/cmm/fimsPopup/fimsTotalPopup.do"/>',
{
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(){

Loading…
Cancel
Save