This commit is contained in:
myname 2024-01-16 12:36:58 +09:00
commit 354b9b2906
15 changed files with 466 additions and 429 deletions

View File

@ -496,8 +496,29 @@
#registerId#
)
</insert>
<update id="PopupzoneManage.resetSort" parameterClass="popupzoneVO">
MERGE INTO POPUPZONE A
USING (
SELECT
ROW_NUMBER() OVER (ORDER BY SORT,
<isEqual property="sortOver" compareValue="A">
MODDT ASC
</isEqual>
<isEqual property="sortOver" compareValue="D">
MODDT DESC
</isEqual>
) AS SORT1,
POZ_ID
FROM
POPUPZONE
WHERE
1 = 1
) B
ON (A.POZ_ID = B.POZ_ID)
WHEN MATCHED THEN
UPDATE SET A.SORT = B.SORT1;
</update>
<!-- <update id="PopupzoneManage.resetSort" parameterClass="popupzoneVO">
UPDATE POPUPZONE A ,
(SELECT ROW_NUMBER() OVER(ORDER BY SORT
<isEqual property="sortOver" compareValue="A">
@ -512,7 +533,7 @@
) B
SET A.SORT = B.SORT1
WHERE A.POZ_ID = B.POZ_ID
</update>
</update> -->
<!-- 매인이미지 관리자 리스트 -->
@ -723,8 +744,32 @@
AND SITE_ID = #searchConditionSite#
</isNotEmpty>
</select>
<update id="PopupzoneManage.resetVOSort" parameterClass="popupzoneVO">
MERGE INTO POPUPZONE A
USING (
SELECT
ROW_NUMBER() OVER (ORDER BY SORT,
<isEqual property="sortOver" compareValue="A">
MODDT ASC
</isEqual>
<isEqual property="sortOver" compareValue="D">
MODDT DESC
</isEqual>
) AS SORT1,
POZ_ID
FROM
POPUPZONE
WHERE
1 = 1
<isNotEmpty property="seCd">
AND SE_CD = #seCd#
</isNotEmpty>
) B
ON (A.POZ_ID = B.POZ_ID)
WHEN MATCHED THEN
UPDATE SET A.SORT = B.SORT1;
</update>
<!-- <update id="PopupzoneManage.resetVOSort" parameterClass="popupzoneVO">
UPDATE POPUPZONE A ,
(SELECT ROW_NUMBER() OVER(ORDER BY SORT
<isEqual property="sortOver" compareValue="A">
@ -742,7 +787,7 @@
) B
SET A.SORT = B.SORT1
WHERE A.POZ_ID = B.POZ_ID
</update>
</update> -->
<update id="MainzoneManage.resetMainVOSort" parameterClass="mainzoneVO">
UPDATE MAINZONE A ,

View File

@ -280,10 +280,10 @@
<p>생년월일</p>
</th>
<td>
<c:if test="${not empty info.dBirth}">
<c:set var="birthYear" value="${fn:substring(info.dBirth, 0, 4)}"/>
<c:set var="birthMonth" value="${fn:substring(info.dBirth, 4, 6)}"/>
<c:set var="birthDay" value="${fn:substring(info.dBirth, 6, 8)}"/>
<c:if test="${not empty info.DBirth}">
<c:set var="birthYear" value="${fn:substring(info.DBirth, 0, 4)}"/>
<c:set var="birthMonth" value="${fn:substring(info.DBirth, 4, 6)}"/>
<c:set var="birthDay" value="${fn:substring(info.DBirth, 6, 8)}"/>
</c:if>
${birthYear}년 ${birthMonth}월 ${birthDay}일
</td>
@ -312,68 +312,69 @@
</tbody>
</table>
</div>
<!-- 운영계획 -->
<!-- 231130 운영계획 - 고객 요청으로 서류제출 단계로 이동 -->
<%-- <div class="tb_tit01">
<div class="tb_tit01">
<p>운영 계획</p>
</div>
<div class="tb_type02">
<table>
<colgroup>
<col style="width: 210px;">
<col style="width: auto;">
<col style="width: 210px;">
<col style="width: auto;">
<col style="width: 20%;">
<col style="width: 30%;">
<col style="width: 20%;">
<col style="width: 30%;">
</colgroup>
<tbody>
<tr>
<th scope="row">
<p>대상학년/반</p>
<p>교육대상</p>
</th>
<td>${info.trgtGrade}</td>
<td><c:out value="${info.trgtGrade}" /></td>
<th scope="row">
<p>대상반</p>
<p>교육인원</p>
</th>
<td>${info.trgtClsrm}</td>
<td><c:out value="${info.trgtPrsnl}" /></td>
</tr>
<tr>
<th scope="row">
<p>대상학생수</p>
</th>
<td>${info.trgtPrsnl}</td>
<th scope="row">
<p>필요 교재 수량</p>
</th>
<td>${info.needTxtbNum}</td>
<td colspan="3"><c:out value="${info.needTxtbNum}" /></td>
</tr>
<tr>
<th scope="row">
<p>운영시기</p>
</th>
<td colspan="3">
<fmt:parseDate value="${info.oprtnStrtDt}" var="oprtnStrtDt" pattern="yyyyMMdd"/>
<c:out value="${info.oprtnStrtDt}" />
~
<c:out value="${info.oprtnEndDt}" />
<%-- <fmt:parseDate value="${info.oprtnStrtDt}" var="oprtnStrtDt" pattern="yyyyMMdd"/>
<fmt:formatDate value="${oprtnStrtDt}" pattern="yyyy.MM.dd"/>
~
<fmt:parseDate value="${info.oprtnEndDt}" var="oprtnEndDt" pattern="yyyyMMdd"/>
<fmt:formatDate value="${oprtnEndDt}" pattern="yyyy.MM.dd"/>
<fmt:formatDate value="${oprtnEndDt}" pattern="yyyy.MM.dd"/> --%>
</td>
</tr>
<tr>
<%-- <tr>
<th scope="row">
<p>첨부파일</p>
<p>계획서 파일</p>
</th>
<td class="file_download" colspan="3">
<c:import url="/cmm/fms/selectForNmChgFile.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${info.oprtnFileId}" />
<c:param name="chgNm" value="${info.scholInsttNm}_${info.chrgNm}_신청서" />
</c:import>
<td class="file_download">
<c:if test="${info.planAtchFileId ne null}">
<c:import url="/cmm/fms/selectRsltRprtFile.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${info.planAtchFileId}" />
</c:import>
</c:if>
<!-- <a href="#none" title="다운로드">신분증_사본.jpg</a>
<a href="#none" title="다운로드">통장_사본.jpg</a> -->
</td>
</tr>
</tr> --%>
</tbody>
</table>
</div> --%>
</div>
<!-- 운영계획 -->
<div class="tb_tit01">

View File

@ -300,8 +300,8 @@
}
}
/* if($('#trgtGrade').val() == ''){
alert('학년수를 입력해주세요.');
if($('#trgtGrade').val() == ''){
alert('대상학년/반을 입력해주세요.');
$("#trgtGrade").focus();
return false;
}
@ -352,12 +352,17 @@
alert('시작일 오늘 이후의 날짜로 입력해주세요.');
return flag = false;
}
if($(".uploaded_obj").length == 0){
if($('#needTxtbNum').val() == ''){
alert('필요 교재 수량을 입력해주세요.');
$("#needTxtbNum").focus();
return false;
}
/*if($(".uploaded_obj").length == 0){
alert("파일을 첨부해 주세요.");
return false;
} */
}
/* if($("#agree1").length > 0 && !$('#agree1').prop('checked')){
if($("#agree1").length > 0 && !$('#agree1').prop('checked')){
alert('개인정보 이용 약관에 동의해주세요.');
return false;
} */
@ -674,10 +679,10 @@
<p>생년월일</p>
</th>
<td colspan="3">
<c:if test="${not empty info.dBirth}">
<c:set var="birthYear" value="${fn:substring(info.dBirth, 0, 4)}"/>
<c:set var="birthMonth" value="${fn:substring(info.dBirth, 4, 6)}"/>
<c:set var="birthDay" value="${fn:substring(info.dBirth, 6, 8)}"/>
<c:if test="${not empty info.DBirth}">
<c:set var="birthYear" value="${fn:substring(info.DBirth, 0, 4)}"/>
<c:set var="birthMonth" value="${fn:substring(info.DBirth, 4, 6)}"/>
<c:set var="birthDay" value="${fn:substring(info.DBirth, 6, 8)}"/>
</c:if>
<label for="birthYear" class="label">년도 선택</label>
<select name="birthYear" id="birthYear" class="selType1 birthYear" selectValue="${birthYear}"></select>
@ -723,8 +728,8 @@
</table>
</div>
<!-- 231130 운영계획 - 고객 요청으로 서류제출 단계로 이동 -->
<%-- <div class="tb_tit01">
<div class="tb_tit01">
<p>운영계획</p>
</div>
<div class="tb_type02 wirte">
@ -736,42 +741,23 @@
<tr>
<th scope="row">
<p class="req_text"><span>필수입력 항목</span>*</p>
<p>학년수 </p>
<p>대상학년/반 </p>
</th>
<td colspan="3">
<label for="trgtGrade" class="label">대상 학년 입력</label>
<input type="text" name="trgtGrade" id="trgtGrade" onkeyup="onlyNumber(this);" maxlength="3" value="${info.trgtGrade}" size="20"> 학년
<input type="text" name="trgtGrade" id="trgtGrade" maxlength="20" value="${info.trgtGrade}" size="20">
</td>
</tr>
<tr>
<th scope="row">
<p class="req_text"><span>필수입력 항목</span>*</p>
<p>대상 반</p>
</th>
<td colspan="3">
<label for="trgtClsrm" class="label">대상 반 입력</label>
<input type="text" name="trgtClsrm" id="trgtClsrm" value="${info.trgtClsrm}" title="교육인원" size="20"> 반
</td>
</tr>
<tr>
<th scope="row">
<p class="req_text"><span>필수입력 항목</span>*</p>
<p>학생수</p>
<p>전체학생 수</p>
</th>
<td colspan="3">
<label for="trgtPrsnl" class="label">학생 수 입력</label>
<input type="text" name="trgtPrsnl" id="trgtPrsnl" onkeyup="onlyNumber(this);" maxlength="4" value="${info.trgtPrsnl}" size="20"> 명
</td>
</tr>
<tr>
<th scope="row">
<p>필요 교재 수량</p>
</th>
<td colspan="3">
<label for="trgtPrsnl" class="label">필요 교재 수량 입력</label>
<input type="text" name="needTxtbNum" id="needTxtbNum" onkeyup="onlyNumber(this);" maxlength="3" value="${info.needTxtbNum}" size="20">
</td>
</tr>
<tr>
<th scope="row">
<p class="req_text"><span>필수입력 항목</span>*</p>
@ -788,6 +774,16 @@
</td>
</tr>
<tr>
<th scope="row">
<p class="req_text"><span>필수입력 항목</span>*</p>
<p>필요 교재 수량</p>
</th>
<td colspan="3">
<label for="trgtPrsnl" class="label">필요 교재 수량 입력</label>
<input type="text" name="needTxtbNum" id="needTxtbNum" onkeyup="onlyNumber(this);" maxlength="3" value="${info.needTxtbNum}" size="20">
</td>
</tr>
<%-- <tr>
<th scope="row">
<p class="req_text"><span>필수입력 항목</span>*</p>
<p>첨부파일</p>
@ -865,10 +861,10 @@
</table>
</div>
</td>
</tr>
</tr> --%>
</table>
</div> --%>
</div>
<!-- //list_상세 -->

