248 lines
10 KiB
Plaintext
248 lines
10 KiB
Plaintext
<%@ page contentType="text/html; charset=utf-8"%>
|
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
|
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
|
|
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
|
|
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
|
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
|
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
|
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
|
<%@ taglib prefix="un" uri="http://jakarta.apache.org/taglibs/unstandard-1.0" %>
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="ko">
|
|
<head>
|
|
<title>확정증명원 등록</title>
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
|
<script src="/kccadrPb/usr/script/popup.js"></script>
|
|
<script type="text/javaScript" language="javascript">
|
|
|
|
function fncGoList(target) {
|
|
var f = document.getElementById("listForm");
|
|
|
|
if ('list' == target) {
|
|
f.action = "<c:url value='/kccadr/adjPgrMgr/apm/apmList.do'/>";
|
|
} else {
|
|
f.action = "<c:url value='/kccadr/adjPgrMgr/apm/apmDetail.do'/>";
|
|
}
|
|
f.submit();
|
|
}
|
|
|
|
function fncReg(p_param) {
|
|
var f = document.getElementById("listForm");
|
|
var data = new FormData(f);
|
|
if (isValid()) {
|
|
if (confirm('작성된 내용을 등록하시겠습니까?')) {
|
|
|
|
$.ajax({
|
|
type : "POST",
|
|
url : "/kccadr/adjPgrMgr/cfrm/cfrmRegAjax.do",
|
|
data : data,
|
|
dataType : 'json',
|
|
async : false,
|
|
processData : false,
|
|
contentType : false,
|
|
cache : false,
|
|
success : function(returnData, status) {
|
|
if (returnData.result == 'success') {
|
|
|
|
var exportUrl = "/kccadr/adjPgrMgr/cfrm/cfrmOzExportAjax.do";
|
|
ozExportReport(exportUrl);
|
|
|
|
} else {
|
|
alert(returnData.message);
|
|
}
|
|
|
|
},
|
|
error : function(e) {
|
|
alert("확정증명원 등록에 실패하였습니다.");
|
|
console.log("ERROR : ", e);
|
|
}
|
|
});
|
|
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
function ozExportReport(){
|
|
|
|
//var data = new FormData(document.getElementById("listForm"));
|
|
var f = document.getElementById("listForm");
|
|
var data = new FormData(f);
|
|
|
|
$.ajax({
|
|
type : "POST",
|
|
url : "/kccadr/adjPgrMgr/cfrm/cfrmOzExportAjax.do",
|
|
data : data,
|
|
dataType : 'json',
|
|
async : false,
|
|
processData : false,
|
|
contentType : false,
|
|
cache : false,
|
|
success: function (returnData, status) {
|
|
console.log(returnData.result);
|
|
//alert(returnData.result);
|
|
if(returnData.result == 'success'){
|
|
|
|
alert("확정증명원이 등록 되었습니다.");
|
|
fncGoList(); //상세
|
|
|
|
}else{
|
|
// alert(returnData.message);
|
|
console.log("ERROR : ", returnData.message);
|
|
}
|
|
},
|
|
error: function (e) { console.log("ERROR : ", e); }
|
|
});
|
|
|
|
}
|
|
|
|
function isValid() {
|
|
if (isEmptyObj('rplyEndDeDay')) {
|
|
alert('확정일자를 선택해 주세요.');
|
|
return false;
|
|
}
|
|
if (isEmptyObj('closeCn1')) {
|
|
alert('확정증명 내용을 입력해 주세요.');
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<form:form id="listForm" name="listForm" onsubmit="return false;" method="post">
|
|
<input type="hidden" id="adrSeq" name="adrSeq" value="<c:out value="${info.adrSeq }"></c:out>" />
|
|
<input type="hidden" id="adrSn" name="adrSn" value="<c:out value="${info.adrSn }"></c:out>" />
|
|
<div class="cont_wrap">
|
|
<div class="box">
|
|
<!-- cont_tit -->
|
|
<div class="cont_tit">
|
|
<h2>확정증명원 등록</h2>
|
|
<ul class="cont_nav">
|
|
<li class="home">
|
|
<a href="/"> <i></i>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<p>조정진행 관리</p>
|
|
</li>
|
|
<li>
|
|
<p>조정진행 목록</p>
|
|
</li>
|
|
<li>
|
|
<span class="cur_nav">확정증명원 등록</span>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<!-- //cont_tit -->
|
|
<div class="cont">
|
|
<div class="tbType02">
|
|
<table>
|
|
<colgroup>
|
|
<col style="width: 200px;">
|
|
<col style="width: auto;">
|
|
</colgroup>
|
|
<tbody>
|
|
<tr>
|
|
<th>조정부</th>
|
|
<td>
|
|
<p>
|
|
<c:out value="${info.memDeptNm }"></c:out>
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>사건</th>
|
|
<td>
|
|
<p>
|
|
<c:out value="${info.adrNo }"></c:out>
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>신청인</th>
|
|
<td>
|
|
<p>
|
|
<%-- <c:out value="${info.appliCantNm }"></c:out> --%>
|
|
<c:if test="${info.appliCantUsrTy eq '02'}">
|
|
<c:out value="${info.appliCantBizNm }"></c:out>
|
|
</c:if>
|
|
<c:if test="${info.appliCantUsrTy ne '02'}">
|
|
<c:out value="${info.appliCantNm }"></c:out>
|
|
</c:if>
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>피신청인</th>
|
|
<td>
|
|
<p>
|
|
<c:out value="${info.resPonDentNm }"></c:out>
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>확정일자</th>
|
|
<td>
|
|
<div class="sel_date">
|
|
<input type="text" class="rplyEndDeDay inp" title="검색시작일" id="rplyEndDeDay" name="rplyEndDeDay" onclick="return calendarOpen('rplyEndDeDay-lry','',this)" data-datecontrol="true" readonly>
|
|
<div class="calendar_in" id="calendarName_startDate" style="z-index: 9;">
|
|
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('rplyEndDeDay-lry','',this)" class="btn_cal"></button>
|
|
<div id="rplyEndDeDay-lry" class="calendarPop" style="display: none;">
|
|
<iframe id="rplyEndDeDay-ifrm" name="rplyEndDeDay-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html" title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>확정 증명 내용</th>
|
|
<td class="td_cause">
|
|
<textarea name="closeCn1" id="closeCn1" cols="30" rows="3" style="height: 200px;">위 사건에 대해 조정부가 내린 조정을 갈음하는 결정이 아래와 같이 당사자 쌍방에게 송달 및 확정되었음을 증명함.</textarea>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>조정부장</th>
|
|
<td>
|
|
<p>
|
|
<c:out value="${info.memName }" />
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>조정위원</th>
|
|
<td>
|
|
<p>
|
|
<c:out value="${info.memNames }" />
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>조정조사관</th>
|
|
<td>
|
|
<p>
|
|
<c:out value="${info.adrAdmNm }" />
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- //list_상세 -->
|
|
<div class="btn_wrap btn_layout01">
|
|
<div class="area_left"></div>
|
|
<div class="area_right">
|
|
<!-- <button type="button" class="btnType02" onclick="fncReg('306010');">직권조정결정서 승인 요청</button> -->
|
|
<button type="button" class="btnType06" onclick="fncReg()">등록</button>
|
|
<button type="button" class="btnType04" onclick="fncGoList()">취소</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form:form>
|
|
</body>
|
|
</html>
|