2025-11-28 12:13 버튼 수정 및 문구 모듈화

This commit is contained in:
myname 2025-11-28 12:13:43 +09:00
parent f486cbdd26
commit b77138dc92
7 changed files with 181 additions and 42 deletions

View File

@ -584,6 +584,8 @@
<p>교육과정관리</p>
</div>
<div class="tb_type02">
<%@ include file="../cndtnSspnIdtmt/include/tableEduInfo.jsp" %>
<!--
<table>
<colgroup>
<col style="width: 210px;">
@ -662,6 +664,7 @@
</tr> --%>
</tbody>
</table>
-->
</div>
<!-- //list_상세 -->

View File

@ -237,8 +237,22 @@
function fncDdlnCdSave(data){
$('#modyDdlnCd').val(data);
var v_pass = false;
if (data=='10'){
if(confirm("해당 교육 신청을 마감합니까?")){
v_pass = true;
}
}else if (data=='20'){
if(confirm("해당 교육을 확정합니까?\n현재 승인된 신청자만 교육진행가능합니다.")){
v_pass = true;
}
}
var data = new FormData(document.getElementById("modyfiForm"));
if(confirm("상태를 변경하시겠습니까?")){
if(v_pass){
//if(confirm("상태를 변경하시겠습니까?")){
var url = "<c:url value='/kccadr/oprtn/cmdTrgt/updateDdlnCdAjax.do'/>";
console.log(data);
$.ajax({
@ -472,6 +486,8 @@
<p>교육과정관리</p>
</div>
<div class="tb_type02">
<%@ include file="../cndtnSspnIdtmt/include/tableEduInfo.jsp" %>
<!--
<table>
<colgroup>
<col style="width: 210px;">
@ -558,10 +574,10 @@
<p>첨부파일</p>
</th>
<td>
<c:import url="/cmm/fms/selectBBSFileInfs.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${info.atchFileId}" />
<c:param name="pdf_view" value="Y" />
</c:import>
c:import url="/cmm/fms/selectBBSFileInfs.do" charEncoding="utf-8">
c:param name="param_atchFileId" value="${info.atchFileId}" />
c:param name="pdf_view" value="Y" />
/c:import>
</td>
</tr>
<%-- <tr>
@ -575,6 +591,7 @@
</tr> --%>
</tbody>
</table>
-->
</div>
<!-- //list_상세 -->

View File

@ -634,6 +634,8 @@
<p>교육과정관리</p>
</div>
<div class="tb_type02">
<%@ include file="./include/tableEduInfo.jsp" %>
<!--
<table>
<colgroup>
<col style="width: 210px;">
@ -712,6 +714,7 @@
</tr> --%>
</tbody>
</table>
-->
</div>
<!-- //list_상세 -->

View File

@ -237,8 +237,25 @@
function fncDdlnCdSave(data){
$('#modyDdlnCd').val(data);
var v_pass = false;
if (data=='10'){
if(confirm("해당 교육 신청을 마감합니까?")){
v_pass = true;
}
}else if (data=='20'){
if(confirm("해당 교육을 확정합니까?\n현재 승인된 신청자만 교육진행가능합니다.")){
v_pass = true;
}
}
//alert(v_pass);
//return ;
var data = new FormData(document.getElementById("modyfiForm"));
if(confirm("상태를 변경하시겠습니까?")){
if(v_pass){
var url = "<c:url value='/kccadr/oprtn/cndtnSspnIdtmt/updateDdlnCdAjax.do'/>";
console.log(data);
$.ajax({
@ -460,6 +477,8 @@
<p>교육과정관리</p>
</div>
<div class="tb_type02">
<%@ include file="./include/tableEduInfo.jsp" %>
<!--
<table>
<colgroup>
<col style="width: 210px;">
@ -530,39 +549,10 @@
<ve:code codeId="VEA004" code="${info.ddlnCd}"/>
</td>
</tr>
<%-- <tr>
<th scope="row">
<p>공개여부(사용여부)</p>
</th>
<td>
${empty info.useYn or info.useYn eq 'Y' ? '공개' : ''}
${info.useYn eq 'N' ? '비공개' : ''}
</td>
</tr> --%>
<tr>
<th scope="row">
<p>첨부파일</p>
</th>
<td>
<c:import url="/cmm/fms/selectBBSFileInfs.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${info.atchFileId}" />
<c:param name="pdf_view" value="Y" />
</c:import>
</td>
</tr>
<%-- <tr>
<th scope="row">
<p>공개여부(사용여부)</p>
</th>
<td>
<c:if test="${empty info.useYn or info.useYn eq 'Y'}">예</c:if>
<c:if test="${info.useYn eq 'N'}">아니오</c:if>
</td>
</tr> --%>
</tbody>
</table>
-->
</div>
<!-- //list_상세 -->

View File

@ -0,0 +1,106 @@
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!--내용s-->
<table>
<colgroup>
<col style="width: 210px;">
<col style="width: auto;">
<col style="width: 210px;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th scope="row">교육부분</th>
<td>
<ve:code codeId="VEA001" code="${info.prcsDiv}"/>
</td>
</tr>
<tr>
<th scope="row">과정</th>
<td>
<c:out value="${info.prcsNm}"/>
</td>
</tr>
<tr>
<th scope="row">과정명</th>
<td>
<c:out value="${info.title}"/>
</td>
</tr>
<tr>
<th scope="row">신청기간</th>
<td>
<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>
<tr>
<th scope="row">교육기간</th>
<td>
<c:out value="${info.eduStrtPnttm}"/>
</td>
</tr>
<tr>
<th scope="row">설문오픈일시</th>
<td>
<c:out value="${info.qustnrStrtPnttm}"/> <c:out value="${info.qustnrTm}"/>시
</td>
</tr>
<tr>
<th scope="row">상세교육과정</th>
<td>
<c:out value="${fn:replace(info.prcsCn , crlf , '<br/>')}" escapeXml="false" />
</td>
</tr>
<tr>
<th scope="row">정원</th>
<td class="addPro_wrap">
<c:out value="${info.nos}"/>
</td>
</tr>
<tr>
<th scope="row">상태</th>
<td id="ddlnCdStts">
<ve:code codeId="VEA004" code="${info.ddlnCd}"/>
</td>
</tr>
<%-- <tr>
<th scope="row">
<p>공개여부(사용여부)</p>
</th>
<td>
${empty info.useYn or info.useYn eq 'Y' ? '공개' : ''}
${info.useYn eq 'N' ? '비공개' : ''}
</td>
</tr> --%>
<tr>
<th scope="row">
<p>첨부파일</p>
</th>
<td>
<c:import url="/cmm/fms/selectBBSFileInfs.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${info.atchFileId}" />
<c:param name="pdf_view" value="Y" />
</c:import>
</td>
</tr>
<%-- <tr>
<th scope="row">
<p>공개여부(사용여부)</p>
</th>
<td>
<c:if test="${empty info.useYn or info.useYn eq 'Y'}">예</c:if>
<c:if test="${info.useYn eq 'N'}">아니오</c:if>
</td>
</tr> --%>
</tbody>
</table>

View File

@ -571,6 +571,8 @@
<p>교육과정관리</p>
</div>
<div class="tb_type02">
<%@ include file="../cndtnSspnIdtmt/include/tableEduInfo.jsp" %>
<!--
<table>
<colgroup>
<col style="width: 210px;">
@ -649,6 +651,7 @@
</tr> --%>
</tbody>
</table>
-->
</div>
<!-- //list_상세 -->

View File

@ -237,8 +237,22 @@
function fncDdlnCdSave(data){
$('#modyDdlnCd').val(data);
var v_pass = false;
if (data=='10'){
if(confirm("해당 교육 신청을 마감합니까?")){
v_pass = true;
}
}else if (data=='20'){
if(confirm("해당 교육을 확정합니까?\n현재 승인된 신청자만 교육진행가능합니다.")){
v_pass = true;
}
}
var data = new FormData(document.getElementById("modyfiForm"));
if(confirm("상태를 변경하시겠습니까?")){
if(v_pass){
//if(confirm("상태를 변경하시겠습니까?")){
var url = "<c:url value='/kccadr/oprtn/prevent/updateDdlnCdAjax.do'/>";
console.log(data);
$.ajax({
@ -460,6 +474,8 @@
<p>교육과정관리</p>
</div>
<div class="tb_type02">
<%@ include file="../cndtnSspnIdtmt/include/tableEduInfo.jsp" %>
<!--
<table>
<colgroup>
<col style="width: 210px;">
@ -546,10 +562,10 @@
<p>첨부파일</p>
</th>
<td>
<c:import url="/cmm/fms/selectBBSFileInfs.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${info.atchFileId}" />
<c:param name="pdf_view" value="Y" />
</c:import>
c:import url="/cmm/fms/selectBBSFileInfs.do" charEncoding="utf-8">
c:param name="param_atchFileId" value="${info.atchFileId}" />
c:param name="pdf_view" value="Y" />
/c:import>
</td>
</tr>
<%-- <tr>
@ -563,6 +579,7 @@
</tr> --%>
</tbody>
</table>
-->
</div>
<!-- //list_상세 -->