|
|
@ -63,10 +63,18 @@
|
|
|
|
<script type="text/javaScript" language="javascript">
|
|
|
|
<script type="text/javaScript" language="javascript">
|
|
|
|
let GRID = null;
|
|
|
|
let GRID = null;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* ========================
|
|
|
|
|
|
|
|
* 데이터 조회 : popup에서 사용
|
|
|
|
|
|
|
|
======================== */
|
|
|
|
|
|
|
|
var findPrograms = function(){
|
|
|
|
|
|
|
|
GRID.reloadData();
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/* *******************************
|
|
|
|
/* *******************************
|
|
|
|
* 프로그램 목록관리 Functions
|
|
|
|
* 프로그램 목록관리 Functions
|
|
|
|
******************************* */
|
|
|
|
******************************* */
|
|
|
|
var mngProgramMgtForm = {
|
|
|
|
const mngProgramMgtForm = {
|
|
|
|
init : function(){
|
|
|
|
init : function(){
|
|
|
|
|
|
|
|
|
|
|
|
/* ******************************
|
|
|
|
/* ******************************
|
|
|
@ -158,10 +166,6 @@
|
|
|
|
//GRID.refreshLayout();
|
|
|
|
//GRID.refreshLayout();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Elements EventListener Settings
|
|
|
|
* Elements EventListener Settings
|
|
|
|
*/
|
|
|
|
*/
|
|
|
@ -183,12 +187,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
/* ========================
|
|
|
|
|
|
|
|
* 데이터 조회
|
|
|
|
|
|
|
|
======================== */
|
|
|
|
|
|
|
|
findData : function(){
|
|
|
|
|
|
|
|
GRID.reloadData();
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
/* ========================
|
|
|
|
/* ========================
|
|
|
|
* 데이터 등록
|
|
|
|
* 데이터 등록
|
|
|
|
======================== */
|
|
|
|
======================== */
|
|
|
@ -208,11 +207,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//Parameter Get
|
|
|
|
//Parameter Get
|
|
|
|
var arrKey = [];
|
|
|
|
const arrKey = [];
|
|
|
|
instance.getCheckedRows().forEach(function(row){
|
|
|
|
GRID.getCheckedRows().forEach(function(row){
|
|
|
|
arrKey.push(row.progrmFileNm);
|
|
|
|
arrKey.push(row.progrmFileNm);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
var checkProgrmFileNms = arrKey.join(',');
|
|
|
|
const checkProgrmFileNms = arrKey.join(',');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//Call
|
|
|
|
//Call
|
|
|
@ -225,7 +224,7 @@
|
|
|
|
dataType : "json",
|
|
|
|
dataType : "json",
|
|
|
|
success : function(data) {
|
|
|
|
success : function(data) {
|
|
|
|
alert(data.resp.message);
|
|
|
|
alert(data.resp.message);
|
|
|
|
this.findData();
|
|
|
|
findPrograms();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
error: function(){
|
|
|
|
error: function(){
|
|
|
|
|
|
|
|
|
|
|
@ -277,7 +276,6 @@
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
window.open(popUrl, popTitle ,popOption);
|
|
|
|
window.open(popUrl, popTitle ,popOption);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
/* ========================
|
|
|
|
/* ========================
|
|
|
@ -286,26 +284,24 @@
|
|
|
|
======================== */
|
|
|
|
======================== */
|
|
|
|
fnClickProgramBtn: function(props){
|
|
|
|
fnClickProgramBtn: function(props){
|
|
|
|
|
|
|
|
|
|
|
|
var rowData = props.grid.getRow(props.rowKey);
|
|
|
|
const rowData = props.grid.getRow(props.rowKey);
|
|
|
|
var params = "";
|
|
|
|
|
|
|
|
params += "progrmFileNm=" + rowData.progrmFileNm;
|
|
|
|
|
|
|
|
mngProgramMgtForm.pagePopup('detail', "<c:url value='/framework/biz/mng/menu/program_edit.do'/>", params);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<%--
|
|
|
|
<%--
|
|
|
|
let rowData = props.grid.getRow(props.rowKey);
|
|
|
|
let params = "";
|
|
|
|
|
|
|
|
params += "progrmFileNm=" + rowData.progrmFileNm;
|
|
|
|
|
|
|
|
this.pagePopup('detail', "<c:url value='/framework/biz/mng/menu/program_edit.do'/>", params);
|
|
|
|
|
|
|
|
--%>
|
|
|
|
CmmPopup.open('<c:url value="/framework/biz/mng/menu/program_edit.do"/>',
|
|
|
|
CmmPopup.open('<c:url value="/framework/biz/mng/menu/program_edit.do"/>',
|
|
|
|
{
|
|
|
|
{
|
|
|
|
tilesDef: 'popup',
|
|
|
|
tilesDef: 'popup',
|
|
|
|
progrmFileNm: rowData.progrmFileNm
|
|
|
|
progrmFileNm: rowData.progrmFileNm
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
width: 655,
|
|
|
|
width: 720,
|
|
|
|
height: 720
|
|
|
|
height: 655
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'프로그램 상세'
|
|
|
|
'프로그램 상세'
|
|
|
|
)
|
|
|
|
)
|
|
|
|
--%>
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|