From 45eaf99f869acb75d89555b965e3df33e93c26c9 Mon Sep 17 00:00:00 2001 From: hylee Date: Tue, 10 Sep 2024 16:14:29 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A3=BC=EC=86=8C=EB=A1=9D=20=EC=97=91?= =?UTF-8?q?=EC=85=80=20upload=20log=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../webapp/WEB-INF/jsp/web/addr/include/addrListforExcel.jsp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/webapp/WEB-INF/jsp/web/addr/include/addrListforExcel.jsp b/src/main/webapp/WEB-INF/jsp/web/addr/include/addrListforExcel.jsp index 4373bb9f..4b4a2b55 100644 --- a/src/main/webapp/WEB-INF/jsp/web/addr/include/addrListforExcel.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/addr/include/addrListforExcel.jsp @@ -368,6 +368,7 @@ function processExcelData(data) { // 텍스트 데이터 처리 함수 function processTextData(text) { + console.log(' :: processTextData :: '); var lines = text.split('\n'); // 각 줄을 배열로 분리 var keys = ['A', 'B', 'C', 'D', 'E', 'F', 'G']; var tableData = []; @@ -386,6 +387,7 @@ function processTextData(text) { //공통 테이블 업데이트 함수 function updateTable(tableData) { + console.log(' :: updateTable :: '); $tableExcel.setColumns([ // 열 정의를 다시 설정 {formatter: "rowSelection", titleFormatter: "rowSelection", clipboard: false, hozAlign: "center", headerHozAlign: "center", headerSort: false, cellClick: function(e, cell) { cell.getRow().toggleSelect(); @@ -400,11 +402,13 @@ function updateTable(tableData) { {title: "G", field: "G", hozAlign: "center", headerHozAlign: "center", width: 125, validator: ["maxLength:100", "string"]} ]); + console.log(' :: $tableExcel.setData(tableData) :: '); $tableExcel.setData(tableData).then(() => { // rowTotCnt 업데이트 document.getElementById("rowTotCnt").innerText = tableData.length; }); + console.log(' :: fn_loadRemoveActive :: '); fn_loadRemoveActive(); }