diff --git a/src/main/java/kcc/com/cmm/web/EgovFileMngController.java b/src/main/java/kcc/com/cmm/web/EgovFileMngController.java index bd13270d..c169c194 100644 --- a/src/main/java/kcc/com/cmm/web/EgovFileMngController.java +++ b/src/main/java/kcc/com/cmm/web/EgovFileMngController.java @@ -352,6 +352,23 @@ public class EgovFileMngController { * @return * @throws Exception */ + @RequestMapping("/cmm/fms/selectRsltRprtFileWithDelete.do") + public String selectRsltRprtFileWithDelete(@ModelAttribute("searchVO") FileVO fileVO, @RequestParam Map commandMap, ModelMap model) throws Exception { + String atchFileId = (String) commandMap.get("param_atchFileId"); + String eduAplctOrd = (String) commandMap.get("eduAplctOrd"); + String type = (String) commandMap.get("type"); + + fileVO.setAtchFileId(atchFileId); + List result = fileService.selectFileInfs(fileVO); + model.addAttribute("fileList", result); + model.addAttribute("updateFlag", "N"); + model.addAttribute("fileListCnt", result.size()); + model.addAttribute("atchFileId", atchFileId); + model.addAttribute("eduAplctOrd", eduAplctOrd); + model.addAttribute("type", type); + + return "cmm/fms/selectRsltRprtFileWithDelete"; + } @RequestMapping("/cmm/fms/selectRsltRprtFile.do") public String selectRsltRprtFile(@ModelAttribute("searchVO") FileVO fileVO, @RequestParam Map commandMap, ModelMap model) throws Exception { String atchFileId = (String) commandMap.get("param_atchFileId"); @@ -366,7 +383,7 @@ public class EgovFileMngController { model.addAttribute("atchFileId", atchFileId); model.addAttribute("eduAplctOrd", eduAplctOrd); model.addAttribute("type", type); - + return "cmm/fms/selectRsltRprtFile"; } } diff --git a/src/main/resources/egovframework/sqlmap/ve/edu/VEEduAplct_SQL_Tibero.xml b/src/main/resources/egovframework/sqlmap/ve/edu/VEEduAplct_SQL_Tibero.xml index 7d63c3b6..b11d35e2 100644 --- a/src/main/resources/egovframework/sqlmap/ve/edu/VEEduAplct_SQL_Tibero.xml +++ b/src/main/resources/egovframework/sqlmap/ve/edu/VEEduAplct_SQL_Tibero.xml @@ -838,6 +838,9 @@ , RNDS_ORD = #rndsOrd# + + , APLCT_CN = #aplctCn# + WHERE EDU_APLCT_ORD = #eduAplctOrd# diff --git a/src/main/webapp/WEB-INF/jsp/cmm/fms/selectRsltRprtFile.jsp b/src/main/webapp/WEB-INF/jsp/cmm/fms/selectRsltRprtFile.jsp index 29fcced5..c8e9c21d 100644 --- a/src/main/webapp/WEB-INF/jsp/cmm/fms/selectRsltRprtFile.jsp +++ b/src/main/webapp/WEB-INF/jsp/cmm/fms/selectRsltRprtFile.jsp @@ -4,6 +4,7 @@ <%@ 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="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <% /** @@ -83,8 +84,9 @@ ','')" class="file_download_a" title="다운로드" style="display:inline-block;"> + + () - ','', ''); return false;" alt="첨부파일">
diff --git a/src/main/webapp/WEB-INF/jsp/cmm/fms/selectRsltRprtFileWithDelete.jsp b/src/main/webapp/WEB-INF/jsp/cmm/fms/selectRsltRprtFileWithDelete.jsp new file mode 100644 index 00000000..7faa38b6 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/cmm/fms/selectRsltRprtFileWithDelete.jsp @@ -0,0 +1,96 @@ +<%@ 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="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> +<% + +/** + * @Class Name : selectScholSealInfs.jsp + * @Description : 파일 목록화면 + * @Modification Information + * @ + * @ 수정일 수정자 수정내용 + * @ ---------- ------ --------------------------- + * @ 2009.03.26 이삼섭 최초 생성 + * @ 2011.07.20 옥찬우 Tag id속성 추가( Line : 68 ) + * + * @author 공통서비스 개발팀 이삼섭 + * @since 2009.03.26 + * @version 1.0 + * @see + * + */ +%> + + + + + + + + + + + + + ','')" class="file_download_a" title="다운로드" style="display:inline-block;"> + + + () + + ','', ''); return false;" alt="첨부파일"> +
+
+ + + + diff --git a/src/main/webapp/WEB-INF/jsp/oprtn/cpyrgExprnClsrm/oprtnAplctMngDetail.jsp b/src/main/webapp/WEB-INF/jsp/oprtn/cpyrgExprnClsrm/oprtnAplctMngDetail.jsp index 4e96ee7e..0a3e61ad 100644 --- a/src/main/webapp/WEB-INF/jsp/oprtn/cpyrgExprnClsrm/oprtnAplctMngDetail.jsp +++ b/src/main/webapp/WEB-INF/jsp/oprtn/cpyrgExprnClsrm/oprtnAplctMngDetail.jsp @@ -379,7 +379,7 @@

첨부파일

- + diff --git a/src/main/webapp/WEB-INF/jsp/oprtn/cpyrgExprnClsrm/oprtnStateMngDetail.jsp b/src/main/webapp/WEB-INF/jsp/oprtn/cpyrgExprnClsrm/oprtnStateMngDetail.jsp index 401da052..ba0bc9d1 100644 --- a/src/main/webapp/WEB-INF/jsp/oprtn/cpyrgExprnClsrm/oprtnStateMngDetail.jsp +++ b/src/main/webapp/WEB-INF/jsp/oprtn/cpyrgExprnClsrm/oprtnStateMngDetail.jsp @@ -248,7 +248,7 @@

첨부파일

- + @@ -260,7 +260,7 @@ - + @@ -275,7 +275,7 @@ - + @@ -336,7 +336,7 @@ - + @@ -363,7 +363,7 @@

결과보고서 원본

- + @@ -375,7 +375,7 @@

결과보고서 평가용

- + @@ -387,7 +387,7 @@

증빙사진

- + @@ -399,7 +399,7 @@

원격연수 이수증

- + diff --git a/src/main/webapp/WEB-INF/jsp/web/ve/aplct/adultVisitEdu/eduAplct/eduAplctReg.jsp b/src/main/webapp/WEB-INF/jsp/web/ve/aplct/adultVisitEdu/eduAplct/eduAplctReg.jsp index f0594926..c3e861c5 100644 --- a/src/main/webapp/WEB-INF/jsp/web/ve/aplct/adultVisitEdu/eduAplct/eduAplctReg.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/ve/aplct/adultVisitEdu/eduAplct/eduAplctReg.jsp @@ -376,6 +376,13 @@ $("#mode").val(VeConstants.MODE_UPT); $("#eduAplctOrd").val(info.eduAplctOrd); $("#eduSlctCd").val(info.eduSlctCd); + //오프라인의 경우 교육장소 활성화 + if(info.eduSlctCd == '20'){ + $("#juso").show(); + $("#juso").find("input").removeAttr("disabled", "disabled"); + $("#mechae").hide(); + $("#mechae").find("input").attr("disabled", "disabled"); + } $("#eduMd").val(info.eduMd); $("#eduSlctAreaCd").val(info.eduSlctAreaCd); $("#insttNm").val(info.insttNm); @@ -385,7 +392,13 @@ $("#addrDetail").val(info.addrDetail); $("#chrgNm").val(info.chrgNm); $("#jobNm").val(info.jobNm); - + if(isNotEmpty(info.aplctCn)){ + var aplctCnList = info.aplctCn.split(','); + $.each(aplctCnList, function(idx, value){ + $('input[name=aplctCn][value='+value+']').prop('checked',true); + }); + } + if(!isEmpty(info.clphone)){ var clphone = info.clphone.split('-'); $("#clphone1").val(clphone[0]); @@ -416,12 +429,17 @@ } console.log("+++++++++++++++++++++++++++++++++"); var tr = $('.addClassRow').find('tbody > tr').not('.calendar_wrap tr').eq(idx); - tr.find('input[name=eduHopeDt]').val(dateFormat(value.eduHopeDt, 'date')); + //tr.find('input[name=eduHopeDt]').val(dateFormat(value.eduHopeDt, 'date')); + if(isNotEmpty(info.eduHopeDt)){ + tr.find('input[name=eduHopeDt0]').val(dateFormat(value.eduHopeDt.replace(/\./g, ""), 'date')); + tr.find('input[name=eduHopeDt]').val(dateFormat(value.eduHopeDt.replace(/\./g, ""), 'date')); + } tr.find('input[name=strtTm]').val(timeFomat(value.strtTm)); tr.find('input[name=endTm]').val(timeFomat(value.endTm)); tr.find('input[name=lrnTm]').val(value.lrnTm); tr.find('input[name=trgt]').val(value.trgt); tr.find('input[name=prsnl]').val(value.prsnl); + }); }