|
|
@ -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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|