From c2f373402927c4d639bf1f5958c51bdc8120837d Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Mon, 19 Jun 2023 10:25:15 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B4=88=EA=B8=B0=EC=9E=90=EB=A3=8C=20?= =?UTF-8?q?=EB=A9=94=EC=9D=B8=20=ED=99=94=EB=A9=B4=20=EC=88=98=EC=A0=95(co?= =?UTF-8?q?nst,=20let=EB=B3=80=EC=88=98=20var=EB=A1=9C=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WEB-INF/jsp/fims/crdn/initData-main.jsp | 26 +++++++++---------- src/main/webapp/WEB-INF/jsp/include/top.jsp | 18 ++++++------- src/main/webapp/WEB-INF/jsp/index.jsp | 20 +++++++------- 3 files changed, 32 insertions(+), 32 deletions(-) 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 @@
- - -
@@ -36,7 +36,7 @@
@@ -60,13 +60,13 @@
과태료업무 기본값 설정
- + - + - + - +
diff --git a/src/main/webapp/WEB-INF/jsp/index.jsp b/src/main/webapp/WEB-INF/jsp/index.jsp index 4d4bf0d9..36aea6df 100644 --- a/src/main/webapp/WEB-INF/jsp/index.jsp +++ b/src/main/webapp/WEB-INF/jsp/index.jsp @@ -7,11 +7,11 @@
- +
- + - +