View File

@ -303,10 +303,10 @@
<p>생년월일</p>
</th>
<td>
<c:if test="${not empty info.dBirth}">
<c:set var="birthYear" value="${fn:substring(info.dBirth, 0, 4)}"/>
<c:set var="birthMonth" value="${fn:substring(info.dBirth, 4, 6)}"/>
<c:set var="birthDay" value="${fn:substring(info.dBirth, 6, 8)}"/>
<c:if test="${not empty info.DBirth}">
<c:set var="birthYear" value="${fn:substring(info.DBirth, 0, 4)}"/>
<c:set var="birthMonth" value="${fn:substring(info.DBirth, 4, 6)}"/>
<c:set var="birthDay" value="${fn:substring(info.DBirth, 6, 8)}"/>
</c:if>
${birthYear}년 ${birthMonth}월 ${birthDay}일
</td>
@ -370,11 +370,14 @@
<p>운영시기</p>
</th>
<td colspan="3">
<fmt:parseDate value="${info.oprtnStrtDt}" var="oprtnStrtDt" pattern="yyyyMMdd"/>
<c:out value="${info.oprtnStrtDt}" />
~
<c:out value="${info.oprtnEndDt}" />
<%-- <fmt:parseDate value="${info.oprtnStrtDt}" var="oprtnStrtDt" pattern="yyyyMMdd"/>
<fmt:formatDate value="${oprtnStrtDt}" pattern="yyyy.MM.dd"/>
~
<fmt:parseDate value="${info.oprtnEndDt}" var="oprtnEndDt" pattern="yyyyMMdd"/>
<fmt:formatDate value="${oprtnEndDt}" pattern="yyyy.MM.dd"/>
<fmt:formatDate value="${oprtnEndDt}" pattern="yyyy.MM.dd"/> --%>
</td>
</tr>
<%-- <tr>

