Merge branch 'advc' of http://yongjoon.cho@vcs.iten.co.kr:9999/hylee/offedu into advc
This commit is contained in:
commit
67df6ed683
@ -15,6 +15,7 @@ import org.springframework.web.bind.annotation.RequestMethod;
|
|||||||
|
|
||||||
import egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
|
import egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
|
||||||
import kcc.com.cmm.LoginVO;
|
import kcc.com.cmm.LoginVO;
|
||||||
|
import kcc.com.cmm.util.StringUtil;
|
||||||
import kcc.com.utl.fcc.service.EgovStringUtil;
|
import kcc.com.utl.fcc.service.EgovStringUtil;
|
||||||
import kcc.kccadr.accdnt.ans.service.AnsVO;
|
import kcc.kccadr.accdnt.ans.service.AnsVO;
|
||||||
import kcc.kccadr.cmm.RestResponse;
|
import kcc.kccadr.cmm.RestResponse;
|
||||||
@ -155,7 +156,9 @@ public class InnorixFileController {
|
|||||||
if(userId.equals("")) {
|
if(userId.equals("")) {
|
||||||
return ResponseEntity.ok(new RestResponse(HttpStatus.UNAUTHORIZED, "로그인이 필요합니다.", LocalDateTime.now()));
|
return ResponseEntity.ok(new RestResponse(HttpStatus.UNAUTHORIZED, "로그인이 필요합니다.", LocalDateTime.now()));
|
||||||
}
|
}
|
||||||
adrInnorixFileVO.setUniqId(userId);
|
if(StringUtil.isEmpty(adrInnorixFileVO.getUniqId())) {
|
||||||
|
adrInnorixFileVO.setUniqId(userId);
|
||||||
|
}
|
||||||
|
|
||||||
return ResponseEntity.ok(innorixService.insertInnorixLctrPlanFile(adrInnorixFileVO));
|
return ResponseEntity.ok(innorixService.insertInnorixLctrPlanFile(adrInnorixFileVO));
|
||||||
}
|
}
|
||||||
@ -301,8 +304,9 @@ public class InnorixFileController {
|
|||||||
if(userId.equals("")) {
|
if(userId.equals("")) {
|
||||||
return ResponseEntity.ok(new RestResponse(HttpStatus.UNAUTHORIZED, "로그인이 필요합니다.", LocalDateTime.now()));
|
return ResponseEntity.ok(new RestResponse(HttpStatus.UNAUTHORIZED, "로그인이 필요합니다.", LocalDateTime.now()));
|
||||||
}
|
}
|
||||||
adrInnorixFileVO.setUniqId(userId);
|
if(StringUtil.isEmpty(adrInnorixFileVO.getUniqId())) {
|
||||||
|
adrInnorixFileVO.setUniqId(userId);
|
||||||
|
}
|
||||||
return ResponseEntity.ok(innorixService.insertInnorixDocAtchFile(adrInnorixFileVO));
|
return ResponseEntity.ok(innorixService.insertInnorixDocAtchFile(adrInnorixFileVO));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -99,7 +99,6 @@ public class NotifyManageServiceImpl extends EgovAbstractServiceImpl implements
|
|||||||
// for(String chasi : eduChasiOrdList) {
|
// for(String chasi : eduChasiOrdList) {
|
||||||
|
|
||||||
NotifyManageVO notifyManageVO = new NotifyManageVO();
|
NotifyManageVO notifyManageVO = new NotifyManageVO();
|
||||||
notifyManageVO.setCmmNotifyOrd(veaCmmNotifyOrdGnrService.getNextStringId());
|
|
||||||
notifyManageVO.setLctrDivCd(lctrDivCd);
|
notifyManageVO.setLctrDivCd(lctrDivCd);
|
||||||
notifyManageVO.setNotifyCn("["+loginVO.getId()+"]["+eduChasiOrdList.size()+"개 차시] 교육신청을 하였습니다.");
|
notifyManageVO.setNotifyCn("["+loginVO.getId()+"]["+eduChasiOrdList.size()+"개 차시] 교육신청을 하였습니다.");
|
||||||
String notifyPath = "";
|
String notifyPath = "";
|
||||||
@ -116,6 +115,7 @@ public class NotifyManageServiceImpl extends EgovAbstractServiceImpl implements
|
|||||||
notifyManageVO.setFrstRegisterId(loginVO.getUniqId());
|
notifyManageVO.setFrstRegisterId(loginVO.getUniqId());
|
||||||
for(NotifyManageVO vo : notifyManageListVO) {
|
for(NotifyManageVO vo : notifyManageListVO) {
|
||||||
notifyManageVO.setToUserId(vo.getMngUserId());
|
notifyManageVO.setToUserId(vo.getMngUserId());
|
||||||
|
notifyManageVO.setCmmNotifyOrd(veaCmmNotifyOrdGnrService.getNextStringId());
|
||||||
notifyManageDAO.insertNotifyInfo(notifyManageVO);
|
notifyManageDAO.insertNotifyInfo(notifyManageVO);
|
||||||
}
|
}
|
||||||
// }
|
// }
|
||||||
|
|||||||
@ -192,6 +192,7 @@ public class EduAplctAdultController {
|
|||||||
vEPrcsDetailVO.setMode(VeConstants.MODE_CRT);
|
vEPrcsDetailVO.setMode(VeConstants.MODE_CRT);
|
||||||
//온라인차시 리스트
|
//온라인차시 리스트
|
||||||
vEPrcsDetailVO.setUseYn("Y");
|
vEPrcsDetailVO.setUseYn("Y");
|
||||||
|
vEPrcsDetailVO.setUserId(loginVO.getUniqId());
|
||||||
List<VEPrcsDetailVO> vEPrcsDetailVOList = vEPrcsService.selectList(vEPrcsDetailVO);
|
List<VEPrcsDetailVO> vEPrcsDetailVOList = vEPrcsService.selectList(vEPrcsDetailVO);
|
||||||
//대상 리스트, 페이징 정보 전달
|
//대상 리스트, 페이징 정보 전달
|
||||||
model.addAttribute("list", vEPrcsDetailVOList);
|
model.addAttribute("list", vEPrcsDetailVOList);
|
||||||
|
|||||||
@ -43,6 +43,7 @@ public class VEAPrcsAplctPrdInstrAsgnmVO extends ComDefaultVO implements Seriali
|
|||||||
// ve_instr_detail
|
// ve_instr_detail
|
||||||
private String instrNm; // 강사 이름
|
private String instrNm; // 강사 이름
|
||||||
private String phone; // phone
|
private String phone; // phone
|
||||||
|
private String rprtFileType; // 첨부파일 종류
|
||||||
|
|
||||||
public String getPrcsAplctPrdOrd() {
|
public String getPrcsAplctPrdOrd() {
|
||||||
return prcsAplctPrdOrd;
|
return prcsAplctPrdOrd;
|
||||||
@ -156,6 +157,14 @@ public class VEAPrcsAplctPrdInstrAsgnmVO extends ComDefaultVO implements Seriali
|
|||||||
this.phone = phone;
|
this.phone = phone;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getRprtFileType() {
|
||||||
|
return rprtFileType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRprtFileType(String rprtFileType) {
|
||||||
|
this.rprtFileType = rprtFileType;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -656,6 +656,19 @@ public class OprtnStateMngController {
|
|||||||
|
|
||||||
return "oprtn/cpyrgExprnClsrm/popup/auldtRsltRprtfileInsertPopup";
|
return "oprtn/cpyrgExprnClsrm/popup/auldtRsltRprtfileInsertPopup";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 관리자 결과보고 등록 팝업(실무)
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* */
|
||||||
|
@RequestMapping(value = "popup/fndthRsltRprtfileInsertPopup.do")
|
||||||
|
public String fndthRsltRprtfileInsertPopup(
|
||||||
|
@ModelAttribute("vEAPrcsAplctPrdInstrAsgnmVO") VEAPrcsAplctPrdInstrAsgnmVO vEAPrcsAplctPrdInstrAsgnmVO, ModelMap model
|
||||||
|
) throws Exception {
|
||||||
|
|
||||||
|
|
||||||
|
return "oprtn/cpyrgExprnClsrm/popup/fndthRsltRprtfileInsertPopup";
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* 교육실적통계 화면
|
* 교육실적통계 화면
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -51,8 +51,7 @@
|
|||||||
<pattern>*/ve/oprtn/instr/adultVisitEdu/instrInfo/instrMdfyRqstPopup.do</pattern> <!-- 성인강사변경승인팝업 -->
|
<pattern>*/ve/oprtn/instr/adultVisitEdu/instrInfo/instrMdfyRqstPopup.do</pattern> <!-- 성인강사변경승인팝업 -->
|
||||||
<pattern>*/kccadr/oprtn/cpyrgExprnClsrm/popup/slctnTeacherPopup.do</pattern> <!-- 관리자 저작권체험교실 교육과정안내 미리보기 팝업 -->
|
<pattern>*/kccadr/oprtn/cpyrgExprnClsrm/popup/slctnTeacherPopup.do</pattern> <!-- 관리자 저작권체험교실 교육과정안내 미리보기 팝업 -->
|
||||||
<pattern>*/kccadr/oprtn/cpyrgExprnClsrm/popup/slctnTeacherChkPopup.do</pattern> <!-- 관리자 저작권체험교실 선정교사 일괄 처리 팝업 -->
|
<pattern>*/kccadr/oprtn/cpyrgExprnClsrm/popup/slctnTeacherChkPopup.do</pattern> <!-- 관리자 저작권체험교실 선정교사 일괄 처리 팝업 -->
|
||||||
<pattern>*/kccadr/oprtn/cpyrgExprnClsrm/popup/rsltRprtfileInsertNewPopup.do</pattern> <!-- 관리자 결과보고 등록 팝업 -->
|
<pattern>*/kccadr/oprtn/cpyrgExprnClsrm/popup/**Popup.do</pattern> <!-- 관리자 결과보고 등록 팝업 -->
|
||||||
<pattern>*/kccadr/oprtn/cpyrgExprnClsrm/popup/auldtRsltRprtfileInsertPopup.do</pattern> <!-- 관리자 결과보고 등록 팝업 -->
|
|
||||||
</decorator>
|
</decorator>
|
||||||
|
|
||||||
<!-- 찾교 추가 관리자 -->
|
<!-- 찾교 추가 관리자 -->
|
||||||
|
|||||||
@ -118,34 +118,35 @@
|
|||||||
<td>
|
<td>
|
||||||
<ve:code codeId="VE0012" code="${info.insttDivCd}"/>
|
<ve:code codeId="VE0012" code="${info.insttDivCd}"/>
|
||||||
</td>
|
</td>
|
||||||
<th scope="row">
|
|
||||||
<p>교육매체</p>
|
|
||||||
</th>
|
|
||||||
<td>${info.eduMd}</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<c:choose>
|
<c:choose>
|
||||||
<c:when test="${info.eduSlctCd eq '10'}">
|
<c:when test="${info.eduSlctCd eq '10'}">
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">
|
<th scope="row">
|
||||||
<p>교육매체</p>
|
<p>교육매체</p>
|
||||||
</th>
|
</th>
|
||||||
<td colspan="3">
|
<td colspan="3">
|
||||||
<c:out value="${info.eduMd}"/>
|
<c:if test="${info.eduMdCd eq '99' }">
|
||||||
</td>
|
<c:out value="${info.eduMd}"/>
|
||||||
</tr>
|
</c:if>
|
||||||
</c:when>
|
<c:if test="${info.eduMdCd ne '99' }">
|
||||||
<c:otherwise>
|
<ve:code codeId="VEA015" code="${info.eduMdCd}"/>
|
||||||
<tr>
|
</c:if>
|
||||||
<th scope="row">
|
</td>
|
||||||
<p>주소</p>
|
</tr>
|
||||||
</th>
|
</c:when>
|
||||||
<td colspan="3">
|
<c:otherwise>
|
||||||
(${info.post}) ${info.addr} ${info.addrDetail}
|
<tr>
|
||||||
</td>
|
<th scope="row">
|
||||||
</tr>
|
<p>주소</p>
|
||||||
</c:otherwise>
|
</th>
|
||||||
</c:choose>
|
<td colspan="3">
|
||||||
|
(${info.post}) ${info.addr} ${info.addrDetail}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">
|
<th scope="row">
|
||||||
@ -187,7 +188,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">
|
<th scope="row">
|
||||||
<p>신청상태${info.aprvlCd}</p>
|
<p>신청상태</p>
|
||||||
</th>
|
</th>
|
||||||
<td colspan="3">
|
<td colspan="3">
|
||||||
<c:choose>
|
<c:choose>
|
||||||
@ -227,6 +228,12 @@
|
|||||||
</c:choose>
|
</c:choose>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">
|
||||||
|
<p>강의료지급기관</p>
|
||||||
|
</th>
|
||||||
|
<td colspan="3"><ve:code codeId="VEA016" code="${info.feeInsttCd}"/></td>
|
||||||
|
</tr>
|
||||||
<c:if test="${info.aprvlCd eq '30'}">
|
<c:if test="${info.aprvlCd eq '30'}">
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">
|
<th scope="row">
|
||||||
@ -281,8 +288,8 @@
|
|||||||
<fmt:formatDate value="${endTm}" pattern="kk:mm"/>
|
<fmt:formatDate value="${endTm}" pattern="kk:mm"/>
|
||||||
(${list.lrnTm}분)
|
(${list.lrnTm}분)
|
||||||
</td>
|
</td>
|
||||||
<td><c:out value="${list.trgt}" /></td>
|
<td><c:out value="${info.eduTrgt}" /></td>
|
||||||
<td><c:out value="${list.prsnl}" /></td>
|
<td><c:out value="${info.eduPrsnl}" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
@ -337,11 +337,17 @@
|
|||||||
form.action = "<c:url value='/kccadr/oprtn/fndthEnhanceTrn/popup/lctrEvalNewPopup.do'/>";
|
form.action = "<c:url value='/kccadr/oprtn/fndthEnhanceTrn/popup/lctrEvalNewPopup.do'/>";
|
||||||
openPopupAndSubmitForm('popupNewForm', 'popupNewForm', 900, 1200);
|
openPopupAndSubmitForm('popupNewForm', 'popupNewForm', 900, 1200);
|
||||||
}
|
}
|
||||||
|
|
||||||
function fncAttachFileCreate(){
|
function fncAttachFileCreate(userId, rprtFileType){
|
||||||
alert("구현해야 합니다.");
|
|
||||||
|
document.instrForm.userId.value = userId;
|
||||||
|
document.instrForm.rprtFileType.value = rprtFileType;
|
||||||
|
document.instrForm.action = "<c:url value='/kccadr/oprtn/cpyrgExprnClsrm/popup/fndthRsltRprtfileInsertPopup.do'/>";
|
||||||
|
window.open("#", "_attachFileCreatePop", "scrollbars = no, top=100px, left=100px, height=550px, width=850px");
|
||||||
|
document.instrForm.target = "_attachFileCreatePop";
|
||||||
|
document.instrForm.submit();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 결과보고서 삭제
|
// 결과보고서 삭제
|
||||||
function fncAttachFileDelete(
|
function fncAttachFileDelete(
|
||||||
p_atchFileId
|
p_atchFileId
|
||||||
@ -409,6 +415,7 @@
|
|||||||
<form id="instrForm" name="instrForm" method="post">
|
<form id="instrForm" name="instrForm" method="post">
|
||||||
<input type="hidden" name="prcsAplctPrdOrd" id="prcsAplctPrdOrd" value="<c:out value='${vEPrcsDetailVO.prcsAplctPrdOrd}' />"/>
|
<input type="hidden" name="prcsAplctPrdOrd" id="prcsAplctPrdOrd" value="<c:out value='${vEPrcsDetailVO.prcsAplctPrdOrd}' />"/>
|
||||||
<input type="hidden" name="userId" id="userId"/>
|
<input type="hidden" name="userId" id="userId"/>
|
||||||
|
<input type="hidden" name="rprtFileType" id="rprtFileType"/>
|
||||||
</form>
|
</form>
|
||||||
<form id="statusChgForm" name="statusChgForm" method="post">
|
<form id="statusChgForm" name="statusChgForm" method="post">
|
||||||
<input type="hidden" name="prcsAplctPrdOrd" id="prcsAplctPrdOrd" value="<c:out value='${vEPrcsDetailVO.prcsAplctPrdOrd}' />"/>
|
<input type="hidden" name="prcsAplctPrdOrd" id="prcsAplctPrdOrd" value="<c:out value='${vEPrcsDetailVO.prcsAplctPrdOrd}' />"/>
|
||||||
@ -589,7 +596,7 @@
|
|||||||
|
|
||||||
<!-- 강의계획서 등록 -->
|
<!-- 강의계획서 등록 -->
|
||||||
<c:if test="${empty list.lctrPlanAtchFileId}">
|
<c:if test="${empty list.lctrPlanAtchFileId}">
|
||||||
<button type="button" class="btn_type06" onclick="fncAttachFileCreate('${list.lctrPlanAtchFileId}', '${list.prcsAplctPrdOrd}', 'planCndtn')">강의계획서 등록</button>
|
<button type="button" class="btn_type06" onclick="fncAttachFileCreate('${list.userId}', 'planFndth')">강의계획서 등록</button>
|
||||||
</c:if>
|
</c:if>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
@ -603,7 +610,7 @@
|
|||||||
|
|
||||||
<!-- 결과보고서 등록 -->
|
<!-- 결과보고서 등록 -->
|
||||||
<c:if test="${empty list.docAtchFileId}">
|
<c:if test="${empty list.docAtchFileId}">
|
||||||
<button type="button" class="btn_type06" onclick="fncAttachFileCreate('${list.docAtchFileId}', '${list.prcsAplctPrdOrd}', 'rprtCndtn')">결과보고서 등록</button>
|
<button type="button" class="btn_type06" onclick="fncAttachFileCreate('${list.userId}', 'rprtFndth')">결과보고서 등록</button>
|
||||||
</c:if>
|
</c:if>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
@ -353,7 +353,7 @@
|
|||||||
<p class="req_text"><span>필수입력 항목</span>*</p>
|
<p class="req_text"><span>필수입력 항목</span>*</p>
|
||||||
<p>신청기간</p>
|
<p>신청기간</p>
|
||||||
</th>
|
</th>
|
||||||
<td>
|
<td style="display:flex;">
|
||||||
<div class="calendar_wrap">
|
<div class="calendar_wrap">
|
||||||
<input type="text" class="calendar" title="시작일 선택" id="strtPnttmDay" name="strtPnttmDay" value="${vEPrcsDetailVO.strtPnttm}">
|
<input type="text" class="calendar" title="시작일 선택" id="strtPnttmDay" name="strtPnttmDay" value="${vEPrcsDetailVO.strtPnttm}">
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -0,0 +1,188 @@
|
|||||||
|
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
||||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||||
|
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
|
||||||
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
|
||||||
|
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||||
|
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
||||||
|
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
|
||||||
|
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||||
|
<%
|
||||||
|
/**
|
||||||
|
* @Class Name : filePopup.jsp
|
||||||
|
* @Description : 교육확정안 등록 팝업
|
||||||
|
* @Modification Information
|
||||||
|
* @
|
||||||
|
* @ 수정일 수정자 수정내용
|
||||||
|
* @ ------- -------- ---------------------------
|
||||||
|
* @ 2021.08.09 김봉호 최초 생성
|
||||||
|
* @author 김봉호
|
||||||
|
* @since 2021.08.21
|
||||||
|
* @version 1.0
|
||||||
|
* @see
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
%>
|
||||||
|
<spring:eval expression="@property['Globals.Innorix.License']" var="license"/>
|
||||||
|
<script src="<c:url value='/innorix/innorix_${license}.js' />"></script>
|
||||||
|
<script src="<c:url value='/js/kccadr/innorixCommon.js' />"></script>
|
||||||
|
<link rel="stylesheet" href="<c:url value='/innorix/innorix.css'/>" type="text/css">
|
||||||
|
<style>
|
||||||
|
#fileControl{margin: 8px 0 0 0; border: 1px solid #d5d5d5; border-radius: 5px; height: 150px !important; background-color: #fafafa;}
|
||||||
|
.innorix_basic div.irx_filetree.empty-uploader{background: url(/offedu/visitEdu/usr/publish/images/content/dropzone_file_before.png) no-repeat center; height: 150px !important;}
|
||||||
|
.irx_filetree,.innorix_basic div.irx_infoBox{height: 150px !important;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<script type="text/javaScript" language="javascript">
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
//파일첨부관련 설정들===============================================
|
||||||
|
$(".btn_add_file").on('click', function(){
|
||||||
|
$("#file_temp").click();
|
||||||
|
});
|
||||||
|
|
||||||
|
//파일첨부관련 설정들===============================================
|
||||||
|
|
||||||
|
$('#file_temp').change(function(e){
|
||||||
|
var objUpload = $(".upload_area");
|
||||||
|
var files = $('#file_temp')[0].files;
|
||||||
|
|
||||||
|
handleFileUpload(files,objUpload); //파일업로드
|
||||||
|
if($("#file_temp").length > 0){
|
||||||
|
$("#file_temp").val(""); //파일지우기
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ==================================================================
|
||||||
|
* INNORIX
|
||||||
|
* 파일전송 컨트롤 생성
|
||||||
|
* ==================================================================
|
||||||
|
*/
|
||||||
|
control = innorix.create({
|
||||||
|
el: '#fileControl' // 컨트롤 출력 HTML 객체 ID
|
||||||
|
, transferMode: 'both' // 업로드, 다운로드 혼합사용
|
||||||
|
, installUrl: '<c:url value="/innorix/install/install.html" />' // Agent 설치 페이지
|
||||||
|
, uploadUrl: '<c:url value="/innorix/exam/upload.jsp" />' // 업로드 URL
|
||||||
|
, height:80
|
||||||
|
, width: 650
|
||||||
|
, maxFileCount : 1 // 첨부파일 최대 갯수
|
||||||
|
, allowExtension : ["txt","xls","xlsx","png","jpg","jpeg","doc","ppt","hwp","pdf","zip"]
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
//첨부파일 업로드 후속조치
|
||||||
|
control.on('uploadComplete', function (p) {
|
||||||
|
var data = p.files;
|
||||||
|
|
||||||
|
if($('#rprtFileType').val() == 'rprtFndth'){ //결과보고서
|
||||||
|
|
||||||
|
var url = "<c:url value='/web/common/insertInnorixDocAtchFileAjax.do' />";
|
||||||
|
var sendData = {
|
||||||
|
"prcsAplctPrdOrd": $('#prcsAplctPrdOrd').val()
|
||||||
|
, "uniqId": $('#uniqId').val()
|
||||||
|
, "innorixFileListVO": data
|
||||||
|
, "successMsg" : "제출 완료되었습니다."
|
||||||
|
, "fileType" : "DOCATCH"
|
||||||
|
}
|
||||||
|
}else{ //강의계획서
|
||||||
|
var url = "<c:url value='/web/common/insertInnorixLctrPlanFileAjax.do' />";
|
||||||
|
var sendData = {
|
||||||
|
"prcsAplctPrdOrd": $('#prcsAplctPrdOrd').val()
|
||||||
|
, "uniqId": $('#uniqId').val()
|
||||||
|
, "innorixFileListVO": data
|
||||||
|
, "successMsg" : "제출 완료되었습니다."
|
||||||
|
, "fileType" : "LCTRPLAN"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(fn_innorixCmmAjax(sendData, url) == "OK")
|
||||||
|
{
|
||||||
|
window.close();
|
||||||
|
opener.location.reload();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
function fncSave(){
|
||||||
|
//첨부파일 체크 및 요청
|
||||||
|
if(confirm("결과보고를 등록 하시겠습니까?")){
|
||||||
|
if(control.getUploadFiles().length > 0){
|
||||||
|
var postObj = new Object();
|
||||||
|
postObj.innoDirPath = $('#innoDirPath').val();
|
||||||
|
control.setPostData(postObj); // 업로드시 함께 전달될 POST Param 추가
|
||||||
|
control.upload(); // 업로드 시작
|
||||||
|
}else{
|
||||||
|
alert("등록된 첨부파일이 없습니다.");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<form:form id="rsltRprtForm" name="rsltRprtForm" method="post" commandName="vEEduRprtVO" onsubmit="return false;">
|
||||||
|
<input type="hidden" name="prcsAplctPrdOrd" id="prcsAplctPrdOrd" value="<c:out value="${vEAPrcsAplctPrdInstrAsgnmVO.prcsAplctPrdOrd}" />" />
|
||||||
|
<input type="hidden" name="uniqId" id="uniqId" value="<c:out value="${vEAPrcsAplctPrdInstrAsgnmVO.userId}" />" />
|
||||||
|
<input type="hidden" name="rprtFileType" id="rprtFileType" value="<c:out value="${vEAPrcsAplctPrdInstrAsgnmVO.rprtFileType}" />" />
|
||||||
|
<input type="hidden" name="sbmtYn" id="sbmtYn" value="Y" />
|
||||||
|
|
||||||
|
|
||||||
|
<!-- cont -->
|
||||||
|
<div class="area_popup">
|
||||||
|
<div class="cont_popup">
|
||||||
|
|
||||||
|
<div class="cont_tit" style="padding: 0 0 20px 0; margin-bottom: 30px;">
|
||||||
|
<h2>
|
||||||
|
<c:if test="${vEAPrcsAplctPrdInstrAsgnmVO.rprtFileType eq 'rprtFndth'}">
|
||||||
|
결과보고서
|
||||||
|
</c:if>
|
||||||
|
<c:if test="${vEAPrcsAplctPrdInstrAsgnmVO.rprtFileType eq 'planFndth'}">
|
||||||
|
강의계획서
|
||||||
|
</c:if>
|
||||||
|
등록
|
||||||
|
</h2>
|
||||||
|
</div>
|
||||||
|
<table class="pop_tb_type02">
|
||||||
|
<colgroup>
|
||||||
|
<col style="width: 140px;">
|
||||||
|
<col style="width: auto;">
|
||||||
|
</colgroup>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">
|
||||||
|
<p>첨부파일</p>
|
||||||
|
</th>
|
||||||
|
<td colspan="3">
|
||||||
|
<div class="popup_cont upload_area">
|
||||||
|
<div>
|
||||||
|
<div class="pop_search_wrap">
|
||||||
|
<label for="fileNm" class="label">첨부파일 선택</label>
|
||||||
|
<button type="button" onclick="control.openFileDialogSingle();" class="btn_type01 btn_add_file">파일찾기</button>
|
||||||
|
</div>
|
||||||
|
<div id="fileControl"></div><br/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<div class="btnArea">
|
||||||
|
<div class="btn_wrap btn_layout01">
|
||||||
|
<div class="btn_left">
|
||||||
|
</div>
|
||||||
|
<div class="btn_center">
|
||||||
|
<button type="button" class="btn_type01" onclick="fncSave();" title="등록">등록</button>
|
||||||
|
<button type="button" class="btn_type01" onclick="window.close()" title="창닫기">닫기</button>
|
||||||
|
</div>
|
||||||
|
<div class="btn_right">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</form:form>
|
||||||
@ -292,9 +292,6 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function fncAttachFileCreate(){
|
|
||||||
alert("구현해야 합니다.");
|
|
||||||
}
|
|
||||||
|
|
||||||
// 결과보고서 삭제
|
// 결과보고서 삭제
|
||||||
function fncAttachFileDelete(
|
function fncAttachFileDelete(
|
||||||
@ -364,6 +361,17 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function fncAttachFileCreate(userId, rprtFileType){
|
||||||
|
|
||||||
|
document.instrForm.userId.value = userId;
|
||||||
|
document.instrForm.rprtFileType.value = rprtFileType;
|
||||||
|
document.instrForm.action = "<c:url value='/kccadr/oprtn/cpyrgExprnClsrm/popup/fndthRsltRprtfileInsertPopup.do'/>";
|
||||||
|
window.open("#", "_attachFileCreatePop", "scrollbars = no, top=100px, left=100px, height=550px, width=850px");
|
||||||
|
document.instrForm.target = "_attachFileCreatePop";
|
||||||
|
document.instrForm.submit();
|
||||||
|
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
@ -389,6 +397,7 @@
|
|||||||
<form id="instrForm" name="instrForm" method="post">
|
<form id="instrForm" name="instrForm" method="post">
|
||||||
<input type="hidden" name="prcsAplctPrdOrd" id="prcsAplctPrdOrd" value="<c:out value='${vEPrcsDetailVO.prcsAplctPrdOrd}' />"/>
|
<input type="hidden" name="prcsAplctPrdOrd" id="prcsAplctPrdOrd" value="<c:out value='${vEPrcsDetailVO.prcsAplctPrdOrd}' />"/>
|
||||||
<input type="hidden" name="userId" id="userId"/>
|
<input type="hidden" name="userId" id="userId"/>
|
||||||
|
<input type="hidden" name="rprtFileType" id="rprtFileType"/>
|
||||||
</form>
|
</form>
|
||||||
<form id="statusChgForm" name="statusChgForm" method="post">
|
<form id="statusChgForm" name="statusChgForm" method="post">
|
||||||
<input type="hidden" name="prcsAplctPrdOrd" id="prcsAplctPrdOrd" value="<c:out value='${vEPrcsDetailVO.prcsAplctPrdOrd}' />"/>
|
<input type="hidden" name="prcsAplctPrdOrd" id="prcsAplctPrdOrd" value="<c:out value='${vEPrcsDetailVO.prcsAplctPrdOrd}' />"/>
|
||||||
@ -579,7 +588,7 @@
|
|||||||
|
|
||||||
<!-- 강의계획서 등록 -->
|
<!-- 강의계획서 등록 -->
|
||||||
<c:if test="${empty list.lctrPlanAtchFileId}">
|
<c:if test="${empty list.lctrPlanAtchFileId}">
|
||||||
<button type="button" class="btn_type06" onclick="fncAttachFileCreate('${list.lctrPlanAtchFileId}', '${list.prcsAplctPrdOrd}', 'planFndth')">강의계획서 등록</button>
|
<button type="button" class="btn_type06" onclick="fncAttachFileCreate('${list.userId}', 'planFndth')">강의계획서 등록</button>
|
||||||
</c:if>
|
</c:if>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
@ -593,7 +602,7 @@
|
|||||||
|
|
||||||
<!-- 결과보고서 등록 -->
|
<!-- 결과보고서 등록 -->
|
||||||
<c:if test="${empty list.docAtchFileId}">
|
<c:if test="${empty list.docAtchFileId}">
|
||||||
<button type="button" class="btn_type06" onclick="fncAttachFileCreate('${list.docAtchFileId}', '${list.prcsAplctPrdOrd}', 'rprtFndth')">결과보고서 등록</button>
|
<button type="button" class="btn_type06" onclick="fncAttachFileCreate('${list.userId}', 'rprtFndth')">결과보고서 등록</button>
|
||||||
</c:if>
|
</c:if>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
@ -156,6 +156,18 @@ function usrIdPassFind(choose){
|
|||||||
<option value="eduoff6@forwiz.com:1">테스트계정6 (eduoff6@forwiz.com)_테스트계정6</option>
|
<option value="eduoff6@forwiz.com:1">테스트계정6 (eduoff6@forwiz.com)_테스트계정6</option>
|
||||||
|
|
||||||
|
|
||||||
|
<option value="USRCNFRM_00000002650:1">기소유예사용자 1 (USRCNFRM_00000002650)_기소유예사용자 1</option>
|
||||||
|
<option value="USRCNFRM_00000002970:1">기소유예사용자 2 (USRCNFRM_00000002970)_기소유예사용자 2</option>
|
||||||
|
<option value="USRCNFRM_00000003070:1">기소유예사용자 3 (USRCNFRM_00000003070)_기소유예사용자 3</option>
|
||||||
|
<option value="USRCNFRM_00000002930:1">기소유예사용자 4 (USRCNFRM_00000002930)_기소유예사용자 4</option>
|
||||||
|
<option value="USRCNFRM_00000003080:1">기소유예사용자 5 (USRCNFRM_00000003080)_기소유예사용자 5</option>
|
||||||
|
<option value="USRCNFRM_00000002960:1">기소유예사용자 6 (USRCNFRM_00000002960)_기소유예사용자 6</option>
|
||||||
|
<option value="USRCNFRM_00000002943:1">기소유예사용자 7 (USRCNFRM_00000002943)_기소유예사용자 7</option>
|
||||||
|
<option value="USRCNFRM_00000002942:1">기소유예사용자 8 (USRCNFRM_00000002942)_기소유예사용자 8</option>
|
||||||
|
<option value="USRCNFRM_00000002941:1">기소유예사용자 9 (USRCNFRM_00000002941)_기소유예사용자 9</option>
|
||||||
|
<option value="USRCNFRM_00000002872:1">기소유예사용자 10 (USRCNFRM_00000002872)_기소유예사용자 10</option>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
|||||||
@ -25,6 +25,7 @@
|
|||||||
<un:useConstants var="VeConstants" className="kcc.ve.cmm.VeConstants" />
|
<un:useConstants var="VeConstants" className="kcc.ve.cmm.VeConstants" />
|
||||||
|
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
|
<script src="${pageContext.request.contextPath}/js/ve/sendSmsEmailUtil.js"></script>
|
||||||
<style>
|
<style>
|
||||||
input:disabled {
|
input:disabled {
|
||||||
background-color: #f9f9f9 !important;
|
background-color: #f9f9f9 !important;
|
||||||
@ -179,6 +180,24 @@
|
|||||||
$("#eduAplctOrd").val(returnData.VO.eduAplctOrd);
|
$("#eduAplctOrd").val(returnData.VO.eduAplctOrd);
|
||||||
if(status == 'success'){
|
if(status == 'success'){
|
||||||
alert("등록 되었습니다.");
|
alert("등록 되었습니다.");
|
||||||
|
|
||||||
|
if(type == 'S'){ //교육신청 시 안내 메일 발송
|
||||||
|
|
||||||
|
try{
|
||||||
|
sendEmail(
|
||||||
|
emailAll,
|
||||||
|
"안녕하세요. 저작권배움터 찾아가는 교육 담당자입니다.\n교육신청 건이 정상적으로 접수되었습니다.\n신청하신 교육과 관련해서 특이사항 발생 시 회원가입하신 저작권 배움터 시스템을 통하여 알려드리겠습니다.\n감사합니다.",
|
||||||
|
returnData.VO.eduAplctOrd,
|
||||||
|
'<c:out value="${modelVO.userId}" />',
|
||||||
|
"S",
|
||||||
|
"N"
|
||||||
|
);
|
||||||
|
}catch (e){
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
if(type != 'I'){
|
if(type != 'I'){
|
||||||
fncGoDetail(); //현재 메인화면 이동
|
fncGoDetail(); //현재 메인화면 이동
|
||||||
}
|
}
|
||||||
@ -524,7 +543,7 @@
|
|||||||
<div class="mask2" onclick="timeLayerUtil()"></div>
|
<div class="mask2" onclick="timeLayerUtil()"></div>
|
||||||
<div class="cont_wrap" id="sub">
|
<div class="cont_wrap" id="sub">
|
||||||
<form:form id="createForm" name="createForm" commandName="modelVO" onsubmit="return false;">
|
<form:form id="createForm" name="createForm" commandName="modelVO" onsubmit="return false;">
|
||||||
<input type="hidden" name="userId" id="userId" value="<c:out value='${info.userId}'/>"/> <!-- 사용자 아이디 -->
|
<input type="hidden" name="userId" id="userId" value="<c:out value='${modelVO.userId}'/>"/> <!-- 사용자 아이디 -->
|
||||||
<!-- validator 체크를 위한 핸드폰, 이메일 input -->
|
<!-- validator 체크를 위한 핸드폰, 이메일 input -->
|
||||||
<input type="hidden" name="clphone" id="clphone" value=""/><!-- 연락처(핸드폰) -->
|
<input type="hidden" name="clphone" id="clphone" value=""/><!-- 연락처(핸드폰) -->
|
||||||
<input type="hidden" name="phone" id="phone" value=""/><!-- 연락처(전화) -->
|
<input type="hidden" name="phone" id="phone" value=""/><!-- 연락처(전화) -->
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user