329 lines
12 KiB
Plaintext
329 lines
12 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">
|
|
$(document).ready(function() {
|
|
|
|
});
|
|
|
|
function fncGoList(target) {
|
|
var f = document.getElementById("listForm");
|
|
|
|
if ('list' == target) {
|
|
f.action = "<c:url value='/kccadr/adjclsmgr/adjCloseMangeList.do'/>";
|
|
} else {
|
|
f.action = "<c:url value='/kccadr/adjclsmgr/adjCloseMangeDetail.do'/>";
|
|
}
|
|
f.submit();
|
|
}
|
|
|
|
function fncDel() {
|
|
var f = document.getElementById("listForm");
|
|
var data = new FormData(f);
|
|
|
|
if (confirm('작성된 내용을 삭제하시겠습니까?')) {
|
|
|
|
$.ajax({
|
|
type : "POST",
|
|
url : "/kccadr/adjPgrMgr/crt/crtDelAjax.do",
|
|
data : data,
|
|
dataType : 'json',
|
|
async : false,
|
|
processData : false,
|
|
contentType : false,
|
|
cache : false,
|
|
success : function(returnData, status) {
|
|
if (returnData.result == 'success') {
|
|
alert("불성립종결통보서가 삭제 되었습니다.");
|
|
fncGoList(); //상세
|
|
} else {
|
|
alert(returnData.message);
|
|
}
|
|
|
|
},
|
|
error : function(e) {
|
|
alert("불성립종결통보서 삭제에 실패하였습니다.");
|
|
console.log("ERROR : ", e);
|
|
}
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function fncUpd() {
|
|
var f = document.getElementById("listForm");
|
|
var data = new FormData(f);
|
|
if (isValid()) {
|
|
|
|
if (confirm('작성된 내용을 수정하시겠습니까?')) {
|
|
|
|
$.ajax({
|
|
type : "POST",
|
|
url : "/kccadr/adjPgrMgr/crt/crtUpdAjax.do",
|
|
data : data,
|
|
dataType : 'json',
|
|
async : false,
|
|
processData : false,
|
|
contentType : false,
|
|
cache : false,
|
|
success : function(returnData, status) {
|
|
if (returnData.result == 'success') {
|
|
alert("불성립종결통보서가 수정 되었습니다.");
|
|
fncGoList(); //상세
|
|
} else {
|
|
alert(returnData.message);
|
|
}
|
|
|
|
},
|
|
error : function(e) {
|
|
alert("불성립종결통보서 수정에 실패하였습니다.");
|
|
console.log("ERROR : ", e);
|
|
}
|
|
});
|
|
|
|
}
|
|
}
|
|
|
|
}
|
|
function isValid() {
|
|
if (isEmptyObj('closeCn1')) {
|
|
alert('이유를 입력해 주세요.');
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
function fncPrint() {
|
|
var form = document.listForm;
|
|
window.open('',"crtReport");
|
|
|
|
form.action="/kccadr/adjPgrMgr/crt/crtReportAjax.do";
|
|
form.method="post";
|
|
form.target="crtReport";
|
|
form.submit();
|
|
|
|
}
|
|
|
|
function fncApp() {
|
|
alert('결재요청');
|
|
|
|
}
|
|
|
|
function fncDlv() {
|
|
alert('송달조회');
|
|
|
|
}
|
|
|
|
//결재 처리 1단계
|
|
function fnc_aprvl_step_1(p_param){
|
|
|
|
//adr_seq, adr_sn + 하기 sbmtTy, sbmtTyCd 값 4개 필수입니다.
|
|
var data = new FormData(document.getElementById("approval"));
|
|
data.append("sbmtTy" ,p_param);
|
|
data.append("sbmtTyCd" ,p_param);
|
|
|
|
|
|
$.ajax({
|
|
type: "POST",
|
|
url: "/kccadr/aprvlMgr/aprvl/checkNInsertAprvlStep1Ajax.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('list'); //조정진행목록으로
|
|
}else{
|
|
alert(returnData.message);
|
|
}
|
|
},
|
|
error: function (e) { alert("요청에 실패하였습니다."); console.log("ERROR : ", e); }
|
|
});
|
|
}
|
|
|
|
function sendDlvInfoPop() {
|
|
commonPopWindowopenForm("/kccadr/adjPgrMgr/dlvinfo/popup/dlvInfoPop.do", '580', '350', "dlvInfoPop", $('#dlvpop'));
|
|
}
|
|
|
|
function sendDlvInfo() {
|
|
var frm = document.dlvpop;
|
|
frm.action = "<c:url value='/kccadr/adjPgrMgr/dlvinfo/dlvinfoReg.do'/>";
|
|
frm.submit();
|
|
}
|
|
function listDlvInfo() {
|
|
var frm = document.dlvpop;
|
|
frm.action = "<c:url value='/kccadr/adjPgrMgr/dlvinfo/dlvinfoList.do'/>";
|
|
frm.submit();
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<form id="dlvpop" name="dlvpop" method="post">
|
|
<input type="hidden" id="adrNo" name="adrNo" value="<c:out value="${info.adrNo}" />" />
|
|
<input type="hidden" id="regNm" name="regNm" />
|
|
<input type="hidden" id="srcCon" name="srcCon" value="10" />
|
|
<input type="hidden" id="srcTxt" name="srcTxt" value="<c:out value="${info.adrNo}" />" />
|
|
<input type="hidden" id="pageIndex" name="pageIndex" value="1" />
|
|
</form>
|
|
<form id="approval" name="approval" 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>" />
|
|
</form>
|
|
<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>" />
|
|
<input type="hidden" id="closeDocTy" name="closeDocTy" value="<c:out value="${info.closeDocTy }"></c:out>" />
|
|
<input type="hidden" id="closeDoc" name="closeDoc" value="<c:out value="${info.closeDoc }"></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>
|
|
<span class="cur_nav">직권조정결정서 관리</span>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<!-- //cont_tit -->
|
|
<div class="cont">
|
|
<!-- <div class="btn_wrap btn_layout02">
|
|
<button class="btnType04 btn_print">
|
|
<i></i>
|
|
출력하기
|
|
</button>
|
|
<button class="btnType05 btn_check">
|
|
<i></i>
|
|
송달조회
|
|
</button>
|
|
</div> -->
|
|
<!-- list_상세 -->
|
|
<div class="tbType02">
|
|
<table>
|
|
<colgroup>
|
|
<col style="width: 120px;">
|
|
<col style="width: 120px;">
|
|
<col style="width: auto;">
|
|
</colgroup>
|
|
<tbody>
|
|
<tr>
|
|
<th colspan="2">조정부</th>
|
|
<td>
|
|
<p>
|
|
<c:out value="${info.memDeptNm }"></c:out>
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th colspan="2">사건</th>
|
|
<td>
|
|
<p>
|
|
<c:out value="${info.adrNo }"></c:out>
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th colspan="2">신청내용</th>
|
|
<td>
|
|
<p>
|
|
<c:out value="${info.ccTyTx }"></c:out>
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th colspan="2">제목</th>
|
|
<td>
|
|
<p>
|
|
불성립 종결 통보
|
|
<%-- <c:out value="${info.appliCantNm }"></c:out> --%>
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th rowspan="2">수신</th>
|
|
<th style="border-right: 1px solid #e5e5e5">신청인</th>
|
|
<td>
|
|
<p>
|
|
<c:out value="${info.appliCantNm }"></c:out>
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>피신청인</th>
|
|
<td>
|
|
<p>
|
|
<c:out value="${info.resPonDentNm }"></c:out>
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th colspan="2">이 유</th>
|
|
<td class="td_cause">
|
|
<textarea name="closeCn1" id="closeCn1" cols="30" rows="2" style="height: 200px;"><c:out value="${info.closeCn1 }"></c:out> </textarea>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th colspan="2">조정부장</th>
|
|
<td>
|
|
<p>
|
|
<c:out value="${info.memName }"></c:out>
|
|
</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="btnType06" onclick="fncPrint()">출력</button>
|
|
<!--
|
|
<button type="button" class="btnType02" onclick="fnc_aprvl_step_1('307010');">불성립종결통보서 승인 요청</button>
|
|
<c:choose>
|
|
<c:when test="${dlvCnt > 0}">
|
|
<button type="button" class="btnType02" onclick="listDlvInfo();">송달정보조회</button>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<button type="button" class="btnType02" onclick="sendDlvInfo();">송달정보입력</button>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
<button type="button" class="btnType06" onclick="fncDel()">삭제</button>
|
|
<button type="button" class="btnType06" onclick="fncUpd()">수정</button>
|
|
-->
|
|
<button type="button" class="btnType04" onclick="fncGoList()">취소</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form:form>
|
|
</body>
|
|
</html>
|