From 08c41b029ccdfab7102f3accb6922dd79145403f Mon Sep 17 00:00:00 2001 From: JIWOO Date: Wed, 30 Oct 2024 20:26:59 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9D=B4=EC=A7=80=EC=9A=B0=20>=20=EA=B4=80?= =?UTF-8?q?=EB=A6=AC=EC=9E=90=20=EB=B6=84=EC=9F=81=EC=A1=B0=EC=A0=95?= =?UTF-8?q?=EC=84=9C=EC=8B=9D=20=EB=B0=B1=EC=97=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jsp/seed/_extra/gtm/board/write.jsp | 60 ++++++- .../gtm/board/write_back_beforeInnorix.jsp | 165 ++++++++++++++++++ 2 files changed, 224 insertions(+), 1 deletion(-) create mode 100644 src/main/webapp/WEB-INF/jsp/seed/_extra/gtm/board/write_back_beforeInnorix.jsp diff --git a/src/main/webapp/WEB-INF/jsp/seed/_extra/gtm/board/write.jsp b/src/main/webapp/WEB-INF/jsp/seed/_extra/gtm/board/write.jsp index c5edb857..7966de3e 100644 --- a/src/main/webapp/WEB-INF/jsp/seed/_extra/gtm/board/write.jsp +++ b/src/main/webapp/WEB-INF/jsp/seed/_extra/gtm/board/write.jsp @@ -57,7 +57,28 @@ ${memberName} +
+

첨부자료

+
+
+ + + + +
+ +

+ + + +
+
+

내용

@@ -153,6 +174,43 @@ return false; } */ }); + + + // 파일전송 컨트롤 생성 + + /* 첨부파일 컨트롤 옵션 주요 옵션 종류 + 1. allowExtension(String Array) : 허용 확장자 종류 + 2. limitExtension(String Array) : 제외 확장자 종류 + 3. maxFileSize(Number) : 첨부가능한 개별 파일 사이즈 + 4. maxTotalSize(Number) : 첨부가능한 전체 파일 사이즈 + 5. maxFileCount(NUmber) : 첨부가능 파일 전체 개수 + 4. installUrl(String) : Agent 설치 안내 URL */ + + + /* 첨부파일 동작 관련 이벤트 종류 + 1. 파일 추가 완료 : afterAddFiles + 2. 파일 업로드 완료 : uploadComplete + 3. 파일 삭제 완료 : removeFiles */ + + + + + /* control 객체는 innorixCommon.js에서 생성 */ + control = innorix.create({ + el: '#fileControl', // 컨트롤 출력 HTML 객체 ID + transferMode: 'both', // 업로드, 다운로드 혼합사용 + installUrl: '/innorix/install/install.html', // Agent 설치 페이지 + uploadUrl: '/innorix/exam/upload.jsp', // 업로드 URL + allowExtension : ["txt","jpeg","jpg","png","gif","bmp","mp3","mp4","hwp","doc","docx","xls","xlsx","ppt","pptx","pdf","zip","alz"] + }); + + // 업로드 완료 후 이벤트 + control.on('afterAddFiles', function (p) { + console.log('afterAddFiles : ', p); + $("#fileTempUpFrm").submit(); + /* fn_callBackInnorix(p.files); // 파일 정보 DB isnert function */ + }); + }); function goList(){ diff --git a/src/main/webapp/WEB-INF/jsp/seed/_extra/gtm/board/write_back_beforeInnorix.jsp b/src/main/webapp/WEB-INF/jsp/seed/_extra/gtm/board/write_back_beforeInnorix.jsp new file mode 100644 index 00000000..c5edb857 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/seed/_extra/gtm/board/write_back_beforeInnorix.jsp @@ -0,0 +1,165 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%> +<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> + + + +정보 관리 + + + + + + + + + + + + + + +
+
+

+ ${menuName} +

+
+ +
+

${menuName}을 수정 할 수 있는 페이지 입니다.

+
+
+
+
+ + +
+
+ +
+

공지사항

+
+ +
+
+
+
+

제목

+
+ +
+
+
+

작성자

+
+ ${memberName} +
+
+
+

첨부자료

+
+
+ +
+
    + +
+ + + +
+
+
+

내용

+
+ +
+
+
+
+ + +
+
+
+ +
+ +
+ +
+
+
+ + + +
+ + + + + \ No newline at end of file