feat: pms-#3273 파일 업로드 용량 확대 완료
This commit is contained in:
parent
00b7163919
commit
1ce8b3b219
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
@ -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 @@
|
||||
<p>결과보고 정보</p>
|
||||
</div>
|
||||
</div>
|
||||
<%-- <div class="tb_type01 tb_write">
|
||||
<table>
|
||||
<caption>결과보고 (th 명)을 보여주는 표</caption>
|
||||
<colgroup>
|
||||
<col style="width: 220px;">
|
||||
<col style="width: auto;">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<p class="req_text"><span>필수입력 항목</span>*</p>
|
||||
<p>원본 결과보고서</p>
|
||||
</th>
|
||||
<td>
|
||||
<div class="btn_wrap">
|
||||
<button type="button" class="btnType01 orgnl_btn_add_file">원본 결과보고서 업로드</button>
|
||||
<input type="file" id="orgnl_file_temp" name="orgnl_file_temp" class="uploadFile" style="display:none"/>
|
||||
</div>
|
||||
<div class="file_wrap no_img_box orgnl_no_img_box">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: auto;">
|
||||
<col style="width: 15%;">
|
||||
<col style="width: 15%;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<th>파일 명</th>
|
||||
<th>종류</th>
|
||||
<th>크기</th>
|
||||
</thead>
|
||||
<tbody class="tb_file_before orgnl_file_drop">
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<p>첨부하실 파일을 <span>마우스끌어서</span> 넣어주세요.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="file_wrap file_list_div orgnl_file_list_div">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: auto;">
|
||||
<col style="width: 15%;">
|
||||
<col style="width: 15%;">
|
||||
<col style="width: 100px;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<th>파일 명</th>
|
||||
<th>종류</th>
|
||||
<th>크기</th>
|
||||
<th>삭제</th>
|
||||
</thead>
|
||||
<tbody id="orgnl_tbody_fiielist" class="orgnl_tb_file_after tb_file_after">
|
||||
<c:forEach var="fileList" items="${fileList}" varStatus="status">
|
||||
<tr class="item_${fileList.atchFileId}_${fileList.fileSn} uploaded_obj">
|
||||
<input type="hidden" name="fileSize" class="orgnl_item_file_size" value="${fileList.fileSize}">
|
||||
<td class="td_filename">
|
||||
<span class="file_name_text">${fileList.orignlFileNm}</span>
|
||||
</td>
|
||||
<td class="td_filesort">
|
||||
<span class="file_filesort_text" value="<c:out value="${fileList.fileExtsn}"/>"><c:out value="${fileList.fileExtsn}"/></span>
|
||||
</td>
|
||||
<td class="td_filesize">
|
||||
<span class="file_size_text" value="<c:out value="${fileList.fileMg}"/>"><c:out value="${fileList.fileMg}"/></span>
|
||||
</td>
|
||||
<td>
|
||||
<button type="button" class="btn_del" onclick="delAtchFile('${fileList.atchFileId}', '${fileList.fileSn}'); return false;"><i></i></button>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="file_cf">
|
||||
<input type="hidden" name="orgnl_limitcount" id="orgnl_limitcount" value="1" /><!-- 최대 업로드 파일갯수 -->
|
||||
<input type="hidden" name="orgnl_allrowFileExtsn" id="orgnl_allrowFileExtsn" value="" /><!-- 허용 확장자 -->
|
||||
<div class="cf_left">
|
||||
<p>최대 <span class="orgnl_limitFileCount">1</span>개</p>
|
||||
<p><span>100MB</span>제한</p>
|
||||
</div>
|
||||
<div class="cf_right">
|
||||
<p>등록된 파일 <span class="upload_number orgnl_totalfileCount">0</span>개</p>
|
||||
<span class="upload_number orgnl_totalfileSize">0MB</span>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<p class="req_text"><span>필수입력 항목</span>*</p>
|
||||
<p>평가용 결과보고서</p>
|
||||
</th>
|
||||
<td>
|
||||
<div class="btn_wrap">
|
||||
<button type="button" class="btnType01 cpy_btn_add_file">평가용 결과보고서 업로드</button>
|
||||
<input type="file" id="cpy_file_temp" name="cpy_file_temp" class="uploadFile" style="display:none"/>
|
||||
</div>
|
||||
<div class="file_wrap no_img_box cpy_no_img_box">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: auto;">
|
||||
<col style="width: 15%;">
|
||||
<col style="width: 15%;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<th>파일 명</th>
|
||||
<th>종류</th>
|
||||
<th>크기</th>
|
||||
</thead>
|
||||
<tbody class="tb_file_before cpy_file_drop">
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<p>첨부하실 파일을 <span>마우스끌어서</span> 넣어주세요.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="file_wrap file_list_div cpy_file_list_div">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: auto;">
|
||||
<col style="width: 15%;">
|
||||
<col style="width: 15%;">
|
||||
<col style="width: 100px;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<th>파일 명</th>
|
||||
<th>종류</th>
|
||||
<th>크기</th>
|
||||
<th>삭제</th>
|
||||
</thead>
|
||||
<tbody id="cpy_tbody_fiielist" class="cpy_tb_file_after tb_file_after">
|
||||
<c:forEach var="fileList" items="${fileList}" varStatus="status">
|
||||
<tr class="item_${fileList.atchFileId}_${fileList.fileSn} uploaded_obj">
|
||||
<input type="hidden" name="fileSize" class="cpy_item_file_size" value="${fileList.fileSize}">
|
||||
<td class="td_filename">
|
||||
<span class="file_name_text">${fileList.orignlFileNm}</span>
|
||||
</td>
|
||||
<td class="td_filesort">
|
||||
<span class="file_filesort_text" value="<c:out value="${fileList.fileExtsn}"/>"><c:out value="${fileList.fileExtsn}"/></span>
|
||||
</td>
|
||||
<td class="td_filesize">
|
||||
<span class="file_size_text" value="<c:out value="${fileList.fileMg}"/>"><c:out value="${fileList.fileMg}"/></span>
|
||||
</td>
|
||||
<td>
|
||||
<button type="button" class="btn_del" onclick="delAtchFile('${fileList.atchFileId}', '${fileList.fileSn}'); return false;"><i></i></button>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="file_cf">
|
||||
<input type="hidden" name="cpy_limitcount" id="cpy_limitcount" value="1" /><!-- 최대 업로드 파일갯수 -->
|
||||
<input type="hidden" name="cpy_allrowFileExtsn" id="cpy_allrowFileExtsn" value="" /><!-- 허용 확장자 -->
|
||||
<div class="cf_left">
|
||||
<p>최대 <span class="cpy_limitFileCount">1</span>개</p>
|
||||
<p><span>100MB</span>제한</p>
|
||||
</div>
|
||||
<div class="cf_right">
|
||||
<p>등록된 파일 <span class="upload_number cpy_totalfileCount">0</span>개</p>
|
||||
<span class="upload_number cpy_totalfileSize">0MB</span>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<p class="req_text"><span>필수입력 항목</span>*</p>
|
||||
<p>증빙사진</p>
|
||||
</th>
|
||||
<td>
|
||||
<div class="btn_wrap">
|
||||
<button type="button" class="btnType01 evdnc_btn_add_file">증빙 사진 업로드</button>
|
||||
<input type="file" id="evdnc_file_temp" name="evdnc_file_temp" class="uploadFile" style="display:none"/>
|
||||
</div>
|
||||
<div class="file_wrap no_img_box evdnc_no_img_box">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: auto;">
|
||||
<col style="width: 15%;">
|
||||
<col style="width: 15%;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<th>파일 명</th>
|
||||
<th>종류</th>
|
||||
<th>크기</th>
|
||||
</thead>
|
||||
<tbody class="tb_file_before evdnc_file_drop">
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<p>첨부하실 파일을 <span>마우스끌어서</span> 넣어주세요.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="file_wrap file_list_div evdnc_file_list_div">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: auto;">
|
||||
<col style="width: 15%;">
|
||||
<col style="width: 15%;">
|
||||
<col style="width: 100px;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<th>파일 명</th>
|
||||
<th>종류</th>
|
||||
<th>크기</th>
|
||||
<th>삭제</th>
|
||||
</thead>
|
||||
<tbody id="evdnc_tbody_fiielist" class="evdnc_tb_file_after tb_file_after">
|
||||
<c:forEach var="fileList" items="${fileList}" varStatus="status">
|
||||
<tr class="item_${fileList.atchFileId}_${fileList.fileSn} uploaded_obj">
|
||||
<input type="hidden" name="fileSize" class="evdnc_item_file_size" value="${fileList.fileSize}">
|
||||
<td class="td_filename">
|
||||
<span class="file_name_text">${fileList.orignlFileNm}</span>
|
||||
</td>
|
||||
<td class="td_filesort">
|
||||
<span class="file_filesort_text" value="<c:out value="${fileList.fileExtsn}"/>"><c:out value="${fileList.fileExtsn}"/></span>
|
||||
</td>
|
||||
<td class="td_filesize">
|
||||
<span class="file_size_text" value="<c:out value="${fileList.fileMg}"/>"><c:out value="${fileList.fileMg}"/></span>
|
||||
</td>
|
||||
<td>
|
||||
<button type="button" class="btn_del" onclick="delAtchFile('${fileList.atchFileId}', '${fileList.fileSn}'); return false;"><i></i></button>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="file_cf">
|
||||
<input type="hidden" name="evdnc_limitcount" id="evdnc_limitcount" value="1" /><!-- 최대 업로드 파일갯수 -->
|
||||
<input type="hidden" name="evdnc_allrowFileExtsn" id="evdnc_allrowFileExtsn" value="ZIP" /><!-- 허용 확장자 -->
|
||||
<div class="cf_left">
|
||||
<p>최대 <span class="evdnc_limitFileCount">1</span>개</p>
|
||||
<p><span>100MB</span>제한</p>
|
||||
</div>
|
||||
<div class="cf_right">
|
||||
<p>등록된 파일 <span class="upload_number evdnc_totalfileCount">0</span>개</p>
|
||||
<span class="upload_number evdnc_totalfileSize">0MB</span>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<p>원격연수 이수증</p>
|
||||
</th>
|
||||
<td>
|
||||
<div class="btn_wrap">
|
||||
<button type="button" class="btnType01 rmtTrn_btn_add_file">원격연수 이수증 업로드</button>
|
||||
<input type="file" id="rmtTrn_file_temp" name="rmtTrn_file_temp" class="uploadFile" style="display:none"/>
|
||||
</div>
|
||||
<div class="file_wrap no_img_box rmtTrn_no_img_box">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: auto;">
|
||||
<col style="width: 15%;">
|
||||
<col style="width: 15%;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<th>파일 명</th>
|
||||
<th>종류</th>
|
||||
<th>크기</th>
|
||||
</thead>
|
||||
<tbody class="tb_file_before rmtTrn_file_drop">
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<p>첨부하실 파일을 <span>마우스끌어서</span> 넣어주세요.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="file_wrap file_list_div rmtTrn_file_list_div">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: auto;">
|
||||
<col style="width: 15%;">
|
||||
<col style="width: 15%;">
|
||||
<col style="width: 100px;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<th>파일 명</th>
|
||||
<th>종류</th>
|
||||
<th>크기</th>
|
||||
<th>삭제</th>
|
||||
</thead>
|
||||
<tbody id="rmtTrn_tbody_fiielist" class="rmtTrn_tb_file_after tb_file_after">
|
||||
<c:forEach var="fileList" items="${fileList}" varStatus="status">
|
||||
<tr class="item_${fileList.atchFileId}_${fileList.fileSn} uploaded_obj">
|
||||
<input type="hidden" name="fileSize" class="rmtTrn_item_file_size" value="${fileList.fileSize}">
|
||||
<td class="td_filename">
|
||||
<span class="file_name_text">${fileList.orignlFileNm}</span>
|
||||
</td>
|
||||
<td class="td_filesort">
|
||||
<span class="file_filesort_text" value="<c:out value="${fileList.fileExtsn}"/>"><c:out value="${fileList.fileExtsn}"/></span>
|
||||
</td>
|
||||
<td class="td_filesize">
|
||||
<span class="file_size_text" value="<c:out value="${fileList.fileMg}"/>"><c:out value="${fileList.fileMg}"/></span>
|
||||
</td>
|
||||
<td>
|
||||
<button type="button" class="btn_del" onclick="delAtchFile('${fileList.atchFileId}', '${fileList.fileSn}'); return false;"><i></i></button>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="file_cf">
|
||||
<input type="hidden" name="rmtTrn_limitcount" id="rmtTrn_limitcount" value="1" /><!-- 최대 업로드 파일갯수 -->
|
||||
<input type="hidden" name="rmtTrn_allrowFileExtsn" id="rmtTrn_allrowFileExtsn" value="" /><!-- 허용 확장자 -->
|
||||
<div class="cf_left">
|
||||
<p>최대 <span class="rmtTrn_limitFileCount">1</span>개</p>
|
||||
<p><span>100MB</span>제한</p>
|
||||
</div>
|
||||
<div class="cf_right">
|
||||
<p>등록된 파일 <span class="upload_number rmtTrn_totalfileCount">0</span>개</p>
|
||||
<span class="upload_number rmtTrn_totalfileSize">0MB</span>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div> --%>
|
||||
<div class="exprnClsrmEndRslt_wrap">
|
||||
<dl class="filewrap_div">
|
||||
<dt><p class="req_text"><span>필수입력 항목</span>*</p>원본 결과보고서</dt>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="stylesheet" href="../innorix.css">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user