2024-03-22 17:03 발송 실패 문구 숨김처리

This commit is contained in:
myname 2024-03-22 17:03:45 +09:00
parent ab235cab8e
commit e7b637f3b4
2 changed files with 28 additions and 4 deletions

View File

@ -532,9 +532,9 @@
success:function(returnData){ success:function(returnData){
if(returnData.result == "success"){ if(returnData.result == "success"){
alert(returnData.message); //alert(returnData.message);
}else{ }else{
alert(returnData.message); //alert(returnData.message);
} }
}, },
error:function(request , status, error){ error:function(request , status, error){

View File

@ -28,7 +28,7 @@
.innorix_basic div.irx_filetree.empty-uploader{background: url(/offedu/visitEdu/usr/publish/images/content/dropzone_file_before.png) no-repeat center; height: 150px !important;} .innorix_basic div.irx_filetree.empty-uploader{background: url(/offedu/visitEdu/usr/publish/images/content/dropzone_file_before.png) no-repeat center; height: 150px !important;}
.irx_filetree,.innorix_basic div.irx_infoBox{height: 150px !important;} .irx_filetree,.innorix_basic div.irx_infoBox{height: 150px !important;}
</style> </style>
<script src="${pageContext.request.contextPath}/js/ve/sendSmsEmailUtil.js"></script>
<script type="text/javaScript" language="javascript"> <script type="text/javaScript" language="javascript">
$( document ).ready(function(){ $( document ).ready(function(){
$(".btn_add_file").on('click', function(){ $(".btn_add_file").on('click', function(){
@ -269,6 +269,26 @@
*/ */
if(fn_innorixCmmAjax(sendData, url) == "OK") if(fn_innorixCmmAjax(sendData, url) == "OK")
{ {
try{
//대상 선생님에게 문자 발송
$('input:checkbox[name="chk"]:checked').each(function() {
sendSms(
$(this).data('phone'),
$(this).data('eduhopedt')+" ${info.scholInsttNm} 서류요청이 있으니 확인 후 업로드 바랍니다.",
$(this).data('userid'),
$(this).data('userid'),
"C",
"N"
);
});
}catch(err){
console.log(err);
}
//화면 reload
location.reload(true); location.reload(true);
} }
} }
@ -427,7 +447,11 @@
<tr> <tr>
<td> <td>
<c:if test="${not empty list.instrNm}"> <c:if test="${not empty list.instrNm}">
<input name="chk" id="<c:out value="${list.userId}"/>" type="checkbox" title="${empty list.instrNm ? '-' : list.instrNm}선택" value="<c:out value="${list.userId}"/>"/> <label for="<c:out value="${list.userId}"/>"></label> <input name="chk" id="<c:out value="${list.userId}"/>"
data-phone="<c:out value='${list.phone}' />"
data-userid="<c:out value='${list.userId}' />"
data-eduhopedt="<c:out value='${list.eduHopeDt}' />"
type="checkbox" title="${empty list.instrNm ? '-' : list.instrNm}선택" value="<c:out value="${list.userId}"/>"/> <label for="<c:out value="${list.userId}"/>"></label>
</c:if> </c:if>
${empty list.instrNm ? '-' : list.instrNm} ${empty list.instrNm ? '-' : list.instrNm}
</td> </td>