fix : 조회 함수 수정

main
이범준 2 years ago
parent 5ce763edee
commit c1dbe497f1

@ -308,10 +308,11 @@ Date Author Description
}); });
} }
}; };
function search$$s(){ function search$$s(){
ARR_GRID[CUR_TAB_IDX].resetData([]); $$Control.query = fnBiz.getParams();
ARR_GRID[CUR_TAB_IDX].reloadData(); GRID.clear();
$$Control.load(1);
} }
/******************************* /*******************************
* Biz function * Biz function

@ -110,7 +110,10 @@
}; };
function search$$s(){ function search$$s(){
GRID.reloadData(); let formFiels = new FimsFormFields("#frmSearch");
$$Control.query = formFiels.get();
GRID.clear();
$$Control.load(1);
} }
/* ******************************* /* *******************************

@ -94,7 +94,10 @@
}; };
function search$$s(){ function search$$s(){
GRID.reloadData(); let formFiels = new FimsFormFields("#frmSearch");
$$Control.query = formFiels.get();
GRID.clear();
$$Control.load(1);
} }
/* ******************************* /* *******************************

@ -97,14 +97,25 @@
}; };
function search$$s(){ function search$$s(){
GRID.reloadData(); $$Control.query = fnBiz.getParams();
GRID.clear();
$$Control.load(1);
} }
/******************************* /*******************************
* Biz function * Biz function
*******************************/ *******************************/
var fnBiz = { var fnBiz = {
pagePopup: function(flag, params){ getParams: function(){
let param = {
sch_date_opt: $('#sch_date_opt').val()
,sch_date_from: $('#sch_date_from').val()
,sch_date_to: $('#sch_date_to').val()
,[$('#sch_opt').val()]: $('#sch_word').val()
}
return param;
}
,pagePopup: function(flag, params){
let url; let url;
let popTitle; let popTitle;
let popOption = {width: 1200, height:900}; let popOption = {width: 1200, height:900};

@ -116,7 +116,10 @@
}; };
function search$$s(){ function search$$s(){
GRID.reloadData(); let formFiels = new FimsFormFields("#frmSearch");
$$Control.query = formFiels.get();
GRID.clear();
$$Control.load(1);
} }
/* ******************************* /* *******************************
* Biz function * Biz function

@ -93,7 +93,10 @@
}; };
function search$$s(){ function search$$s(){
GRID.reloadData(); let formFiels = new FimsFormFields("#frmSearch");
$$Control.query = formFiels.get();
GRID.clear();
$$Control.load(1);
} }
/* ******************************* /* *******************************

@ -92,7 +92,10 @@
}; };
function search$$s(){ function search$$s(){
GRID.reloadData(); let formFiels = new FimsFormFields("#frmSearch");
$$Control.query = formFiels.get();
GRID.clear();
$$Control.load(1);
} }
/* ******************************* /* *******************************

@ -94,7 +94,10 @@
}; };
function search$$s(){ function search$$s(){
GRID.reloadData(); let formFiels = new FimsFormFields("#frmSearch");
$$Control.query = formFiels.get();
GRID.clear();
$$Control.load(1);
} }
/* ******************************* /* *******************************
* Biz function * Biz function

@ -93,7 +93,10 @@
}; };
function search$$s(){ function search$$s(){
GRID.reloadData(); let formFiels = new FimsFormFields("#frmSearch");
$$Control.query = formFiels.get();
GRID.clear();
$$Control.load(1);
} }
/* ******************************* /* *******************************

@ -103,13 +103,21 @@
}; };
function search$$s(){ function search$$s(){
GRID.reloadData(); $$Control.query = fnBiz.getParams();
GRID.clear();
$$Control.load(1);
} }
/* ******************************* /* *******************************
* Biz function * Biz function
******************************* */ ******************************* */
const fnBiz = { const fnBiz = {
pagePopup: function(flag, params){ getParams: function(){
let schKey = $('#searchCondition').val();
let schValue = $('input[name=searchKeyword]').val();
let params = Object.assign({[schKey]: schValue},boardMaster);
return params;
}
,pagePopup: function(flag, params){
let url = frwkApiUrl.POPUP_BOARD_BASIC; let url = frwkApiUrl.POPUP_BOARD_BASIC;
let popTitle; let popTitle;
let popOption = {width: 950, height:550}; let popOption = {width: 950, height:550};

@ -95,13 +95,20 @@
}; };
function search$$s(){ function search$$s(){
GRID.reloadData(); $$Control.query = fnBiz.getParams();
GRID.clear();
$$Control.load(1);
} }
/* ******************************* /* *******************************
* Biz function * Biz function
******************************* */ ******************************* */
const fnBiz = { const fnBiz = {
pagePopup: function(flag, params){ getParams: function(){
let schKey = $('#searchCondition').val();
let schValue = $('input[name=searchKeyword]').val();
return {[schKey]: schValue};
}
,pagePopup: function(flag, params){
let url = '<c:url value="/framework/biz/mng/bbs/mngBoardCreateMgtPopup.do"/>'; let url = '<c:url value="/framework/biz/mng/bbs/mngBoardCreateMgtPopup.do"/>';
let popTitle; let popTitle;
let popOption = {width: 950, height:550}; let popOption = {width: 950, height:550};

@ -97,13 +97,21 @@
}; };
function search$$s(){ function search$$s(){
GRID.reloadData(); $$Control.query = fnBiz.getParams();
GRID.clear();
$$Control.load(1);
} }
/* ******************************* /* *******************************
* Biz function * Biz function
******************************* */ ******************************* */
const fnBiz = { const fnBiz = {
pagePopup: function(flag, params){ getParams: function(){
let schKey = $('#searchCondition').val();
let schValue = $('input[name=searchKeyword]').val();
if(schKey === 'tmplatSeCode') schValue = $('select[name=searchKeyword]').val();
return {[schKey]: schValue};
}
,pagePopup: function(flag, params){
let url = '<c:url value="/framework/biz/mng/bbs/mngBoardTmplMgtPopup.do"/>'; let url = '<c:url value="/framework/biz/mng/bbs/mngBoardTmplMgtPopup.do"/>';
let popTitle; let popTitle;
let popOption = {width: 530, height:410}; let popOption = {width: 530, height:410};

@ -94,13 +94,20 @@
}; };
function search$$s(){ function search$$s(){
GRID.reloadData(); $$Control.query = fnBiz.getParams();
GRID.clear();
$$Control.load(1);
} }
/* ******************************* /* *******************************
* Biz function * Biz function
******************************* */ ******************************* */
const fnBiz = { const fnBiz = {
pagePopup: function(flag, params){ getParams: function(){
let schKey = $('#searchCondition').val();
let schValue = $('input[name=searchKeyword]').val();
return {[schKey]: schValue};
}
,pagePopup: function(flag, params){
let url = '<c:url value="/framework/biz/mng/bbs/mngBoardUseMgtPopup.do"/>'; let url = '<c:url value="/framework/biz/mng/bbs/mngBoardUseMgtPopup.do"/>';
let popTitle; let popTitle;
let popOption = {width: 840, height:410}; let popOption = {width: 840, height:410};

@ -94,7 +94,10 @@
}; };
function search$$s(){ function search$$s(){
GRID.reloadData(); let formFiels = new FimsFormFields("#frmSearch");
$$Control.query = formFiels.get();
GRID.clear();
$$Control.load(1);
} }
/* ******************************* /* *******************************

@ -108,7 +108,10 @@
}; };
function search$$s(){ function search$$s(){
GRID.reloadData(); let formFiels = new FimsFormFields("#frmSearch");
$$Control.query = formFiels.get();
GRID.clear();
$$Control.load(1);
} }
/* ******************************* /* *******************************
* Biz function * Biz function

@ -102,7 +102,10 @@
}; };
function search$$s(){ function search$$s(){
GRID.reloadData(); let formFiels = new FimsFormFields("#frmSearch");
$$Control.query = formFiels.get();
GRID.clear();
$$Control.load(1);
} }
/* ******************************* /* *******************************

@ -101,14 +101,22 @@
}; };
function search$$s(){ function search$$s(){
GRID.reloadData(); $$Control.query = fnBiz.getParams();
GRID.clear();
$$Control.load(1);
} }
/* ******************************* /* *******************************
* Biz function * Biz function
******************************* */ ******************************* */
const fnBiz = { const fnBiz = {
pagePopup: function(flag, params){ getParams : function(){
let schKey = $('#searchCondition').val();
if(schKey)
return {[schKey]: $('#searchKeyword').val()};
return {};
}
,pagePopup: function(flag, params){
let url = '<c:url value="/framework/biz/mng/code/mngZipCodeMgtPopup.do"/>'; let url = '<c:url value="/framework/biz/mng/code/mngZipCodeMgtPopup.do"/>';
let popTitle; let popTitle;
let popOption = {width: 950, height:550} let popOption = {width: 950, height:550}
@ -224,7 +232,8 @@
url: '<c:url value="/framework/biz/mng/code/findZipCodes.do"/>' url: '<c:url value="/framework/biz/mng/code/findZipCodes.do"/>'
,serializer: (params) => { ,serializer: (params) => {
const schKey = $('#searchCondition').val(); const schKey = $('#searchCondition').val();
if(schKey) return getPageParam({[schKey]: $('#searchKeyword').val()}, params); if(schKey)
return getPageParam({[schKey]: $('#searchKeyword').val()}, params);
return getPageParam(null, params); return getPageParam(null, params);
} }
} }

@ -85,7 +85,10 @@
}; };
function search$$s(){ function search$$s(){
GRID.reloadData(); let formFiels = new FimsFormFields("#frmSearch");
$$Control.query = formFiels.get();
GRID.clear();
$$Control.load(1);
} }
/* ******************************* /* *******************************
* Biz function * Biz function

@ -99,7 +99,10 @@
}; };
function search$$s(){ function search$$s(){
GRID.reloadData(); let formFiels = new FimsFormFields("#frmSearch");
$$Control.query = formFiels.get();
GRID.clear();
$$Control.load(1);
} }
/* ******************************* /* *******************************
* Biz function * Biz function

@ -95,7 +95,10 @@
}; };
function search$$s(){ function search$$s(){
GRID.reloadData(); let formFiels = new FimsFormFields("#frmSearch");
$$Control.query = formFiels.get();
GRID.clear();
$$Control.load(1);
} }
/* ******************************* /* *******************************
* Biz function * Biz function

@ -103,13 +103,21 @@
}; };
function search$$s(){ function search$$s(){
GRID.reloadData(); $$Control.query = fnBiz.getParams();
GRID.clear();
$$Control.load(1);
} }
/* ******************************* /* *******************************
* Biz function * Biz function
******************************* */ ******************************* */
const fnBiz = { const fnBiz = {
pagePopup: function(flag, params){ getParams: function(){
const schKey = $('#searchCondition').val();
if(schKey)
return {[schKey]: $('#searchKeyword').val(), sbscrbSttus: $('#sbscrbSttus').val()};
return {sbscrbSttus: $('#sbscrbSttus').val()};
}
,pagePopup: function(flag, params){
let url; let url;
let popTitle; let popTitle;
let popOption; let popOption;

@ -123,7 +123,10 @@ Date Author Description
}; };
function search$$s(){ function search$$s(){
GRID.reloadData(); let formFiels = new FimsFormFields("#frmSearch");
$$Control.query = formFiels.get();
GRID.clear();
$$Control.load(1);
} }
/* ******************************* /* *******************************

Loading…
Cancel
Save