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 @@