From 00b7163919d74e6a91d0888c7e933f8a163e8ca2 Mon Sep 17 00:00:00 2001 From: hylee Date: Thu, 20 Jul 2023 15:15:40 +0900 Subject: [PATCH 1/2] =?UTF-8?q?refactor=20:=20=EB=8C=80=EC=9A=A9=EB=9F=89?= =?UTF-8?q?=20=ED=8C=8C=EC=9D=BC=20=EC=86=94=EB=A3=A8=EC=85=98=20=EC=B2=A8?= =?UTF-8?q?=EB=B6=80=EA=B0=80=EB=8A=A5=ED=95=9C=20=ED=99=95=EC=9E=A5?= =?UTF-8?q?=EC=9E=90=20=EC=98=B5=EC=85=98=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/jsp/web/ve/comm/fileUploadPop.jsp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/web/ve/comm/fileUploadPop.jsp b/src/main/webapp/WEB-INF/jsp/web/ve/comm/fileUploadPop.jsp index d5961034..f3b650a6 100644 --- a/src/main/webapp/WEB-INF/jsp/web/ve/comm/fileUploadPop.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/ve/comm/fileUploadPop.jsp @@ -67,6 +67,8 @@ , height:80 , width: 600 , maxFileCount : 1 // 첨부파일 최대 갯수 + , allowExtension : ["txt","xls","xlsx","png","jpg","jpeg","doc","ppt","hwp","pdf","zip"] +// 가능한 확장자 txt|xls|xlsx|png|jpg|jpeg|doc|ppt|hwp|pdf|zip }); // 업로드 완료 후 이벤트 @@ -136,7 +138,7 @@ } */ /* 등록되어 있는 파일 삭제버튼 클릭시 */ - function delAtchFile(itemId , fileSn){ + /* function delAtchFile(itemId , fileSn){ if(!confirm("삭제하시겠습니까?")){ return false; } @@ -180,7 +182,7 @@ alert("삭제처리에 실패하였습니다."); } }); - } + } */ //거래선 업로드 @@ -204,7 +206,6 @@ var postObj = new Object(); postObj.innoDirPath = $('#innoDirPath').val(); control.setPostData(postObj); // 업로드시 함께 전달될 POST Param 추가 -// 가능한 확장자 txt|xls|xlsx|png|jpg|jpeg|doc|ppt|hwp|pdf|zip control.upload(); // 업로드 시작 }else{ alert("등록된 첨부파일이 없습니다."); From 1ce8b3b219fa36985eeb89a73c77064514c0e32b Mon Sep 17 00:00:00 2001 From: hylee Date: Thu, 20 Jul 2023 18:22:50 +0900 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20pms-#3273=20=ED=8C=8C=EC=9D=BC=20?= =?UTF-8?q?=EC=97=85=EB=A1=9C=EB=93=9C=20=EC=9A=A9=EB=9F=89=20=ED=99=95?= =?UTF-8?q?=EB=8C=80=20=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../innorix/web/InnorixFileController.java | 5 +- .../exprnClsrmEnd/exprnClsrmEndRslt.jsp | 346 +----------------- src/main/webapp/innorix/exam/uploadMulti.html | 2 +- 3 files changed, 13 insertions(+), 340 deletions(-) diff --git a/src/main/java/kcc/kccadr/cmm/innorix/web/InnorixFileController.java b/src/main/java/kcc/kccadr/cmm/innorix/web/InnorixFileController.java index fe949066..a1943df2 100644 --- a/src/main/java/kcc/kccadr/cmm/innorix/web/InnorixFileController.java +++ b/src/main/java/kcc/kccadr/cmm/innorix/web/InnorixFileController.java @@ -48,7 +48,7 @@ public class InnorixFileController { /** * @methodName : insertInnorixFile * @author : 이호영 - * @date : 2022.12.26 + * @date : 2023.07.20 * @description : 파일 insert 전용 * @param adrInnorixFileVO * @return @@ -68,6 +68,9 @@ public class InnorixFileController { return ResponseEntity.ok(innorixService.insertInnorixFile(adrInnorixFileVO)); } + + + } \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmEnd/exprnClsrmEndRslt.jsp b/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmEnd/exprnClsrmEndRslt.jsp index 5b9c5435..548abb9c 100644 --- a/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmEnd/exprnClsrmEndRslt.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmEnd/exprnClsrmEndRslt.jsp @@ -51,7 +51,7 @@ var _orgnFileForm = new Array(); function orgnlFileUpload(files,obj) //업로드 function { - var limitsize = 10*1024*1024; //파일 제한 체크(10개, 10MB) + var limitsize = 100*1024*1024; //파일 제한 체크(10개, 10MB) var limitcount = $("input[name=orgnl_limitcount]").val()*1 ; var allrowFileExtsn = $("input[name=orgnl_allrowFileExtsn]").val(); @@ -63,7 +63,7 @@ for (var i = 0; i < files.length; i++) { if(files[i].size > limitsize){ - alert(files[i].name+"파일 사이즈가"+getStrFileSize(files[i].size)+"로 10MB이하만 업로드 가능합니다."); + alert(files[i].name+"파일 사이즈가"+getStrFileSize(files[i].size)+"로 100MB이하만 업로드 가능합니다."); return ; } @@ -177,7 +177,7 @@ var _cpyFileForm = new Array(); function cpyFileUpload(files,obj) //업로드 function { - var limitsize = 10*1024*1024; //파일 제한 체크(10개, 10MB) + var limitsize = 100*1024*1024; //파일 제한 체크(10개, 10MB) var limitcount = $("input[name=cpy_limitcount]").val()*1 ; var allrowFileExtsn = $("input[name=cpy_allrowFileExtsn]").val(); @@ -189,7 +189,7 @@ for (var i = 0; i < files.length; i++) { if(files[i].size > limitsize){ - alert(files[i].name+"파일 사이즈가"+getStrFileSize(files[i].size)+"로 10MB이하만 업로드 가능합니다."); + alert(files[i].name+"파일 사이즈가"+getStrFileSize(files[i].size)+"로 100MB이하만 업로드 가능합니다."); return ; } @@ -304,7 +304,7 @@ var _evdncFileForm = new Array(); function evdncFileUpload(files,obj) //업로드 function { - var limitsize = 10*1024*1024; //파일 제한 체크(10개, 10MB) + var limitsize = 100*1024*1024; //파일 제한 체크(10개, 10MB) var limitcount = $("input[name=evdnc_limitcount]").val()*1 ; var allrowFileExtsn = $("input[name=evdnc_allrowFileExtsn]").val(); @@ -316,7 +316,7 @@ for (var i = 0; i < files.length; i++) { if(files[i].size > limitsize){ - alert(files[i].name+"파일 사이즈가"+getStrFileSize(files[i].size)+"로 10MB이하만 업로드 가능합니다."); + alert(files[i].name+"파일 사이즈가"+getStrFileSize(files[i].size)+"로 100MB이하만 업로드 가능합니다."); return ; } @@ -433,7 +433,7 @@ var _rmtTrnFileForm = new Array(); function rmtTrnFileUpload(files,obj) //업로드 function { - var limitsize = 10*1024*1024; //파일 제한 체크(10개, 10MB) + var limitsize = 100*1024*1024; //파일 제한 체크(10개, 10MB) var limitcount = $("input[name=rmtTrn_limitcount]").val()*1 ; var allrowFileExtsn = $("input[name=rmtTrn_allrowFileExtsn]").val(); @@ -445,7 +445,7 @@ for (var i = 0; i < files.length; i++) { if(files[i].size > limitsize){ - alert(files[i].name+"파일 사이즈가"+getStrFileSize(files[i].size)+"로 10MB이하만 업로드 가능합니다."); + alert(files[i].name+"파일 사이즈가"+getStrFileSize(files[i].size)+"로 100MB이하만 업로드 가능합니다."); return ; } @@ -628,336 +628,6 @@

