1. 재등록 -> 단속사진 복사시 원본 파일명을 유지하도록 수정.

2. 소스 정리.
main
jjh 1 year ago
parent 33718f5ed0
commit 94f1bf07b2

@ -135,6 +135,11 @@ public class Excl03ServiceBean extends AbstractServiceBean implements Excl03Serv
}
fileInfoList = new FileInfoFactory().createFileInfos(null, files);
// 원본 파일명
for (int iLoop = 0; iLoop < fileInfoList.size(); iLoop++) {
fileInfoList.get(iLoop).setName(infoCrdnFileList.get(iLoop).string("FILE_NM"));
}
}
// 단속 대장 입력

@ -356,7 +356,7 @@
}
ajax.get({
url : wctx.url("/sprt/sprt01/020/info.do")
url : wctx.url("/sprt/sprt02/010/main.do")
, data : { crdnId : crdnId }
, success : resp => {
resp = resp.replace(/infoPrefix/g, this.prefix)

@ -1,8 +1,6 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<link rel="stylesheet" href="<c:url value='/resources/3rd-party/sneat/libs/dropzone/dropzone.css'/>"/>
<!-- Page Body -->
<div class="card">
<!-- 입력 영역 -->
@ -230,10 +228,10 @@
let item = ${pageName}Control.getCurrent("item");
let create = isEmpty(info.opnnId);
// 첨부파일
// let formData = new FormData(document.getElementById("frmFile--${pageName}"));
let formData = new FormData();
debugger;
// 첨부파일 배열에 있는 내용을 등록
for (let iLoop = 0; iLoop < $fileListArr.length; iLoop++) {
formData.append("uploadFiles" , $fileListArr[iLoop]);
}

Loading…
Cancel
Save