View File

@ -408,12 +408,34 @@ function instrChk(){
<div class="content">
<div class="notify_slide">
<div class="swiper-wrapper">
<div class="swiper-slide">
<!-- <div class="swiper-slide">
<img src="/offedu/visitEdu/usr/publish/images/main/main_notify_img_01.jpg" alt="">
</div>
<div class="swiper-slide">
<img src="/offedu/visitEdu/usr/publish/images/main/main_notify_img_02.jpg" alt="">
</div>
</div> -->
<c:forEach var="popipZoneList" items="${popupzoneList}" varStatus="status">
<c:set var="popzATitle"></c:set>
<c:if test="${popipZoneList.istarget == 'N'}">
<c:set var="popzATitle">새창열림</c:set>
</c:if>
<c:if test="${popipZoneList.istarget == 'N'}">
<a class="swiper-slide" href="javascript:popzoneOpen('${popipZoneList.mlink}','${popipZoneList.istarget}');" title="새창열림" >
<div>
<img style="cursor:pointer" onerror="this.src='/images/no_img.jpg'" alt="${popipZoneList.imgAlt} 팝업"
src='<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${popipZoneList.popupzoneImageFile}"/>' />
</div>
</a>
</c:if>
<c:if test="${popipZoneList.istarget != 'N'}">
<a class="swiper-slide" href="javascript:popzoneOpen('${popipZoneList.mlink}','${popipZoneList.istarget}');">
<div>
<img style="cursor:pointer" onerror="this.src='/images/no_img.jpg'" alt="${popipZoneList.imgAlt} 팝업"
src='<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${popipZoneList.popupzoneImageFile}"/>' />
</div>
</a>
</c:if>
</c:forEach>
</div>
</div>
</div>

View File

@ -566,10 +566,10 @@
<p>생년월일</p>
</th>
<td>
<c:if test="${not empty info.dBirth}">
<c:set var="birthYear" value="${fn:substring(info.dBirth, 0, 4)}"/>
<c:set var="birthMonth" value="${fn:substring(info.dBirth, 4, 6)}"/>
<c:set var="birthDay" value="${fn:substring(info.dBirth, 6, 8)}"/>
<c:if test="${not empty info.DBirth}">
<c:set var="birthYear" value="${fn:substring(info.DBirth, 0, 4)}"/>
<c:set var="birthMonth" value="${fn:substring(info.DBirth, 4, 6)}"/>
<c:set var="birthDay" value="${fn:substring(info.DBirth, 6, 8)}"/>
</c:if>
${birthYear}년 ${birthMonth}월 ${birthDay}일
</td>
@ -625,16 +625,14 @@
</td>
</tr>
</c:if>
<c:if test="${info.aprvlCd ne VeConstants.EXPRN_APRVL_CD_40}">
<c:if test="${info.aprvlCd ne VeConstants.EXPRN_APRVL_CD_40 and info.oathAtchFileId ne null}">
<tr>
<th scope="row"><p>서약서</p></th>
<td>
<c:if test="${info.oathAtchFileId ne null}">
<c:import url="/cmm/fms/selectScholSealInfs.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${info.oathAtchFileId}" />
</c:import>
<!-- <button type="button" class="btnType01" data-tooltip="sub35_pop01" id="OATH" onclick="filePopupLayer('OATH')" title="팝업 열림">서약서 파일 변경</button> -->
</c:if>
<c:import url="/cmm/fms/selectScholSealInfs.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${info.oathAtchFileId}" />
</c:import>
<!-- <button type="button" class="btnType01" data-tooltip="sub35_pop01" id="OATH" onclick="filePopupLayer('OATH')" title="팝업 열림">서약서 파일 변경</button> -->
</td>
</tr>
</c:if>
@ -642,13 +640,90 @@
</table>
</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>${info.trgtGrade}</td>
</tr>
<tr class="trLength2">
<th scope="row">
<p>대상학년/반</p>
</th>
<td>${info.trgtGrade}</td>
</tr>
<tr class="trLength4">
<th scope="row">
<p>대상학생수</p>
</th>
<td>
${info.trgtPrsnl}
</td>
<th scope="row">
<p>운영시기</p>
</th>
<td>
${info.oprtnStrtDt} ~ ${info.oprtnEndDt}
</td>
</tr>
<tr class="trLength2">
<th scope="row">
<p>대상학생수</p>
</th>
<td>
${info.trgtPrsnl}
</td>
</tr>
<tr class="trLength2">
<th scope="row">
<p>운영시기</p>
</th>
<td>
${info.oprtnStrtDt} ~ ${info.oprtnEndDt}
</td>
</tr>
<tr class="trLength4">
<th scope="row">
<p>필요 교재 수량</p>
</th>
<td>
${info.needTxtbNum}
</td>
</tr>
<tr class="trLength2">
<th scope="row">
<p>필요 교재 수량</p>
</th>
<td>
${info.needTxtbNum}
</td>
</tr>
</tbody>
</table>
</div>
<!-- 서류요청 제출 시만 거래선, 서약서 제출 가능 -->
<form:form id="createForm" name="createForm" commandName="modelVO" onsubmit="return false;">
<input type="hidden" name="eduAplctOrd" id="eduAplctOrd" value="${info.eduAplctOrd}" />
<input type="hidden" name="aprvlCd" id="aprvlCd" value=""/><!-- 승인코드 -->
<c:if test="${info.aprvlCd eq VeConstants.EXPRN_APRVL_CD_40}">
<div class="tb_tit01">
<!-- 240115 고객 요청으로 교육신청 단계로 이동 -->
<%-- <div class="tb_tit01">
<div class="tb_tit01_left">
<p>운영 계획</p>
<span class="cf_text">* 항목은 필수 입력 사항입니다.</span>
@ -721,7 +796,7 @@
</tr>
</tbody>
</table>
</div>
</div> --%>
<div class="tb_tit01">

View File

@ -215,10 +215,10 @@
<p>생년월일</p>
</th>
<td>
<c:if test="${not empty info.dBirth}">
<c:set var="birthYear" value="${fn:substring(info.dBirth, 0, 4)}"/>
<c:set var="birthMonth" value="${fn:substring(info.dBirth, 4, 6)}"/>
<c:set var="birthDay" value="${fn:substring(info.dBirth, 6, 8)}"/>
<c:if test="${not empty info.DBirth}">
<c:set var="birthYear" value="${fn:substring(info.DBirth, 0, 4)}"/>
<c:set var="birthMonth" value="${fn:substring(info.DBirth, 4, 6)}"/>
<c:set var="birthDay" value="${fn:substring(info.DBirth, 6, 8)}"/>
</c:if>
${birthYear}년 ${birthMonth}월 ${birthDay}일
</td>
@ -248,6 +248,55 @@
</table>
</div>
<div class="tb_tit01">
<div class="tb_tit01_left">
<p>운영 계획</p>
</div>
</div>
<div class="tb_type01 tb_write tb_input">
<table>
<caption>운영 계획 (th 명)을 입력하는 표</caption>
<colgroup>
<col style="width: 150px;">
<col style="width: auto;">
<col style="width: 150px;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th scope="row">
<p>대상학년/반</p>
</th>
<td>
<c:out value="${info.trgtGrade}" />
</td>
</tr>
<tr>
<th scope="row">
<p>전체학생 수</p>
</th>
<td>
<c:out value="${info.trgtPrsnl}" /> 명
</td>
<th scope="row">
<p>운영시기</p>
</th>
<td class="row">
<c:out value="${info.oprtnStrtDt}" />
<c:out value="${info.oprtnEndDt}" />
</td>
</tr>
<tr>
<th scope="row">
<p>필요 교재 수량</p>
</th>
<td>
<c:out value="${info.needTxtbNum}" />
</td>
</tr>
</tbody>
</table>
</div>
<div class="btn_wrap btn_layout01">
<div class="btn_left">

View File

@ -33,7 +33,7 @@
$("#p_"+aprvlCd).parent().attr('class', 'p_on');
$("#p_"+aprvlCd).parent().prevAll().attr('class', 'p_on');
$("#p_"+aprvlCd).css("color", "#FFFF00");
$("#p_"+aprvlCd).css("color", "#FFFF00").attr("title", "현재페이지");
$("#p_"+aprvlCd).click();
}
});
@ -48,9 +48,9 @@
$("#loadArea").load("<c:url value='/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/exprnDashboardLoadAjax.do' />", sendData ,function(response, status, xhr){
if(status == 'success'){
$(tab).parent().siblings().each(function(index){
$(this).children('a').css('color', '')
$(this).children('a').css('color', '').removeAttr('title')
});
$(tab).css("color", "#FFFF00");
$(tab).css("color", "#FFFF00").attr("title", "현재페이지");
}else{
alert("조회 실패");

View File

@ -281,10 +281,10 @@
<p>생년월일</p>
</th>
<td>
<c:if test="${not empty info.dBirth}">
<c:set var="birthYear" value="${fn:substring(info.dBirth, 0, 4)}"/>
<c:set var="birthMonth" value="${fn:substring(info.dBirth, 4, 6)}"/>
<c:set var="birthDay" value="${fn:substring(info.dBirth, 6, 8)}"/>
<c:if test="${not empty info.DBirth}">
<c:set var="birthYear" value="${fn:substring(info.DBirth, 0, 4)}"/>
<c:set var="birthMonth" value="${fn:substring(info.DBirth, 4, 6)}"/>
<c:set var="birthDay" value="${fn:substring(info.DBirth, 6, 8)}"/>
</c:if>
${birthYear}년 ${birthMonth}월 ${birthDay}일
</td>
@ -314,14 +314,14 @@
</table>
</div>
<!-- 231130 운영계획 - 고객 요청으로 서류제출 단계로 이동 -->
<%-- <div class="tb_tit01">
<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;">
@ -334,22 +334,12 @@
<p>대상학년/반</p>
</th>
<td>${info.trgtGrade}</td>
<th scope="row">
<p>대상반</p>
</th>
<td>${info.trgtClsrm}</td>
</tr>
<tr class="trLength2">
<th scope="row">
<p>대상학년/반</p>
</th>
<td colspan="3">${info.trgtGrade}</td>
</tr>
<tr class="trLength2">
<th scope="row">
<p>대상반</p>
</th>
<td colspan="3">${info.trgtClsrm}</td>
<td>${info.trgtGrade}</td>
</tr>
<tr class="trLength4">
<th scope="row">
@ -362,27 +352,14 @@
<p>운영시기</p>
</th>
<td>
<fmt:parseDate value="${info.oprtnStrtDt}" var="oprtnStrtDt" pattern="yyyyMMdd"/>
<fmt:formatDate value="${oprtnStrtDt}" pattern="yyyy.MM.dd"/>
~
<fmt:parseDate value="${info.oprtnEndDt}" var="oprtnEndDt" pattern="yyyyMMdd"/>
<fmt:formatDate value="${oprtnEndDt}" pattern="yyyy.MM.dd"/>
</td>
<!--
<th scope="row">
<p>보고서 제출일(예정)</p>
</th>
<td>
<fmt:parseDate value="${info.rprtSbmt}" var="rprtSbmt" pattern="yyyyMMdd"/>
<fmt:formatDate value="${rprtSbmt}" pattern="yyyy.MM.dd"/>
</td>
-->
${info.oprtnStrtDt} ~ ${info.oprtnEndDt}
</td>
</tr>
<tr class="trLength2">
<th scope="row">
<p>대상학생수</p>
</th>
<td colspan="3">
<td>
${info.trgtPrsnl}
</td>
</tr>
@ -390,38 +367,10 @@
<th scope="row">
<p>운영시기</p>
</th>
<td colspan="3">
<fmt:parseDate value="${info.oprtnStrtDt}" var="oprtnStrtDt" pattern="yyyyMMdd"/>
<fmt:formatDate value="${oprtnStrtDt}" pattern="yyyy.MM.dd"/>
~
<fmt:parseDate value="${info.oprtnEndDt}" var="oprtnEndDt" pattern="yyyyMMdd"/>
<fmt:formatDate value="${oprtnEndDt}" pattern="yyyy.MM.dd"/>
</td>
<!--
<th scope="row">
<p>보고서 제출일(예정)</p>
</th>
<td colspan="3">
<fmt:parseDate value="${info.rprtSbmt}" var="rprtSbmt" pattern="yyyyMMdd"/>
<fmt:formatDate value="${rprtSbmt}" pattern="yyyy.MM.dd"/>
</td>
-->
<td>
${info.oprtnStrtDt} ~ ${info.oprtnEndDt}
</td>
</tr>
<!--
<tr>
<th scope="row">
<p>운영시기</p>
</th>
<td colspan="3">
<fmt:parseDate value="${info.oprtnStrtDt}" var="oprtnStrtDt" pattern="yyyyMMdd"/>
<fmt:formatDate value="${oprtnStrtDt}" pattern="yyyy.MM.dd"/>
~
<fmt:parseDate value="${info.oprtnEndDt}" var="oprtnEndDt" pattern="yyyyMMdd"/>
<fmt:formatDate value="${oprtnEndDt}" pattern="yyyy.MM.dd"/>
</td>
</tr>
-->
<tr class="trLength4">
<th scope="row">
<p>필요 교재 수량</p>
@ -434,23 +383,14 @@
<th scope="row">
<p>필요 교재 수량</p>
</th>
<td colspan="3">
<td>
${info.needTxtbNum}
</td>
</tr>
<tr>
<th scope="row">
<p>첨부파일</p>
</th>
<td class="file_download" colspan="3">
<c:import url="/cmm/fms/selectScholSealInfs.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${info.oprtnFileId}" />
</c:import>
</td>
</tr>
</tbody>
</table>
</div> --%>
</div>
<div class="btn_wrap btn_layout01">
<div class="btn_left">

View File

@ -113,7 +113,6 @@
}
});
console.log(schData);
}
@ -397,42 +396,38 @@
}
}
/* if($('#trgtGrade').val() == ''){
alert('학년수를 입력해주세요.');
if($('#trgtGrade').val() == ''){
alert('대상학년/반을 입력해주세요.');
$("#trgtGrade").focus();
return false;
} */
/* if($('#trgtClsrm').val() == ''){
alert('대상반을 입력해주세요.');
$("#trgtClsrm").focus();
return false;
} */
/* if($('#trgtPrsnl').val() == ''){
}
if($('#trgtPrsnl').val() == ''){
alert('전체학생 수를 입력해주세요.');
$("#trgtPrsnl").focus();
return
false;
} */
/* if($('#needTxtbNum').val() == ''){
}
if($('#needTxtbNum').val() == ''){
alert('필요 교재 수량을 입력해주세요.');
$("#needTxtbNum").focus();
return false;
} */
/* if($('#oprtnStrtDt').val() == ''){
}
if($('duet-date-picker[name=oprtnStrtDt]').val() == ''){
alert('운영시기 시작일을 입력해주세요.');
$("#oprtnStrtDt").focus();
return false;
}
if($('#oprtnEndDt').val() == ''){
if($('duet-date-picker[name=oprtnEndDt]').val() == ''){
alert('운영시기 종료일을 입력해주세요.');
$("#oprtnEndDt").focus();
return false;
} */
}
/* var oprtnStrtDt = $('duet-date-picker[name=oprtnStrtDt]').val();
var oprtnStrtDt = $('duet-date-picker[name=oprtnStrtDt]').val();
var oprtnEndDt = $('duet-date-picker[name=oprtnEndDt]').val();
oprtnStrtDt = oprtnStrtDt.replace(/[.]/gi, '');
@ -442,10 +437,9 @@
alert("시작일이 종료일보다 클 수 없습니다.");
$("#oprtnEndDt").focus();
return false;
} */
}
/* var oprtnStrtDtDate = $('#oprtnStrtDt').val(); */
/* var oprtnStrtDtDate = $('duet-date-picker[name=oprtnStrtDt]').val();
var oprtnStrtDtDate = $('duet-date-picker[name=oprtnStrtDt]').val();
var yyyy = oprtnStrtDtDate.substr(0,4);
var mm = oprtnStrtDtDate.substr(5,2);
var dd = oprtnStrtDtDate.substr(8,2);
@ -462,12 +456,7 @@
alert('시작일 오늘 이후의 날짜로 입력해주세요.');
return flag = false;
}
if($(".uploaded_obj").length == 0){
alert("파일을 첨부해 주세요.");
return false;
} */
if($("#agree1").length > 0 && !$('#agree1').prop('checked')){
alert('개인정보 이용 약관에 동의해주세요.');
return false;
@ -549,17 +538,13 @@
$("#chrgMjr").val(info.chrgMjr);
if(isNotEmpty(info.dBirth)){
$("#birthYear").val(info.dBirth.substr(0,4));
$("#birthMonth").val(info.dBirth.substr(4,2));
if(isNotEmpty(info.dbirth)){
$("#birthYear").val(info.dbirth.substr(0,4));
$("#birthMonth").val(info.dbirth.substr(4,2));
dayDraw($("#birthDay"));
$("#birthDay").val(info.dBirth.substr(6,2));
$("#birthDay").val(info.dbirth.substr(6,2));
}
$("#cmpltYear").val(info.cmpltYear);
// $("#cmpltNum").val(info.cmpltNum);
// if(isNotEmpty(info.cmpltNum)){
// cmpltNoFormat(document.getElementById('cmpltNum'));
// }
$('input[name=exprnClsrnCd][value='+info.exprnClsrnCd+']').prop('checked', true);
if(info.exprnClsrnCd == '02'){
@ -582,12 +567,12 @@
$("#exprnClsrnAplctCn").val('');
}
/* $("#trgtGrade").val(info.trgtGrade); */
/* $("#trgtClsrm").val(info.trgtClsrm); */
/* $("#trgtPrsnl").val(info.trgtPrsnl); */
/* $("#needTxtbNum").val(info.needTxtbNum); */
$("#trgtGrade").val(info.trgtGrade);
$("#trgtClsrm").val(info.trgtClsrm);
$("#trgtPrsnl").val(info.trgtPrsnl);
$("#needTxtbNum").val(info.needTxtbNum);
/* if(isNotEmpty(info.oprtnStrtDt)){
if(isNotEmpty(info.oprtnStrtDt)){
$('duet-date-picker[name=oprtnStrtDt]').val(dateFormat(info.oprtnStrtDt.replace(/[.]/gi,''), 'date'))
$('#oprtnStrtDt').val(dateFormat(info.oprtnStrtDt.replace(/[.]/gi,''), 'date'));
}
@ -595,36 +580,8 @@
if(isNotEmpty(info.oprtnEndDt)){
$('duet-date-picker[name=oprtnEndDt]').val(dateFormat(info.oprtnEndDt.replace(/[.]/gi,''), 'date'))
$('#oprtnEndDt').val(dateFormat(info.oprtnEndDt.replace(/[.]/gi,''), 'date'));
} */
}
/* $("#oprtnFileId").val(info.oprtnFileId); */
/* var fileTbody = $("#tbody_fiielist");
$.each(fileList, function(idx, obj){
var tr = $("<tr/>").addClass('item_'+obj.atchFileId+'_'+obj.fileSn).addClass('uploaded_obj');
var hiddenInput = $('<input/>').attr('type', 'hidden').attr('name', 'fileSize').addClass('item_file_size').val(obj.fileSize);
var td1 = $('<td/>').addClass('td_filename');
var td2 = $('<td/>').addClass('td_filesort');
var td3 = $('<td/>').addClass('td_filesize');
var td4 = $('<td/>');
var span1 = $('<span/>').addClass('file_name_text').text(obj.orignlFileNm);
var span2 = $('<span/>').addClass('file_filesort_text').attr('value', obj.fileExtsn).text(obj.fileExtsn);
var span3 = $('<span/>').addClass('file_size_text').attr('value', obj.fileMg).text(obj.fileMg);
var button = $('<button/>').attr('type','button').addClass('btn_del').append($('<i/>')).click(function(){
delAtchFile(obj.atchFileId , obj.fileSn);
});
td1.append(span1);
td2.append(span2);
td3.append(span3);
td4.append(button);
tr.append(hiddenInput).append(td1).append(td2).append(td3).append(td4);
fileTbody.append(tr);
});
if(fileList.length > 0){
$(".no_img_box").hide();
$(".fileAfter").show()
} */
}
function fncEtcInputEnable(thisObj){
@ -829,10 +786,10 @@
<p>생년월일</p>
</th>
<td colspan="3">
<c:if test="${not empty info.dBirth}">
<c:set var="birthYear" value="${fn:substring(info.dBirth, 0, 4)}"/>
<c:set var="birthMonth" value="${fn:substring(info.dBirth, 4, 6)}"/>
<c:set var="birthDay" value="${fn:substring(info.dBirth, 6, 8)}"/>
<c:if test="${not empty info.DBirth}">
<c:set var="birthYear" value="${fn:substring(info.DBirth, 0, 4)}"/>
<c:set var="birthMonth" value="${fn:substring(info.DBirth, 4, 6)}"/>
<c:set var="birthDay" value="${fn:substring(info.DBirth, 6, 8)}"/>
</c:if>
<label for="birthYear" class="label">년도 선택</label>
<select name="birthYear" id="birthYear" class="selType1 birthYear" selectValue="${birthYear}"></select>
@ -893,172 +850,81 @@
</table>
</div>
<!-- 231130 운영계획 - 고객 요청으로 서류제출 단계로 이동 -->
<%-- <div class="tb_tit01">
<div class="tb_tit01_left">
<p>운영 계획</p>
<span class="cf_text">* 항목은 필수 입력 사항입니다.</span>
<div class="tb_tit01">
<div class="tb_tit01_left">
<p>운영 계획</p>
<span class="cf_text">* 항목은 필수 입력 사항입니다.</span>
</div>
</div>
</div>
<div class="tb_type01 tb_write tb_input">
<table>
<caption>운영 계획 (th 명)을 입력하는 표</caption>
<colgroup>
<col style="width: 150px;">
<col style="width: auto;">
<col style="width: 150px;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th scope="row">
<p class="req_text"><span>필수입력 항목</span>*</p>
<p>대상학년/반</p>
</th>
<td>
<label for="trgtGrade" class="label">대상 학년 입력</label>
<input type="text" name="trgtGrade" id="trgtGrade" maxlength="20" value="${info.trgtGrade}" size="20">
</td>
<!-- 231107 학년과 대상 통합 요청 -->
<th scope="row">
<p class="req_text"><span>필수입력 항목</span>*</p>
<p>대상 반</p>
</th>
<td>
<label for="trgtClsrm" class="label">대상 반 입력</label>
<input type="text" name="trgtClsrm" id="trgtClsrm" value="${info.trgtClsrm}" title="교육인원" size="20"> 반
</td>
</tr>
<tr>
<th scope="row">
<p class="req_text"><span>필수입력 항목</span>*</p>
<p>전체학생 수</p>
</th>
<td>
<label for="trgtPrsnl" class="label">학생 수 입력</label>
<input type="text" name="trgtPrsnl" id="trgtPrsnl" onkeyup="onlyNumber(this);" maxlength="4" value="${info.trgtPrsnl}" size="20"> 명
</td>
<th scope="row">
<p class="req_text"><span>필수입력 항목</span>*</p>
<p>운영시기</p>
</th>
<td class="calendar_td">
<div class="calendar_wrap">
<fmt:parseDate value="${info.oprtnStrtDt}" var="oprtnStrtDt" pattern="yyyyMMdd"/>
<input type="text" class="calendar" id="searchStartDt" name="searchStartDt" title="시작일 선택" value="${vEEduAplctVO.searchStartDt}">
<duet-date-picker identifier="date" class="startDate" name="oprtnStrtDt" value="<fmt:formatDate value="${oprtnStrtDt}" pattern="yyyy.MM.dd"/>" pattern="yyyy.MM.dd"></duet-date-picker>
</div>
~
<div class="calendar_wrap">
<fmt:parseDate value="${info.oprtnEndDt}" var="oprtnEndDt" pattern="yyyyMMdd"/>
<input type="text" class="calendar" id="searchEndDt" name="searchEndDt" title="종료일 선택" value="${vEEduAplctVO.searchEndDt}">
<duet-date-picker identifier="date" class="endDate" name="oprtnEndDt" value="<fmt:formatDate value="${oprtnEndDt}" pattern="yyyy.MM.dd"/>"></duet-date-picker>
</div>
<script src="${pageContext.request.contextPath}/visitEdu/usr/publish/script/duetdatepicker.js"></script>
<script>
$(window).on("load",function(){
//title 변경
$(".startDate .duet-date__input").attr("title","운영시기 시작날짜를 YYYY.MM.DD 형식으로 입력해주세요");
$(".endDate .duet-date__input").attr("title","운영시기 종료날짜를 YYYY.MM.DD 형식으로 입력해주세요");
});
</script>
<div class="tb_type01 tb_write tb_input">
<table>
<caption>운영 계획 (th 명)을 입력하는 표</caption>
<colgroup>
<col style="width: 150px;">
<col style="width: auto;">
<col style="width: 150px;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th scope="row">
<p class="req_text"><span>필수입력 항목</span>*</p>
<p>대상학년/반</p>
</th>
<td>
<label for="trgtGrade" class="label">대상 학년 입력</label>
<input type="text" name="trgtGrade" id="trgtGrade" maxlength="20" value="${info.trgtGrade}" size="20">
</td>
</tr>
<tr>
<th scope="row">
<p class="req_text"><span>필수입력 항목</span>*</p>
<p>전체학생 수</p>
</th>
<td>
<label for="trgtPrsnl" class="label">학생 수 입력</label>
<input type="text" name="trgtPrsnl" id="trgtPrsnl" onkeyup="onlyNumber(this);" maxlength="4" value="${info.trgtPrsnl}" size="20"> 명
</td>
<th scope="row">
<p class="req_text"><span>필수입력 항목</span>*</p>
<p>운영시기</p>
</th>
<td class="calendar_td">
</td>
</tr>
<tr>
<th scope="row">
<p class="req_text"><span>필수입력 항목</span>*</p>
<p>필요 교재 수량</p>
</th>
<td>
<label for="needTxtbNum" class="label">필요 교재 수량 입력</label>
<input type="text" name="needTxtbNum" id="needTxtbNum" onkeyup="onlyNumber(this);" value="${info.needTxtbNum}" title="필요 교재 수량" size="20" maxlength="4">
</td>
</tr>
</tbody>
</table>
</div>
<dl class="filewrap_div filewrap_exprnClsrmAplctReg">
<dt><p class="req_text"><span>필수입력 항목</span>*</p>첨부파일</dt>
<dd class="upload_area">
<div class="btn_wrap">
<button type="button" class="btnType01 btn_add_file">파일찾기</button>
<input type="file" id="file_temp" name="file_temp" class="uploadFile" style="display:none"/>
</div>
<div class="file_wrap no_img_box file_upload_box">
<table>
<caption>첨부파일 파일명, 종류, 크기 정보 제공</caption>
<colgroup>
<col style="width: auto;">
<col style="width: 15%;">
<col style="width: 15%;">
</colgroup>
<thead>
<th scope="col">파일 명</th>
<th scope="col">종류</th>
<th scope="col">크기</th>
</thead>
<tbody class="tb_file_before">
<tr>
<td colspan="3">
<p>첨부하실 파일을 <span>마우스끌어서</span> 넣어주세요.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="file_wrap file_list_div fileAfter">
<table>
<caption>첨부파일 파일명, 종류, 크기, 삭제 정보 제공</caption>
<colgroup>
<col style="width: auto;">
<col style="width: 15%;">
<col style="width: 15%;">
<col style="width: 100px;">
</colgroup>
<thead>
<th scope="col">파일 명</th>
<th scope="col">종류</th>
<th scope="col">크기</th>
<th scope="col">삭제</th>
</thead>
<tbody id="tbody_fiielist" class="tb_file_after">
<c:forEach var="fileList" items="${fileList}" varStatus="status">
<tr class="item_${fileList.atchFileId}_${fileList.fileSn} uploaded_obj">
<input type="hidden" name="fileSize" class="item_file_size" value="${fileList.fileSize}">
<td class="td_filename">
<span class="file_name_text">${fileList.orignlFileNm}</span>
</td>
<td class="td_filesort">
<span class="file_filesort_text" value="<c:out value="${fileList.fileExtsn}"/>"><c:out value="${fileList.fileExtsn}"/></span>
</td>
<td class="td_filesize">
<span class="file_size_text" value="<c:out value="${fileList.fileMg}"/>"><c:out value="${fileList.fileMg}"/></span>
</td>
<td>
<button type="button" class="btn_del" onclick="delAtchFile('${fileList.atchFileId}', '${fileList.fileSn}'); return false;"><i></i></button>
</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
<div class="file_cf">
<div class="cf_left">
<p>최대 <span>3</span>개</p>
<p><span>50MB</span>제한</p>
<div class="calendar_wrap">
<duet-date-picker identifier="date" name="oprtnStrtDt" value="${info.oprtnStrtDt}" pattern="yyyy.MM.dd"/></duet-date-picker>
</div>
</div>
<span class="table_req_text">
※ 학교장 직인이 포함된 운영신청서 파일을 업로드
</span>
</dd>
</dl> --%>
~
<div class="calendar_wrap">
<duet-date-picker identifier="date" name="oprtnEndDt" value="${info.oprtnEndDt}" pattern="yyyy.MM.dd"/></duet-date-picker>
</div>
<script src="${pageContext.request.contextPath}/visitEdu/usr/publish/script/duetdatepicker.js"></script>
<script>
$(window).on("load",function(){
//title 변경
$(".startDate .duet-date__input").attr("title","운영시기 시작날짜를 YYYY.MM.DD 형식으로 입력해주세요");
$(".endDate .duet-date__input").attr("title","운영시기 종료날짜를 YYYY.MM.DD 형식으로 입력해주세요");
});
</script>
</td>
</tr>
<tr>
<th scope="row">
<p class="req_text"><span>필수입력 항목</span>*</p>
<p>필요 교재 수량</p>
</th>
<td>
<label for="needTxtbNum" class="label">필요 교재 수량 입력</label>
<input type="text" name="needTxtbNum" id="needTxtbNum" onkeyup="onlyNumber(this);" value="${info.needTxtbNum}" title="필요 교재 수량" size="20" maxlength="4">
</td>
</tr>
</tbody>
</table>
</div>
<div class="agree_wrap">
<div class="tb_tit01">
<p>개인정보 이용 동의</p>

View File

@ -285,7 +285,7 @@
<tbody>
<c:forEach var="list" items="${list}" varStatus="status">
<tr>
<td onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>');" style="cursor:pointer;">
<td onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>');" style="cursor:pointer;" tabindex="0" onkeypress="if(event.keyCode == 13){fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>');}">
<!-- <td> -->
<c:out value="${list.prcsNm}"/>(<c:out value="${list.prcsAplctPrdOrd}"/>)
</td>
@ -495,15 +495,17 @@
<div class="cont_body">
<div class="pop_tb_type01" style="overflow:visible;">
<table>
<caption>교육문의 - 문의내용 입력</caption>
<thead>
<tr>
<th>문의내용</th>
<th scope="col">문의내용</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<textarea type="text" id="qnaCn" name="qnaCn" style="height: 220px;width: 100%;"></textarea>
<label for="qnaCn" class="label">교육문의 작성하기</label>
<textarea type="text" id="qnaCn" name="qnaCn" style="height: 220px;width: 100%;" title="교육문의 작성"></textarea>
</td>
</tr>
</tbody>

