Merge branch 'advc' of http://yongjoon.cho@vcs.iten.co.kr:9999/hylee/offedu into advc
This commit is contained in:
commit
01823e60da
@ -28,6 +28,7 @@
|
||||
<head>
|
||||
<title>교육과정관리</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<script src="${pageContext.request.contextPath}/js/ve/sendSmsEmailUtil.js"></script>
|
||||
<script type="text/javascript" src="<c:url value='/js/web/popup.js'/>" ></script>
|
||||
|
||||
|
||||
@ -230,6 +231,31 @@
|
||||
form.action = "<c:url value='/kccadr/oprtn/fndthEnhanceTrn/popup/lctrEvalPopup.do'/>";
|
||||
openPopupAndSubmitForm('popupForm', 'popupForm', 900, 1200);
|
||||
}
|
||||
|
||||
function chkSnd(type){
|
||||
var chkLen = $(detailForm).find("input[name=chk]:checked").length;
|
||||
|
||||
if(chkLen == 0){
|
||||
alert("선택된 항목이 없습니다.");
|
||||
return;
|
||||
}
|
||||
|
||||
$('input:checkbox[name="chk"]:checked').each(function() {
|
||||
|
||||
if(type == "sms"){
|
||||
sendSms(
|
||||
$(this).data('clphone'),
|
||||
$("#smsMsg").val(),
|
||||
$(this).val(),
|
||||
$(this).data('userid'),
|
||||
"N"
|
||||
);
|
||||
}
|
||||
|
||||
});
|
||||
alert("발송되었습니다.");
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
</head>
|
||||
@ -484,7 +510,8 @@
|
||||
<tr>
|
||||
<td>
|
||||
<input name="chk" class="${list.asgnmAprvlCd}"
|
||||
value="${list.eduAplctOrd}" data-info="${list.sspnIdtmtTrgtOrd }" title="Check" type="checkbox"/>
|
||||
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"/>
|
||||
</td>
|
||||
<td>
|
||||
<c:out value="${list.userNm}"/>(<c:out value="${list.trgtNm}"/>)(<c:out value="${list.sspnIdtmtTrgtOrd}"/>)
|
||||
@ -538,6 +565,45 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</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_상세 -->
|
||||
<!-- btn_wrap -->
|
||||
<div class="btn_wrap btn_layout01">
|
||||
|
||||
@ -253,55 +253,7 @@
|
||||
|
||||
}
|
||||
|
||||
function chkSnd(type){
|
||||
var chkLen = $(detailForm).find("input[name=chk]:checked").length;
|
||||
|
||||
if(chkLen == 0){
|
||||
alert("선택된 항목이 없습니다.");
|
||||
return;
|
||||
}
|
||||
|
||||
$('input:checkbox[name="chk"]:checked').each(function() {
|
||||
|
||||
if(type == "sms"){
|
||||
alert("문자");
|
||||
|
||||
|
||||
/* sendSms(
|
||||
$(this).data('instrphone'),
|
||||
"교육운영 관리 시스템입니다." + $(this).data('instrnm')+"님의 " + $(this).data('date') + " 교육 강사료는 " + $(this).data('instrfeesum') +"입니다.",
|
||||
$(this).val().split('@')[0],
|
||||
$(this).data('userid'),
|
||||
"N"
|
||||
); */
|
||||
|
||||
}else{
|
||||
alert("메일");
|
||||
|
||||
|
||||
/* sendEmail(
|
||||
$(this).data('instrphone'),
|
||||
"교육운영 관리 시스템입니다." + $(this).data('instrnm')+"님의 " + $(this).data('date') + " 교육 강사료는 " + $(this).data('instrfeesum') +"입니다.",
|
||||
$(this).val().split('@')[0],
|
||||
$(this).data('userid'),
|
||||
"N"
|
||||
); */
|
||||
}
|
||||
|
||||
/* sendSms(
|
||||
$(this).data('instrphone'),
|
||||
"교육운영 관리 시스템입니다." + $(this).data('instrnm')+"님의 " + $(this).data('date') + " 교육 강사료는 " + $(this).data('instrfeesum') +"입니다.",
|
||||
$(this).val().split('@')[0],
|
||||
$(this).data('userid'),
|
||||
"N"
|
||||
);
|
||||
*/
|
||||
|
||||
|
||||
});
|
||||
alert("발송되었습니다.");
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
</head>
|
||||
@ -554,7 +506,6 @@
|
||||
<c:when test="${!empty listPrcsAplct}">
|
||||
<c:forEach var="list" items="${listPrcsAplct}" varStatus="status">
|
||||
<tr>
|
||||
<input type="hidden" id="clphone" value="<c:out value="${list.clphone }" />" />
|
||||
<td>
|
||||
<c:choose>
|
||||
<c:when test="${list.aplctStateCd ne 30 and list.aplctStateCd ne 35}">
|
||||
@ -605,46 +556,6 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</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" placeholder="* 메시지는 단문(90byte)으로만 작성 가능합니다." onkeyup="countBytes(this ,90 ,$('#byteSms')[0])"></textarea>
|
||||
<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_상세 -->
|
||||
<!-- btn_wrap -->
|
||||
<div class="btn_wrap btn_layout01">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user