결과보고 정보

- <%--
- - - - - - - - - - - - - - - - - - - - - - - - -
결과보고 (th 명)을 보여주는 표
-

필수입력 항목*

-

원본 결과보고서

-
-
- - -
-
- - - - - - - - - - - - - - - - -
파일 명종류크기
-

첨부하실 파일을 마우스끌어서 넣어주세요.

-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - -
파일 명종류크기삭제
- ${fileList.orignlFileNm} - - "> - - "> - - -
-
-
- - -
-

최대 1

-

100MB제한

-
-
-

등록된 파일 0

- 0MB -
-
-
-

필수입력 항목*

-

평가용 결과보고서

-
-
- - -
-
- - - - - - - - - - - - - - - - -
파일 명종류크기
-

첨부하실 파일을 마우스끌어서 넣어주세요.

-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - -
파일 명종류크기삭제
- ${fileList.orignlFileNm} - - "> - - "> - - -
-
-
- - -
-

최대 1

-

100MB제한

-
-
-

등록된 파일 0

- 0MB -
-
-
-

필수입력 항목*

-

증빙사진

-
-
- - -
-
- - - - - - - - - - - - - - - - -
파일 명종류크기
-

첨부하실 파일을 마우스끌어서 넣어주세요.

-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - -
파일 명종류크기삭제
- ${fileList.orignlFileNm} - - "> - - "> - - -
-
-
- - -
-

최대 1

-

100MB제한

-
-
-

등록된 파일 0

- 0MB -
-
-
-

원격연수 이수증

-
-
- - -
-
- - - - - - - - - - - - - - - - -
파일 명종류크기
-

첨부하실 파일을 마우스끌어서 넣어주세요.

-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - -
파일 명종류크기삭제
- ${fileList.orignlFileNm} - - "> - - "> - - -
-
-
- - -
-

최대 1

-

100MB제한

-
-
-

등록된 파일 0

- 0MB -
-
-
-
--%>

필수입력 항목*

원본 결과보고서
diff --git a/src/main/webapp/innorix/exam/uploadMulti.html b/src/main/webapp/innorix/exam/uploadMulti.html index 31e089a7..b1f58e3f 100644 --- a/src/main/webapp/innorix/exam/uploadMulti.html +++ b/src/main/webapp/innorix/exam/uploadMulti.html @@ -1,4 +1,4 @@ - +