From f289cdfdc12ae17476122144826bcc61444e7749 Mon Sep 17 00:00:00 2001 From: kmg Date: Tue, 16 Jan 2024 16:56:11 +0900 Subject: [PATCH 1/6] =?UTF-8?q?2024/01/16=20caption=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../visitEdu/usr/publish/script/content.js | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/src/main/webapp/visitEdu/usr/publish/script/content.js b/src/main/webapp/visitEdu/usr/publish/script/content.js index 10488f72..f25eae77 100644 --- a/src/main/webapp/visitEdu/usr/publish/script/content.js +++ b/src/main/webapp/visitEdu/usr/publish/script/content.js @@ -1067,3 +1067,42 @@ $(function(){ /* 날짜 및 시간 입력 시 자동 작성 스크립트 */ + $(document).ready(function () { + + boardCaptionToggle(); + boardCaptionToggle02(); + + }); + + function boardCaptionToggle() { + var bdWid = $("body").width(); + var thLength = $(".tb_type01 th").length; + if (bdWid > 640) { + var subTit = $(".tb_tit01_left p").text() + var itmText = ""; + $(".tb_type01 th").each(function (index, item) { + itmText += $(item).text(); + if (index === thLength - 1) { + /* 마지막 th일 경우 - ,가 들어가면 안됨. */ + itmText; + } else { + itmText += ", "; + } + }); + if ($(".tb_type01 caption").length == 0) { + if(subTit.indexOf("목록") != -1){ + $(".tb_type01>table").prepend("" + subTit + " : " + itmText + "등의 정보제공 "); + }else{ + if(subTit == "대시보드"){ + $(".tb_type01>table").prepend(" : " + itmText + "등의 정보제공 "); + }else{ + $(".tb_type01>table").prepend("" + subTit + " 목록 : " + itmText + "등의 정보제공 "); + } + + } + + } else {} + } else { + $(".tb_type01 caption").remove(); + } + } From 85183954138ce29fd87f3dfcc43ac9bde3abf303 Mon Sep 17 00:00:00 2001 From: subsub Date: Tue, 16 Jan 2024 17:01:17 +0900 Subject: [PATCH 2/6] =?UTF-8?q?2024/01/16=20=EC=BA=98=EB=A6=B0=EB=8D=94=20?= =?UTF-8?q?ID=20=EC=A4=91=EB=B3=B5=20=EC=98=A4=EB=A5=98=20=EC=88=98?= =?UTF-8?q?=EC=A0=95,=20=ED=8C=9D=EC=97=85=20=ED=83=AD=20=EC=88=9C?= =?UTF-8?q?=EC=84=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../exprnClsrmInfo/popup/scholPopList.jsp | 11 ++++++----- .../jsp/web/ve/comm/searchBeforeContentPopup.jsp | 12 ++++++++---- .../webapp/visitEdu/usr/publish/script/content.js | 2 +- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/popup/scholPopList.jsp b/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/popup/scholPopList.jsp index 652677de..3ef14447 100644 --- a/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/popup/scholPopList.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/popup/scholPopList.jsp @@ -66,7 +66,7 @@ } $(document).ready(function(){ - boardCaptionDetailToggle4(); + //boardCaptionDetailToggle4(); // 레이어팝업 포커싱 이동 수정 $(".tooltip-close").click(function(){ @@ -76,10 +76,11 @@ $(document).ready(function(){ }); //레이어팝업 초정 이동 시 필요한 data 값 추가 - var btnLast = $('.popup_cont').find('.page').find('button:last-child'); - btnLast.attr('data-focus-next','sub36_pop02'); - btnLast.attr('data-focus','sub36_pop02_close'); - + var btnLast = $('.popup_cont').find('.page').find('button').last(); + setTimeout(function(){ + btnLast.attr('data-focus-next','sub36_pop02'); + btnLast.attr('data-focus','sub36_pop02_close'); + },100); }) diff --git a/src/main/webapp/WEB-INF/jsp/web/ve/comm/searchBeforeContentPopup.jsp b/src/main/webapp/WEB-INF/jsp/web/ve/comm/searchBeforeContentPopup.jsp index e8f1cfe5..f051c4e4 100644 --- a/src/main/webapp/WEB-INF/jsp/web/ve/comm/searchBeforeContentPopup.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/ve/comm/searchBeforeContentPopup.jsp @@ -12,7 +12,7 @@ - - - - - - - -

필수입력 항목*

-

필요 교재 수량

- - - - - - - - - --%> -

차시별 운영계획

- ※ 운영지원금 지원을 위한 계획서(계획은 웅영에따 따라 변경 가능)
※ 담당교사의 재량으로 자율 편성하되, 1일 최대 2차시까지만 운영 가능
+ ※ 운영지원금 지원을 위한 계획서(계획은 운영에 따라 변경 가능)
※ 담당교사의 재량으로 자율 편성하되, 1일 최대 2차시까지만 운영 가능
-
- - - - - - - - - - - - - - - - - - - - - - - + + + + + + + +

필수입력 항목*

교육희망일

필수입력 항목*

시간

필수입력 항목*

학습주제

필수입력 항목*

지도내용
비고삭제
-
- -
-
-
-
- - -
-
-

시간 선택

+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

필수입력 항목*

교육희망일

필수입력 항목*

시간

필수입력 항목*

학습주제

필수입력 항목*

지도내용
비고삭제
+
+
-
-
- -
- : -
- +
+
+
+ + + + " name="strtTm" title="시작 시간 입력" readonly> + +
+
+

시간 선택

+
+
+
+ +
+ : +
+ +
+
+ +
+
+ + + + " name="endTm" title="종료 시간 입력" readonly> + +
+
+

시간 선택

+
+
+
+ +
+ : +
+ +
+
+ +
+
(분)
- +
+ + + + + + + + +
+ +
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + - - - - - - - -

필수입력 항목*

교육희망일

필수입력 항목*

시간

필수입력 항목*

학습주제

필수입력 항목*

지도내용
비고삭제
+
+
- -
- - -
-
-

시간 선택

-
-
-
- -
- : -
- +
+
+
+ + +
+
+

시간 선택

+
+
+
+ +
+ : +
+ +
+
+
- +
+ + +
+
+

시간 선택

+
+
+
+ +
+ : +
+ +
+
+ +
+
(분)
- (분) - -
- - - - - - - - -
- -
+
+ + + + + + + + +
+ +
+ + + -
-
-

운영계획

-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - -
운영계획 (th 명)을 보여주는 표
-

대상학년/반

-
${info.trgtGrade}
-

대상학생수

-
- ${info.trgtPrsnl} - -

운영시기

-
- - - ~ - - -
-

필요 교재 수량

-
- ${info.needTxtbNum} -
-

차시별 운영계획

- ※ 운영지원금 지원을 위한 계획서(계획은 웅영에따 따라 변경 가능)
※ 담당교사의 재량으로 자율 편성하되, 1일 최대 2차시까지만 운영 가능
+ ※ 운영지원금 지원을 위한 계획서(계획은 운영에 따라 변경 가능)
※ 담당교사의 재량으로 자율 편성하되, 1일 최대 2차시까지만 운영 가능
@@ -1070,11 +1128,14 @@ - + ${list.strtTm} + ~ + ${list.endTm} + <%-- ~ - + --%> (${list.lrnTm}분) ${list.lrnSbjct} diff --git a/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/exprnClsrmAplctGuide.jsp b/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/exprnClsrmAplctGuide.jsp index f861f47a..aa493c7e 100644 --- a/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/exprnClsrmAplctGuide.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/exprnClsrmAplctGuide.jsp @@ -105,7 +105,7 @@
- +
diff --git a/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/exprnClsrmAplctReg.jsp b/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/exprnClsrmAplctReg.jsp index 86bc7e69..1a569e09 100644 --- a/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/exprnClsrmAplctReg.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/exprnClsrmAplctReg.jsp @@ -509,7 +509,7 @@ $('input[name=ppulDclnYn][value='+info.ppulDclnYn+']').prop('checked', true); $("#chrgNm").val(info.chrgNm); - $("#chrgSexCd").val(info.chrgSexCd); + $('input[name=chrgSexCd][value='+info.chrgSexCd+']').prop('checked', true); if( isNotEmpty(info.email) && email.length > 0){ $("#email1").val(email[0]); diff --git a/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/exprnDocumentDashboard.jsp b/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/exprnDocumentDashboard.jsp index c7f4441a..363ca523 100644 --- a/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/exprnDocumentDashboard.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/exprnDocumentDashboard.jsp @@ -199,14 +199,19 @@ if(confirm("계획서를 제출하시겠습니까?")){ $("#aprvlCd").val('50'); + //결과보고까지 완료 후 서류제출로 원복 된 경우 결과보고 파일이 이미 있으므로 결과보고 완료 상태로 변경 + if($('exprnAprvlCd').val() == '10'){ + $("#aprvlCd").val('60'); + } + $('input[name="scholDivCd"]').val(""); /* 차시 최소시간 체크를 제외하기 위한 임시 scholDivCd를 update 처리에서 제외하기 위함 */ - if($('input[name=oprtnStrtDt]').val() != null){ + /* if($('input[name=oprtnStrtDt]').val() != null){ $('input[name=oprtnStrtDt]').val($('input[name=oprtnStrtDt]').val().replace(/[.]/gi, '')); } if($('input[name=oprtnEndDt]').val() != null){ $('input[name=oprtnEndDt]').val($('input[name=oprtnEndDt]').val().replace(/[.]/gi, '')); - } + } */ var data = new FormData(document.getElementById("createForm")); @@ -244,7 +249,7 @@ return false; } - if($('#trgtGrade').val() == ''){ + /* if($('#trgtGrade').val() == ''){ alert('대상학년/반을 입력해주세요.'); $("#trgtGrade").focus(); return false; @@ -302,7 +307,7 @@ if(oprtnStrtDtDate < todayDate) { alert('시작일 오늘 이후의 날짜로 입력해주세요.'); return flag = false; - } + } */ var trObj = $('.addClassRow').find('tbody > tr').not('.calendar_wrap tr'); if(trObj.length == 0){ @@ -427,7 +432,6 @@ -

거래선 양식

@@ -437,6 +441,7 @@

+

서약서 제출

@@ -472,9 +477,11 @@ + -
+ + <%--

운영 계획

* 항목은 필수 입력 사항입니다. @@ -547,193 +554,378 @@ -
+
--%>

차시별 운영계획

- ※ 운영지원금 지원을 위한 계획서(계획은 웅영에따 따라 변경 가능)
※ 담당교사의 재량으로 자율 편성하되, 1일 최대 2차시까지만 운영 가능
+ ※ 운영지원금 지원을 위한 계획서(계획은 운영에 따라 변경 가능)
※ 담당교사의 재량으로 자율 편성하되, 1일 최대 2차시까지만 운영 가능
-
- - - - - - - - - - - - - - - - - - - - - - - + + + + + + + +

필수입력 항목*

교육희망일

필수입력 항목*

시간

필수입력 항목*

학습주제

필수입력 항목*

지도내용
비고삭제
-
- -
-
-
-
- - -
-
-

시간 선택

+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

필수입력 항목*

교육희망일

필수입력 항목*

시간

필수입력 항목*

학습주제

필수입력 항목*

지도내용
비고삭제
+
+
-
-
- -
- : -
- +
+
+
+ + + + " class="time" name="strtTm" title="시작 시간 입력" readonly> + +
+
+

시간 선택

+
+
+
+ +
+ : +
+ +
+
+ +
+
+ + + + " class="time" name="endTm" title="종료 시간 입력" readonly> + +
+
+

시간 선택

+
+
+
+ +
+ : +
+ +
+
+ +
+
(분)
- +
+ + + + + + + + +
+ +
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + - - - - - - - -

필수입력 항목*

교육희망일

필수입력 항목*

시간

필수입력 항목*

학습주제

필수입력 항목*

지도내용
비고삭제
+
+
- -
- - -
-
-

시간 선택

-
-
-
- -
- : -
- +
+
+
+ + +
+
+

시간 선택

+
+
+
+ +
+ : +
+ +
+
+
- +
+ + +
+
+

시간 선택

+
+
+
+ +
+ : +
+ +
+
+ +
+
(분)
- (분) - -
- - - - - - - - -
- -
+
+ + + + + + + + +
+ +
+ + + + -
+ <%--

운영계획

@@ -782,11 +974,11 @@ -
+
--%>

차시별 운영계획

- ※ 운영지원금 지원을 위한 계획서(계획은 웅영에따 따라 변경 가능)
※ 담당교사의 재량으로 자율 편성하되, 1일 최대 2차시까지만 운영 가능
+ ※ 운영지원금 지원을 위한 계획서(계획은 운영에 따라 변경 가능)
※ 담당교사의 재량으로 자율 편성하되, 1일 최대 2차시까지만 운영 가능
diff --git a/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/exprnRsltDashboard.jsp b/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/exprnRsltDashboard.jsp index 425dc866..5d1eab67 100644 --- a/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/exprnRsltDashboard.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/exprnRsltDashboard.jsp @@ -373,10 +373,10 @@

생년월일

- - - - + + + + ${birthYear}년 ${birthMonth}월 ${birthDay}일 @@ -460,11 +460,12 @@

운영시기

- + ${info.oprtnStrtDt} ~ ${info.oprtnEndDt} + <%-- ~ - + --%> @@ -482,7 +483,7 @@

차시별 운영계획

- ※ 운영지원금 지원을 위한 계획서(계획은 웅영에따 따라 변경 가능)
※ 담당교사의 재량으로 자율 편성하되, 1일 최대 2차시까지만 운영 가능
+ ※ 운영지원금 지원을 위한 계획서(계획은 운영에 따라 변경 가능)
※ 담당교사의 재량으로 자율 편성하되, 1일 최대 2차시까지만 운영 가능
diff --git a/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/popup/cautionGuide.jsp b/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/popup/cautionGuide.jsp index 19f3c052..253250ae 100644 --- a/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/popup/cautionGuide.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/popup/cautionGuide.jsp @@ -72,11 +72,9 @@
  • 2.신청 시 공문양식을 다운로드 받아서 반드시 학교장 직인된 공문을 첨부해야 합니다.
  • 3.신청 시 반드시 본인 계정으로 신청해야 하며, 타인 계정으로 신청 시 신청 취소 처리됩니다.
  • 4.체험교실 신규 운영 교사는 체험교실 운영 교사 연수(1일, 8시간)를 반드시 이수해야 하며, 체험교실 운영 기간내에 저작권 e-배움터에서 제공하는 온라인 강좌를 의무 이수해야 합니다.
  • -
  • 5.신청기간 내 위원회 업무시간(09:00 ~ 18:00)동안 이용이 가능합니다.
  • - -
  • 6.신청교사가 교내에서 확인 가능한 메일 계정을 기재해 주시기 바랍니다.
  • -
  • 7.신청 중 문의사항은 위원회 체험교실 담당자에게 연락을 주시기 바랍니다(055-792-0234)
  • -
  • 8.선정 후 취소(신규 운영 교사 사전 연수 불참 등) 및 운영 포기교실은 차년도 참여를 제한합니다.
    (해당 내용 학교 공문 발송 예정)
  • +
  • 5.신청교사가 교내에서 확인 가능한 메일 계정을 기재해 주시기 바랍니다.
  • +
  • 6.선정 후 취소(신규 운영 교사 사전 연수 불참 등) 및 운영 포기교실은 차년도 참여를 제한합니다.
    (해당 내용 학교 공문 발송 예정)
  • +
  • 7.신청 시작시간과 마감시간에 유의하시기 바라며, 문의사항은 위원회 업무시간(09:00~18:00) 중
    체험교실 담당자(055-792-0234)에게 연락주시기 바랍니다.
  • From 7ecdaded3f8cc6515616bb1e6adb4bdcb0fdb493 Mon Sep 17 00:00:00 2001 From: subsub Date: Tue, 16 Jan 2024 17:51:37 +0900 Subject: [PATCH 5/6] =?UTF-8?q?2024/01/16=20table=20caption=20script=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../visitEdu/usr/publish/script/content.js | 1397 +++++++++-------- 1 file changed, 747 insertions(+), 650 deletions(-) diff --git a/src/main/webapp/visitEdu/usr/publish/script/content.js b/src/main/webapp/visitEdu/usr/publish/script/content.js index 699059fe..0a34c36a 100644 --- a/src/main/webapp/visitEdu/usr/publish/script/content.js +++ b/src/main/webapp/visitEdu/usr/publish/script/content.js @@ -1,23 +1,25 @@ - $(window).on("load",function () { - - //체크박스,라디오버튼 disabled 시 스크린리더가 건너뛰기때문에 태그 추가하여 읽게 만듦 20220503 - $("input[type='checkbox'],input[type='radio']").each(function(){ +$(window).on("load", function () { + + //체크박스,라디오버튼 disabled 시 스크린리더가 건너뛰기때문에 태그 추가하여 읽게 만듦 20220503 + $("input[type='checkbox'],input[type='radio']").each(function () { var chxDisabled = $(this).prop("disabled"); - if (chxDisabled == true){ + if (chxDisabled == true) { var chxLabel = $(this).next("label").text(); var chxChecked = $(this).prop("checked"); - if(chxChecked == true){ - $(this).next("label").after(""+chxLabel+' 체크됨'+""); - } else {$(this).next("label").after(""+chxLabel+"");} + if (chxChecked == true) { + $(this).next("label").after("" + chxLabel + ' 체크됨' + ""); + } else { + $(this).next("label").after("" + chxLabel + ""); + } } else {} }); - - $(".duet-date__toggle").attr("title","달력 열림"); - }); - + + $(".duet-date__toggle").attr("title", "달력 열림"); +}); + $(document).ready(function () { - + //강사유형 선택 $(".sel_tpye ul li").mouseenter(function () { $(this).addClass("on"); @@ -33,7 +35,7 @@ $(document).ready(function () { $(".sel_tpye ul li").focusout(function () { $(this).removeClass("on"); }); - + //시간 설정 팝업 $(".time_set_btn").click(function () { $(this).next($(".time_layer")).addClass("on"); @@ -55,104 +57,105 @@ $(document).ready(function () { timeInput(); $('.yearSelect').yearselect({ - start : 1970, - end : 2050, + start: 1970, + end: 2050, selected: new Date().getFullYear(), - order:'desc' + order: 'desc' }); // 생년월일 select box birthSelectBoxDraw(); - - $('.popup_wrap input[type="text"], .popup_wrap input[type="number"], .popup_wrap input[type="tel"]').keydown(function(){ - if(event.keyCode === 13){ + + $('.popup_wrap input[type="text"], .popup_wrap input[type="number"], .popup_wrap input[type="tel"]').keydown(function () { + if (event.keyCode === 13) { event.preventDefault(); } }); - - $(".tab_li.on .tab_button").attr("title","선택됨"); - + + $(".tab_li.on .tab_button").attr("title", "선택됨"); + // tab 클릭시 - $('.tab_button').on('click',function(){ + $('.tab_button').on('click', function () { var tabNum = $(this).closest(".tab_li").index(); $(this).closest(".tab_li").addClass("on").siblings(".tab_li").removeClass("on"); - $(this).attr("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(){ +function birthSelectBoxDraw() { $('.birthYear').yearselect({ - start : 1900, - end : new Date().getFullYear(), + start: 1900, + end: new Date().getFullYear(), emptyOption: true, emptyText: '선택', - selected:'', - order:'desc' + selected: '', + order: 'desc' }) // 년도를 바꾼다면 일자를 다시 선택하기 - $('.birthYear').change(function(){ - if($(this).next().next().next().next('select.birthDay')){ - if(Number($(this).next().next().next().next('select.birthDay').val()) > 28){ + $('.birthYear').change(function () { + if ($(this).next().next().next().next('select.birthDay')) { + if (Number($(this).next().next().next().next('select.birthDay').val()) > 28) { dayDraw($(this).next().next().next().next('select.birthDay')); } } }); - $.each($(".birthMonth"), function(idx, elm){ + $.each($(".birthMonth"), function (idx, elm) { var selectValue = $(this).attr('selectValue'); $(this).append($('