From 8f2afa9c48228068fce0d2c958622ef5cafc17ae Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Thu, 8 Feb 2024 10:18:09 +0900 Subject: [PATCH] =?UTF-8?q?jsp=ED=99=94=EB=A9=B4=20=ED=85=8C=EC=9D=B4?= =?UTF-8?q?=EB=B8=94=EC=BB=AC=EB=9F=BC=20=ED=81=AC=EA=B8=B0=20=EC=A1=B0?= =?UTF-8?q?=EC=A0=88=20=EB=B0=A9=EC=8B=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02010-main.jsp | 8 ++++---- src/main/webapp/WEB-INF/jsp/fims/crdn/crdn03010-main.jsp | 3 +-- src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05010-main.jsp | 3 +-- src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp | 8 ++------ src/main/webapp/WEB-INF/jsp/fims/crdn/crdn07010-main.jsp | 8 ++++---- src/main/webapp/WEB-INF/jsp/fims/crdn/crdn08010-main.jsp | 3 +-- src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01010-main.jsp | 4 ++-- src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc02010-main.jsp | 5 ++--- src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc03010-main.jsp | 3 +-- src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc04010-main.jsp | 3 +-- 10 files changed, 19 insertions(+), 29 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02010-main.jsp index ae97d101..2841e68f 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02010-main.jsp @@ -1021,14 +1021,14 @@ $(document).ready(function(){ $("#btnInstLevyExcl--${pageName}").on("click", () => $P.openLevyExclPop("1")); + + fnMakeResizableTable($("#photoInspection-responsive--${pageName}")[0]); + fnMakeResizableTable($("#sameVehicleInspectionMain-responsive--${pageName}")[0]); + fnMakeResizableTable($("#sameVehicleInspectionSub-responsive--${pageName}")[0]); //스크롤 테이블 fnMakeScrollableTable($("#photoInspection-responsive--${pageName}")[0], $P.scrollInspectionDataList); fnMakeScrollableTable($("#sameVehicleInspectionMain-responsive--${pageName}")[0], $P.scrollInspectionDataList); - $("#photoInspection_Table_0--${pageName}").find("th").resizable({handles : "e"}); - $("#sameVehicleInspectionMain_Table_0--${pageName}").find("th").resizable({handles : "e"}); - $("#sameVehicleInspectionSub_Table_0--${pageName}").find("th").resizable({handles : "e"}); - /************************************************************************** * 초기화 **************************************************************************/ diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn03010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn03010-main.jsp index 586400a2..c1516350 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn03010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn03010-main.jsp @@ -314,6 +314,7 @@ $(document).ready(function(){ $P.crdnControl.download(); }); + fnMakeResizableTable($("#table-responsive--${pageName}")[0]); fnMakeScrollableTable($("#table-responsive--${pageName}")[0], $P.scrollCrdnList); $('#btnUpdateToConfirmData--${pageName}').on('click', () => { @@ -349,8 +350,6 @@ $(document).ready(function(){ //보안모드 fn_securityModeToggle($("#securityMode--top").is(":checked")); - - $("#DataTables_Table_0--${pageName}").find("th").resizable({handles : "e"}); }); diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05010-main.jsp index 1d86cf7c..b44411f1 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05010-main.jsp @@ -299,9 +299,8 @@ $(document).ready(function(){ $("#btnInsertByFile--${pageName}").on('click', () => { $P.crdnControl.newInfo("file"); }); $("#btnInsertByHand--${pageName}").on('click', () => { $P.crdnControl.newInfo("hand"); }); + fnMakeResizableTable($("#table-responsive--${pageName}")[0]); fnMakeScrollableTable($("#table-responsive--${pageName}")[0], $P.scrollCrdnList); - - $("#DataTables_Table_0--${pageName}").find("th").resizable({handles : "e"}); /************************************************************************** * 초기화 diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp index d5aa1bf6..739ba448 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp @@ -394,17 +394,13 @@ $(document).ready(function(){ $("#btnSendCrdn--${pageName}").on("click", () => $P.fnSendCrdn()); //업무별 그리드 - $("#DataTables_Table_0--${pageName}").find("th").resizable( "destroy" ); - var colsContent = document.getElementById("crdnCols--${pageName}").content; var cols = $(colsContent).find("."+clsForTask+",.cmn"); var colsStr = ""; cols.each(function(){ colsStr += this.outerHTML; }); - $("#crdnThead--${pageName}").html(colsStr); - - $("#DataTables_Table_0--${pageName}").find("th").resizable({handles : "e"}); + $("#table-responsive--${pageName}")[0].changeColumn(colsStr); if(SYS_LINK_INFO.NXRP_LINK_YN != 'Y'){ $("#btnSendCrdn--${pageName}").attr("hidden","hidden"); @@ -560,7 +556,7 @@ $(document).ready(function(){ $('#btnSearch--${pageName}').on('click', () => $P.searchCrdnList()); $('#btnExcel--${pageName}').on('click', () => $P.fnExcelDown(false)); $('#btnExcelForApproval--${pageName}').on('click', () => $P.fnExcelDown(true)); - + fnMakeResizableTable($("#table-responsive--${pageName}")[0]); fnMakeScrollableTable($("#table-responsive--${pageName}")[0], $P.scrollCrdnList); /************************************************************************** diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn07010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn07010-main.jsp index 084b8c32..8761d268 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn07010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn07010-main.jsp @@ -51,7 +51,7 @@