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