이지우 - 강사 기반 목록 및 상세 수정, 강의계획서 기능 추가

This commit is contained in:
jiwoo 2023-11-27 16:02:28 +09:00
parent a7d84a7a17
commit e9ac81657b
13 changed files with 653 additions and 227 deletions

View File

@ -1,7 +1,6 @@
package kcc.ve.instr.fndtnVisitEdu.asgnmInfo.web; package kcc.ve.instr.fndtnVisitEdu.asgnmInfo.web;
import java.util.List; import java.util.List;
import java.util.Map;
import javax.annotation.Resource; import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
@ -11,39 +10,21 @@ import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap; import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.multipart.MultipartHttpServletRequest;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.support.RedirectAttributes;
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo; import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
import kcc.com.cmm.EgovMessageSource; import kcc.com.cmm.EgovMessageSource;
import kcc.com.cmm.LoginVO; import kcc.com.cmm.LoginVO;
import kcc.com.cmm.service.EgovFileMngService;
import kcc.com.cmm.service.EgovFileMngUtil;
import kcc.com.cmm.service.FileVO;
import kcc.com.cmm.util.IpUtil;
import kcc.com.utl.user.service.CheckLoginUtil; import kcc.com.utl.user.service.CheckLoginUtil;
import kcc.let.uat.uia.service.SsoLoginVO; import kcc.let.uat.uia.service.SsoLoginVO;
import kcc.let.utl.fcc.service.EgovCryptoUtil; import kcc.let.utl.fcc.service.EgovCryptoUtil;
import kcc.let.utl.fcc.service.EgovCryptoUtil4VO;
import kcc.ve.cmm.VeConstants;
import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEAcmdtAplctService;
import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEAsgnmMIXService; import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEAsgnmMIXService;
import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEInstrAsgnmVO;
import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEInstrFeeAcmdtVO;
import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEInstrFeeService;
import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduAplctVO; import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduAplctVO;
import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduMIXService; import kcc.ve.instr.tngrVisitEdu.eduInfo.service.VEEduMIXService;
import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailService;
import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailVO;
import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEAPrcsAplctPrdInstrAsgnmService; import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEAPrcsAplctPrdInstrAsgnmService;
import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEAPrcsAplctPrdInstrAsgnmVO; import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEAPrcsAplctPrdInstrAsgnmVO;
import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsAplctPrdService; import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsAplctPrdService;
import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsDetailVO; import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsDetailVO;
import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsService; import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsMIXService;
import kcc.ve.oprtn.asgnmnoti.service.VEAsgnmNotiService;
import kcc.ve.oprtn.asgnmnoti.service.VEAsgnmNotiVO;
@Controller @Controller
@ -77,7 +58,9 @@ public class VEFndtnAsgnmController {
@Resource(name = "vEPrcsAplctPrdService") @Resource(name = "vEPrcsAplctPrdService")
private VEPrcsAplctPrdService vEPrcsAplctPrdService; private VEPrcsAplctPrdService vEPrcsAplctPrdService;
//과정차시 관리
@Resource(name = "vEPrcsMIXService")
private VEPrcsMIXService vEPrcsMIXService;
// 기반강화 강의목록(확정) // 기반강화 강의목록(확정)
@RequestMapping("/web/ve/instr/fndtnVisitEdu/asgnmInfo/instrAsgnmList.do") @RequestMapping("/web/ve/instr/fndtnVisitEdu/asgnmInfo/instrAsgnmList.do")
@ -115,6 +98,7 @@ public class VEFndtnAsgnmController {
vEPrcsDetailVO.setAprvlCd("20"); vEPrcsDetailVO.setAprvlCd("20");
vEPrcsDetailVO.setLctrDivCd("50"); //기반강화50. 기소유예 60 vEPrcsDetailVO.setLctrDivCd("50"); //기반강화50. 기소유예 60
vEPrcsDetailVO.setSearchDiv("ING"); // 강의내역 END 종료내역 vEPrcsDetailVO.setSearchDiv("ING"); // 강의내역 END 종료내역
vEPrcsDetailVO.setDdlnCd("20"); //교육확정 목록 조회
try { try {
// System.out.println("session.getAttribute(menuNo).toString()"); // System.out.println("session.getAttribute(menuNo).toString()");
@ -126,8 +110,8 @@ public class VEFndtnAsgnmController {
// //
List<VEPrcsDetailVO> vEPrcsDetailVOList = vEAsgnmMIXService.selectFndtnVisitAsgnmPagingList(vEPrcsDetailVO); //List<VEPrcsDetailVO> vEPrcsDetailVOList = vEAsgnmMIXService.selectFndtnVisitAsgnmPagingList(vEPrcsDetailVO);
List<VEPrcsDetailVO> vEPrcsDetailVOList = vEPrcsMIXService.selectPagingList4FndthInstr(vEPrcsDetailVO);
//6.pageing step3 //6.pageing step3
paginationInfo = this.setPagingStep3(vEPrcsDetailVOList, paginationInfo); paginationInfo = this.setPagingStep3(vEPrcsDetailVOList, paginationInfo);
@ -207,7 +191,71 @@ public class VEFndtnAsgnmController {
return "/web/ve/instr/fndtnVisitEdu/asgnmInfo/instrAsgnmDetail"; return "/web/ve/instr/fndtnVisitEdu/asgnmInfo/instrAsgnmDetail";
} }
// 기반강화 강의목록(종료) > 상세
@RequestMapping("/web/ve/instr/fndtnVisitEdu/endInfo/instrEduEndDetail.do")
public String instrEduEndDetail(
@ModelAttribute("vEPrcsDetailVO") VEPrcsDetailVO vEPrcsDetailVO
, ModelMap model
, HttpServletRequest request
) throws Exception {
//로그인 처리====================================
//로그인 정보 가져오기
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기
if (loginVO == null || ssoLoginVO == null) {
return checkLoginUtil.getUserLoginPage(model); //로그인 정보가 없으면 로그인 페이지로 이동한다.
}
model.addAttribute("ssoLoginVO", ssoLoginVO);
model.addAttribute("loginVO", loginVO);
//로그인 처리====================================
//과정 조회
VEPrcsDetailVO vEPrcsDetailVODetail = vEPrcsAplctPrdService.selectDetailNewOne4Fndth(vEPrcsDetailVO);
//과정 신청자 정보 가져오기
{
//해당 과정을 제출한 사용자 정보를 가져온다.
VEEduAplctVO paramVO = new VEEduAplctVO();
paramVO.setPrcsOrd(vEPrcsDetailVO.getPrcsAplctPrdOrd());
paramVO.setSbmtYn("Y");
// 검색 - 날짜
paramVO.setSearchSmbtStartDt(vEPrcsDetailVO.getSearchSmbtStartDt());
paramVO.setSearchSmbtEndDt(vEPrcsDetailVO.getSearchSmbtEndDt());
// 검색 - 검색어
paramVO.setSearchStatus(vEPrcsDetailVO.getSearchStatus());
List<VEEduAplctVO> vEPrcsDetailVOList = vEEduMIXService.selectList(paramVO);
vEPrcsDetailVOList = egovCryptoUtil.decryptVeEduAplctList(vEPrcsDetailVOList);
System.out.println("====");
//대상 리스트, 페이징 정보 전달
model.addAttribute("listPrcsAplct", vEPrcsDetailVOList);
// 신청자 반려 승인 요청 신청자 모두 포함
vEPrcsDetailVODetail.setNosCnt1(Integer.toString(vEPrcsDetailVOList.size()));
}
// 과정 조회 set
model.addAttribute("info", vEPrcsDetailVODetail);
// 강사 배치 정보
{
List<VEAPrcsAplctPrdInstrAsgnmVO> vEAPrcsAplctPrdInstrAsgnmList = vEAPrcsAplctPrdInstrAsgnmService.findByPrcsAplctPrdOrd(vEPrcsDetailVO.getPrcsAplctPrdOrd());
List<VEAPrcsAplctPrdInstrAsgnmVO> instrAsgnmList = egovCryptoUtil.decryptVEAPrcsAplctPrdInstrAsgnmVOList(vEAPrcsAplctPrdInstrAsgnmList);
model.addAttribute("instrAsgnmList", instrAsgnmList);
}
return "/web/ve/instr/fndtnVisitEdu/asgnmInfo/instrAsgnmEndDetail";
}
//성인강사 강의 요청 상세 //성인강사 강의 요청 상세

View File

@ -29,6 +29,7 @@ import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEAsgnmMIXService;
import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEInstrFeeService; import kcc.ve.instr.tngrVisitEdu.asgnmInfo.service.VEInstrFeeService;
import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailService; import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailService;
import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsDetailVO; import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsDetailVO;
import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsMIXService;
import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsService; import kcc.ve.instr.tngrVisitEdu.prcsInfo.service.VEPrcsService;
import kcc.ve.instr.tngrVisitEdu.rprtInfo.service.VEEduRsltRprtService; import kcc.ve.instr.tngrVisitEdu.rprtInfo.service.VEEduRsltRprtService;
import kcc.ve.oprtn.asgnmnoti.service.VEAsgnmNotiService; import kcc.ve.oprtn.asgnmnoti.service.VEAsgnmNotiService;
@ -93,6 +94,10 @@ public class VEFndtnEduEndController {
@Resource(name = "schduleManageService") @Resource(name = "schduleManageService")
private SchduleManageService schduleManageService; private SchduleManageService schduleManageService;
//과정차시 관리
@Resource(name = "vEPrcsMIXService")
private VEPrcsMIXService vEPrcsMIXService;
private static final Logger LOGGER = LoggerFactory.getLogger(EgovFileDownloadController.class); private static final Logger LOGGER = LoggerFactory.getLogger(EgovFileDownloadController.class);
@ -136,6 +141,8 @@ public class VEFndtnEduEndController {
vEPrcsDetailVO.setAprvlCd("20"); vEPrcsDetailVO.setAprvlCd("20");
vEPrcsDetailVO.setLctrDivCd("50"); //기반강화50. 기소유예 60 vEPrcsDetailVO.setLctrDivCd("50"); //기반강화50. 기소유예 60
vEPrcsDetailVO.setSearchDiv("END"); // 강의내역 END 종료내역 vEPrcsDetailVO.setSearchDiv("END"); // 강의내역 END 종료내역
vEPrcsDetailVO.setDdlnCd("20"); //교육확정 목록 조회
vEPrcsDetailVO.setEndPnttm("Y"); //종료 완료건만 조회
try { try {
// System.out.println("session.getAttribute(menuNo).toString()"); // System.out.println("session.getAttribute(menuNo).toString()");
@ -147,7 +154,8 @@ public class VEFndtnEduEndController {
// //
List<VEPrcsDetailVO> vEPrcsDetailVOList = vEAsgnmMIXService.selectFndtnVisitAsgnmPagingList(vEPrcsDetailVO); //List<VEPrcsDetailVO> vEPrcsDetailVOList = vEAsgnmMIXService.selectFndtnVisitAsgnmPagingList(vEPrcsDetailVO);
List<VEPrcsDetailVO> vEPrcsDetailVOList = vEPrcsMIXService.selectPagingList4FndthInstr(vEPrcsDetailVO);
//6.pageing step3 //6.pageing step3

View File

@ -155,6 +155,8 @@ public class VEPrcsDetailVO extends ComDefaultVO implements Serializable {
private String mberNm; private String mberNm;
private String instrNm; //강사명 private String instrNm; //강사명
private String lctrPlanRsltAtchFileId; //강의계획서 첨부파일 아이디
@ -757,6 +759,13 @@ public class VEPrcsDetailVO extends ComDefaultVO implements Serializable {
public void setInstrNm(String instrNm) { public void setInstrNm(String instrNm) {
this.instrNm = instrNm; this.instrNm = instrNm;
} }
public String getLctrPlanRsltAtchFileId() {
return lctrPlanRsltAtchFileId;
}
public void setLctrPlanRsltAtchFileId(String lctrPlanRsltAtchFileId) {
this.lctrPlanRsltAtchFileId = lctrPlanRsltAtchFileId;
}
} }

View File

@ -415,7 +415,7 @@
SELECT SELECT
<include refid="VEEduAplctDAO.select_column_name"/>, <include refid="VEEduAplctDAO.select_column_name"/>,
CHRG_MJR AS chrgMjr, CHRG_MJR AS chrgMjr,
D_BIRTH AS dBirth, B.D_BIRTH AS dBirth,
CHRG_SEX_CD AS chrgSexCd, CHRG_SEX_CD AS chrgSexCd,
CMPLT_YEAR AS cmpltYear, CMPLT_YEAR AS cmpltYear,
CMPLT_NUM AS cmpltNum, CMPLT_NUM AS cmpltNum,

View File

@ -498,7 +498,11 @@
,a.edu_strt_pnttm AS eduStrtPnttm ,a.edu_strt_pnttm AS eduStrtPnttm
,a.edu_ddln_pnttm AS eduDdlnPnttm ,a.edu_ddln_pnttm AS eduDdlnPnttm
,b.prcs_cn AS prcsCn ,b.prcs_cn AS prcsCn
,(SELECT lctr_plan_atch_file_id
FROM vea_prcs_aplct_prd_instr_asgnm
WHERE prcs_aplct_prd_ord = a.prcs_aplct_prd_ord
)
AS lctrPlanRsltAtchFileId
FROM ve_prcs_aplct_prd a FROM ve_prcs_aplct_prd a
, ve_prcs b , ve_prcs b

View File

@ -505,7 +505,16 @@
AND c.instr_nm = #srchKwd3_1# AND c.instr_nm = #srchKwd3_1#
</isNotEmpty> </isNotEmpty>
<!-- 강사ID -->
<isNotEmpty property="userId">
AND c.user_id = #userId#
</isNotEmpty>
<isNotEmpty property="endPnttm">
AND TO_CHAR(CURRENT_DATE, 'YYYYMMDD') <![CDATA[ > ]]> REPLACE(a.edu_ddln_pnttm, '.' , '')
</isNotEmpty>
ORDER BY 1 ORDER BY 1
<isEmpty property="orderByQuery"> <isEmpty property="orderByQuery">

View File

@ -294,7 +294,17 @@
<td id="ddlnCdStts"> <td id="ddlnCdStts">
<ve:code codeId="VEA004" code="${info.ddlnCd}"/> <ve:code codeId="VEA004" code="${info.ddlnCd}"/>
</td> </td>
</tr> </tr>
<c:if test="${info.lctrPlanRsltAtchFileId != null && info.lctrPlanRsltAtchFileId != ''}">
<tr>
<th scope="row">강의계획서</th>
<td id="ddlnCdStts">
<c:import url="/cmm/fms/selectBBSFileInfs.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${info.lctrPlanRsltAtchFileId}" />
</c:import>
</td>
</tr>
</c:if>
<%-- <tr> <%-- <tr>
<th scope="row"> <th scope="row">
<p>공개여부(사용여부)</p> <p>공개여부(사용여부)</p>

View File

@ -174,8 +174,8 @@
</td> </td>
<td> <td>
<c:choose> <c:choose>
<!-- 프로세스 변경 후 적용--> <%-- 프로세스 변경 후 적용
<%-- <c:when test="${list.aprvlCd eq VeConstants.EXPRN_APRVL_CD_10}"> <c:when test="${list.aprvlCd eq VeConstants.EXPRN_APRVL_CD_10}">
<span class="app_status1">운영신청</span> <span class="app_status1">운영신청</span>
</c:when> </c:when>
<c:when test="${list.aprvlCd eq VeConstants.EXPRN_APRVL_CD_20}"> <c:when test="${list.aprvlCd eq VeConstants.EXPRN_APRVL_CD_20}">

View File

@ -245,6 +245,16 @@
<c:out value="${info.eduPlace}"/> <c:out value="${info.eduPlace}"/>
</td> </td>
</tr> </tr>
<c:if test="${info.lctrPlanRsltAtchFileId != null && info.lctrPlanRsltAtchFileId != ''}">
<tr>
<th scope="row">강의계획서</th>
<td id="ddlnCdStts">
<c:import url="/cmm/fms/selectScholSealInfs.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${info.lctrPlanRsltAtchFileId}" />
</c:import>
</td>
</tr>
</c:if>
</tbody> </tbody>
</table> </table>
</div> </div>

View File

@ -6,6 +6,7 @@
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%> <%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<!DOCTYPE html> <!DOCTYPE html>
<html lang="ko"> <html lang="ko">
<head> <head>
@ -96,7 +97,7 @@
function fncGoList(){ function fncGoList(){
var detailForm = document.detailForm; var detailForm = document.detailForm;
detailForm.action = "<c:url value='/web/ve/instr/adultVisitEdu/asgnmInfo/instrAsgnmList.do'/>"; detailForm.action = "<c:url value='/web/ve/instr/fndtnVisitEdu/asgnmInfo/instrAsgnmList.do'/>";
detailForm.submit(); detailForm.submit();
} }
@ -131,7 +132,7 @@
<input type="hidden" name="eduChasiOrd" id="eduChasiOrd" value="<c:out value='${info.eduChasiOrd}'/>"/> <!-- 교육차시 순번 --> <input type="hidden" name="eduChasiOrd" id="eduChasiOrd" value="<c:out value='${info.eduChasiOrd}'/>"/> <!-- 교육차시 순번 -->
<input type="hidden" name="hstryCd" id="hstryCd" value=""/> <!-- 배정내역 코드 --> <input type="hidden" name="hstryCd" id="hstryCd" value=""/> <!-- 배정내역 코드 -->
<input type="hidden" name="limitcount" id="limitcount" value="1" /><!-- 최대 업로드 파일갯수 --> <input type="hidden" name="limitcount" id="limitcount" value="1" /><!-- 최대 업로드 파일갯수 -->
<input type="hidden" name="prcsAplctPrdOrd" id="prcsAplctPrdOrd" value="<c:out value='${info.prcsAplctPrdOrd}'/>"/> /><!-- 최대 업로드 파일갯수 --> <input type="hidden" name="prcsAplctPrdOrd" id="prcsAplctPrdOrd" value="<c:out value='${info.prcsAplctPrdOrd}'/>"/><!-- 최대 업로드 파일갯수 -->
<input type="hidden" id="innoDirPath" value="<spring:eval expression="@globalSettings['Globals.Innorix.FilePath']"/>" /> <input type="hidden" id="innoDirPath" value="<spring:eval expression="@globalSettings['Globals.Innorix.FilePath']"/>" />
<div class="cont_tit"> <div class="cont_tit">
<h2>강의내역상세</h2> <h2>강의내역상세</h2>
@ -271,23 +272,27 @@
<tr class="trLength4"> <tr class="trLength4">
<th scope="row"><p>강의계획서</p></th> <th scope="row"><p>강의계획서</p></th>
<td> <td>
<div class="btn_wrap"> <c:if test="${info.lctrPlanRsltAtchFileId == null || info.lctrPlanRsltAtchFileId == ''}">
<button type="button" onclick="control1.openFileDialogSingle();" class="btnType01 lctrPlan_btn_add_file">강의계획서 파일찾기</button> <div class="btn_wrap">
<button type="button" onclick="fileSave();" class="btnType01 lctrPlan_btn_add_file">제출</button> <button type="button" onclick="control1.openFileDialogSingle();" class="btnType01 lctrPlan_btn_add_file">강의계획서 파일찾기</button>
<%-- <c:if test="${info.lctrPlanRsltAtchFileId != null && info.lctrPlanRsltAtchFileId != ''}"> <button type="button" onclick="fileSave();" class="btnType01 lctrPlan_btn_add_file">제출</button>
<button type="button" id="control1DownBtn" onclick="control1.download();" class="btnType01 cpy_btn_add_file">다운로드</button>
</c:if> --%>
</div>
<div id="lctrPlan"></div><br/>
<div class="file_cf">
<div class="cf_left">
<p>최대 <span class="lctrPlan_limitFileCount">1</span>개</p>
</div> </div>
<div class="cf_right"> <div id="lctrPlan"></div><br/>
<p>등록된 파일 <span class="upload_number lctrPlan_totalfileCount">0</span>개</p> <div class="file_cf">
<span class="upload_number lctrPlan_totalfileSize">0MB</span> <div class="cf_left">
<p>최대 <span class="lctrPlan_limitFileCount">1</span>개</p>
</div>
<div class="cf_right">
<p>등록된 파일 <span class="upload_number lctrPlan_totalfileCount">0</span>개</p>
<span class="upload_number lctrPlan_totalfileSize">0MB</span>
</div>
</div> </div>
</div> </c:if>
<c:if test="${info.lctrPlanRsltAtchFileId != null && info.lctrPlanRsltAtchFileId != ''}">
<c:import url="/cmm/fms/selectScholSealInfs.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${info.lctrPlanRsltAtchFileId}" />
</c:import>
</c:if>
</td> </td>
</tr> </tr>
</tbody> </tbody>
@ -297,7 +302,7 @@
<div class="tb_tit01"> <%-- <div class="tb_tit01">
<div class="tb_tit01_left"> <div class="tb_tit01_left">
<p>강사 배치 정보</p> <p>강사 배치 정보</p>
</div> </div>
@ -390,7 +395,7 @@
<td> <td>
<ve:code codeId="VE0003" code="${list.aprvlCd}"/> <ve:code codeId="VE0003" code="${list.aprvlCd}"/>
</td> </td>
<%-- <td> <td>
<ve:code codeId="VEA003" code="${list.aplctStateCd}"/> <ve:code codeId="VEA003" code="${list.aplctStateCd}"/>
</td> </td>
<td> <td>
@ -412,7 +417,7 @@
<c:otherwise> <c:otherwise>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</td> --%> </td>
</tr> </tr>
</c:forEach> </c:forEach>
</c:when> </c:when>
@ -427,7 +432,7 @@
</tbody> </tbody>
</table> </table>
</div> </div>
</div> </div> --%>

View File

@ -0,0 +1,437 @@
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<!DOCTYPE html>
<html lang="ko">
<head>
<title>강사프로필 목록</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<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>
#lctrPlan{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">
//강의계획서 업로드
var control1 = new Object();
var urlBase = "<c:url value='/innorix/exam/'/>"
$( 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(""); //파일지우기
}
});
//강의계획서 컨트롤 생성
control1 = innorix.create({
el : '#lctrPlan', // 컨트롤 출력 객체 ID
installUrl: '<c:url value="/innorix/install/install.html" />', // Agent 설치 페이지
uploadUrl: '<c:url value="/innorix/exam/upload.jsp?el=lctrPlan" />', // 업로드 URL
maxFileCount : 1, // 첨부가능 파일 전체 개수
width : 870, // 컨트롤 출력 너비(pixel)
height : 80, // 컨트롤 출력 높이(pixel)
allowExtension : ["txt","xls","xlsx","png","jpg","jpeg","doc","ppt","hwp","pdf","zip"],
useContextMenu : 'false' //우클릭을 이용한 개별 업로드 방지
});
//파일 추가 이벤트
control1.on('afterAddFiles', function (p) {
$('.lctrPlan_totalfileSize').text(getStrFileSize(p[0].fileSize)) ;
$('.lctrPlan_totalfileCount').text(p.length);
});
//파일 삭제 이벤트
control1.on('removeFiles', function (p) {
$('.lctrPlan_totalfileSize').text('0MB') ;
$('.lctrPlan_totalfileCount').text('0');
if(control1Tmprr == 'Y'){
if(confirm("삭제하시겠습니까?")){
innorixDelRprtAtchFile(p[0].uniqueFileName, 'lctrPlan_rslt_atch_file_id')
control1Tmprr = 'N';
control1Chg = 'Y';
$("#control1DownBtn").css('display', 'none');
}else{
return false;
}
}
});
//첨부파일 업로드 후속조치
control1.on('uploadComplete', function (p) {
/* fn_callBackInnorixInsert(p.files); */
var data = p.files;
var url = "<c:url value='/web/common/insertInnorixLctrPlanFileAjax.do' />";
var sendData = {
"prcsAplctPrdOrd": $('#prcsAplctPrdOrd').val()
, "innorixFileListVO": data
, "successMsg" : "제출 완료되었습니다."
}
if(fn_innorixCmmAjax(sendData, url) == "OK")
{
alert("업로드 완료");
}
});
});
function fncGoList(){
var detailForm = document.detailForm;
detailForm.action = "<c:url value='/web/ve/instr/fndtnVisitEdu/asgnmInfo/instrAsgnmList.do'/>";
detailForm.submit();
}
function fileSave(){
if(control1.getFileCount() == 0){
alert("강의계획서를 첨부해주세요.")
return false;
}
//upload.jsp에서 /app/doc/offedu/sht/로 다시 set. context-properties.xml에서 파일 경로도 /app/doc/offedu/sht/
var postObj = new Object();
postObj.innoDirPath = $('#innoDirPath').val();
control1.setPostData(postObj); // 업로드시 함께 전달될 POST Param 추가
control1.upload();
}
</script>
</head>
<body>
<!-- cont -->
<div class="cont_wrap" id="sub">
<form:form id="detailForm" name="detailForm" commandName="vEPrcsDetailVO" method="post" >
<input type="hidden" name="pageIndex" value="<c:out value='${vEPrcsDetailVO.pageIndex}'/>"/>
<input type="hidden" name="searchEduHopeStartDt" value="<c:out value="${vEPrcsDetailVO.searchEduHopeStartDt}" />" />
<input type="hidden" name="searchEduHopeEndDt" value="<c:out value="${vEPrcsDetailVO.searchEduHopeEndDt}" />" />
<input type="hidden" name="searchKeyword" value="<c:out value="${vEPrcsDetailVO.searchKeyword}" />" />
<input type="hidden" name="userId" id="userId" value="<c:out value='${info.userId}'/>"/> <!-- 사용자 아이디 -->
<input type="hidden" name="instrDiv" id="instrDiv" value="<c:out value='${info.instrDiv}'/>"/> <!-- 강사구분 -->
<input type="hidden" name="eduAplctOrd" id="eduAplctOrd" value="<c:out value='${info.eduAplctOrd}'/>"/> <!-- 교육신청 순번 -->
<input type="hidden" name="eduChasiOrd" id="eduChasiOrd" value="<c:out value='${info.eduChasiOrd}'/>"/> <!-- 교육차시 순번 -->
<input type="hidden" name="hstryCd" id="hstryCd" value=""/> <!-- 배정내역 코드 -->
<input type="hidden" name="limitcount" id="limitcount" value="1" /><!-- 최대 업로드 파일갯수 -->
<input type="hidden" name="prcsAplctPrdOrd" id="prcsAplctPrdOrd" value="<c:out value='${info.prcsAplctPrdOrd}'/>"/><!-- 최대 업로드 파일갯수 -->
<input type="hidden" id="innoDirPath" value="<spring:eval expression="@globalSettings['Globals.Innorix.FilePath']"/>" />
<div class="cont_tit">
<h2>강의내역상세</h2>
<div class="sns_go">
<button type="button" title="새창열림"><img src="${pageContext.request.contextPath}/visitEdu/usr/publish/images/content/facebook_icon.png" alt="페이스북 바로가기"></button>
<button type="button" title="새창열림"><img src="${pageContext.request.contextPath}/visitEdu/usr/publish/images/content/twitter_icon.png" alt="트위터 바로가기"></button>
</div>
</div>
<div class="tb_tit01">
<div class="tb_tit01_left">
<p>교육과정 정보</p>
</div>
</div>
<div class="tb_type01 tb_write">
<table>
<caption>교육과정 정보(th 명)을 보여주는 표</caption>
<colgroup>
<col style="width: 220px;">
<col style="width: auto;">
<col style="width: 220px;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr class="trLength4">
<th scope="row">
<p>교육부문</p>
</th>
<td>
<ve:code codeId="VEA001" code="${info.prcsDiv}"/>
</td>
</tr>
<tr class="trLength2">
<th scope="row">
<p>교육부문</p>
</th>
<td colspan="3"><ve:code codeId="VEA001" code="${info.prcsDiv}"/></td>
</tr>
<tr class="trLength4">
<th scope="row">
<p>과정</p>
</th>
<td>
<c:out value="${info.prcsNm}"/>
</td>
</tr>
<tr class="trLength2">
<th scope="row">
<p>과정</p>
</th>
<td colspan="3"><c:out value="${info.prcsNm}"/></td>
</tr>
<tr class="trLength4">
<th scope="row">
<p>기간</p>
</th>
<td>
<c:out value="${info.eduStrtPnttm}"/>~<c:out value="${info.eduDdlnPnttm}"/>
</td>
</tr>
<tr class="trLength2">
<th scope="row">
<p>기간</p>
</th>
<td colspan="3"><c:out value="${info.strtPnttm}"/>~<c:out value="${info.endPnttm}"/></td>
</tr>
<tr class="trLength4">
<th scope="row">
<p>교육장소</p>
</th>
<td>
<c:out value="${info.eduPlace}"/>
</td>
</tr>
<tr class="trLength2">
<th scope="row">
<p>교육장소</p>
</th>
<td colspan="3"><c:out value="${info.eduPlace}"/></td>
</tr>
<tr class="trLength4">
<th scope="row">
<p>상세교육과정</p>
</th>
<td>
<c:out value="${info.prcsCn }" />
</td>
</tr>
<tr class="trLength2">
<th scope="row">
<p>상세교육과정</p>
</th>
<td colspan="3"><c:out value="${info.prcsCn }" /></td>
</tr>
<tr class="trLength4">
<th scope="row">
<p>정원</p>
</th>
<td>
<c:out value="${info.nos}"/>
</td>
</tr>
<tr class="trLength2">
<th scope="row">
<p>정원</p>
</th>
<td colspan="3"><c:out value="${info.nos}"/></td>
</tr>
<tr class="trLength4">
<th scope="row">
<p>신청자수</p>
</th>
<td>
<c:out value="${info.nosCnt1}"/>
</td>
</tr>
<tr class="trLength2">
<th scope="row">
<p>신청자수</p>
</th>
<td colspan="3"><c:out value="${info.nosCnt1}"/></td>
</tr>
<tr class="trLength4">
<th scope="row">
<p>상태</p>
</th>
<td>
<ve:code codeId="VEA004" code="${info.ddlnCd}"/>
</td>
</tr>
<tr class="trLength2">
<th scope="row">
<p>상태</p>
</th>
<td colspan="3"><ve:code codeId="VEA004" code="${info.ddlnCd}"/></td>
</tr>
<c:if test="${info.lctrPlanRsltAtchFileId != null && info.lctrPlanRsltAtchFileId != ''}">
<tr class="trLength4">
<th scope="row"><p>강의계획서</p></th>
<td>
<c:import url="/cmm/fms/selectScholSealInfs.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${info.lctrPlanRsltAtchFileId}" />
</c:import>
</td>
</tr>
</c:if>
</tbody>
</table>
</div>
<%-- <div class="tb_tit01">
<div class="tb_tit01_left">
<p>강사 배치 정보</p>
</div>
</div>
<div class="tb_list01">
<div class="tb_list01" style="width:100%; margin-bottom: 40px;" >
<table>
<colgroup>
<col style="width: 220px;">
<col style="width: auto;">
<col style="width: 220px;">
</colgroup>
<thead>
<th>강사명</th>
<th>연락처</th>
<th>확정여부</th>
</thead>
<tbody>
<c:choose>
<c:when test="${!empty instrAsgnmList }">
<c:forEach var="list" items="${instrAsgnmList}" varStatus="status">
<tr>
<td>
<c:out value="${list.instrNm }"/>
</td>
<td>
<c:out value="${list.phone }"/>
</td>
<td>
<ve:code codeId="VE0019" code="${list.asgnmAprvlCd}"/>
</td>
</tr>
</c:forEach>
</c:when>
<c:otherwise>
<tr>
<td colspan="4">강사 배치 정보가 없습니다.</td>
</tr>
</c:otherwise>
</c:choose>
</tbody>
</table>
</div>
</div>
<div class="tb_tit01">
<div class="tb_tit01_left">
<p>교육신청자</p>
</div>
</div>
<div class="tb_type01">
<div class="tb_list01" style="width:100%; margin-bottom: 40px;" >
<table>
<colgroup>
<col style="width: 5%">
<col style="width: 210px;">
<col style="width: auto;">
<col style="width: 210px;">
</colgroup>
<thead>
<tr>
<th><input type="checkbox" name="checkAll" id="checkAll" onclick="chkAll(this);" /><label for="checkAll"></label></th>
<th>신청자</th>
<th>신청일</th>
<th>확정여부</th>
<!-- <th>이수여부</th> -->
<!-- <th>설문조사</th> -->
<!-- <th>이수증</th> -->
</tr>
</thead>
<tbody>
<c:choose>
<c:when test="${!empty listPrcsAplct}">
<c:forEach var="list" items="${listPrcsAplct}" varStatus="status">
<tr>
<td>
<input name="chk" class="${list.asgnmAprvlCd}"
value="${list.eduAplctOrd}" title="Check" type="checkbox"/>
</td>
<td>
<c:out value="${list.userNm}"/>
</td>
<td>
<c:out value="${list.sbmtPnttm}"/>
</td>
<td>
<ve:code codeId="VE0003" code="${list.aprvlCd}"/>
</td>
<td>
<ve:code codeId="VEA003" code="${list.aplctStateCd}"/>
</td>
<td>
<c:choose>
<c:when test="${list.qestnrId }">
<button type="button" class="btn_type04" onclick="fn_qestnr('<c:out value="${list.qestnrId }"/>');">설문결과</button>
</c:when>
<c:otherwise>
미입력
</c:otherwise>
</c:choose>
</td>
<td>
<c:choose>
<c:when test="${list.qestnrId }">
<button type="button" class="btnType04" onclick="fn_qestnr('<c:out value="${list.qestnrId }"/>');">출력</button>
<button type="button" class="btn_type04">출력</button>
</c:when>
<c:otherwise>
</c:otherwise>
</c:choose>
</td>
</tr>
</c:forEach>
</c:when>
<c:otherwise>
<tr>
<td colspan="4">신청자가 없습니다.</td>
</tr>
</c:otherwise>
</c:choose>
</tbody>
</table>
</div>
</div> --%>
<div class="btn_wrap btn_layout01">
<div class="btn_left">
</div>
<div class="btn_center">
</div>
<div class="btn_right">
<button type="button" class="btnType02 m_btn_block" onclick="fncGoList(); return false;">목록</button>
</div>
</div>
</form:form>
</div>
</body>
</html>

View File

@ -6,6 +6,7 @@
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%> <%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta http-equiv="content-type" content="text/html; charset=utf-8">
<script type="text/javaScript" language="javascript"> <script type="text/javaScript" language="javascript">
$( document ).ready(function(){ $( document ).ready(function(){
@ -82,21 +83,24 @@
<table> <table>
<colgroup> <colgroup>
<col style="width: 30%;"> <col style="width: 30%;">
<col style="width: 30%;"> <col style="width: auto;">
<col style="width: 10%;"> <col style="width: 20%;">
<col style="width: 10%;"> <col style="width: 10%;">
</colgroup> </colgroup>
<thead> <thead>
<tr> <tr>
<th scope="col">교육과정</th> <th>교육구분</th>
<th scope="col">교육기간</th> <th>과정명</th>
<th scope="col">정원</th> <th>교육기간</th>
<th scope="col">신청자수</th> <th>상태</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<c:forEach var="list" items="${vEPrcsDetailVOList}" varStatus="status"> <c:forEach var="list" items="${vEPrcsDetailVOList}" varStatus="status">
<tr> <tr>
<td>
<kc:code codeId="VEA001" code="${list.prcsDiv}"/>
</td>
<td> <td>
<a href="#none" onclick="fncGoDetail('<c:out value='${list.prcsAplctPrdOrd }' />')">${list.prcsNm } (${list.prcsAplctPrdOrd })</a> <a href="#none" onclick="fncGoDetail('<c:out value='${list.prcsAplctPrdOrd }' />')">${list.prcsNm } (${list.prcsAplctPrdOrd })</a>
</td> </td>
@ -104,10 +108,7 @@
${list.eduStrtPnttm } ~ ${list.eduDdlnPnttm } ${list.eduStrtPnttm } ~ ${list.eduDdlnPnttm }
</td> </td>
<td> <td>
${list.nos } <kc:code codeId="VEA004" code="${list.ddlnCd}"/>
</td>
<td>
${list.nosCnt1 }
</td> </td>
</tr> </tr>
</c:forEach> </c:forEach>
@ -122,64 +123,21 @@
<c:forEach var="list" items="${vEPrcsDetailVOList}" varStatus="status"> <c:forEach var="list" items="${vEPrcsDetailVOList}" varStatus="status">
<ul onclick="fncGoDetail('<c:out value="${list.eduAplctOrd}"/>', '<c:out value="${list.eduChasiOrd}"/>');"> <ul onclick="fncGoDetail('<c:out value="${list.eduAplctOrd}"/>', '<c:out value="${list.eduChasiOrd}"/>');">
<li> <li>
<span>교육과정</span> <span>교육구분</span>
<span><a href="#none" onclick="fncGoDetail('<c:out value='${list.prcsAplctPrdOrd }' />')">${list.prcsNm } (${list.prcsAplctPrdOrd })</a></span> <span><kc:code codeId="VEA001" code="${list.prcsDiv}"/></span>
</li>
<li>
<span>과정명</span>
<span>${list.prcsNm } (${list.prcsAplctPrdOrd })</span>
</li> </li>
<li> <li>
<span>교육기간</span> <span>교육기간</span>
<span>${list.eduStrtPnttm } ~ ${list.eduDdlnPnttm }</span> <span>${list.eduStrtPnttm } ~ ${list.eduDdlnPnttm }</span>
</li> </li>
<li> <li>
<span>정원</span> <span>상태</span>
<span>${list.nos }</span> <span><kc:code codeId="VEA004" code="${list.ddlnCd}"/></span>
</li> </li>
<li>
<span>신청자수</span>
<span>${list.nosCnt1 }</span>
</li>
<%-- <li>
<span>교육일자</span>
<span>${fn:substring(list.eduHopeDt,0,4)}-${fn:substring(list.eduHopeDt,4,6)}-${fn:substring(list.eduHopeDt,6,8)}</span>
</li>
<li>
<span>요일</span>
<span><fmt:formatDate value="${eduHopeDt}" pattern="E"/></span>
</li>
<li>
<span>시간</span>
<span>
<fmt:parseDate value="${list.strtTm}" var="strtTm" pattern="kkmm"/><fmt:formatDate value="${strtTm}" pattern="kk:mm"/>
~<fmt:parseDate value="${list.endTm}" var="endTm" pattern="kkmm"/><fmt:formatDate value="${endTm}" pattern="kk:mm"/>
(<c:out value='${list.lrnTm}'/>분)
</span>
</li>
<li>
<span>지역</span>
<span><c:if test="${list.eduSlctCd eq '10'}">(온)</c:if><ve:code codeId="VE0008" code="${list.eduSlctAreaCd}"/></span>
</li>
<li>
<span>기관(단체)명</span>
<span><c:out value='${list.insttNm}'/></span>
</li>
<li>
<span>총 금액</span>
<span>
<c:set var = "fee" value="" />
<c:choose>
<c:when test="${list.instrFeeSbmtYn ne 'Y'}">
<c:set var = "fee" value="정산중" />
</c:when>
<c:when test="${list.acmdtSbmtYn eq 'Y' and empty list.acmdtAprvlCd}">
<c:set var = "fee" value="정산중" />
</c:when>
<c:otherwise>
<c:set var = "fee" value="${list.instrFee + list.specialWorkAllow + list.distanceAllow + list.trafficFee + list.acmdtFee}" />
</c:otherwise>
</c:choose>
<td><p><c:out value="${fee}" /></p></td>
</span>
</li> --%>
</ul> </ul>
</c:forEach> </c:forEach>
<c:if test="${empty vEPrcsDetailVOList}"> <c:if test="${empty vEPrcsDetailVOList}">

View File

@ -6,6 +6,7 @@
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%> <%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta http-equiv="content-type" content="text/html; charset=utf-8">
<script type="text/javaScript" language="javascript"> <script type="text/javaScript" language="javascript">
$( document ).ready(function(){ $( document ).ready(function(){
@ -17,10 +18,9 @@
$("#listForm").attr("action","${pageContext.request.contextPath}/web/kccadr/accdnt/acd/adjstChangeDateCreate.do").submit(); $("#listForm").attr("action","${pageContext.request.contextPath}/web/kccadr/accdnt/acd/adjstChangeDateCreate.do").submit();
} }
function fncGoDetail(eduAplctOrd,eduChasiOrd){ function fncGoDetail(prcsAplctPrdOrd){
$("#eduAplctOrd").val(eduAplctOrd); $("#prcsAplctPrdOrd").val(prcsAplctPrdOrd);
$("#eduChasiOrd").val(eduChasiOrd); $("#listForm").attr("action","${pageContext.request.contextPath}/web/ve/instr/fndtnVisitEdu/endInfo/instrEduEndDetail.do").submit();
$("#listForm").attr("action","${pageContext.request.contextPath}/web/ve/instr/adultVisitEdu/endInfo/instrEduEndDetail.do").submit();
} }
function linkPage(pageNo){ function linkPage(pageNo){
@ -51,6 +51,7 @@
<!-- cont --> <!-- cont -->
<div class="cont_wrap" id="sub"> <div class="cont_wrap" id="sub">
<form:form id="listForm" name="listForm" commandName="vEInstrAsgnmVO"> <form:form id="listForm" name="listForm" commandName="vEInstrAsgnmVO">
<input type="hidden" name="prcsAplctPrdOrd" id="prcsAplctPrdOrd" value=""/>
<input type="hidden" name="pageIndex" value="<c:out value='${vEInstrAsgnmVO.pageIndex}' default='1' />"/> <input type="hidden" name="pageIndex" value="<c:out value='${vEInstrAsgnmVO.pageIndex}' default='1' />"/>
<input type="hidden" name="searchSortCnd" value="<c:out value="${vEInstrAsgnmVO.searchSortCnd}" />" /> <input type="hidden" name="searchSortCnd" value="<c:out value="${vEInstrAsgnmVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${vEInstrAsgnmVO.searchSortOrd}" />" /> <input type="hidden" name="searchSortOrd" value="<c:out value="${vEInstrAsgnmVO.searchSortOrd}" />" />
@ -94,140 +95,67 @@
<div class="tb_list01"> <div class="tb_list01">
<table> <table>
<colgroup> <colgroup>
<col style="width: 5%;"> <col style="width: 30%;">
<col style="width: 10%;"> <col style="width: auto;">
<col style="width: 8%;">
<col style="width: auto">
<col style="width: 10%;">
<col style="width: 20%;"> <col style="width: 20%;">
<col style="width: 15%;"> <col style="width: 10%;">
</colgroup> </colgroup>
<thead> <thead>
<tr> <tr>
<th scope="col">번호</th> <th>교육구분</th>
<th scope="col">교육일자</th> <th>과정명</th>
<th scope="col">요일</th> <th>교육기간</th>
<th scope="col">시간</th> <th>상태</th>
<th scope="col">지역</th>
<th scope="col">기관(단체)명</th>
<th scope="col">총 금액</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<c:forEach var="list" items="${vEInstrAsgnmVOList}" varStatus="status"> <c:forEach var="list" items="${vEPrcsDetailVOList}" varStatus="status">
<fmt:parseDate value="${list.eduHopeDt}" var="eduHopeDt" pattern="yyyy.MM.dd"/> <!-- 요일 구하기 --> <tr>
<c:choose> <td>
<c:when test="${list.notiCnt == 0}"> <kc:code codeId="VEA001" code="${list.prcsDiv}"/>
<tr class="new_cont"> </td>
</c:when> <td>
<c:otherwise> <a href="#none" onclick="fncGoDetail('<c:out value='${list.prcsAplctPrdOrd }' />')">${list.prcsNm } (${list.prcsAplctPrdOrd })</a>
<tr> </td>
</c:otherwise> <td>
</c:choose> ${list.eduStrtPnttm } ~ ${list.eduDdlnPnttm }
</td>
<td> <td>
<p> <kc:code codeId="VEA004" code="${list.ddlnCd}"/>
<c:if test="${vEInstrAsgnmVO.searchSortOrd eq 'desc' }"> </td>
<c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/> </tr>
</c:if>
<c:if test="${vEInstrAsgnmVO.searchSortOrd eq 'asc' }">
<c:out value="${(paginationInfo.currentPageNo - 1) * paginationInfo.recordCountPerPage + status.count}"/>
</c:if>
</p>
</td>
<td><a href="javascript:fncGoDetail('<c:out value="${list.eduAplctOrd}"/>', '<c:out value="${list.eduChasiOrd}"/>');">${fn:substring(list.eduHopeDt,0,4)}-${fn:substring(list.eduHopeDt,4,6)}-${fn:substring(list.eduHopeDt,6,8)}</a></td>
<td><a href="javascript:fncGoDetail('<c:out value="${list.eduAplctOrd}"/>', '<c:out value="${list.eduChasiOrd}"/>');"><fmt:formatDate value="${eduHopeDt}" pattern="E"/></a></td>
<td><a href="javascript:fncGoDetail('<c:out value="${list.eduAplctOrd}"/>', '<c:out value="${list.eduChasiOrd}"/>');">
<fmt:parseDate value="${list.strtTm}" var="strtTm" pattern="kkmm"/><fmt:formatDate value="${strtTm}" pattern="kk:mm"/>
~<fmt:parseDate value="${list.endTm}" var="endTm" pattern="kkmm"/><fmt:formatDate value="${endTm}" pattern="kk:mm"/>
(<c:out value='${list.lrnTm}'/>분)
</a></td>
<td><a href="javascript:fncGoDetail('<c:out value="${list.eduAplctOrd}"/>', '<c:out value="${list.eduChasiOrd}"/>');"><c:if test="${list.eduSlctCd eq '10'}">(온)</c:if><ve:code codeId="VE0008" code="${list.eduSlctAreaCd}"/></a></td>
<td><a href="javascript:fncGoDetail('<c:out value="${list.eduAplctOrd}"/>', '<c:out value="${list.eduChasiOrd}"/>');"><c:out value='${list.insttNm}'/></a></td>
<c:set var = "fee" value="" />
<c:choose>
<c:when test="${list.instrFeeSbmtYn ne 'Y'}">
<c:set var = "fee" value="정산중" />
</c:when>
<c:when test="${list.acmdtSbmtYn eq 'Y' and empty list.acmdtAprvlCd}">
<c:set var = "fee" value="정산중" />
</c:when>
<c:otherwise>
<c:set var = "fee" value="${list.instrFee + list.specialWorkAllow + list.distanceAllow + list.trafficFee + list.acmdtFee}" />
</c:otherwise>
</c:choose>
<td><p><c:out value="${fee}" /></p></td>
</tr>
</c:forEach> </c:forEach>
<c:if test="${empty vEInstrAsgnmVOList}"> <c:if test="${empty vEPrcsDetailVOList}">
<tr> <tr><td colspan="4"><spring:message code="common.nodata.msg" /></td></tr>
<td colspan="7"><spring:message code="common.nodata.msg" /></td> </c:if>
</tr>
</c:if>
</tbody> </tbody>
</table> </table>
</div> </div>
<div class="tb_list01_m"> <div class="tb_list01_m">
<c:forEach var="list" items="${vEInstrAsgnmVOList}" varStatus="status"> <c:forEach var="list" items="${vEPrcsDetailVOList}" varStatus="status">
<fmt:parseDate value="${list.eduHopeDt}" var="eduHopeDt" pattern="yyyy.MM.dd"/> <!-- 요일 구하기 -->
<ul onclick="fncGoDetail('<c:out value="${list.eduAplctOrd}"/>', '<c:out value="${list.eduChasiOrd}"/>');"> <ul onclick="fncGoDetail('<c:out value="${list.eduAplctOrd}"/>', '<c:out value="${list.eduChasiOrd}"/>');">
<li> <li>
<span>번호</span> <span>교육구분</span>
<span> <span><kc:code codeId="VEA001" code="${list.prcsDiv}"/></span>
<c:if test="${vEInstrAsgnmVO.searchSortOrd eq 'desc' }">
<c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/>
</c:if>
<c:if test="${vEInstrAsgnmVO.searchSortOrd eq 'asc' }">
<c:out value="${(paginationInfo.currentPageNo - 1) * paginationInfo.recordCountPerPage + status.count}"/>
</c:if>
</span>
</li> </li>
<li> <li>
<span>교육일자</span> <span>과정명</span>
<span>${fn:substring(list.eduHopeDt,0,4)}-${fn:substring(list.eduHopeDt,4,6)}-${fn:substring(list.eduHopeDt,6,8)}</span> <span>${list.prcsNm } (${list.prcsAplctPrdOrd })</span>
</li> </li>
<li> <li>
<span>요일</span> <span>교육기간</span>
<span><fmt:formatDate value="${eduHopeDt}" pattern="E"/></span> <span>${list.eduStrtPnttm } ~ ${list.eduDdlnPnttm }</span>
</li> </li>
<li> <li>
<span>시간</span> <span>상태</span>
<span> <span><kc:code codeId="VEA004" code="${list.ddlnCd}"/></span>
<fmt:parseDate value="${list.strtTm}" var="strtTm" pattern="kkmm"/><fmt:formatDate value="${strtTm}" pattern="kk:mm"/>
~<fmt:parseDate value="${list.endTm}" var="endTm" pattern="kkmm"/><fmt:formatDate value="${endTm}" pattern="kk:mm"/>
(<c:out value='${list.lrnTm}'/>분)
</span>
</li>
<li>
<span>지역</span>
<span><c:if test="${list.eduSlctCd eq '10'}">(온)</c:if><ve:code codeId="VE0008" code="${list.eduSlctAreaCd}"/></span>
</li>
<li>
<span>기관명</span>
<span><c:out value='${list.insttNm}'/></span>
</li>
<li>
<span>총 금액</span>
<c:set var = "fee" value="" />
<c:choose>
<c:when test="${list.instrFeeSbmtYn ne 'Y'}">
<c:set var = "fee" value="정산중" />
</c:when>
<c:when test="${list.acmdtSbmtYn eq 'Y' and empty list.acmdtAprvlCd}">
<c:set var = "fee" value="정산중" />
</c:when>
<c:otherwise>
<c:set var = "fee" value="${list.instrFee + list.specialWorkAllow + list.distanceAllow + list.trafficFee + list.acmdtFee}" />
</c:otherwise>
</c:choose>
<span>
<c:out value='${fee}'/>
</span>
</li> </li>
</ul> </ul>
</c:forEach> </c:forEach>
<c:if test="${empty vEPrcsDetailVOList}">
<ul><li colspan="4"><spring:message code="common.nodata.msg" /></li></ul>
</c:if>
</div> </div>
<div class="page"> <div class="page">