첨부파일(xls,xlsx)을 이곳에 올려주세요
@@ -264,7 +285,9 @@ let findData = ()=>{diff --git a/src/main/webapp/WEB-INF/jsp/index.jsp b/src/main/webapp/WEB-INF/jsp/index.jsp index 7e512dc..db0bab9 100644 --- a/src/main/webapp/WEB-INF/jsp/index.jsp +++ b/src/main/webapp/WEB-INF/jsp/index.jsp @@ -14,7 +14,6 @@ - @@ -50,6 +49,8 @@ let excelExport = (event)=>{ excelExportCommon(event, handleExcelDataAll); } function excelExportCommon(event, callback){ + document.querySelector('#lbFile').innerHTML = event.target.files[0].name; + let input = event.target; let reader = new FileReader(); reader.onload = function(){ @@ -171,7 +172,7 @@ function get_header_row(sheet) { let findData = ()=>{ if(instance.getData() == null || instance.getData() == '' || instance.getData().length == 0){ - alert('자료를 첨부하세요.'); + alert('파일을 첨부하세요.'); return false; } @@ -223,6 +224,22 @@ let findData = ()=>{ div.content{ margin: 10px; } + button { + height:27px; + padding: 10px 15px 30px 15px; + margin: 10px; + background: #4f4f4f; + color: aliceblue; + border-radius:3px; + font-size:14px; + font-weight: bold; + display: inline-block; + width: auto; + border-color: #6a5a64; + text-shadow: none; + box-shadow: none; + } + @@ -250,6 +267,10 @@ let findData = ()=>{
첨부파일(xls,xlsx)을 이곳에 올려주세요
@@ -264,7 +285,9 @@ let findData = ()=>{