관리자 - 기소유예 메일발송 / 기반강화 문자,메일 발송 완료
This commit is contained in:
parent
8a34daba62
commit
3dfd2bd06c
@ -561,6 +561,9 @@ public class FndtnEnhanceTrnController {
|
|||||||
vEEduAplctVO.setLctrYn(vEPrcsDetailVO.getLctrYn());
|
vEEduAplctVO.setLctrYn(vEPrcsDetailVO.getLctrYn());
|
||||||
vEEduAplctVO.setPrvsQs(vEPrcsDetailVO.getPrvsQs());
|
vEEduAplctVO.setPrvsQs(vEPrcsDetailVO.getPrvsQs());
|
||||||
|
|
||||||
|
vEEduAplctVO.setEmail(vEPrcsDetailVO.getEmail());
|
||||||
|
vEEduAplctVO.setPhone(vEPrcsDetailVO.getPhone());
|
||||||
|
|
||||||
|
|
||||||
fndtnEnhanceTrnService.insertVeEduAplct(vEEduAplctVO);
|
fndtnEnhanceTrnService.insertVeEduAplct(vEEduAplctVO);
|
||||||
|
|
||||||
|
|||||||
@ -240,19 +240,36 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$('input:checkbox[name="chk"]:checked').each(function() {
|
if(type == 'sms')
|
||||||
|
{
|
||||||
if(type == "sms"){
|
$('input:checkbox[name="chk"]:checked').each(function() {
|
||||||
sendSms(
|
|
||||||
$(this).data('clphone'),
|
if(type == "sms"){
|
||||||
$("#smsMsg").val(),
|
sendSms(
|
||||||
|
$(this).data('clphone'),
|
||||||
|
$("#smsMsg").val(),
|
||||||
|
$(this).val(),
|
||||||
|
$(this).data('userid'),
|
||||||
|
"N"
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
else if(type == 'email')
|
||||||
|
{
|
||||||
|
$('input:checkbox[name="chk"]:checked').each(function() {
|
||||||
|
|
||||||
|
sendEmail(
|
||||||
|
$(this).data('email'),
|
||||||
|
"교육운영 관리 시스템입니다.\n기소유예 교육이 확정되었습니다.",
|
||||||
$(this).val(),
|
$(this).val(),
|
||||||
$(this).data('userid'),
|
$(this).data('userid'),
|
||||||
|
"B", // 기소유예 코드
|
||||||
"N"
|
"N"
|
||||||
);
|
);
|
||||||
}
|
});
|
||||||
|
}
|
||||||
});
|
|
||||||
alert("발송되었습니다.");
|
alert("발송되었습니다.");
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -485,17 +502,19 @@
|
|||||||
<col style="width: 5%">
|
<col style="width: 5%">
|
||||||
<col style="width: 180px;">
|
<col style="width: 180px;">
|
||||||
<col style="width: 12%">
|
<col style="width: 12%">
|
||||||
|
<col style="width: 12%">
|
||||||
<col style="width: 210px;">
|
<col style="width: 210px;">
|
||||||
<col style="width: 210px;">
|
<col style="width: 210px;">
|
||||||
<col style="width: 210px;">
|
<col style="width: 210px;">
|
||||||
<col style="width: 180px;">
|
<col style="width: 180px;">
|
||||||
<col style="width: 210px;">
|
<col style="width: 140px;">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th><input type="checkbox" name="checkAll" id="checkAll" onclick="chkAll(this);" /><label for="checkAll"></label></th>
|
<th><input type="checkbox" name="checkAll" id="checkAll" onclick="chkAll(this);" /><label for="checkAll"></label></th>
|
||||||
<th>신청자(대상자)</th>
|
<th>신청자(대상자)</th>
|
||||||
<th>주민번호 앞자리</th>
|
<th>주민번호 앞자리</th>
|
||||||
|
<th>이메일</th>
|
||||||
<th>연락처</th>
|
<th>연락처</th>
|
||||||
<th>교육이수여부</th>
|
<th>교육이수여부</th>
|
||||||
<th>교육이수상태변경</th>
|
<th>교육이수상태변경</th>
|
||||||
@ -509,9 +528,9 @@
|
|||||||
<c:forEach var="list" items="${listPrcsAplct}" varStatus="status">
|
<c:forEach var="list" items="${listPrcsAplct}" varStatus="status">
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<input name="chk" class="${list.asgnmAprvlCd}"
|
<input name="chk" class="${list.asgnmAprvlCd}" data-email="<c:out value='${list.email}' />"
|
||||||
value="${list.eduAplctOrd}" data-info="${list.sspnIdtmtTrgtOrd }" data-userid="<c:out value='${list.userId}' />"
|
value="${list.eduAplctOrd}" data-info="${list.sspnIdtmtTrgtOrd }" data-userid="<c:out value='${list.userId}' />"
|
||||||
data-clphone="<c:out value='${list.vs_clphone}' />" title="Check" type="checkbox"/>
|
data-clphone="<c:out value='${list.phone}' />" title="Check" type="checkbox"/>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<c:out value="${list.userNm}"/>(<c:out value="${list.trgtNm}"/>)(<c:out value="${list.sspnIdtmtTrgtOrd}"/>)
|
<c:out value="${list.userNm}"/>(<c:out value="${list.trgtNm}"/>)(<c:out value="${list.sspnIdtmtTrgtOrd}"/>)
|
||||||
@ -520,7 +539,10 @@
|
|||||||
<c:out value="${list.dBirth}"/>
|
<c:out value="${list.dBirth}"/>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<c:out value="${list.vs_clphone}"/>
|
<c:out value="${list.email}"/>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<c:out value="${list.phone}"/>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<!--10 미이수, 20 이수 -->
|
<!--10 미이수, 20 이수 -->
|
||||||
@ -612,6 +634,7 @@
|
|||||||
<div class="btn_center">
|
<div class="btn_center">
|
||||||
</div>
|
</div>
|
||||||
<div class="btn_right">
|
<div class="btn_right">
|
||||||
|
<button type="button" class="btn_type08" onclick="chkSnd('email');return false;">email 발송</button>
|
||||||
<button type="button" class="btn_type04" onclick="location.href='<c:url value="/kccadr/oprtn/cndtnSspnIdtmt/cndtnEduPrcsAplctCfnMngList.do" />'; return false;">교육확정목록</button>
|
<button type="button" class="btn_type04" onclick="location.href='<c:url value="/kccadr/oprtn/cndtnSspnIdtmt/cndtnEduPrcsAplctCfnMngList.do" />'; return false;">교육확정목록</button>
|
||||||
<button type="button" class="btn_type04" onclick="fn_statusChgList('20', '<c:out value="${info.prcsAplctPrdOrd }" />'); return false;">이수</button>
|
<button type="button" class="btn_type04" onclick="fn_statusChgList('20', '<c:out value="${info.prcsAplctPrdOrd }" />'); return false;">이수</button>
|
||||||
<button type="button" class="btn_type04" onclick="fn_statusChgList('10', '<c:out value="${info.prcsAplctPrdOrd }" />'); return false;">미이수</button>
|
<button type="button" class="btn_type04" onclick="fn_statusChgList('10', '<c:out value="${info.prcsAplctPrdOrd }" />'); return false;">미이수</button>
|
||||||
|
|||||||
@ -29,6 +29,7 @@
|
|||||||
<title>교육과정관리</title>
|
<title>교육과정관리</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<script type="text/javascript" src="<c:url value='/js/web/popup.js'/>" ></script>
|
<script type="text/javascript" src="<c:url value='/js/web/popup.js'/>" ></script>
|
||||||
|
<script src="${pageContext.request.contextPath}/js/ve/sendSmsEmailUtil.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
@ -217,6 +218,51 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function chkSnd(type){
|
||||||
|
var chkLen = $(detailForm).find("input[name=chk]:checked").length;
|
||||||
|
|
||||||
|
if(chkLen == 0){
|
||||||
|
alert("선택된 항목이 없습니다.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if(type == 'sms')
|
||||||
|
{
|
||||||
|
$('input:checkbox[name="chk"]:checked').each(function() {
|
||||||
|
|
||||||
|
if(type == "sms"){
|
||||||
|
sendSms(
|
||||||
|
$(this).data('clphone'),
|
||||||
|
$("#smsMsg").val(),
|
||||||
|
$(this).val(),
|
||||||
|
$(this).data('userid'),
|
||||||
|
"N"
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
else if(type == 'email')
|
||||||
|
{
|
||||||
|
$('input:checkbox[name="chk"]:checked').each(function() {
|
||||||
|
|
||||||
|
sendEmail(
|
||||||
|
$(this).data('email'),
|
||||||
|
"교육운영 관리 시스템입니다.\n기반강화 교육이 확정되었습니다.",
|
||||||
|
$(this).val(),
|
||||||
|
$(this).data('userid'),
|
||||||
|
"A", // 기반강화
|
||||||
|
"N"
|
||||||
|
);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
alert("발송되었습니다.");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
@ -450,20 +496,24 @@
|
|||||||
<table>
|
<table>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col style="width: 5%">
|
<col style="width: 5%">
|
||||||
<col style="width: 180px;">
|
<col style="width: 10%;">
|
||||||
<col style="width: 180px;">
|
<col style="width: 10%;">
|
||||||
<col style="width: 180px;">
|
<col style="width: 10%;">
|
||||||
<col style="width: 180px;">
|
<col style="width: 10%;">
|
||||||
<col style="width: 180px;">
|
<col style="width: 10%;">
|
||||||
<col style="width: 180px;">
|
<col style="width: 10%;">
|
||||||
<col style="width: 180px;">
|
<col style="width: 10%;">
|
||||||
<col style="width: 210px;">
|
<col style="width: 10%;">
|
||||||
|
<col style="width: 10%;">
|
||||||
|
<col style="width: 10%;">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th><input type="checkbox" name="checkAll" id="checkAll" onclick="chkAll(this);" /><label for="checkAll"></label></th>
|
<th><input type="checkbox" name="checkAll" id="checkAll" onclick="chkAll(this);" /><label for="checkAll"></label></th>
|
||||||
<th>신청자</th>
|
<th>신청자</th>
|
||||||
<th>성명</th>
|
<th>성명</th>
|
||||||
|
<th>email</th>
|
||||||
|
<th>연락처</th>
|
||||||
<th>생년월일</th>
|
<th>생년월일</th>
|
||||||
<th>소속기업</th>
|
<th>소속기업</th>
|
||||||
<th>교육이수여부</th>
|
<th>교육이수여부</th>
|
||||||
@ -477,10 +527,17 @@
|
|||||||
<c:when test="${!empty listPrcsAplct}">
|
<c:when test="${!empty listPrcsAplct}">
|
||||||
<c:forEach var="list" items="${listPrcsAplct}" varStatus="status">
|
<c:forEach var="list" items="${listPrcsAplct}" varStatus="status">
|
||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
<input name="chk" class="${list.asgnmAprvlCd}"
|
<input name="chk" class="${list.asgnmAprvlCd}" data-email="<c:out value='${list.email}' />"
|
||||||
value="${list.eduAplctOrd}" title="Check" type="checkbox"/>
|
value="${list.eduAplctOrd}" data-info="${list.sspnIdtmtTrgtOrd }" data-userid="<c:out value='${list.userId}' />"
|
||||||
|
data-clphone="<c:out value='${list.phone}' />" title="Check" type="checkbox"/>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
<!-- <td> -->
|
||||||
|
<%-- <input name="chk" class="${list.asgnmAprvlCd}" --%>
|
||||||
|
<%-- value="${list.eduAplctOrd}" title="Check" type="checkbox"/> --%>
|
||||||
|
<!-- </td> -->
|
||||||
<td>
|
<td>
|
||||||
<c:out value="${list.userNm}"/>
|
<c:out value="${list.userNm}"/>
|
||||||
</td>
|
</td>
|
||||||
@ -488,7 +545,13 @@
|
|||||||
<c:out value="${list.chrgNm}"/>
|
<c:out value="${list.chrgNm}"/>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<c:out value="${list.dBirth}"/>
|
<c:out value="${list.email}"/>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<c:out value="${list.phone}"/>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<c:out value="${list.DBirth}"/>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<c:out value="${list.insttNm}"/>
|
<c:out value="${list.insttNm}"/>
|
||||||
@ -535,6 +598,45 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="tb_tit01">
|
||||||
|
<p>교육신청자 알림정보</p>
|
||||||
|
</div>
|
||||||
|
<div class="tb_type02">
|
||||||
|
<table>
|
||||||
|
<colgroup>
|
||||||
|
<col style="width: 210px;">
|
||||||
|
<col style="width: auto;">
|
||||||
|
</colgroup>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">
|
||||||
|
<p>SMS 내용</p>
|
||||||
|
</th>
|
||||||
|
<td class="tb_alram">
|
||||||
|
<div>
|
||||||
|
<textarea id="smsMsg"></textarea>
|
||||||
|
<button type="button" class="btn_type08" onclick="chkSnd('sms');return false;">SMS 발송</button>
|
||||||
|
</div>
|
||||||
|
<!-- <p><span id="byteSms">0</span>/90 byte</p> -->
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<!-- <tr>
|
||||||
|
<th scope="row">
|
||||||
|
<p>이메일 답변 내용</p>
|
||||||
|
</th>
|
||||||
|
<td class="tb_alram">
|
||||||
|
<div>
|
||||||
|
<textarea id="smsEmail" onkeyup="countBytes(this ,1000 ,$('#byteEmail')[0])"></textarea>
|
||||||
|
<button type="button" class="btn_type08" onclick="chkSnd('email');return false;">이메일 발송</button>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<p><span id="byteEmail">0</span>/1000 byte</p>
|
||||||
|
</td>
|
||||||
|
</tr> -->
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
<!-- //list_상세 -->
|
<!-- //list_상세 -->
|
||||||
<!-- btn_wrap -->
|
<!-- btn_wrap -->
|
||||||
<div class="btn_wrap btn_layout01">
|
<div class="btn_wrap btn_layout01">
|
||||||
@ -543,6 +645,7 @@
|
|||||||
<div class="btn_center">
|
<div class="btn_center">
|
||||||
</div>
|
</div>
|
||||||
<div class="btn_right">
|
<div class="btn_right">
|
||||||
|
<button type="button" class="btn_type08" onclick="chkSnd('email');return false;">email 발송</button>
|
||||||
<button type="button" class="btn_type04" onclick="location.href='<c:url value="/kccadr/oprtn/cndtnSspnIdtmt/cndtnEduPrcsAplctCfnMngList.do" />'; return false;">교육확정목록</button>
|
<button type="button" class="btn_type04" onclick="location.href='<c:url value="/kccadr/oprtn/cndtnSspnIdtmt/cndtnEduPrcsAplctCfnMngList.do" />'; return false;">교육확정목록</button>
|
||||||
<button type="button" class="btn_type04" onclick="fn_statusChgList('20', '<c:out value="${info.prcsAplctPrdOrd }" />'); return false;">이수</button>
|
<button type="button" class="btn_type04" onclick="fn_statusChgList('20', '<c:out value="${info.prcsAplctPrdOrd }" />'); return false;">이수</button>
|
||||||
<button type="button" class="btn_type04" onclick="fn_statusChgList('10', '<c:out value="${info.prcsAplctPrdOrd }" />'); return false;">미이수</button>
|
<button type="button" class="btn_type04" onclick="fn_statusChgList('10', '<c:out value="${info.prcsAplctPrdOrd }" />'); return false;">미이수</button>
|
||||||
|
|||||||
@ -483,12 +483,12 @@
|
|||||||
<th>신청일</th>
|
<th>신청일</th>
|
||||||
<th>확정여부</th>
|
<th>확정여부</th>
|
||||||
<th>성명</th>
|
<th>성명</th>
|
||||||
<th>생년월일</th>
|
<th>연락처</th>
|
||||||
|
<th>email</th>
|
||||||
<th>소속기업</th>
|
<th>소속기업</th>
|
||||||
<th>분야</th>
|
<th>분야</th>
|
||||||
<th>수강여부</th>
|
<th>수강여부</th>
|
||||||
<th>사전질의</th>
|
<th>사전질의</th>
|
||||||
<th>이수여부</th>
|
|
||||||
<!-- <th>설문조사</th>
|
<!-- <th>설문조사</th>
|
||||||
<th>이수증</th> -->
|
<th>이수증</th> -->
|
||||||
</tr>
|
</tr>
|
||||||
@ -513,10 +513,13 @@
|
|||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<c:out value="${list.chrgNm}"/>
|
<c:out value="${list.chrgNm}"/>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<c:out value="${list.dBirth}"/>
|
<c:out value="${list.phone}"/>
|
||||||
</td>
|
</td>
|
||||||
|
<td>
|
||||||
|
<c:out value="${list.email}"/>
|
||||||
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<c:out value="${list.insttNm}"/>
|
<c:out value="${list.insttNm}"/>
|
||||||
</td>
|
</td>
|
||||||
@ -529,9 +532,6 @@
|
|||||||
<td>
|
<td>
|
||||||
<c:out value="${list.prvsQs}"/>
|
<c:out value="${list.prvsQs}"/>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
|
||||||
<ve:code codeId="VEA003" code="${list.aplctStateCd}"/>
|
|
||||||
</td>
|
|
||||||
|
|
||||||
<%-- <td>
|
<%-- <td>
|
||||||
<c:choose>
|
<c:choose>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user