이지우 - 관리자 기소유예 대상자관리에 문자 일괄발송 추가
This commit is contained in:
parent
c28cdd55bd
commit
191dd751f9
@ -32,6 +32,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<link href="/offedu/visitEdu/adm/publish/css/select2.min.css" rel="stylesheet"/>
|
<link href="/offedu/visitEdu/adm/publish/css/select2.min.css" rel="stylesheet"/>
|
||||||
<script type="text/javascript" src="https://code.jquery.com/jquery-1.10.2.min.js" /></script>
|
<script type="text/javascript" src="https://code.jquery.com/jquery-1.10.2.min.js" /></script>
|
||||||
|
<script src="${pageContext.request.contextPath}/js/ve/sendSmsEmailUtil.js"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-beta.1/dist/js/select2.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-beta.1/dist/js/select2.min.js"></script>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<style>
|
<style>
|
||||||
@ -265,10 +266,53 @@
|
|||||||
$(".memoTr").fadeIn();
|
$(".memoTr").fadeIn();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function chkAll(thisObj){
|
||||||
|
$("input[name=chk]").prop("checked" , $(thisObj).is(":checked"));
|
||||||
|
}
|
||||||
|
|
||||||
|
function openSmsPopup(){
|
||||||
|
var chkLen = $(listForm).find("input[name=chk]:checked").length;
|
||||||
|
|
||||||
|
if(chkLen == 0){
|
||||||
|
alert("선택된 항목이 없습니다.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
document.popForm.action = "<c:url value='/oprtn/cndtnSspnIdtmt/popup/trgtSendSmsPopup.do'/>";
|
||||||
|
window.open("#", "_trgtSendSmsPopup", "scrollbars = no, top=100px, left=100px, height=550px, width=750px");
|
||||||
|
document.popForm.target = "_trgtSendSmsPopup";
|
||||||
|
document.popForm.submit();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function chkSendSms(cn){
|
||||||
|
var chkLen = $(listForm).find("input[name=chk]:checked").length;
|
||||||
|
|
||||||
|
if(chkLen == 0){
|
||||||
|
alert("선택된 항목이 없습니다.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
$('input:checkbox[name="chk"]:checked').each(function() {
|
||||||
|
sendSms(
|
||||||
|
$(this).val(),
|
||||||
|
cn,
|
||||||
|
$(this).data('sspnidtmttrgtord'),
|
||||||
|
$(this).data('userid'),
|
||||||
|
"N"
|
||||||
|
);
|
||||||
|
});
|
||||||
|
alert("발송되었습니다.");
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
<title>교육과정관리</title>
|
<title>교육과정관리</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<form id="popForm" name="popForm" method="post">
|
||||||
|
<input type="hidden" name="sspnIdtmtTrgtOrd" value=""/>
|
||||||
|
<input type="hidden" name="targetId" value=""/>
|
||||||
|
<input type="hidden" name="type" value=""/>
|
||||||
|
<input type="hidden" name="phone" value=""/>
|
||||||
|
</form>
|
||||||
<form id="detailForm" name="detailForm" method="post" >
|
<form id="detailForm" name="detailForm" method="post" >
|
||||||
<input type="hidden" id="sspnIdtmtTrgtOrd" name="sspnIdtmtTrgtOrd" value="" />
|
<input type="hidden" id="sspnIdtmtTrgtOrd" name="sspnIdtmtTrgtOrd" value="" />
|
||||||
</form>
|
</form>
|
||||||
@ -443,6 +487,7 @@
|
|||||||
<div class="tb_type01">
|
<div class="tb_type01">
|
||||||
<table>
|
<table>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
|
<col style="width: 1px;">
|
||||||
<col style="width: 10%">
|
<col style="width: 10%">
|
||||||
<col style="width: 10%">
|
<col style="width: 10%">
|
||||||
<col style="width: 2px">
|
<col style="width: 2px">
|
||||||
@ -457,6 +502,7 @@
|
|||||||
</colgroup>
|
</colgroup>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
<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>
|
||||||
@ -486,6 +532,11 @@
|
|||||||
<%-- <td onclick="fncGoDetail('<c:out value="${list.sspnIdtmtTrgtOrd}"/>');" style="cursor:pointer;"> --%>
|
<%-- <td onclick="fncGoDetail('<c:out value="${list.sspnIdtmtTrgtOrd}"/>');" style="cursor:pointer;"> --%>
|
||||||
<%-- <c:out value='${list.prcsNm}'/> --%>
|
<%-- <c:out value='${list.prcsNm}'/> --%>
|
||||||
<!-- </td> -->
|
<!-- </td> -->
|
||||||
|
<td onclick="event.cancelBubble=true">
|
||||||
|
<input name="chk" class="${list.atchFileId}" value="${list.clphone}"
|
||||||
|
data-userid="<c:out value='${list.userId}' />" data-sspnidtmttrgtord="<c:out value='${list.sspnIdtmtTrgtOrd}' />"
|
||||||
|
title="Check" type="checkbox"/>
|
||||||
|
</td>
|
||||||
<td><!-- 의뢰일 -->
|
<td><!-- 의뢰일 -->
|
||||||
|
|
||||||
<c:set var="reqPnttm" value="${fn:substring(list.reqPnttm, 0, 10)}" />
|
<c:set var="reqPnttm" value="${fn:substring(list.reqPnttm, 0, 10)}" />
|
||||||
@ -533,7 +584,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<c:if test="${!empty list.rmrks }">
|
<c:if test="${!empty list.rmrks }">
|
||||||
<tr class="memoTr" style="display:none;">
|
<tr class="memoTr" style="display:none;">
|
||||||
<td colspan="11" style="text-align:left; background-color:#131de14a;">
|
<td colspan="12" style="text-align:left; background-color:#131de14a;">
|
||||||
<c:out value="${list.rmrks}" />
|
<c:out value="${list.rmrks}" />
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
@ -554,6 +605,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="btn_wrap btn_layout01">
|
<div class="btn_wrap btn_layout01">
|
||||||
<div class="btn_left">
|
<div class="btn_left">
|
||||||
|
<button type="button" class="btn_type06" onclick="openSmsPopup();">문자발송</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn_center">
|
<div class="btn_center">
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user