diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/initData-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/initData-main.jsp index bb97de85..55ede054 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/initData-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/initData-main.jsp @@ -83,6 +83,7 @@ + @@ -254,7 +255,7 @@ function renderCrdnList(data) { /******************************* * Biz function *******************************/ -const fnBiz = { +var fnBiz = { getParams: () => { return { @@ -270,9 +271,9 @@ const fnBiz = { } } ,pagePopup: function(flag, params){ - let url; - let popTitle; - let popOption; + var url; + var popTitle; + var popOption; switch (flag) { case "total": url = fimsApiUrl.POPUP_CRACKDOWN_TOTAL; @@ -305,11 +306,11 @@ const fnBiz = { popup = CmmPopup.openModal(url, params, popOption, popTitle); } ,onClickGrid: function(props){ - const selColumn = props.columnInfo.name; + var selColumn = props.columnInfo.name; switch (selColumn){ case 'cvlcptRcptNo': popupDiv = 'edit'; - const rowDatas = GRID.store.data.rawData.map(d => { + var rowDatas = GRID.store.data.rawData.map(d => { return {crdnSeCd: d.crdnSeCd, crdnId: d.crdnId, crdnSttsCd: d.crdnSttsCd} }) pageNav = new PageNavigation(GRID, rowDatas, props.rowKey); @@ -329,7 +330,7 @@ const fnBiz = { } ,onDblClickGrid: function (props) { popupDiv = 'total'; - const rowDatas = GRID.store.data.rawData.map(d => { + var rowDatas = GRID.store.data.rawData.map(d => { return {crdnSeCd: d.crdnSeCd, crdnId: d.crdnId, crdnSttsCd: d.crdnSttsCd} }); @@ -387,7 +388,7 @@ $(() => { /* ******************************* * Grid ******************************* */ -const gridColumns = [ +var gridColumns = [ { header: '등록구분', name: 'CRDN_REG_SE_CD', @@ -408,7 +409,7 @@ const gridColumns = [ type: CustomButtonRenderer, options: { formatter: (props)=>{ - const rowData = props.grid.getRow(props.rowKey); + var rowData = props.grid.getRow(props.rowKey); return { formatter: rowData.crdnSeCd === '09' ? rowData.cvlcptRcptNo : rowData.fileLinkId ,element: "text" @@ -594,7 +595,7 @@ const gridColumns = [ hidden: true } ]; -const gridOptions = { +var gridOptions = { el: 'grid', rowHeaders: ['rowNum'], columns: gridColumns, @@ -605,7 +606,7 @@ const gridOptions = { }; -const initGrid = () => { +var initGrid = () => { GRID = TuiGrid.of(gridOptions); GRID.on('dblclick', function (props) { fnBiz.onDblClickGrid(props); }); }; @@ -613,11 +614,10 @@ const initGrid = () => { $(document).ready(function(){ - + //페이지로딩 후 초기화 fnBiz.resetBtn(); initGrid(); - $("#schDateFrom").datepicker({ changeMonth: true, changeYear: true, diff --git a/src/main/webapp/WEB-INF/jsp/include/top.jsp b/src/main/webapp/WEB-INF/jsp/include/top.jsp index 62c41040..25bc86b1 100644 --- a/src/main/webapp/WEB-INF/jsp/include/top.jsp +++ b/src/main/webapp/WEB-INF/jsp/include/top.jsp @@ -15,20 +15,20 @@