refactor : 그리드 조회 함수명 수정

main
이범준 2 years ago
parent c7d41b76a3
commit 8e29bc5556

@ -132,7 +132,7 @@ Date Author Description
<label class="form-label fw-bold form-search-title">단속구분</label> <label class="form-label fw-bold form-search-title">단속구분</label>
<span class="form-search-linebox"> <span class="form-search-linebox">
<code:radio type="CMM_ETC2" id="regltSeCode" name="regltSeCode" codeId="FIM002" <code:radio type="CMM_ETC2" id="regltSeCode" name="regltSeCode" codeId="FIM002"
onclick="fnBiz.search()" cls="form-check-input" alt="단속구분" /> onclick="search$$s()" cls="form-check-input" alt="단속구분" />
</span> </span>
</div> </div>
</div> </div>
@ -271,19 +271,18 @@ Date Author Description
/** /**
* *
*/ */
var callbackSearch = () => fnBiz.search(); var callbackSearch = () => search$$s();
function search$$s(){
ARR_GRID[CUR_TAB_IDX].resetData([]);
ARR_GRID[CUR_TAB_IDX].reloadData();
}
/******************************* /*******************************
* Biz function * Biz function
*******************************/ *******************************/
// tab 전체 // tab 전체
const fnBiz = { const fnBiz = {
search: () => { tabChangReload: () => {
ARR_GRID[CUR_TAB_IDX].resetData([]);
ARR_GRID[CUR_TAB_IDX].reloadData();
}
,tabChangReload: () => {
ARR_GRID[CUR_TAB_IDX].refreshLayout() ARR_GRID[CUR_TAB_IDX].refreshLayout()
} }
,getParams: () => { ,getParams: () => {
@ -439,7 +438,7 @@ Date Author Description
}); });
$('#btnSearch').on('click', () => fnBiz.search()); $('#btnSearch').on('click', () => search$$s());
$('#btnExtrRegist').on('click', () => { $('#btnExtrRegist').on('click', () => {
fnBiz.pagePopup('file'); fnBiz.pagePopup('file');
@ -697,7 +696,7 @@ Date Author Description
let fastSearchWord = document.getElementById("sch_word$fastSearch").value; let fastSearchWord = document.getElementById("sch_word$fastSearch").value;
$("[name='"+fastSearchOpt +"']").val(fastSearchWord); $("[name='"+fastSearchOpt +"']").val(fastSearchWord);
fnBiz.search(); search$$s();
} }
/************************************************************************** /**************************************************************************
* initialize * initialize

@ -50,17 +50,18 @@
* Global Variable * Global Variable
**************************************************************************/ **************************************************************************/
let GRID = null; let GRID = null;
var callbackSearch = () => fnBiz.search(); var callbackSearch = () => search$$s();
var pageNav = null; var pageNav = null;
/* ******************************* /* *******************************
* Biz function * Biz function
******************************* */ ******************************* */
const fnBiz = { function search$$s(){
search: () => {
GRID.reloadData(); GRID.reloadData();
} }
,pagePopup: function(flag, params){
const fnBiz = {
pagePopup: function(flag, params){
let url; let url;
let popTitle; let popTitle;
let popOption; let popOption;
@ -101,7 +102,7 @@
* event * event
**************************************************************************/ **************************************************************************/
$(() => { $(() => {
$('#btnSearch').on('click', () => fnBiz.search()); $('#btnSearch').on('click', () => search$$s());
$('#btnRegist').on('click', () => { $('#btnRegist').on('click', () => {
fnBiz.pagePopup('file'); fnBiz.pagePopup('file');

@ -66,17 +66,18 @@
* Global Variable * Global Variable
**************************************************************************/ **************************************************************************/
let GRID = null; let GRID = null;
var callbackSearch = () => fnBiz.search(); var callbackSearch = () => search$$s();
var pageNav = null; var pageNav = null;
function search$$s(){
GRID.reloadData();
}
/* ******************************* /* *******************************
* Biz function * Biz function
******************************* */ ******************************* */
const fnBiz = { const fnBiz = {
search: () => { pagePopup: function(flag, params){
GRID.reloadData();
}
,pagePopup: function(flag, params){
let url; let url;
let popTitle; let popTitle;
let popOption; let popOption;
@ -192,7 +193,7 @@
* event * event
**************************************************************************/ **************************************************************************/
$(() => { $(() => {
$('#btnSearch').on('click', () => fnBiz.search()); $('#btnSearch').on('click', () => search$$s());
$('#btnRegist').on('click', () => { $('#btnRegist').on('click', () => {
fnBiz.pagePopup('file'); fnBiz.pagePopup('file');

@ -50,18 +50,18 @@
**************************************************************************/ **************************************************************************/
var popup = null; var popup = null;
let GRID = null; let GRID = null;
var callbackSearch = () => fnBiz.search(); var callbackSearch = () => search$$s();
var unblockUI = () => $.unblockUI(); var unblockUI = () => $.unblockUI();
function search$$s(){
GRID.reloadData();
}
/* ******************************* /* *******************************
* Biz function * Biz function
******************************* */ ******************************* */
const fnBiz = { const fnBiz = {
search: () => { pagePopup: function(flag, params){
GRID.reloadData();
}
,pagePopup: function(flag, params){
let url; let url;
let popTitle; let popTitle;
let popOption; let popOption;
@ -117,7 +117,7 @@
* event * event
**************************************************************************/ **************************************************************************/
$(() => { $(() => {
$('#btnSearch').on('click', () => fnBiz.search()); $('#btnSearch').on('click', () => search$$s());
$('#btnRegist').on('click', () => { $('#btnRegist').on('click', () => {
fnBiz.pagePopup('file'); fnBiz.pagePopup('file');

@ -58,24 +58,24 @@ Date Author Description
<label class="form-label fw-bold form-search-title">시스템구분</label> <label class="form-label fw-bold form-search-title">시스템구분</label>
<span class="form-search-linebox"> <span class="form-search-linebox">
<code:radio codeId="FIM001" id="sysCode" name="sysCode" defaultSelect='${sessionScope.XitLoginSession.orgnztId}' <code:radio codeId="FIM001" id="sysCode" name="sysCode" defaultSelect='${sessionScope.XitLoginSession.orgnztId}'
onclick="fnBiz.search()" cls="form-check-input" alt="시스템구분"/> onclick="search$$s()" cls="form-check-input" alt="시스템구분"/>
</span> </span>
</div> </div>
<div id="fldRegltSeCode" class="col-12"> <div id="fldRegltSeCode" class="col-12">
<label class="form-label fw-bold form-search-title">단속구분</label> <label class="form-label fw-bold form-search-title">단속구분</label>
<span class="form-search-linebox"> <span class="form-search-linebox">
<code:radio type="CMM_ETC2" id="regltSeCode" name="regltSeCode" codeId="FIM002" <code:radio type="CMM_ETC2" id="regltSeCode" name="regltSeCode" codeId="FIM002"
onclick="fnBiz.search()" cls="form-check-input" alt="단속구분" /> onclick="search$$s()" cls="form-check-input" alt="단속구분" />
</span> </span>
</div> </div>
<div id="ansDiv" class="col-12"> <div id="ansDiv" class="col-12">
<label class="form-label fw-bold form-search-title">답변구분</label> <label class="form-label fw-bold form-search-title">답변구분</label>
<span class="form-search-linebox"> <span class="form-search-linebox">
<input type="radio" id="ctznAnsY" name="ctznAnsYn" class="form-check-input" <input type="radio" id="ctznAnsY" name="ctznAnsYn" class="form-check-input"
value="Y" onclick="fnBiz.search()" checked="true" /> value="Y" onclick="search$$s()" checked="true" />
<label for="ctznAnsY">답변가능</label> <label for="ctznAnsY">답변가능</label>
<input type="radio" id="ctznAnsN" name="ctznAnsYn" class="form-check-input" <input type="radio" id="ctznAnsN" name="ctznAnsYn" class="form-check-input"
value="N" onclick="fnBiz.search()"/> value="N" onclick="search$$s()"/>
<label for="ctznAnsY">답변대기</label> <label for="ctznAnsY">답변대기</label>
</span> </span>
</div> </div>
@ -194,22 +194,19 @@ Date Author Description
/** /**
* *
*/ */
var callbackSearch = () => fnBiz.search(); var callbackSearch = () => search$$s();
function search$$s(){
ARR_GRID[CUR_TAB_IDX].resetData([]);
ARR_GRID[CUR_TAB_IDX].reloadData();
}
/******************************* /*******************************
* Biz function * Biz function
*******************************/ *******************************/
// tab 전체 // tab 전체
const fnBiz = { const fnBiz = {
search: () => { tabChangReload: () => {
//TODO:: 검색버튼 클릭시 1st page 검색 이동
ARR_GRID[CUR_TAB_IDX].resetData([]);
//ARR_GRID[CUR_TAB_IDX].getPagination().movePageTo(1);
ARR_GRID[CUR_TAB_IDX].reloadData();
//ARR_GRID[CUR_TAB_IDX].refreshLayout()
}
,tabChangReload: () => {
ARR_GRID[CUR_TAB_IDX].refreshLayout() ARR_GRID[CUR_TAB_IDX].refreshLayout()
} }
,getParams: () => { ,getParams: () => {
@ -359,7 +356,7 @@ Date Author Description
}); });
$('#btnSearch').on('click', () => fnBiz.search()); $('#btnSearch').on('click', () => search$$s());
$('#btnExtrRegist').on('click', () => { $('#btnExtrRegist').on('click', () => {
fnBiz.pagePopup('file'); fnBiz.pagePopup('file');

@ -54,17 +54,17 @@
**************************************************************************/ **************************************************************************/
let GRID = null; let GRID = null;
var pageNav = null; var pageNav = null;
var callbackSearch = () => fnBiz.search(); var callbackSearch = () => search$$s();
function search$$s(){
GRID.reloadData();
}
/******************************* /*******************************
* Biz function * Biz function
*******************************/ *******************************/
var fnBiz = { var fnBiz = {
search: () => { pagePopup: function(flag, params){
GRID.reloadData();
}
,pagePopup: function(flag, params){
let url; let url;
let popTitle; let popTitle;
let popOption = {width: 1200, height:900}; let popOption = {width: 1200, height:900};
@ -110,7 +110,7 @@
**************************************************************************/ **************************************************************************/
$(() => { $(() => {
$('#btnSearch').on('click', () => { $('#btnSearch').on('click', () => {
fnBiz.search(); search$$s();
}); });
$('#btnRegist').on('click', () => { $('#btnRegist').on('click', () => {

@ -74,17 +74,16 @@
* Global Variable * Global Variable
**************************************************************************/ **************************************************************************/
let GRID = null; let GRID = null;
var callbackSearch = () => fnBiz.search(); var callbackSearch = () => search$$s();
function search$$s(){
GRID.reloadData();
}
/* ******************************* /* *******************************
* Biz function * Biz function
******************************* */ ******************************* */
const fnBiz = { const fnBiz = {
search: () => { pagePopup: function(flag, params){
GRID.reloadData();
}
,pagePopup: function(flag, params){
let url = frwkApiUrl.POPUP_ANS_TMPLS; let url = frwkApiUrl.POPUP_ANS_TMPLS;
let popTitle; let popTitle;
let popOption = {width: 950, height:600}; let popOption = {width: 950, height:600};
@ -145,7 +144,7 @@
* event * event
**************************************************************************/ **************************************************************************/
$(() => { $(() => {
$('#btnSearch').on('click', () => fnBiz.search()); $('#btnSearch').on('click', () => search$$s());
$('#btnRegist').on('click', () => { $('#btnRegist').on('click', () => {
fnBiz.pagePopup('add', {}); fnBiz.pagePopup('add', {});

@ -45,21 +45,22 @@
<div id="grid"></div> <div id="grid"></div>
<script type="text/javaScript"> <script type="text/javaScript">
let GRID = null;
/************************************************************************** /**************************************************************************
* Global Variable * Global Variable
**************************************************************************/ **************************************************************************/
var callbackSearch = () => fnBiz.search(); // 데이터 조회 : popup에서 사용 var callbackSearch = () => search$$s();
let GRID = null;
function search$$s(){
GRID.reloadData();
}
/* ******************************* /* *******************************
* Biz function * Biz function
******************************* */ ******************************* */
const fnBiz = { const fnBiz = {
search: () => { pagePopup: function(flag, url, params){
GRID.reloadData();
}
,pagePopup: function(flag, url, params){
let popTitle; let popTitle;
let popOption = {width: 530, height:535} let popOption = {width: 530, height:535}
switch (flag) { switch (flag) {
@ -103,7 +104,7 @@
**************************************************************************/ **************************************************************************/
$(() => { $(() => {
$('#btnSearch').on('click', () => { $('#btnSearch').on('click', () => {
fnBiz.search(); search$$s();
}); });
$('#btnRegist').on('click', () => { $('#btnRegist').on('click', () => {

@ -49,17 +49,17 @@
* Global Variable * Global Variable
**************************************************************************/ **************************************************************************/
let GRID = null; let GRID = null;
var callbackSearch = () => fnBiz.search(); var callbackSearch = () => search$$s();
function search$$s(){
GRID.reloadData();
}
/* ******************************* /* *******************************
* Biz function * Biz function
******************************* */ ******************************* */
const fnBiz = { const fnBiz = {
search: () => { pagePopup: function(flag, params){
GRID.reloadData();
}
,pagePopup: function(flag, params){
let url = '<c:url value="/framework/biz/mng/auth/mngAuthGrpMgtPopup.do"/>'; let url = '<c:url value="/framework/biz/mng/auth/mngAuthGrpMgtPopup.do"/>';
let popTitle; let popTitle;
let popOption = {width: 530, height:535} let popOption = {width: 530, height:535}
@ -93,7 +93,7 @@
* event * event
**************************************************************************/ **************************************************************************/
$(() => { $(() => {
$('#btnSearch').on('click', () => fnBiz.search()); $('#btnSearch').on('click', () => search$$s());
$('#btnRegist').on('click', () => { $('#btnRegist').on('click', () => {
fnBiz.pagePopup('add', null); fnBiz.pagePopup('add', null);

@ -50,19 +50,18 @@
/************************************************************************** /**************************************************************************
* Global Variable * Global Variable
**************************************************************************/ **************************************************************************/
var callbackSearch = () => {
if(GRID) fnBiz.search();
}
let GRID = null; let GRID = null;
var callbackSearch = () => { if(GRID) search$$s(); }
function search$$s(){
GRID.reloadData();
}
/* ******************************* /* *******************************
* Biz function * Biz function
******************************* */ ******************************* */
const fnBiz = { const fnBiz = {
search: () => { add: () => {
GRID.reloadData();
}
,add: () => {
const arrChecks = GRID.getCheckedRows(); const arrChecks = GRID.getCheckedRows();
if(arrChecks.length==0) { if(arrChecks.length==0) {
@ -83,7 +82,7 @@
,data: JSON.stringify(data) ,data: JSON.stringify(data)
,contentType: 'application/json; charset=utf-8' ,contentType: 'application/json; charset=utf-8'
,success: () => { ,success: () => {
fnBiz.search(); search$$s();
} }
}) })
} }
@ -118,7 +117,7 @@
* event * event
**************************************************************************/ **************************************************************************/
$(() => { $(() => {
$('#btnSearch').on('click', () => fnBiz.search()); $('#btnSearch').on('click', () => search$$s());
$('#btnPopup').on('click', () => { $('#btnPopup').on('click', () => {
fnBiz.pagePopup('add', {}); fnBiz.pagePopup('add', {});

@ -51,17 +51,17 @@
* Global Variable * Global Variable
**************************************************************************/ **************************************************************************/
let GRID = null; let GRID = null;
var callbackSearch = () => fnBiz.search(); var callbackSearch = () => search$$s();
function search$$s(){
GRID.reloadData();
}
/* ******************************* /* *******************************
* Biz function * Biz function
******************************* */ ******************************* */
const fnBiz = { const fnBiz = {
search: () => { pagePopup: function(flag, params){
GRID.reloadData();
}
,pagePopup: function(flag, params){
let url = '<c:url value="/framework/biz/mng/auth/mngAuthRoleMgtPopup.do"/>'; let url = '<c:url value="/framework/biz/mng/auth/mngAuthRoleMgtPopup.do"/>';
let popTitle; let popTitle;
let popOption = {width: 530, height:535} let popOption = {width: 530, height:535}
@ -95,7 +95,7 @@
* event * event
**************************************************************************/ **************************************************************************/
$(() => { $(() => {
$('#btnSearch').on('click', () => fnBiz.search()); $('#btnSearch').on('click', () => search$$s());
$('#btnRegist').on('click', () => { $('#btnRegist').on('click', () => {
fnBiz.pagePopup('add', {}); fnBiz.pagePopup('add', {});

@ -60,17 +60,17 @@
"fileAtchPosblAt": '<c:out value="${boardMaster.fileAtchPosblAt}"/>', "fileAtchPosblAt": '<c:out value="${boardMaster.fileAtchPosblAt}"/>',
"atchPosblFileNumber": '<c:out value="${boardMaster.atchPosblFileNumber}"/>' "atchPosblFileNumber": '<c:out value="${boardMaster.atchPosblFileNumber}"/>'
}; };
var callbackSearch = () => fnBiz.search();
var callbackSearch = () => search$$s();
function search$$s(){
GRID.reloadData();
}
/* ******************************* /* *******************************
* Biz function * Biz function
******************************* */ ******************************* */
const fnBiz = { const fnBiz = {
search: () => { pagePopup: function(flag, params){
GRID.reloadData();
}
,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};
@ -132,7 +132,7 @@
* event * event
**************************************************************************/ **************************************************************************/
$(() => { $(() => {
$('#btnSearch').on('click', () => fnBiz.search()); $('#btnSearch').on('click', () => search$$s());
$('#btnRegist').on('click', () => { $('#btnRegist').on('click', () => {
fnBiz.pagePopup('add', Object.assign({},boardMaster)); fnBiz.pagePopup('add', Object.assign({},boardMaster));

@ -53,17 +53,16 @@
* Global Variable * Global Variable
**************************************************************************/ **************************************************************************/
let GRID = null; let GRID = null;
var callbackSearch = () => fnBiz.search(); var callbackSearch = () => search$$s();
function search$$s(){
GRID.reloadData();
}
/* ******************************* /* *******************************
* Biz function * Biz function
******************************* */ ******************************* */
const fnBiz = { const fnBiz = {
search: () => { pagePopup: function(flag, params){
GRID.reloadData();
}
,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};
@ -113,7 +112,7 @@
* event * event
**************************************************************************/ **************************************************************************/
$(() => { $(() => {
$('#btnSearch').on('click', () => fnBiz.search()); $('#btnSearch').on('click', () => search$$s());
$('#btnRegist').on('click', () => { $('#btnRegist').on('click', () => {
fnBiz.pagePopup('add', {}); fnBiz.pagePopup('add', {});

@ -53,17 +53,16 @@
* Global Variable * Global Variable
**************************************************************************/ **************************************************************************/
let GRID = null; let GRID = null;
var callbackSearch = () => fnBiz.search(); var callbackSearch = () => search$$s();
function search$$s(){
GRID.reloadData();
}
/* ******************************* /* *******************************
* Biz function * Biz function
******************************* */ ******************************* */
const fnBiz = { const fnBiz = {
search: () => { pagePopup: function(flag, params){
GRID.reloadData();
}
,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};
@ -113,7 +112,7 @@
* event * event
**************************************************************************/ **************************************************************************/
$(() => { $(() => {
$('#btnSearch').on('click', () => fnBiz.search()); $('#btnSearch').on('click', () => search$$s());
$('#btnRegist').on('click', () => { $('#btnRegist').on('click', () => {
fnBiz.pagePopup('add', {}); fnBiz.pagePopup('add', {});

@ -51,17 +51,16 @@
* Global Variable * Global Variable
**************************************************************************/ **************************************************************************/
let GRID = null; let GRID = null;
var callbackSearch = () => fnBiz.search(); var callbackSearch = () => search$$s();
function search$$s(){
GRID.reloadData();
}
/* ******************************* /* *******************************
* Biz function * Biz function
******************************* */ ******************************* */
const fnBiz = { const fnBiz = {
search: () => { pagePopup: function(flag, params){
GRID.reloadData();
}
,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};
@ -111,7 +110,7 @@
* event * event
**************************************************************************/ **************************************************************************/
$(() => { $(() => {
$('#btnSearch').on('click', () => fnBiz.search()); $('#btnSearch').on('click', () => search$$s());
$('#btnRegist').on('click', () => { $('#btnRegist').on('click', () => {
fnBiz.pagePopup('add', {}); fnBiz.pagePopup('add', {});

@ -53,17 +53,19 @@
/************************************************************************** /**************************************************************************
* Global Variable * Global Variable
**************************************************************************/ **************************************************************************/
var callbackSearch = () => fnBiz.search(); // 데이터 조회 : popup에서 사용
let GRID = null; let GRID = null;
var callbackSearch = () => search$$s(); // 데이터 조회 : popup에서 사용
function search$$s(){
GRID.reloadData();
}
/* ******************************* /* *******************************
* Biz function * Biz function
******************************* */ ******************************* */
const fnBiz = { const fnBiz = {
search: () => { pagePopup: function(flag, params){
GRID.reloadData();
}
,pagePopup: function(flag, params){
let url = '<c:url value="/framework/biz/mng/code/mngCodeCfnMgtPopup.do"/>'; let url = '<c:url value="/framework/biz/mng/code/mngCodeCfnMgtPopup.do"/>';
let popTitle; let popTitle;
let popOption = {width: 700, height:500} let popOption = {width: 700, height:500}
@ -97,7 +99,7 @@
**************************************************************************/ **************************************************************************/
$(() => { $(() => {
$('#btnSearch').on('click', () => { $('#btnSearch').on('click', () => {
fnBiz.search(); search$$s();
}); });
$('#btnRegist').on('click', () => { $('#btnRegist').on('click', () => {

@ -67,17 +67,18 @@
/************************************************************************** /**************************************************************************
* Global Variable * Global Variable
**************************************************************************/ **************************************************************************/
var callbackSearch = () => fnBiz.search(); // 데이터 조회 : popup에서 사용
let GRID = null; let GRID = null;
var callbackSearch = () => search$$s(); // 데이터 조회 : popup에서 사용
function search$$s(){
GRID.reloadData();
}
/* ******************************* /* *******************************
* Biz function * Biz function
******************************* */ ******************************* */
const fnBiz = { const fnBiz = {
search: () => { pagePopup: function(flag, params){
GRID.reloadData();
}
,pagePopup: function(flag, params){
let url = '<c:url value="/framework/biz/mng/code/mngCodeDtlMgtPopup.do"/>'; let url = '<c:url value="/framework/biz/mng/code/mngCodeDtlMgtPopup.do"/>';
let popTitle; let popTitle;
let popOption = {width: 700, height:500} let popOption = {width: 700, height:500}
@ -111,7 +112,7 @@
**************************************************************************/ **************************************************************************/
$(() => { $(() => {
$('#btnSearch').on('click', () => { $('#btnSearch').on('click', () => {
fnBiz.search(); search$$s();
}); });
$('#btnRegist').on('click', () => { $('#btnRegist').on('click', () => {

@ -62,17 +62,18 @@
/************************************************************************** /**************************************************************************
* Global Variable * Global Variable
**************************************************************************/ **************************************************************************/
var callbackSearch = () => fnBiz.search(); // 데이터 조회 : popup에서 사용
let GRID = null; let GRID = null;
var callbackSearch = () => search$$s(); // 데이터 조회 : popup에서 사용
function search$$s(){
GRID.reloadData();
}
/* ******************************* /* *******************************
* Biz function * Biz function
******************************* */ ******************************* */
const fnBiz = { const fnBiz = {
search: () => { pagePopup: function(flag, params){
GRID.reloadData();
}
,pagePopup: function(flag, params){
let url = '<c:url value="/framework/biz/mng/code/mngCodeGrpMgtPopup.do"/>'; let url = '<c:url value="/framework/biz/mng/code/mngCodeGrpMgtPopup.do"/>';
let popTitle; let popTitle;
let popOption = {width: 700, height:500} let popOption = {width: 700, height:500}
@ -106,7 +107,7 @@
**************************************************************************/ **************************************************************************/
$(() => { $(() => {
$('#btnSearch').on('click', () => { $('#btnSearch').on('click', () => {
fnBiz.search(); search$$s();
}); });
$('#btnRegist').on('click', () => { $('#btnRegist').on('click', () => {

@ -58,17 +58,18 @@
/************************************************************************** /**************************************************************************
* Global Variable * Global Variable
**************************************************************************/ **************************************************************************/
var callbackSearch = () => fnBiz.search(); // 데이터 조회 : popup에서 사용
let GRID = null; let GRID = null;
var callbackSearch = () => search$$s(); // 데이터 조회 : popup에서 사용
function search$$s(){
GRID.reloadData();
}
/* ******************************* /* *******************************
* Biz function * Biz function
******************************* */ ******************************* */
const fnBiz = { const fnBiz = {
search: () => { pagePopup: function(flag, params){
GRID.reloadData();
}
,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}
@ -111,7 +112,7 @@
**************************************************************************/ **************************************************************************/
$(() => { $(() => {
$('#btnSearch').on('click', () => { $('#btnSearch').on('click', () => {
fnBiz.search(); search$$s();
}); });
$('#btnRegist').on('click', () => { $('#btnRegist').on('click', () => {

@ -46,16 +46,15 @@
* Global Variable * Global Variable
**************************************************************************/ **************************************************************************/
let GRID = null; let GRID = null;
var callbackSearch = () => fnBiz.search(); var callbackSearch = () => search$$s();
function search$$s(){
GRID.reloadData();
}
/* ******************************* /* *******************************
* Biz function * Biz function
******************************* */ ******************************* */
const fnBiz = { const fnBiz = {
search: () => { pagePopup: function(flag, params){
GRID.reloadData();
}
,pagePopup: function(flag, params){
let url = '<c:url value="/framework/biz/mng/menu/mngMenuByRoleMgtPopup.do"/>'; let url = '<c:url value="/framework/biz/mng/menu/mngMenuByRoleMgtPopup.do"/>';
let popTitle; let popTitle;
let popOption = {width: 600, height:835} let popOption = {width: 600, height:835}
@ -86,7 +85,7 @@
* event * event
**************************************************************************/ **************************************************************************/
$(() => { $(() => {
$('#btnSearch').on('click', () => fnBiz.search()); $('#btnSearch').on('click', () => search$$s());
$('#btnRegist').on('click', () => { $('#btnRegist').on('click', () => {
fnBiz.pagePopup('add', null); fnBiz.pagePopup('add', null);

@ -57,16 +57,15 @@
* Global Variable * Global Variable
**************************************************************************/ **************************************************************************/
let GRID = null; let GRID = null;
var callbackSearch = () => fnBiz.search(); var callbackSearch = () => search$$s();
function search$$s(){
GRID.reloadData();
}
/* ******************************* /* *******************************
* Biz function * Biz function
******************************* */ ******************************* */
const fnBiz = { const fnBiz = {
search: () => { pagePopup: function(flag, params){
GRID.reloadData();
}
,pagePopup: function(flag, params){
let url = '<c:url value="/framework/biz/mng/menu/mngMenuMgtPopup.do"/>'; let url = '<c:url value="/framework/biz/mng/menu/mngMenuMgtPopup.do"/>';
let popTitle; let popTitle;
let popOption = {width: 900, height:550} let popOption = {width: 900, height:550}
@ -106,7 +105,7 @@
* event * event
**************************************************************************/ **************************************************************************/
$(() => { $(() => {
$('#btnSearch').on('click', () => fnBiz.search()); $('#btnSearch').on('click', () => search$$s());
$('#btnRegist').on('click', () => { $('#btnRegist').on('click', () => {
fnBiz.pagePopup('add', null); fnBiz.pagePopup('add', null);

@ -50,18 +50,18 @@
/************************************************************************** /**************************************************************************
* Global Variable * Global Variable
**************************************************************************/ **************************************************************************/
var callbackSearch = () => fnBiz.search(); // 데이터 조회 : popup에서 사용
let GRID = null; let GRID = null;
var callbackSearch = () => search$$s(); // 데이터 조회 : popup에서 사용
function search$$s(){
GRID.reloadData();
}
/* ******************************* /* *******************************
* Biz function * Biz function
******************************* */ ******************************* */
const fnBiz = { const fnBiz = {
search: () => { pagePopup: function(flag, params){
GRID.reloadData();
}
,pagePopup: function(flag, params){
let url = '<c:url value="/framework/biz/mng/menu/mngProgramMgtPopup.do"/>'; let url = '<c:url value="/framework/biz/mng/menu/mngProgramMgtPopup.do"/>';
let popTitle; let popTitle;
let popOption = {width: 700, height:660} let popOption = {width: 700, height:660}
@ -96,7 +96,7 @@
**************************************************************************/ **************************************************************************/
$(() => { $(() => {
$('#btnSearch').on('click', () => { $('#btnSearch').on('click', () => {
fnBiz.search(); search$$s();
}); });
$('#btnRegist').on('click', () => { $('#btnRegist').on('click', () => {

@ -57,17 +57,16 @@
* Global Variable * Global Variable
**************************************************************************/ **************************************************************************/
let GRID = null; let GRID = null;
var callbackSearch = () => fnBiz.search(); var callbackSearch = () => search$$s();
function search$$s(){
GRID.reloadData();
}
/* ******************************* /* *******************************
* Biz function * Biz function
******************************* */ ******************************* */
const fnBiz = { const fnBiz = {
search: () => { pagePopup: function(flag, params){
GRID.reloadData();
}
,pagePopup: function(flag, params){
let url; let url;
let popTitle; let popTitle;
let popOption; let popOption;
@ -112,7 +111,7 @@
* event * event
**************************************************************************/ **************************************************************************/
$(() => { $(() => {
$('#btnSearch').on('click', () => fnBiz.search()); $('#btnSearch').on('click', () => search$$s());
$('#btnRegist').on('click', () => { $('#btnRegist').on('click', () => {
fnBiz.pagePopup('add', {}); fnBiz.pagePopup('add', {});

@ -83,17 +83,18 @@ Date Author Description
* Global Variable * Global Variable
**************************************************************************/ **************************************************************************/
// 데이터 조회 : popup에서 호출 하기위해 var로 선언 // 데이터 조회 : popup에서 호출 하기위해 var로 선언
var callbackSearch = () => fnBiz.search(); var callbackSearch = () => search$$s();
let GRID = null; let GRID = null;
function search$$s(){
GRID.reloadData();
}
/* ******************************* /* *******************************
* Biz function * Biz function
******************************* */ ******************************* */
const fnBiz = { const fnBiz = {
search: () => { pagePopup: function(flag, params){
GRID.reloadData();
}
,pagePopup: function(flag, params){
let url = '<c:url value="/framework/biz/mng/code/mngCodeDtlMgtPopup.do"/>'; let url = '<c:url value="/framework/biz/mng/code/mngCodeDtlMgtPopup.do"/>';
let popTitle; let popTitle;
let popOption = {width: 700, height:500} let popOption = {width: 700, height:500}
@ -120,7 +121,7 @@ Date Author Description
**************************************************************************/ **************************************************************************/
$(() => { $(() => {
$('#btnSearch').on('click', () => { $('#btnSearch').on('click', () => {
fnBiz.search(); search$$s();
}); });
$('#btnRegist').on('click', () => { $('#btnRegist').on('click', () => {

Loading…
Cancel
Save