|
|
|
@ -128,7 +128,6 @@
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
* Global Variable
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
|
|
|
|
|
const ARR_INSTANCE = [null,null,null];
|
|
|
|
|
const ARR_TOTCNT = [0,0,0];
|
|
|
|
|
let CUR_TAB_SEQ = 0;
|
|
|
|
@ -272,7 +271,22 @@
|
|
|
|
|
* function
|
|
|
|
|
******************************* */
|
|
|
|
|
const fnRt0200Sel = {
|
|
|
|
|
add: function(){
|
|
|
|
|
search: () => {
|
|
|
|
|
const sch_date_opt = $('select[name=sch_date_opt]').val();
|
|
|
|
|
const sch_date_from = $('#sch_date_from').val();
|
|
|
|
|
const sch_date_to = $('#sch_date_to').val();
|
|
|
|
|
/*sch_date_from = sch_date_from.replace(/\./g, '');*/
|
|
|
|
|
|
|
|
|
|
if (sch_date_from != "" || sch_date_to != "") {
|
|
|
|
|
if (sch_date_opt == "" || sch_date_from == "" || sch_date_to == "") {
|
|
|
|
|
alert("조회기준 또는 일시를 선택하세요");
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
ARR_INSTANCE[CUR_TAB_SEQ].reloadData();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
,add: function(){
|
|
|
|
|
cmmAjax({
|
|
|
|
|
url: '<c:url value="/adm/send/rqst/mng/proc.do"/>'
|
|
|
|
|
,data: $("#frmSearch").serialize()
|
|
|
|
@ -354,19 +368,7 @@
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$('#btnSearch').on('click', () => {
|
|
|
|
|
const sch_date_opt = $('select[name=sch_date_opt]').val();
|
|
|
|
|
const sch_date_from = $('#sch_date_from').val();
|
|
|
|
|
const sch_date_to = $('#sch_date_to').val();
|
|
|
|
|
/*sch_date_from = sch_date_from.replace(/\./g, '');*/
|
|
|
|
|
|
|
|
|
|
if (sch_date_from != "" || sch_date_to != "") {
|
|
|
|
|
if (sch_date_opt == "" || sch_date_from == "" || sch_date_to == "") {
|
|
|
|
|
alert("조회기준 또는 일시를 선택하세요");
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
ARR_INSTANCE[CUR_TAB_SEQ].reloadData();
|
|
|
|
|
// ARR_INSTANCE[CUR_TAB_SEQ].refreshLayout();
|
|
|
|
|
fnRt0200Sel.search();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$('#btnExcel').on('click', () => {
|
|
|
|
|