View File

@ -28,6 +28,8 @@
.visual_slide .swiper-slide[data-swiper-slide-index="3"]{background:url(/offedu/visitEdu/usr/publish/images/main/main_visual_04.jpg) no-repeat center top;}
.visual_slide .swiper-slide[data-swiper-slide-index="4"]{background:url(/offedu/visitEdu/usr/publish/images/main/main_visual_05.jpg) no-repeat center top;}
.visual_slide .swiper-pagination-bullet:focus-visible{outline:2px solid #000;}
/* main_banner_link */
.container .main_banner_link{position:relative;height:130px;margin:20px auto 70px auto;}
.container .main_banner_link li{position:relative;display:flex;width:calc((100%/5) - 12px);height:100%;background-color:#fff;border-radius:5px;box-shadow:0 0 5px rgba(45,55,90,0.2);align-items:center;transition:all 0.3s ease-in-out;}
@ -89,6 +91,7 @@
.wrap .notify .notify_control .slide_pause{background:url(/offedu/visitEdu/usr/publish/images/main/btn_pause.png) no-repeat center center;}
.wrap .notify .notify_control .slide_play{background:url(/offedu/visitEdu/usr/publish/images/main/btn_play.png) no-repeat center center;}
.wrap .notify .content{width:100%;height:332px;overflow:hidden;border-radius:5px;}
.wrap .notify .notify_slide a:focus{width:calc(100% - 6px);height:calc(100% - 6px);margin:2px 0 0 2px;}
@media all and (max-width: 1440px){
.main .inner{width:calc(100% - 40px);}

View File

@ -173,8 +173,6 @@ function header() {
depth01_li.addClass("on");
$('header .depth02').css('height',h + 'px');
}
gnb.find(".menu_link").on("mouseover", function () {
open_gnb($(this));
@ -217,10 +215,9 @@ function header() {
$(".depth01_li").removeClass("on");
$("header .depth02").animate({height:'auto'},1000);
});
$(".depth01_li").on('mouseleave',function(){
/*$(".depth01_li").on('mouseleave',function(){
$('header .depth02').attr('style','');
})
});*/
$("#menu .depth01_li:last-child .depth02 li:last-child").on("focusout", function () {
header.removeClass("on").attr('style','');
$("#menu .depth01_li").removeClass("on");

View File

@ -72,22 +72,18 @@ $(document).ready(function () {
}
});
// tab 클릭시
//$('.tab_button').on('click',function(){
// var tabNum = $(this).closest(".tab_li").index();
// $(this).closest(".tab_li").addClass("on").siblings(".tab_li").removeClass("on");
// $('.tab_content').eq(tabNum).addClass("on").siblings('.tab_content').removeClass('on');
//});
$(".tab .tab_li.on").attr("title","선택됨");
$(".tab_li.on .tab_button").attr("title","선택됨");
// tab 클릭시
$('.tab_button').on('click',function(){
var tabNum = $(this).closest(".tab_li").index();
$(this).closest(".tab_li").addClass("on").siblings(".tab_li").removeClass("on");
$(this).closest(".tab_li").addClass("on").attr("title","선택됨").siblings(".tab_li").removeClass("on").removeAttr("title");
$(this).attr("title","선택됨");
$('.tab_content').eq(tabNum).addClass("on").siblings('.tab_content').removeClass('on');
$(this).closest(".tab_li").siblings(".tab_li").find(".tab_button").removeAttr("title");
});
})
function birthSelectBoxDraw(){

View File

@ -1,5 +1,8 @@
$(document).ready(function () {
$(".visual_slide .swiper-slide-active").siblings(".swiper-slide").find("a").attr("tabindex","-1");
$(".notify_slide .swiper-slide-active").siblings(".swiper-slide").attr("tabindex","-1");
//visual slide
var visualSlide = new Swiper('.visual_slide', {
spaceBetween: 30,
@ -14,8 +17,20 @@ $(document).ready(function () {
navigation: {
nextEl: '.visual_slide .btn_next_slide',
prevEl: '.visual_slide .btn_prev_slide',
},
on:{
slideChange:function(){
$(".visual_slide").find(".swiper-slide-active").find("a").attr("tabindex","0");
$(".visual_slide").find(".swiper-slide-active").siblings(".swiper-slide").find("a").attr("tabindex","-1");
},
transitionStart:function(){
$(".visual_slide").find(".swiper-slide-active").find("a").attr("tabindex","0");
$(".visual_slide").find(".swiper-slide-active").siblings(".swiper-slide").find("a").attr("tabindex","-1");
}
}
});
// notify slide
var notifySlide = new Swiper('.notify_slide', {
@ -31,8 +46,35 @@ $(document).ready(function () {
navigation: {
nextEl: ".notify_control .swiper-button-next",
prevEl: ".notify_control .swiper-button-prev",
},
on:{
slideChange:function(){
$(".notify_slide").find(".swiper-slide-active").attr("tabindex","0");
$(".notify_slide").find(".swiper-slide-active").siblings(".swiper-slide").attr("tabindex","-1");
},
transitionStart:function(){
$(".notify_slide").find(".swiper-slide-active").attr("tabindex","0");
$(".notify_slide").find(".swiper-slide-active").siblings(".swiper-slide").attr("tabindex","-1");
}
}
});
// 슬라이드 포커싱 시 멈춤/재생
$('.visual_slide .swiper-slide a').focusin(function(){
visualSlide.autoplay.stop();
});
$('.visual_slide .swiper-slide a').focusout(function(){
visualSlide.autoplay.start();
})
$('.notify_slide .swiper-slide').focusin(function(){
notifySlide.autoplay.stop();
});
$('.notify_slide .swiper-slide').focusout(function(){
notifySlide.autoplay.start();
})
$(".visual_slide .slide_pause").click(function () { // 중지버튼 눌렀을때