Merge branch 'advc' of http://yongjoon.cho@vcs.iten.co.kr:9999/hylee/offedu into advc
This commit is contained in:
commit
9c58044d6a
@ -389,6 +389,9 @@ public class EgovLoginController {
|
||||
* @return String
|
||||
* @exception Exception
|
||||
*/
|
||||
|
||||
/*231031.개발서버 selectbox 로그인용 임시
|
||||
메소드 삭제*/
|
||||
@RequestMapping(value = "/web/user/login/ssoDevLogin.do")
|
||||
public String ssoDevLogin(HttpServletRequest request, HttpServletResponse response, ModelMap model, @RequestParam Map<String, Object> commandMap, HttpSession session) throws Exception {
|
||||
|
||||
@ -774,6 +777,8 @@ public class EgovLoginController {
|
||||
|
||||
SsoLoginVO ssologinVO = new SsoLoginVO();
|
||||
|
||||
/*231031.개발서버 selectbox 로그인용 임시
|
||||
isDev 삭제 처리*/
|
||||
if ((ProfileUtil.isLocal() || ProfileUtil.isTLocal() || ProfileUtil.isDev()) && "Y".equals(loginVO.getIsSelect())) { //비 sso login
|
||||
|
||||
loginVO.setPassword("1");
|
||||
@ -953,35 +958,20 @@ public class EgovLoginController {
|
||||
System.out.println("==13==");
|
||||
// LoginVO세션에 사용자 정보 넣기
|
||||
resultVO.setMembSeq(ssologinVO.getMembSeq());
|
||||
System.out.println("==131==");
|
||||
resultVO.setMembId(ssologinVO.getMembId());
|
||||
System.out.println("==132==");
|
||||
resultVO.setMembName(ssologinVO.getMembName());
|
||||
System.out.println("==133==");
|
||||
resultVO.setMembSeq(ssologinVO.getMembSeq());
|
||||
System.out.println("==134==");
|
||||
resultVO.setMembCi(ssologinVO.getMembCi());
|
||||
System.out.println("==135==");
|
||||
resultVO.setMembEmail(ssologinVO.getMembEmail());
|
||||
System.out.println("==136==");
|
||||
resultVO.setMembCelnum(ssologinVO.getMembCelnum());
|
||||
System.out.println("==137==");
|
||||
resultVO.setMembBirth(ssologinVO.getMembBirth());
|
||||
System.out.println("==138==");
|
||||
resultVO.setMembSmsRecpYn(ssologinVO.getMembSmsRecpYn());
|
||||
System.out.println("==139==");
|
||||
resultVO.setMembEmailRecpYn(ssologinVO.getMembEmailRecpYn());
|
||||
System.out.println("==1311==");
|
||||
resultVO.setSexCode(ssologinVO.getSexCode());
|
||||
System.out.println("==1312==");
|
||||
resultVO.setDispsettMembDivisCode(ssologinVO.getDispsettMembDivisCode());
|
||||
System.out.println("==1313==");
|
||||
resultVO.setCorpnum(ssologinVO.getCorpnum());
|
||||
System.out.println("==1314==");
|
||||
resultVO.setBuisnRegnum(ssologinVO.getBuisnRegnum());
|
||||
System.out.println("==1315==");
|
||||
resultVO.setCompTitle(ssologinVO.getCompTitle());
|
||||
System.out.println("==1316==");
|
||||
|
||||
// 2. spring security 연동
|
||||
request.getSession().setAttribute("LoginVO", resultVO); // LoginVO세션 생성
|
||||
|
||||
@ -461,6 +461,15 @@ public class EduAplctAdultController {
|
||||
return modelAndView;
|
||||
}
|
||||
|
||||
/**
|
||||
* 교육소개 임시페이지
|
||||
*/
|
||||
@RequestMapping("eduInfo.do")
|
||||
public String eduInfo( @ModelAttribute("modelVO") VEPrcsDetailVO vEPrcsDetailVO , ModelMap model , HttpServletRequest request ) throws Exception {
|
||||
|
||||
return "/web/ve/aplct/adultVisitEdu/eduAplct/eduInfo";
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
//
|
||||
|
||||
@ -624,6 +624,16 @@ public class ExprnClsrmAplctController {
|
||||
}
|
||||
return modelAndView;
|
||||
}
|
||||
|
||||
/**
|
||||
* 교육소개 임시페이지
|
||||
*/
|
||||
@RequestMapping("eduInfo.do")
|
||||
public String eduInfo( @ModelAttribute("modelVO") VEPrcsDetailVO vEPrcsDetailVO , ModelMap model , HttpServletRequest request ) throws Exception {
|
||||
|
||||
return "/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/eduInfo";
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
//
|
||||
|
||||
@ -642,7 +642,16 @@ public class FndtnEnhanceTrnController {
|
||||
|
||||
return modelAndView;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 교육소개 임시페이지
|
||||
*/
|
||||
@RequestMapping("/web/ve/aplct/fndtnEnhanceTrn/eduInfo.do")
|
||||
public String eduInfo( @ModelAttribute("modelVO") VEPrcsDetailVO vEPrcsDetailVO , ModelMap model , HttpServletRequest request ) throws Exception {
|
||||
|
||||
return "/web/ve/aplct/fndtnEnhanceTrn/eduInfo";
|
||||
}
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
//
|
||||
|
||||
@ -640,7 +640,14 @@ public class SspnIdtmtController {
|
||||
return returnDate;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 교육소개 임시페이지
|
||||
*/
|
||||
@RequestMapping("/web/ve/aplct/sspnIdtmt/eduInfo.do")
|
||||
public String eduInfo( @ModelAttribute("modelVO") VEPrcsDetailVO vEPrcsDetailVO , ModelMap model , HttpServletRequest request ) throws Exception {
|
||||
|
||||
return "/web/ve/aplct/sspnIdtmt/eduInfo";
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
||||
@ -950,6 +950,15 @@ public class EduAplctTngrController {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 교육소개 임시페이지
|
||||
*/
|
||||
@RequestMapping("eduInfo.do")
|
||||
public String eduInfo( @ModelAttribute("modelVO") VEPrcsDetailVO vEPrcsDetailVO , ModelMap model , HttpServletRequest request ) throws Exception {
|
||||
|
||||
return "/web/ve/aplct/tngrVisitEdu/eduAplct/eduInfo";
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
//
|
||||
|
||||
@ -30,6 +30,7 @@ public class CndtnTrgtMngVO extends ComDefaultVO implements Serializable {
|
||||
private String post; // 우편주소
|
||||
|
||||
private String reqPnttm; // 의뢰일
|
||||
private String vntYear; // 사건년도
|
||||
private String vntNmbr; // 사건번호
|
||||
private String cmptntAthrt; // 관할청
|
||||
private String sex; // 성별
|
||||
@ -134,6 +135,12 @@ public class CndtnTrgtMngVO extends ComDefaultVO implements Serializable {
|
||||
public void setReqPnttm(String reqPnttm) {
|
||||
this.reqPnttm = reqPnttm;
|
||||
}
|
||||
public String getVntYear() {
|
||||
return vntYear;
|
||||
}
|
||||
public void setVntYear(String vntYear) {
|
||||
this.vntYear = vntYear;
|
||||
}
|
||||
public String getVntNmbr() {
|
||||
return vntNmbr;
|
||||
}
|
||||
|
||||
@ -519,6 +519,7 @@ public class CndtnPrcsInfoMngController {
|
||||
|
||||
|
||||
modelAndView.addObject("result", "success");
|
||||
modelAndView.addObject("prcsDivCd", vEPrcsDetailVODetail.getPrcsDiv());
|
||||
modelAndView.addObject("prcsDiv", cmmUseDAO.selectCmmCodeDetailValue(codeVO)
|
||||
.getCodeNm());
|
||||
|
||||
@ -1406,6 +1407,7 @@ public class CndtnPrcsInfoMngController {
|
||||
ComDefaultCodeVO codeVO = new ComDefaultCodeVO();
|
||||
codeVO.setCodeId("VEA001");//기관구분코드
|
||||
codeVO.setCode(vEPrcsDetailVOList.get(0).getPrcsDiv());
|
||||
model.addAttribute("prcsDiv", vEPrcsDetailVOList.get(0).getPrcsDiv());
|
||||
model.addAttribute("prcsDivNm", cmmUseDAO.selectCmmCodeDetailValue(codeVO).getCodeNm());
|
||||
|
||||
// 상세교육과정 내용 가져오는 영역
|
||||
@ -1479,6 +1481,14 @@ public class CndtnPrcsInfoMngController {
|
||||
|
||||
//과정 조회
|
||||
VEPrcsDetailVO vEPrcsDetailVODetail = vEPrcsAplctPrdService.selectDetailNewOne4Fndth(vEPrcsDetailVO);
|
||||
|
||||
|
||||
ComDefaultCodeVO codeVO = new ComDefaultCodeVO();
|
||||
codeVO.setCodeId("VEA001");//기관구분코드
|
||||
codeVO.setCode(vEPrcsDetailVODetail.getPrcsDiv());
|
||||
model.addAttribute("prcsDivNm", cmmUseDAO.selectCmmCodeDetailValue(codeVO).getCodeNm());
|
||||
|
||||
|
||||
model.addAttribute("info", vEPrcsDetailVODetail);
|
||||
|
||||
return "oprtn/cndtnSspnIdtmt/cndtnEduPrcsAplctPrdMngMdfy";
|
||||
|
||||
@ -83,7 +83,7 @@
|
||||
#cntFileFolder#,
|
||||
#cntCn#,
|
||||
#registerId#,
|
||||
now(),
|
||||
SYSDATE,
|
||||
'Y',
|
||||
(SELECT MENU_NO FROM CNT_MANAGE A
|
||||
WHERE A.CNT_ID = #cntId#
|
||||
@ -132,7 +132,7 @@
|
||||
A.CNTDT_ID cntDtId,
|
||||
A.CNT_NAME cntName,
|
||||
B.EMPLYR_ID registerId,
|
||||
DATE_FORMAT(A.REGIST_PNTTM , '%Y-%m-%d %T') registPnttm
|
||||
TO_CHAR(A.REGIST_PNTTM, 'YYYY-MM-DD HH24:MI:SS') AS registPnttm
|
||||
FROM CNT_MANAGE A INNER JOIN LETTNEMPLYRINFO B
|
||||
ON A.REGISTER_ID = B.ESNTL_ID
|
||||
WHERE 1=1
|
||||
|
||||
@ -28,6 +28,7 @@
|
||||
, post
|
||||
, email
|
||||
, req_pnttm
|
||||
, vnt_year
|
||||
, vnt_nmbr
|
||||
, cmptnt_athrt
|
||||
, sex
|
||||
@ -54,6 +55,7 @@
|
||||
, a.post AS post
|
||||
, a.email AS email
|
||||
, a.req_pnttm AS reqPnttm
|
||||
, a.vnt_year AS vntYear
|
||||
, a.vnt_nmbr AS vntNmbr
|
||||
, a.cmptnt_athrt AS cmptntAthrt
|
||||
, a.sex AS sex
|
||||
@ -84,6 +86,7 @@
|
||||
, #post#
|
||||
, #email#
|
||||
, #reqPnttm#
|
||||
, #vntYear#
|
||||
, #vntNmbr#
|
||||
, #cmptntAthrt#
|
||||
, #sex#
|
||||
@ -94,6 +97,7 @@
|
||||
</insert>
|
||||
|
||||
<select id="cndtnTrgtInfoMngDAO.selectDetail" parameterClass="CndtnPrcsInfoMngVO" resultClass="CndtnPrcsInfoMngVO">
|
||||
/* cndtnTrgtInfoMngDAO.selectDetail */
|
||||
SELECT
|
||||
<include refid="CndtnTrgtInfoMngDAO.select_column_name"/>
|
||||
FROM
|
||||
@ -121,6 +125,7 @@
|
||||
, post = #post#
|
||||
, email = #email#
|
||||
, req_pnttm = #reqPnttm#
|
||||
, vnt_year = #vntYear#
|
||||
, vnt_nmbr = #vntNmbr#
|
||||
, cmptnt_athrt = #cmptntAthrt#
|
||||
, sex = #sex#
|
||||
@ -178,6 +183,7 @@
|
||||
<isNotEmpty property="searchSmbtEndDt">
|
||||
AND TO_CHAR(A.FRST_REGIST_PNTTM, 'YYYYMMDD') <![CDATA[ <= ]]> REPLACE(#searchSmbtEndDt#, '.' , '')
|
||||
</isNotEmpty>
|
||||
ORDER BY a.frst_regist_pnttm desc
|
||||
OFFSET #firstIndex# ROWS FETCH NEXT #recordCountPerPage# ROWS ONLY;
|
||||
|
||||
</select>
|
||||
|
||||
@ -79,7 +79,7 @@
|
||||
|
||||
<!-- 강사 등록 C -->
|
||||
<insert id="VEPrcsAplctPrdDAO.insert" parameterClass="VEPrcsDetailVO">
|
||||
|
||||
/* VEPrcsAplctPrdDAO.insert */
|
||||
INSERT INTO <include refid="VEPrcsAplctPrdDAO.table_name"/> (
|
||||
<include refid="VEPrcsAplctPrdDAO.column_name"/>
|
||||
|
||||
|
||||
1
src/main/webapp/WEB-INF/jsp/cnt/CNT_000000000002.jsp
Normal file
1
src/main/webapp/WEB-INF/jsp/cnt/CNT_000000000002.jsp
Normal file
@ -0,0 +1 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>교육소개 임시 페이지입니다.
|
||||
@ -293,16 +293,18 @@
|
||||
<c:out value="${info.strtPnttm}"/>~<c:out value="${info.endPnttm}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">교육장소</th>
|
||||
<td class="addPro_wrap">
|
||||
<c:out value="${info.eduPlace}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<c:if test="${info.prcsDiv eq 10}">
|
||||
<tr>
|
||||
<th scope="row">교육장소</th>
|
||||
<td class="addPro_wrap">
|
||||
<c:out value="${info.eduPlace}"/>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
<tr>
|
||||
<th scope="row">교육기간</th>
|
||||
<td>
|
||||
<c:out value="${info.eduStrtPnttm}"/>~<c:out value="${info.eduDdlnPnttm}"/>
|
||||
<c:out value="${info.eduStrtPnttm}"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@ -260,7 +260,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>NO</th>
|
||||
<th>교육구분코드</th>
|
||||
<th>대면구분</th>
|
||||
<th>과정명</th>
|
||||
<th>신청기간</th>
|
||||
<th>교육기간</th>
|
||||
|
||||
@ -30,6 +30,61 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<script type="text/javascript">
|
||||
//세부과정 추가 버튼 클릭 시 세부과정 추가
|
||||
|
||||
|
||||
|
||||
$(document).ready(function(){
|
||||
|
||||
$('#prcsOrd').change(function(){
|
||||
fnSelectDivAndCn($(this).val());
|
||||
});
|
||||
|
||||
var prcsDiv = "<c:out value='${info.prcsDiv }' />";
|
||||
prcsDivChk(prcsDiv)
|
||||
});
|
||||
|
||||
/*
|
||||
* prcsDivChk
|
||||
* 10:대면 20:비대면
|
||||
* 10:대면 20:비대면
|
||||
* */
|
||||
function prcsDivChk(prcsDiv){
|
||||
if(prcsDiv==10){
|
||||
$('#tr_eduPlace').show();
|
||||
}else{
|
||||
$('#tr_eduPlace').hide();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
// div codeNm 가져오는 function
|
||||
function fnSelectDivAndCn(prcsOrdVal){
|
||||
|
||||
var url = "${pageContext.request.contextPath}/kccadr/oprtn/cndtnSspnIdtmt/cndtnEduPrcsAplctSelectDivAndCnAjax.do";
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
url: url,
|
||||
data:{ "prcsOrd" : prcsOrdVal},
|
||||
dataType:'json',
|
||||
async: false,
|
||||
success:function(returnData){
|
||||
if(returnData.result == "success"){
|
||||
// 대면인지 비대면인지
|
||||
var prcsDiv = returnData.prcsDivCd;
|
||||
prcsDivChk(prcsDiv);
|
||||
$('#prcsDiv').val(returnData.prcsDiv);
|
||||
$('#prcsCn').val(returnData.prcsCn);
|
||||
}
|
||||
},
|
||||
error:function(request , status, error){
|
||||
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
function addPro() {
|
||||
var addQuest = $(".addPro_wrap");
|
||||
var questLen = addQuest.children("div").length;
|
||||
@ -175,7 +230,8 @@
|
||||
<tr>
|
||||
<th scope="row">교육부분</th>
|
||||
<td>
|
||||
<ve:select codeId="VEA001" name="prcsDiv" id="prcsDiv" css="class='sel_type1'" selectedValue="${info.prcsDiv}"/>
|
||||
<input type="text" name="prcsDiv" id="prcsDiv" readonly="readonly" value="${prcsDivNm }"/>
|
||||
<%-- <ve:select codeId="VEA001" name="prcsDiv" id="prcsDiv" css="class='sel_type1'" selectedValue="${info.prcsDiv}"/> --%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -186,16 +242,31 @@
|
||||
<select name="prcsOrd" id="prcsOrd" class="sel_type1">
|
||||
|
||||
<c:forEach var="listPrcs" items="${listPrcs}" varStatus="status">
|
||||
<option value='<c:out value="${listPrcs.prcsOrd}"/>'
|
||||
<c:if test="${listPrcs.prcsOrd eq info.prcsOrd}"> selected</c:if>
|
||||
><c:out value="${listPrcs.prcsOrd}"/>_<c:out value="${listPrcs.prcsNm}"/></option>
|
||||
<option value='<c:out value="${listPrcs.prcsOrd}"/>'<c:if test="${listPrcs.prcsOrd eq info.prcsOrd}"> selected</c:if>><c:out value="${listPrcs.prcsOrd}"/>_<c:out value="${listPrcs.prcsNm}"/></option>
|
||||
</c:forEach>
|
||||
|
||||
</select>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th scope="row">교육기간</th>
|
||||
<td>
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="시작일 선택" id="eduStrtPnttm" name="eduStrtPnttm" value="${info.eduStrtPnttm}">
|
||||
</div>
|
||||
<%-- ~
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="종료일 선택" id="eduDdlnPnttm" name="eduDdlnPnttm" value="${info.eduDdlnPnttm}">
|
||||
</div> --%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="tr_eduPlace">
|
||||
<th scope="row">교육장소</th>
|
||||
<td class="addPro_wrap">
|
||||
<input type="text" name="eduPlace" id="eduPlace" value="${info.eduPlace}" >
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">신청기간</th>
|
||||
<td>
|
||||
@ -209,26 +280,6 @@
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">교육장소</th>
|
||||
<td class="addPro_wrap">
|
||||
<input type="text" name="eduPlace" id="eduPlace" value="${info.eduPlace}" >
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">교육기간</th>
|
||||
<td>
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="시작일 선택" id="eduStrtPnttm" name="eduStrtPnttm" value="${info.eduStrtPnttm}">
|
||||
</div>
|
||||
~
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="종료일 선택" id="eduDdlnPnttm" name="eduDdlnPnttm" value="${info.eduDdlnPnttm}">
|
||||
</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th scope="row">상세교육과정</th>
|
||||
<td>
|
||||
|
||||
@ -46,83 +46,32 @@
|
||||
}
|
||||
});
|
||||
|
||||
var prcsDiv = "<c:out value='${prcsDiv }' />";
|
||||
prcsDivChk(prcsDiv)
|
||||
});
|
||||
|
||||
|
||||
//세부과정 추가 버튼 클릭 시 세부과정 추가
|
||||
function addPro() {
|
||||
var addQuest = $(".addPro_wrap");
|
||||
var questLen = addQuest.children("div").length;
|
||||
questLen = Number(questLen+1);
|
||||
var trHtml="";
|
||||
|
||||
trHtml += '<div class="tbody_one">';
|
||||
trHtml += '<span><span class="span_num3">'+ questLen +'</span>.</span>';
|
||||
trHtml += '<div>';
|
||||
trHtml += '<input type="text" name="detailPrcsNm" id="detailPrcsNm"> ';
|
||||
trHtml += '<button type="button" class="table_del3" onclick="delPro(this)"><img src="${pageContext.request.contextPath}/visitEdu/adm/publish/image/content/btn_del.png"></button>';
|
||||
trHtml += '</div>';
|
||||
trHtml += '</div>';
|
||||
|
||||
/*
|
||||
* prcsDivChk
|
||||
* 10:대면 20:비대면
|
||||
* 10:대면 20:비대면
|
||||
* */
|
||||
function prcsDivChk(prcsDiv){
|
||||
if(prcsDiv==10){
|
||||
$('#tr_eduPlace').show();
|
||||
}else{
|
||||
$('#tr_eduPlace').hide();
|
||||
}
|
||||
|
||||
addQuest.append(trHtml);
|
||||
}
|
||||
|
||||
//삭제 버튼 클릭 시 현재 div 삭제 후 지문 숫자 재선언
|
||||
function delPro(item) {
|
||||
var bodyThis = $(item).closest('.tbody_one');
|
||||
var tb = $(item).closest('.addPro_wrap').find('.tbody_one');
|
||||
var len = $(item).closest('.addPro_wrap').children('.tbody_one').length;
|
||||
var idx = bodyThis.index();
|
||||
|
||||
if(len == 1){
|
||||
alert("세부과정은 최소1개가 존재해야합니다.");
|
||||
return false;
|
||||
}else{
|
||||
bodyThis.remove();
|
||||
|
||||
for(var i=0;i<len;i++){
|
||||
if(idx>i){
|
||||
tb.eq(i).find('.span_num3').text(i+1);
|
||||
}else{
|
||||
tb.eq(i).find('.span_num3').text(i);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function fncAddUser(){
|
||||
var obj = $(".memList:first").clone(true);
|
||||
obj.children('input').val('')
|
||||
/*
|
||||
var len = $(".memList").length;
|
||||
$.each(obj.find("input"), function(idx, objInput){
|
||||
objInput.name = objInput.name.replace(/\[.*\]/,'['+(len+1)+']');
|
||||
console.log(objInput.name);
|
||||
if(objInput.name.indexOf("memGrade") < 0){
|
||||
objInput.value = '';
|
||||
}
|
||||
});
|
||||
obj.find("button").attr("id", obj.find("button").attr("id").replace(/[0-9]/gi, len+2));
|
||||
obj.find("tr:last > td").text("");
|
||||
*/
|
||||
$(".memList:last").after(obj);
|
||||
}
|
||||
|
||||
function fncDelUser(obj){
|
||||
if($(".memList").length <= 1){
|
||||
alert("담당자은 최소1개가 존재해야합니다.");
|
||||
}else{
|
||||
$(obj).closest("td").remove();
|
||||
}
|
||||
}
|
||||
|
||||
function fncSave(){
|
||||
|
||||
var data = new FormData(document.getElementById("createForm"));
|
||||
if(confirm("저장하시겠습니까?")){
|
||||
var url = "${pageContext.request.contextPath}/kccadr/oprtn/cndtnSspnIdtmt/cndtnEduPrcsAplctPrdMngRegAjax.do";
|
||||
console.log(data);
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
url: url,
|
||||
@ -158,6 +107,9 @@
|
||||
async: false,
|
||||
success:function(returnData){
|
||||
if(returnData.result == "success"){
|
||||
// 대면인지 비대면인지
|
||||
var prcsDiv = returnData.prcsDivCd;
|
||||
prcsDivChk(prcsDiv);
|
||||
$('#prcsDiv').val(returnData.prcsDiv);
|
||||
$('#prcsCn').val(returnData.prcsCn);
|
||||
}
|
||||
@ -214,7 +166,7 @@
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">교육부분코드</th>
|
||||
<th scope="row">대면구분</th>
|
||||
<td>
|
||||
<input type="text" name="prcsDiv" id="prcsDiv" readonly="readonly" value="${prcsDivNm }"/>
|
||||
</td>
|
||||
@ -237,16 +189,15 @@
|
||||
<th scope="row">교육기간</th>
|
||||
<td>
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="시작일 선택" id="eduStrtPnttm" name="eduStrtPnttm" value="${vEEduAplctVO.strtPnttm}">
|
||||
<input type="text" class="calendar" title="교육일 선택" id="eduStrtPnttm" name="eduStrtPnttm" />
|
||||
</div>
|
||||
~
|
||||
<%-- ~
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="종료일 선택" id="eduDdlnPnttm" name="eduDdlnPnttm" value="${vEEduAplctVO.endPnttm}">
|
||||
</div>
|
||||
|
||||
<input type="text" class="calendar" title="종료일 선택" id="endPnttm" name="endPnttm" value="${vEEduAplctVO.endPnttm}">
|
||||
</div> --%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr id="tr_eduPlace">
|
||||
<th scope="row">교육장소</th>
|
||||
<td class="addPro_wrap">
|
||||
<input type="text" name="eduPlace" id="eduPlace" value="${vEEduAplctVO.eduPlace}" >
|
||||
@ -265,7 +216,6 @@
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th scope="row">상세교육과정</th>
|
||||
<td>
|
||||
|
||||
@ -220,7 +220,7 @@
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>교육부문</th>
|
||||
<th>대면구분</th>
|
||||
<th>과정명</th>
|
||||
<th>설명</th>
|
||||
<th>등록일시</th>
|
||||
|
||||
@ -172,7 +172,7 @@
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">교육부문</th>
|
||||
<th scope="row">대면구분</th>
|
||||
<td colspan="3" style="position: relative;">
|
||||
<ve:select codeId="VEA001" name="prcsDiv" id="prcsDiv" css="class='sel_type1'"
|
||||
selectedValue="${info.prcsDiv }" defaultValue=''
|
||||
|
||||
@ -172,7 +172,7 @@
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">교육부문</th>
|
||||
<th scope="row">대면구분</th>
|
||||
<td colspan="3" style="position: relative;">
|
||||
<ve:select codeId="VEA001" name="prcsDiv" id="prcsDiv" css="class='sel_type1'"
|
||||
selectedValue="" defaultValue=''
|
||||
|
||||
@ -101,7 +101,7 @@
|
||||
<tr>
|
||||
<th scope="row">사건번호</th>
|
||||
<td>
|
||||
<c:out value="${info.vntNmbr }" />
|
||||
<c:out value="${info.vntYear }" />형제<c:out value="${info.vntNmbr }" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@ -300,7 +300,7 @@
|
||||
<c:out value="${reqPnttm }" />
|
||||
</td>
|
||||
<td>
|
||||
<c:out value="${list.vntNmbr }" />
|
||||
<c:out value="${list.vntYear }" />형제<c:out value="${list.vntNmbr }" />
|
||||
</td>
|
||||
<td>
|
||||
<c:out value="${list.cmptntAthrt }" />
|
||||
|
||||
@ -274,7 +274,8 @@
|
||||
<tr>
|
||||
<th scope="row">사건번호</th>
|
||||
<td>
|
||||
<input type="text" name="vntNmbr" value="<c:out value="${info.vntNmbr }" />" />
|
||||
<input type="text" name="vntYear" style="width: 150px;margin-right: 10px;" value="<c:out value="${info.vntYear }" />"/>형제
|
||||
<input type="text" name="vntNmbr" style="width: 150px;margin-left: 10px;" value="<c:out value="${info.vntNmbr }" />"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@ -92,6 +92,13 @@
|
||||
return true;
|
||||
}
|
||||
|
||||
// 사건번호 검사
|
||||
if($("input[name='vntYear']").val().trim() == ""){
|
||||
alert("사건번호를 입력해주세요.");
|
||||
$("input[name='vntYear']").focus();
|
||||
return true;
|
||||
}
|
||||
|
||||
// 사건번호 검사
|
||||
if($("input[name='vntNmbr']").val().trim() == ""){
|
||||
alert("사건번호를 입력해주세요.");
|
||||
@ -134,11 +141,11 @@
|
||||
}
|
||||
|
||||
// 의뢰상태 검사
|
||||
if($("#reqStateCd").val().trim() == ""){
|
||||
/* if($("#reqStateCd").val().trim() == ""){
|
||||
alert("의뢰상태를 입력해주세요.");
|
||||
$("input[name='reqStateCd']").focus();
|
||||
return true;
|
||||
}
|
||||
} */
|
||||
|
||||
// 교육상태 검사
|
||||
/* if($("input[name='eduStateCd']").val().trim() == ""){
|
||||
@ -225,7 +232,8 @@
|
||||
<tr>
|
||||
<th scope="row">사건번호</th>
|
||||
<td>
|
||||
<input type="text" name="vntNmbr" />
|
||||
<input type="text" name="vntYear" style="width: 150px;margin-right: 10px;"/>형제
|
||||
<input type="text" name="vntNmbr" style="width: 150px;margin-left: 10px;" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -280,10 +288,12 @@
|
||||
<tr>
|
||||
<th scope="row">교육상태</th>
|
||||
<td>
|
||||
<ve:select codeId="VEA002" name="eduStateCd" id="eduStateCd" css="class='sel_type1'"
|
||||
교육대기
|
||||
<input type="hidden" name="eduStateCd" id="eduStateCd" value="10"/>
|
||||
<%-- <ve:select codeId="VEA002" name="eduStateCd" id="eduStateCd" css="class='sel_type1'"
|
||||
selectedText="" defaultValue=""
|
||||
defaultText='선택'
|
||||
/>
|
||||
/> --%>
|
||||
</td>
|
||||
<th scope="row">검사명</th>
|
||||
<td>
|
||||
|
||||
@ -203,6 +203,8 @@ function usrJoin(){
|
||||
</c:if>
|
||||
<!-- dev -->
|
||||
<c:if test="${environment eq 'dev' }">
|
||||
<!-- 231031.개발서버 selectbox 로그인용 임시 -->
|
||||
<!-- 개발로그인 버튼 삭제 처리 -->
|
||||
<p class="login_info header_login_wrap"><a href="${pageContext.request.contextPath}/web/user/login/ssoDevLogin.do" class="header_login"><i></i>개발로그인</a></p>
|
||||
<p class="login_info header_login_wrap"><a href="http://223.255.205.7/user/member/loginForm.do?eduOff=Y" class="header_login"><i></i>로그인</a></p> <!-- e-배움터 개발서버 -->
|
||||
<p class="login_info"><a href="http://223.255.205.7/user/usrservice/selectUserSeView.do?eduOff=Y" class="header_join" title="새창열림"><i></i>회원가입</a></p> <!-- e-배움터 개발서버 -->
|
||||
|
||||
@ -0,0 +1,47 @@
|
||||
<%--
|
||||
|
||||
Class Name : eduAplctReg.jsp
|
||||
Description : 교육신청등록
|
||||
Modification Information
|
||||
|
||||
수정일 수정자 수정내용
|
||||
------- -------- ---------------------------
|
||||
2021.12.02 조용준 내용
|
||||
|
||||
author : 조용준
|
||||
since : 2021.12.02
|
||||
|
||||
--%>
|
||||
<%@ 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="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<%@ taglib prefix="un" uri="http://jakarta.apache.org/taglibs/unstandard-1.0" %>
|
||||
<un:useConstants var="VeConstants" className="kcc.ve.cmm.VeConstants" />
|
||||
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<style>
|
||||
input:disabled {
|
||||
background-color: #f9f9f9 !important;
|
||||
}
|
||||
input:read-only {
|
||||
background-color: #f9f9f9 !important;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javaScript" language="javascript">
|
||||
</script>
|
||||
<div class="mask2" onclick="timeLayerUtil()"></div>
|
||||
<div class="cont_wrap" id="sub">
|
||||
|
||||
<div class="cont_tit">
|
||||
<h2>교육소개</h2>
|
||||
</div>
|
||||
|
||||
<div class="tb_tit01">
|
||||
찾아가는교육 성인 교육소개 임시 페이지입니다.
|
||||
</div>
|
||||
</div>
|
||||
@ -0,0 +1,47 @@
|
||||
<%--
|
||||
|
||||
Class Name : eduAplctReg.jsp
|
||||
Description : 교육신청등록
|
||||
Modification Information
|
||||
|
||||
수정일 수정자 수정내용
|
||||
------- -------- ---------------------------
|
||||
2021.12.02 조용준 내용
|
||||
|
||||
author : 조용준
|
||||
since : 2021.12.02
|
||||
|
||||
--%>
|
||||
<%@ 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="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<%@ taglib prefix="un" uri="http://jakarta.apache.org/taglibs/unstandard-1.0" %>
|
||||
<un:useConstants var="VeConstants" className="kcc.ve.cmm.VeConstants" />
|
||||
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<style>
|
||||
input:disabled {
|
||||
background-color: #f9f9f9 !important;
|
||||
}
|
||||
input:read-only {
|
||||
background-color: #f9f9f9 !important;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javaScript" language="javascript">
|
||||
</script>
|
||||
<div class="mask2" onclick="timeLayerUtil()"></div>
|
||||
<div class="cont_wrap" id="sub">
|
||||
|
||||
<div class="cont_tit">
|
||||
<h2>교육소개</h2>
|
||||
</div>
|
||||
|
||||
<div class="tb_tit01">
|
||||
체험교실 교육소개 임시 페이지입니다.
|
||||
</div>
|
||||
</div>
|
||||
@ -0,0 +1,47 @@
|
||||
<%--
|
||||
|
||||
Class Name : eduAplctReg.jsp
|
||||
Description : 교육신청등록
|
||||
Modification Information
|
||||
|
||||
수정일 수정자 수정내용
|
||||
------- -------- ---------------------------
|
||||
2021.12.02 조용준 내용
|
||||
|
||||
author : 조용준
|
||||
since : 2021.12.02
|
||||
|
||||
--%>
|
||||
<%@ 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="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<%@ taglib prefix="un" uri="http://jakarta.apache.org/taglibs/unstandard-1.0" %>
|
||||
<un:useConstants var="VeConstants" className="kcc.ve.cmm.VeConstants" />
|
||||
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<style>
|
||||
input:disabled {
|
||||
background-color: #f9f9f9 !important;
|
||||
}
|
||||
input:read-only {
|
||||
background-color: #f9f9f9 !important;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javaScript" language="javascript">
|
||||
</script>
|
||||
<div class="mask2" onclick="timeLayerUtil()"></div>
|
||||
<div class="cont_wrap" id="sub">
|
||||
|
||||
<div class="cont_tit">
|
||||
<h2>교육소개</h2>
|
||||
</div>
|
||||
|
||||
<div class="tb_tit01">
|
||||
실무역량강화 교육 교육소개 임시 페이지입니다.
|
||||
</div>
|
||||
</div>
|
||||
@ -0,0 +1,47 @@
|
||||
<%--
|
||||
|
||||
Class Name : eduAplctReg.jsp
|
||||
Description : 교육신청등록
|
||||
Modification Information
|
||||
|
||||
수정일 수정자 수정내용
|
||||
------- -------- ---------------------------
|
||||
2021.12.02 조용준 내용
|
||||
|
||||
author : 조용준
|
||||
since : 2021.12.02
|
||||
|
||||
--%>
|
||||
<%@ 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="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<%@ taglib prefix="un" uri="http://jakarta.apache.org/taglibs/unstandard-1.0" %>
|
||||
<un:useConstants var="VeConstants" className="kcc.ve.cmm.VeConstants" />
|
||||
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<style>
|
||||
input:disabled {
|
||||
background-color: #f9f9f9 !important;
|
||||
}
|
||||
input:read-only {
|
||||
background-color: #f9f9f9 !important;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javaScript" language="javascript">
|
||||
</script>
|
||||
<div class="mask2" onclick="timeLayerUtil()"></div>
|
||||
<div class="cont_wrap" id="sub">
|
||||
|
||||
<div class="cont_tit">
|
||||
<h2>교육소개</h2>
|
||||
</div>
|
||||
|
||||
<div class="tb_tit01">
|
||||
기소유예교육 교육소개 임시 페이지입니다.
|
||||
</div>
|
||||
</div>
|
||||
@ -0,0 +1,47 @@
|
||||
<%--
|
||||
|
||||
Class Name : eduAplctReg.jsp
|
||||
Description : 교육신청등록
|
||||
Modification Information
|
||||
|
||||
수정일 수정자 수정내용
|
||||
------- -------- ---------------------------
|
||||
2021.12.02 조용준 내용
|
||||
|
||||
author : 조용준
|
||||
since : 2021.12.02
|
||||
|
||||
--%>
|
||||
<%@ 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="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<%@ taglib prefix="un" uri="http://jakarta.apache.org/taglibs/unstandard-1.0" %>
|
||||
<un:useConstants var="VeConstants" className="kcc.ve.cmm.VeConstants" />
|
||||
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<style>
|
||||
input:disabled {
|
||||
background-color: #f9f9f9 !important;
|
||||
}
|
||||
input:read-only {
|
||||
background-color: #f9f9f9 !important;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javaScript" language="javascript">
|
||||
</script>
|
||||
<div class="mask2" onclick="timeLayerUtil()"></div>
|
||||
<div class="cont_wrap" id="sub">
|
||||
|
||||
<div class="cont_tit">
|
||||
<h2>교육소개</h2>
|
||||
</div>
|
||||
|
||||
<div class="tb_tit01">
|
||||
찾아가는교육 청소년 교육소개 임시 페이지입니다.
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Reference in New Issue
Block a user