2023-11-07 16:49 강사 이력 관리
This commit is contained in:
parent
0d1f1558b5
commit
85d22a7cad
@ -42,6 +42,8 @@ import kcc.let.cop.bbs.service.Board;
|
||||
import kcc.let.uat.uia.service.SsoLoginVO;
|
||||
import kcc.let.utl.fcc.service.EgovCryptoUtil;
|
||||
import kcc.let.utl.fcc.service.EgovCryptoUtil4VO;
|
||||
import kcc.ve.adv.tngr.stngInfo.service.VEAStngService;
|
||||
import kcc.ve.adv.tngr.stngInfo.service.VEAStngVO;
|
||||
import kcc.ve.aplct.cpyrgExprnClsrm.exprnClsrmAplct.service.ScholInfoService;
|
||||
import kcc.ve.aplct.cpyrgExprnClsrm.exprnClsrmAplct.service.ScholInfoVO;
|
||||
import kcc.ve.instr.tngrVisitEdu.instrInfo.service.VEInstrDetailService;
|
||||
@ -184,6 +186,9 @@ public class OprtnInstrAdultPrflContoller {
|
||||
@Resource(name = "scholInfoService")
|
||||
private ScholInfoService scholInfoService;
|
||||
|
||||
//강의설정 관리
|
||||
@Resource(name = "vEAStngService")
|
||||
private VEAStngService vEAStngService;
|
||||
|
||||
/**
|
||||
* 1.강사등록신청 목록 조회 -
|
||||
@ -1116,6 +1121,14 @@ public class OprtnInstrAdultPrflContoller {
|
||||
lctrDetailVO.setAprvlCd("10"); // 강의 설정 요청 리스트만 불러오기
|
||||
List<VELctrDetailVO> lctrStngSbmtInfo = vELctrMIXService.selectLctrStngSbmtList(lctrDetailVO);
|
||||
model.addAttribute("lctrStngSbmtInfo", lctrStngSbmtInfo);
|
||||
|
||||
// 이력관리 리스트
|
||||
VEAStngVO vEAStngVO = new VEAStngVO();
|
||||
vEAStngVO.setUserId(vEInstrDetailVO.getUserId());
|
||||
List<VEAStngVO> selectList_VEAIHM = vEAStngService.selectList_VEAIHM(vEAStngVO);
|
||||
|
||||
model.addAttribute("selectListVEAIHM",selectList_VEAIHM);
|
||||
|
||||
return "/oprtn/adultVisitEdu/instrMngDetail";
|
||||
}
|
||||
|
||||
|
||||
@ -220,6 +220,10 @@ public class OprtnInstrTngrPrflContoller {
|
||||
@Resource(name = "vEAStngMixService")
|
||||
private VEAStngMixService vEAStngMixService;
|
||||
|
||||
//강사료 순번 idgen
|
||||
@Resource(name="instrHstryOrdGnrService")
|
||||
private EgovIdGnrService instrHstryOrdGnrService;
|
||||
|
||||
/**
|
||||
* 1.강사등록신청 목록 조회 -
|
||||
*/
|
||||
@ -1743,6 +1747,13 @@ public class OprtnInstrTngrPrflContoller {
|
||||
List<VEInstrAsgnmVO> vEInstrAsgnmVOList = vEEduPnltyService.selectList(vEInstrAsgnmVO);
|
||||
model.addAttribute("pnltyList",vEInstrAsgnmVOList);
|
||||
|
||||
|
||||
// 이력관리 리스트
|
||||
VEAStngVO vEAStngVO = new VEAStngVO();
|
||||
vEAStngVO.setUserId(vEInstrDetailVO.getUserId());
|
||||
List<VEAStngVO> selectList_VEAIHM = vEAStngService.selectList_VEAIHM(vEAStngVO);
|
||||
|
||||
model.addAttribute("selectListVEAIHM",selectList_VEAIHM);
|
||||
|
||||
//누계정보1
|
||||
//List<VELctrDetailVO> selectAsgnmInfoT1List = vEInstrMixService.selectAsgnmInfoT1(vEInstrDetailVODetail);
|
||||
@ -1762,6 +1773,50 @@ public class OprtnInstrTngrPrflContoller {
|
||||
return "/oprtn/tngrVisitEdu/instrMngDetail";
|
||||
}
|
||||
|
||||
/**
|
||||
* 이력 삭제 처리
|
||||
*/
|
||||
@RequestMapping("/ve/oprtn/instr/tngrVisitEdu/instrInfo/popup/instrHstryDelAjax.do")
|
||||
public ModelAndView instrHstryDelPopupAjax(
|
||||
@ModelAttribute("vEAStngVO") VEAStngVO vEAStngVO
|
||||
, ModelMap model
|
||||
//, RedirectAttributes redirectAttributes
|
||||
, HttpServletRequest request
|
||||
) throws Exception {
|
||||
|
||||
ModelAndView modelAndView = new ModelAndView();
|
||||
modelAndView.setViewName("jsonView");
|
||||
|
||||
//로그인 처리====================================
|
||||
//로그인 정보 가져오기
|
||||
String s_oprtnLoginCheckNInfo = checkLoginUtil.oprtnCheckNInfo(model);
|
||||
if (!"".equals(s_oprtnLoginCheckNInfo)) {
|
||||
modelAndView.addObject("result", "loginFail");
|
||||
return modelAndView;
|
||||
}
|
||||
//로그인 처리====================================
|
||||
|
||||
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
|
||||
|
||||
//교육차시강사배정 테이블에 패널티 정보 삭제
|
||||
try {
|
||||
//목록에서 한 패널티를 여러 유저에게 등록 시
|
||||
//vEEduPnltyService.delete(vEInstrAsgnmVO);
|
||||
//VEAStngVO vEAStngVO = new VEAStngVO();
|
||||
//vEAStngVO.setInstrHstryOrd(instrHstryOrd);
|
||||
vEAStngService.delete_VEAIHM(vEAStngVO);
|
||||
|
||||
|
||||
} catch (Exception ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
modelAndView.addObject("result", "success");
|
||||
|
||||
return modelAndView;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 6. 강사 관리 상세 조회
|
||||
*/
|
||||
@ -2652,6 +2707,62 @@ public class OprtnInstrTngrPrflContoller {
|
||||
return "oprtn/tngrVisitEdu/popup/instrHstryMngPopup";
|
||||
}
|
||||
|
||||
/**
|
||||
* 강사 이력 등록
|
||||
*/
|
||||
|
||||
@RequestMapping(value="/kccadr/oprtn/tngrVisitEdu/popup/instrHstryMngPopupAjax.do")
|
||||
public ModelAndView instrHstryMngPopupAjax(
|
||||
ModelMap model
|
||||
, HttpServletRequest request
|
||||
) throws Exception {
|
||||
|
||||
ModelAndView modelAndView = new ModelAndView();
|
||||
modelAndView.setViewName("jsonView");
|
||||
|
||||
//로그인 처리====================================
|
||||
//로그인 정보 가져오기
|
||||
|
||||
String s_oprtnLoginCheckNInfo = checkLoginUtil.oprtnCheckNInfo(model);
|
||||
if (!"".equals(s_oprtnLoginCheckNInfo)) {
|
||||
modelAndView.addObject("result", "loginFail");
|
||||
return modelAndView;
|
||||
}
|
||||
|
||||
//로그인 처리====================================
|
||||
|
||||
|
||||
//System.out.println(request.getParameter("instrDiv"));
|
||||
//System.out.println(request.getParameter("ddlnStateCd"));
|
||||
|
||||
try {
|
||||
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
|
||||
SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기
|
||||
|
||||
String s_ord = instrHstryOrdGnrService.getNextStringId();
|
||||
|
||||
VEAStngVO vEAStngVO = new VEAStngVO();
|
||||
|
||||
vEAStngVO.setInstrHstryOrd(s_ord);
|
||||
vEAStngVO.setUserId(request.getParameter("userId"));
|
||||
vEAStngVO.setSbjct(request.getParameter("sbjct"));
|
||||
vEAStngVO.setCn(request.getParameter("cn"));
|
||||
vEAStngVO.setStrtDt(request.getParameter("rgstrStrtPnttm_dt"));
|
||||
vEAStngVO.setDdlnDt(request.getParameter("rgstrDdlnPnttm_dt"));
|
||||
vEAStngVO.setFrstRegisterId(loginVO.getUniqId());
|
||||
|
||||
vEAStngService.insert_VEAIHM(vEAStngVO);
|
||||
|
||||
|
||||
}catch(Exception ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
modelAndView.addObject("result", "success");
|
||||
|
||||
return modelAndView;
|
||||
|
||||
|
||||
}
|
||||
/////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
//
|
||||
|
||||
@ -940,6 +940,7 @@ public class AreaLctrMngTngrController {
|
||||
/**
|
||||
* 강사이력 삭제 처리
|
||||
*/
|
||||
/*
|
||||
@RequestMapping("popup/instrHstryDelAjax.do")
|
||||
public ModelAndView instrHstryDelPopupAjax(
|
||||
@ModelAttribute("vEInstrAsgnmVO") VEInstrAsgnmVO vEInstrAsgnmVO
|
||||
@ -976,6 +977,7 @@ public class AreaLctrMngTngrController {
|
||||
return modelAndView;
|
||||
|
||||
}
|
||||
*/
|
||||
|
||||
/**
|
||||
* 강사료 등록 처리
|
||||
|
||||
@ -2978,8 +2978,8 @@
|
||||
</bean>
|
||||
<!-- 서류요청순번 ID Generation Strategy Config -->
|
||||
<bean name="instrHstryOrdStrategy" class="egovframework.rte.fdl.idgnr.impl.strategy.EgovIdGnrStrategyImpl"><!-- bean name 값에 strategy 값 입력 -->
|
||||
<property name="prefix" value="instrHstryOrd_" /><!-- prefix 값 수정 -->
|
||||
<property name="cipers" value="10" /><!-- 일련번호(순번) 전체 길이(prefix길이 미포함) -->
|
||||
<property name="prefix" value="instrHstry_" /><!-- prefix 값 수정 -->
|
||||
<property name="cipers" value="9" /><!-- 일련번호(순번) 전체 길이(prefix길이 미포함) -->
|
||||
<property name="fillChar" value="0" />
|
||||
</bean>
|
||||
</beans>
|
||||
|
||||
@ -72,8 +72,8 @@
|
||||
|
||||
, sbjct = #sbjct#
|
||||
, cn = #cn#
|
||||
, strtDt = #strtDt#
|
||||
, ddlnDt = #ddlnDt#
|
||||
, strt_dt = #strtDt#
|
||||
, ddln_dt = #ddlnDt#
|
||||
, frst_regist_pnttm = SYSDATE
|
||||
, frst_register_id = #frstRegisterId#
|
||||
</insert>
|
||||
@ -163,10 +163,13 @@
|
||||
/* VEAInstrHstryMngDAO.selectList */
|
||||
SELECT
|
||||
<include refid="VEAInstrHstryMngDAO.select_column_name"/>
|
||||
, b.user_nm AS userNm
|
||||
FROM
|
||||
<include refid="VEAInstrHstryMngDAO.table_name"/> a
|
||||
, LETTNEMPLYRINFO b
|
||||
WHERE
|
||||
1=1
|
||||
1=1
|
||||
AND a.frst_register_id=b.ESNTL_ID
|
||||
|
||||
<isNotEmpty property="userId">
|
||||
AND a.user_id=#userId#
|
||||
|
||||
@ -255,6 +255,57 @@ function getYears(getYear){
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// 강사이력 등록팝업
|
||||
function fnInstrHstryInsert() {
|
||||
|
||||
/*
|
||||
var p_stngYr = $("#listForm #stngYr").val();
|
||||
|
||||
if(p_stngYr==''){
|
||||
alert("회차관리 대상 년도를 선택해주세요.");
|
||||
return false;
|
||||
}
|
||||
document.listForm.yr.value = p_stngYr;
|
||||
*/
|
||||
|
||||
//document.listForm.authorCode.value = vAuthorCode;
|
||||
//document.listForm.action = "<c:url value='/kccadr/oprtn/tngrVisitEdu/popup/advRndsStngMngPopup.do'/>";
|
||||
document.listForm.action = "<c:url value='/kccadr/oprtn/tngrVisitEdu/popup/instrHstryMngPopup.do'/>";
|
||||
window.open("#", "_instrHstryMngPop", "scrollbars = no, top=100px, left=100px, height=800px, width=1000px");
|
||||
document.listForm.target = "_instrHstryMngPop";
|
||||
document.listForm.submit();
|
||||
|
||||
}
|
||||
|
||||
// 이력관리 삭제
|
||||
function fnInstrHstryDelete(p_instr_hstry_ord) {
|
||||
|
||||
$("#listForm #instrHstryOrd").val(p_instr_hstry_ord);
|
||||
|
||||
var data1 = new FormData(document.getElementById("listForm"));
|
||||
if(confirm("해당 이력을 삭제하시겠습니까?)")){
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
url: "${pageContext.request.contextPath}/ve/oprtn/instr/tngrVisitEdu/instrInfo/popup/instrHstryDelAjax.do",
|
||||
data: data1,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success:function(returnData){
|
||||
if(returnData.result == 'success'){
|
||||
alert("삭제 되었습니다.");
|
||||
location.reload();
|
||||
}
|
||||
},
|
||||
error:function(request , status, error){
|
||||
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<%-- <form id="pop" name="pop" method="post">
|
||||
<input type="hidden" name="userId" id="userId" value="<c:out value='${info.userId}'/>"/> <!-- 사용자 아이디 -->
|
||||
@ -788,8 +839,73 @@ function getYears(getYear){
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tb_tit01">
|
||||
<p>이력관리</p>
|
||||
</div>
|
||||
<div class="tb_type01">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 18%;">
|
||||
<col style="width: 18%;">
|
||||
<col style="width: 18%;">
|
||||
<col style="width: 18%;">
|
||||
<col style="width: 18%;">
|
||||
<col style="width: 10%;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">교육명</th>
|
||||
<th scope="col">교육기간</th>
|
||||
|
||||
<th scope="col">비고</th>
|
||||
<th scope="col">등록자</th>
|
||||
<th scope="col">등록일</th>
|
||||
<th scope="col">삭제</th>
|
||||
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach var="pList" items="${selectListVEAIHM}" varStatus="status">
|
||||
<tr>
|
||||
<td><c:out value="${pList.sbjct}" /></td>
|
||||
<td><c:out value="${pList.strtDt}" />~<c:out value="${pList.ddlnDt}" /></td>
|
||||
<td><c:out value="${pList.cn}" /></td>
|
||||
<td><c:out value="${pList.userNm}" /></td>
|
||||
<td><c:out value="${pList.frstRegistPnttm}" /></td>
|
||||
|
||||
<td>
|
||||
<button type="button" class="btn_type04" onclick="fnInstrHstryDelete('<c:out value="${pList.instrHstryOrd}" />'); return false;">삭제</button>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</c:forEach>
|
||||
<c:if test="${empty selectListVEAIHM}">
|
||||
<tr><td colspan="6"><spring:message code="common.nodata.msg" /></td></tr>
|
||||
</c:if>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="btn_wrap btn_layout01">
|
||||
<div class="btn_left" style="width:60%;">
|
||||
</div>
|
||||
<div class="btn_right">
|
||||
<button type="button" class="btn_type04" onclick="fnInstrHstryInsert(); return false;">이력 등록</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form:form>
|
||||
<!-- //cont -->
|
||||
<!-- //cont -->
|
||||
<form:form id="listForm" name="listForm" method="post" onsubmit="return false;">
|
||||
<input type="hidden" name="pnltyCd" id="pnltyCd" value="" />
|
||||
<input type="hidden" name="pnltyOrd" id="pnltyOrd" value="" />
|
||||
<input type="hidden" name="instrHstryOrd" id="instrHstryOrd" value="" />
|
||||
<input type="hidden" name="memoCn" id="memoCn" value="" />
|
||||
<input type="hidden" name="userId" id="userId" value="<c:out value='${info.userId}'/>" />
|
||||
|
||||
</form:form>
|
||||
@ -373,6 +373,35 @@
|
||||
}
|
||||
}
|
||||
|
||||
// 이력관리 삭제
|
||||
function fnInstrHstryDelete(p_instr_hstry_ord) {
|
||||
|
||||
$("#listForm #instrHstryOrd").val(p_instr_hstry_ord);
|
||||
|
||||
var data1 = new FormData(document.getElementById("listForm"));
|
||||
if(confirm("해당 이력을 삭제하시겠습니까?)")){
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
url: "${pageContext.request.contextPath}/ve/oprtn/instr/tngrVisitEdu/instrInfo/popup/instrHstryDelAjax.do",
|
||||
data: data1,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success:function(returnData){
|
||||
if(returnData.result == 'success'){
|
||||
alert("삭제 되었습니다.");
|
||||
location.reload();
|
||||
}
|
||||
},
|
||||
error:function(request , status, error){
|
||||
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// 강사이력 등록팝업
|
||||
function fnInstrHstryInsert() {
|
||||
@ -396,35 +425,6 @@
|
||||
|
||||
}
|
||||
|
||||
// 강사이력 삭제
|
||||
function fnInstrHstryDelete(p_pnlty_ord) {
|
||||
|
||||
$("#listForm #pnltyOrd").val(p_pnlty_ord);
|
||||
|
||||
var data1 = new FormData(document.getElementById("listForm"));
|
||||
if(confirm("해당 이력을 삭제하시겠습니까?)")){
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
url: "${pageContext.request.contextPath}/kccadr/oprtn/tngrVisitEdu/popup/instrHstryDelAjax.do",
|
||||
data: data1,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success:function(returnData){
|
||||
if(returnData.result == 'success'){
|
||||
alert("삭제 되었습니다.");
|
||||
location.reload();
|
||||
}
|
||||
},
|
||||
error:function(request , status, error){
|
||||
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
@ -934,90 +934,27 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach var="pList" items="${pnltyList}" varStatus="status">
|
||||
<c:forEach var="pList" items="${selectListVEAIHM}" varStatus="status">
|
||||
<tr>
|
||||
<td><c:out value="${pList.sbjct}" /></td>
|
||||
<td><c:out value="${pList.strtDt}" />~<c:out value="${pList.ddlnDt}" /></td>
|
||||
<td><c:out value="${pList.cn}" /></td>
|
||||
<td><c:out value="${pList.userNm}" /></td>
|
||||
<td><c:out value="${pList.frstRegistPnttm}" /></td>
|
||||
<td><ve:code codeId="VE0016" code="${pList.pnltyCd}"/></td>
|
||||
|
||||
<c:choose>
|
||||
<c:when test="${pList.scholInsttNm eq '' or pList.scholInsttNm eq null}">
|
||||
<td colspan="3"><c:out value="${pList.memoCn}" /></td>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<td><c:out value="${pList.eduHopeDt}" /></td>
|
||||
<td><c:out value="${pList.scholInsttNm}" /></td>
|
||||
<td>
|
||||
<fmt:parseDate value="${pList.strtTm}" var="strtTm" pattern="kkmm"/><fmt:formatDate value="${strtTm}" pattern="kk:mm"/>
|
||||
~<fmt:parseDate value="${pList.endTm}" var="endTm" pattern="kkmm"/><fmt:formatDate value="${endTm}" pattern="kk:mm"/>
|
||||
(<c:out value="${pList.lrnTm}"/>분)
|
||||
</td>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
<td>
|
||||
<button type="button" class="btn_type04" onclick="fnPnltyDelete('<c:out value="${pList.pnltyOrd}" />'); return false;">삭제</button>
|
||||
<button type="button" class="btn_type04" onclick="fnInstrHstryDelete('<c:out value="${pList.instrHstryOrd}" />'); return false;">삭제</button>
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
</tr>
|
||||
</c:forEach>
|
||||
<c:if test="${empty pnltyList}">
|
||||
<tr><td colspan="5"><spring:message code="common.nodata.msg" /></td></tr>
|
||||
<c:if test="${empty selectListVEAIHM}">
|
||||
<tr><td colspan="6"><spring:message code="common.nodata.msg" /></td></tr>
|
||||
</c:if>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tb_type01">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 18%;">
|
||||
<col style="width: 34%;">
|
||||
<col style="width: 48%;">
|
||||
<col style="width: 10%;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">교육명</th>
|
||||
<th scope="col">교육기간</th>
|
||||
|
||||
<th scope="col">비고</th>
|
||||
<th scope="col">등록</th>
|
||||
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<input type="text" name="hstrySbjct" id="hstrySbjct" size="20" maxlength="100" placeholder="" value="">
|
||||
</td>
|
||||
<td>
|
||||
<div class="util_right">
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="시작일 선택" id="rgstrStrtPnttm_dt"
|
||||
name="rgstrStrtPnttm_dt">
|
||||
</div>
|
||||
~
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="종료일 선택" id="rgstrDdlnPnttm_dt"
|
||||
name="rgstrDdlnPnttm_dt">
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="hstryCn" id="hstryCn" size="60" maxlength="100" placeholder="" value="">
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<button type="button" class="btn_type04" onclick="fnInstrHstryInsert(); return false;">이력 등록</button>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="btn_wrap btn_layout01">
|
||||
<div class="btn_left" style="width:60%;">
|
||||
@ -1034,8 +971,9 @@
|
||||
<form:form id="listForm" name="listForm" method="post" onsubmit="return false;">
|
||||
<input type="hidden" name="pnltyCd" id="pnltyCd" value="" />
|
||||
<input type="hidden" name="pnltyOrd" id="pnltyOrd" value="" />
|
||||
<input type="hidden" name="instrHstryOrd" id="instrHstryOrd" value="" />
|
||||
<input type="hidden" name="memoCn" id="memoCn" value="" />
|
||||
<input type="hidden" name="userId" id="userId" value="<c:out value='${info.userId}'/>" />
|
||||
<input type="hidden" name="userId" id="userId" value="<c:out value='${info.userId}'/>" />
|
||||
|
||||
</form:form>
|
||||
<!-- //cont -->
|
||||
|
||||
@ -49,17 +49,17 @@
|
||||
});
|
||||
|
||||
function fncAprooval(){
|
||||
var msg = "강의가능시간 변경";
|
||||
//var msg = "강의가능시간 변경";
|
||||
|
||||
var data1 = new FormData(document.getElementById("createForm"));
|
||||
|
||||
//console.log(data);
|
||||
console.log(data1);
|
||||
|
||||
if (confirm(msg+" 하시겠습니까?")) {
|
||||
if (confirm("이력등록을 하시겠습니까?")) {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "${pageContext.request.contextPath}/kccadr/oprtn/tngrVisitEdu/popup/areaLctrMngLctrPsblTmPopupAjax.do",
|
||||
url: "${pageContext.request.contextPath}/kccadr/oprtn/tngrVisitEdu/popup/instrHstryMngPopupAjax.do",
|
||||
//data: JSON.stringify(data),
|
||||
data: data1,
|
||||
dataType:'json',
|
||||
@ -70,9 +70,9 @@
|
||||
success: function (returnData, status) {
|
||||
console.log(returnData.rs);
|
||||
if(returnData.result == 'success'){
|
||||
alert("정상적으로 "+ msg +" 되었습니다.");
|
||||
alert("정상적으로 등록 되었습니다.");
|
||||
opener.location.reload();
|
||||
self.close();
|
||||
//self.close();
|
||||
}else{
|
||||
alert(returnData.message);
|
||||
}
|
||||
@ -316,78 +316,50 @@
|
||||
|
||||
<!-- cont_tit -->
|
||||
<div class="cont_tit">
|
||||
<h2>회차관리</h2>
|
||||
<h2>이력관리</h2>
|
||||
</div>
|
||||
<!-- //cont_tit -->
|
||||
|
||||
<div class="cont_popup">
|
||||
|
||||
<form:form id="createForm" name="createForm" method="post" commandName="vELctrDetailVO" onsubmit="return false;">
|
||||
<input type="hidden" name="instrDiv" id="instrDiv" value="<c:out value="${vELctrDetailVO.instrDiv}" />">
|
||||
<input type="hidden" name="areaCd" id="areaCd" value="<c:out value="${vELctrDetailVO.areaCd}" />">
|
||||
<input type="hidden" name="stngYr" id="stngYr" value="<c:out value="${vELctrDetailVO.stngYr}" />">
|
||||
<input type="hidden" name="prdDivCd" id="prdDivCd" value="<c:out value="${vELctrDetailVO.prdDivCd}" />">
|
||||
|
||||
<form:form id="createForm" name="createForm" method="post" commandName="vELctrDetailVO" onsubmit="return false;">
|
||||
<input type="hidden" name="userId" id="userId" value="<c:out value="${vEAStngVO.userId}" />">
|
||||
|
||||
|
||||
<table class="pop_tb_type02">
|
||||
<colgroup>
|
||||
<col style="width: 140px;">
|
||||
<col style="width: auto;">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row" colspan="2">
|
||||
<p class="req_text"><span>필수입력 항목</span></p>
|
||||
<p>
|
||||
년도
|
||||
<kc:select codeId="VE0029" name="yr" id="yr" css="class='sel_type1'"
|
||||
selectedValue="${vEAStngVO.yr}"
|
||||
/>
|
||||
<button class="btn_type08" onclick="fncGoList(); return false;">검색</button>
|
||||
|
||||
</p>
|
||||
</th>
|
||||
<!--
|
||||
<td>
|
||||
<div class="util_right">
|
||||
년도
|
||||
<kc:select codeId="VE0029" name="yr" id="yr" css="class='sel_type1'"
|
||||
selectedValue="${vEAStngVO.yr}"
|
||||
/>
|
||||
<button class="btn_type08" onclick="fncGoList(); return false;">검색</button>
|
||||
|
||||
</div>
|
||||
</td>
|
||||
-->
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table class="pop_tb_type02">
|
||||
<colgroup>
|
||||
<col style="width: 21%;">
|
||||
<col style="width: 33%;">
|
||||
<col style="width: 33%;">
|
||||
<col style="width: 15%;">
|
||||
<col style="width: 20%;">
|
||||
<col style="width: 80%;">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">회차명</th>
|
||||
<th scope="row">접수시작일시</th>
|
||||
<th scope="row">접수마감일시</th>
|
||||
<th scope="row">관리</th>
|
||||
<th scope="row">구분</th>
|
||||
<th scope="row">내용</th>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody>
|
||||
<tr>
|
||||
<!-- 회차 -->
|
||||
<td>
|
||||
<div class="util_right">
|
||||
교육명
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="util_right">
|
||||
|
||||
<input type="text" id="ord" name="ord" class="search_input"
|
||||
style="width:100px;" maxlength="3"
|
||||
placeholder="숫자만" value='' onkeyDown="press(event);">회차
|
||||
<input type="text" id="sbjct" name="sbjct" class="search_input"
|
||||
style="width:400px;" maxlength="30"
|
||||
value='' onkeyDown="press(event);">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<!-- 회차 -->
|
||||
<td>
|
||||
<div class="util_right">
|
||||
교육기간
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="util_right">
|
||||
@ -395,207 +367,35 @@
|
||||
<input type="text" class="calendar" title="시작일 선택" id="rgstrStrtPnttm_dt"
|
||||
name="rgstrStrtPnttm_dt">
|
||||
</div>
|
||||
<select name="rgstrStrtPnttm_tm" id="rgstrStrtPnttm_tm" class="hours_select" style="width:70px;"
|
||||
title="시 선택">
|
||||
<option value="선택">선택</option>
|
||||
<option value="00">00</option>
|
||||
<option value="01">01</option>
|
||||
<option value="02">02</option>
|
||||
<option value="03">03</option>
|
||||
<option value="04">04</option>
|
||||
<option value="05">05</option>
|
||||
<option value="06">06</option>
|
||||
<option value="07">07</option>
|
||||
<option value="08">08</option>
|
||||
<option value="09">09</option>
|
||||
<option value="10">10</option>
|
||||
<option value="11">11</option>
|
||||
<option value="12">12</option>
|
||||
<option value="13">13</option>
|
||||
<option value="14">14</option>
|
||||
<option value="15">15</option>
|
||||
<option value="16">16</option>
|
||||
<option value="17">17</option>
|
||||
<option value="18">18</option>
|
||||
<option value="19">19</option>
|
||||
<option value="20">20</option>
|
||||
<option value="21">21</option>
|
||||
<option value="22">22</option>
|
||||
<option value="23">23</option>
|
||||
|
||||
</select>시
|
||||
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="util_right">
|
||||
|
||||
~
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="종료일 선택" id="rgstrDdlnPnttm_dt"
|
||||
name="rgstrDdlnPnttm_dt">
|
||||
</div>
|
||||
|
||||
<select name="rgstrDdlnPnttm_tm" id="rgstrDdlnPnttm_tm" class="hours_select" style="width:70px;"
|
||||
title="시 선택">
|
||||
|
||||
<option value="선택">선택</option>
|
||||
<option value="00">00</option>
|
||||
<option value="01">01</option>
|
||||
<option value="02">02</option>
|
||||
<option value="03">03</option>
|
||||
<option value="04">04</option>
|
||||
<option value="05">05</option>
|
||||
<option value="06">06</option>
|
||||
<option value="07">07</option>
|
||||
<option value="08">08</option>
|
||||
<option value="09">09</option>
|
||||
<option value="10">10</option>
|
||||
<option value="11">11</option>
|
||||
<option value="12">12</option>
|
||||
<option value="13">13</option>
|
||||
<option value="14">14</option>
|
||||
<option value="15">15</option>
|
||||
<option value="16">16</option>
|
||||
<option value="17">17</option>
|
||||
<option value="18">18</option>
|
||||
<option value="19">19</option>
|
||||
<option value="20">20</option>
|
||||
<option value="21">21</option>
|
||||
<option value="22">22</option>
|
||||
<option value="23">23</option>
|
||||
</select>시
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<!-- 회차 -->
|
||||
<td>
|
||||
<div class="util_right">
|
||||
비고
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="btn_wrap_pop btn_layout01" style="margin-top:10px;margin-bottom:10px;">
|
||||
<div class="btn_center" style="width: 100%;">
|
||||
<button class="btn_type04" onclick="fncRndsSave(this); return false;">등록</button>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<div class="util_right">
|
||||
|
||||
<input type="text" id="cn" name="cn" class="search_input"
|
||||
style="width:700px;" maxlength="300"
|
||||
value='' onkeyDown="press(event);">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table class="pop_tb_type02">
|
||||
<colgroup>
|
||||
<col style="width: 20%;">
|
||||
<col style="width: 30%;">
|
||||
<col style="width: 30%;">
|
||||
<col style="width: 20%;">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">회차명</th>
|
||||
<th scope="row">접수시작일시</th>
|
||||
<th scope="row">접수마감일시</th>
|
||||
<th scope="row">관리</th>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody>
|
||||
<c:forEach var="list" items="${selectBasicList}" varStatus="status">
|
||||
<tr id='<c:out value="${list.rndsOrd}"/>'>
|
||||
<!-- 회차 -->
|
||||
<td>
|
||||
<div class="util_right">
|
||||
|
||||
<input type="text" id="psblTmQntty" name="psblTmQntty" class="search_input"
|
||||
style="width:100px;"
|
||||
placeholder="회차" value='<c:out value="${list.ord}"/>' onkeyDown="press(event);">회차
|
||||
</td>
|
||||
<td>
|
||||
<div class="util_right">
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="시작일 선택" id="aplctPrdStrt"
|
||||
name="aplctPrdStrt" value='<c:out value="${list.dpStrtDt}"/>'>
|
||||
</div>
|
||||
<select name="lctrPsblStrtTm" id="lctrPsblStrtTm" class="hours_select" style="width:70px;"
|
||||
title="시 선택" value='<c:out value="${list.dpStrtTm}"/>'>
|
||||
<option value="선택">선택</option>
|
||||
<option value="00">00</option>
|
||||
<option value="01">01</option>
|
||||
<option value="02">02</option>
|
||||
<option value="03">03</option>
|
||||
<option value="04">04</option>
|
||||
<option value="05">05</option>
|
||||
<option value="06">06</option>
|
||||
<option value="07">07</option>
|
||||
<option value="08">08</option>
|
||||
<option value="09">09</option>
|
||||
<option value="10">10</option>
|
||||
<option value="11">11</option>
|
||||
<option value="12">12</option>
|
||||
<option value="13">13</option>
|
||||
<option value="14">14</option>
|
||||
<option value="15">15</option>
|
||||
<option value="16">16</option>
|
||||
<option value="17">17</option>
|
||||
<option value="18">18</option>
|
||||
<option value="19">19</option>
|
||||
<option value="20">20</option>
|
||||
<option value="21">21</option>
|
||||
<option value="22">22</option>
|
||||
<option value="23">23</option>
|
||||
|
||||
</select>시
|
||||
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="util_right">
|
||||
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="종료일 선택" id="aplctPrdEnd"
|
||||
name="aplctPrdEnd" value='<c:out value="${list.dpDdlnDt}"/>'>
|
||||
</div>
|
||||
|
||||
<select name="lctrPsblEndTm" id="lctrPsblEndTm" class="hours_select" style="width:70px;"
|
||||
title="시 선택" value='<c:out value="${list.dpDdlnTm}"/>'>
|
||||
|
||||
<option value="선택">선택</option>
|
||||
<option value="00">00</option>
|
||||
<option value="01">01</option>
|
||||
<option value="02">02</option>
|
||||
<option value="03">03</option>
|
||||
<option value="04">04</option>
|
||||
<option value="05">05</option>
|
||||
<option value="06">06</option>
|
||||
<option value="07">07</option>
|
||||
<option value="08">08</option>
|
||||
<option value="09">09</option>
|
||||
<option value="10">10</option>
|
||||
<option value="11">11</option>
|
||||
<option value="12">12</option>
|
||||
<option value="13">13</option>
|
||||
<option value="14">14</option>
|
||||
<option value="15">15</option>
|
||||
<option value="16">16</option>
|
||||
<option value="17">17</option>
|
||||
<option value="18">18</option>
|
||||
<option value="19">19</option>
|
||||
<option value="20">20</option>
|
||||
<option value="21">21</option>
|
||||
<option value="22">22</option>
|
||||
<option value="23">23</option>
|
||||
</select>시
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="btn_wrap_pop btn_layout01" style="margin-top:10px;margin-bottom:10px;">
|
||||
<div class="btn_center" style="width: 100%;">
|
||||
<button type="button" class="btn_type04" onclick="fncRndsUpdate('${list.rndsOrd}'); return false;">수정</button>
|
||||
<button type="button" class="btn_type02" onclick="fncRndsDelete('${list.rndsOrd}'); return false;">삭제</button>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<script>
|
||||
$("#${list.rndsOrd}"+" #lctrPsblStrtTm").val('${list.dpStrtTm}');
|
||||
$("#${list.rndsOrd}"+" #lctrPsblEndTm").val('${list.dpDdlnTm}');
|
||||
</script>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</form:form>
|
||||
|
||||
@ -603,7 +403,7 @@
|
||||
<div class="btn_left">
|
||||
</div>
|
||||
<div class="btn_center" style="width: 100%;">
|
||||
<button type="button" class="btn_type04" onclick="fncAprooval(); return false;">확인</button>
|
||||
<button type="button" class="btn_type04" onclick="fncAprooval(); return false;">등록</button>
|
||||
<button type="button" class="btn_type02" onclick="window.close()">취소</button>
|
||||
</div>
|
||||
<div class="btn_right">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user