Merge branch 'JIWOO' into advc
This commit is contained in:
commit
a35b05387b
@ -1914,6 +1914,11 @@ public class CndtnTrgtMngController {
|
|||||||
return modelAndView;
|
return modelAndView;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@RequestMapping("/oprtn/cndtnSspnIdtmt/popup/trgtSendSmsPopup.do")
|
||||||
|
public String eduDocReqAlertPopup( @ModelAttribute("vEEduAplctVO") VEEduAplctVO vEEduAplctVO , ModelMap model , HttpServletRequest request ) throws Exception {
|
||||||
|
|
||||||
|
return "oprtn/cndtnSspnIdtmt/popup/trgtSendSmsPopup";
|
||||||
|
}
|
||||||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
|
|||||||
@ -0,0 +1,109 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<%@ page language="java" contentType="text/html; charset=utf-8"
|
||||||
|
pageEncoding="utf-8"%>
|
||||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||||
|
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
|
||||||
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
|
||||||
|
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||||
|
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
||||||
|
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
|
||||||
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||||
|
<%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||||
|
<%@ taglib prefix="un" uri="http://jakarta.apache.org/taglibs/unstandard-1.0" %>
|
||||||
|
<un:useConstants var="VeConstants" className="kcc.ve.cmm.VeConstants" />
|
||||||
|
<%
|
||||||
|
/**
|
||||||
|
* @Class Name : eduAplctMngDetailPopup.jsp
|
||||||
|
* @Description : 신청 상세 보기
|
||||||
|
* @Modification Information
|
||||||
|
* @
|
||||||
|
* @ 수정일 수정자 수정내용
|
||||||
|
* @ ------- -------- ---------------------------
|
||||||
|
* @ 2021.12.16 조용준 최초 생성
|
||||||
|
* @author 조용준
|
||||||
|
* @since 2021.12.16
|
||||||
|
* @version 1.0
|
||||||
|
* @see
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
%>
|
||||||
|
<html lang="ko">
|
||||||
|
<head>
|
||||||
|
<title>교육신청 상세</title>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
|
||||||
|
<style>
|
||||||
|
|
||||||
|
/* Page Url Hide */
|
||||||
|
@page {
|
||||||
|
size: auto; /* auto is the initial value */
|
||||||
|
margin: 0; /* this affects the margin in the printer settings */
|
||||||
|
}
|
||||||
|
|
||||||
|
@media print {
|
||||||
|
html, body {height:auto;margin: 0 !important;padding: 0 !important;overflow: hidden;page-break-after: avoid;}
|
||||||
|
.cont_tit {page-break-before: always;}
|
||||||
|
.page_break {page-break-inside:avoid; page-break-after:auto}
|
||||||
|
.print_mark {page-break-before: auto;}
|
||||||
|
form{display: none;}
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<script src="${pageContext.request.contextPath}/js/ve/sendSmsEmailUtil.js"></script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
function smsSend(){
|
||||||
|
opener.chkSendSms($('#cn').val());
|
||||||
|
close();
|
||||||
|
}
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<!-- cont -->
|
||||||
|
<div class="area_popup">
|
||||||
|
<div class="cont_popup">
|
||||||
|
|
||||||
|
<div class="cont_tit" style="padding: 0 0 20px 0; margin-bottom: 30px;">
|
||||||
|
<h2>
|
||||||
|
SMS 발송
|
||||||
|
</h2>
|
||||||
|
</div>
|
||||||
|
<table class="pop_tb_type02">
|
||||||
|
<colgroup>
|
||||||
|
<col style="width: 140px;">
|
||||||
|
<col style="width: auto;">
|
||||||
|
</colgroup>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">
|
||||||
|
<p>내용</p>
|
||||||
|
</th>
|
||||||
|
<td colspan="3"><textarea rows="" cols="" id="cn"></textarea></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="btnArea">
|
||||||
|
<div class="btn_wrap btn_layout01">
|
||||||
|
<div class="btn_left">
|
||||||
|
</div>
|
||||||
|
<div class="btn_center">
|
||||||
|
<button type="button" class="btn_type01" onclick="smsSend();" title="전송">전송</button>
|
||||||
|
<button type="button" class="btn_type01" onclick="window.close()" title="창닫기">닫기</button>
|
||||||
|
</div>
|
||||||
|
<div class="btn_right">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -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