278 lines
8.4 KiB
Plaintext
278 lines
8.4 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="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
|
<%@ 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="double-submit" uri="http://www.egovframe.go.kr/tags/double-submit/jsp" %>
|
|
<%@ 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>
|
|
<head>
|
|
<meta http-equiv="Content-Language" content="ko" >
|
|
<title>조정대리인승인 상세</title>
|
|
<script type="text/javaScript" language="javascript">
|
|
/*function fncGoList(){
|
|
var detailForm = document.detailForm;
|
|
detailForm.action = "<c:url value='/kccadr/adjPgrMgr/apm/apmCorrectionList.do'/>";
|
|
detailForm.submit();
|
|
}*/
|
|
|
|
function fncGoList(){
|
|
var list = document.detailForm;
|
|
list.action = "<c:url value='/kccadr/adjPgrMgr/apm/apmDetail.do'/>";
|
|
list.submit();
|
|
}
|
|
|
|
function fncRejectPopup(){
|
|
commonPopWindowopenForm("/kccadr/adjPgrMgr/apm/popup/apmCorrectionReject.do" , "600", "300", "rejectPop",$("#detailForm"));
|
|
}
|
|
|
|
//승인
|
|
function fncConfirmSave(agntApprYn){
|
|
var data = {
|
|
adrSeq : '${adjstDeputyReqVO.adrSeq}',
|
|
adrSn : '${adjstDeputyReqVO.adrSn}',
|
|
agntSeq : '${adjstDeputyReqVO.agntSeq}',
|
|
agntApprYn : agntApprYn,
|
|
rejectCn : ''
|
|
};
|
|
|
|
if (confirm("승인하시겠습니까?")) {
|
|
$.ajax({
|
|
type: "POST",
|
|
url: "/kccadr/adjPgrMgr/apm/agntReqSave.do",
|
|
data: JSON.stringify(data),
|
|
dataType:'json',
|
|
async: false,
|
|
processData: false,
|
|
contentType: "application/json",
|
|
cache: false,
|
|
success: function (returnData, status) {
|
|
if(returnData.rs == true){
|
|
alert("정상적으로 승인되었습니다.");
|
|
fncGoList();
|
|
}
|
|
},
|
|
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
|
});
|
|
}
|
|
}
|
|
|
|
//반려
|
|
function fncRjtSave(agntApprYn){
|
|
var data = {
|
|
adrSeq : '${adjstDeputyReqVO.adrSeq}',
|
|
adrSn : '${adjstDeputyReqVO.adrSn}',
|
|
agntSeq : '${adjstDeputyReqVO.agntSeq}',
|
|
agntApprYn : agntApprYn,
|
|
rejectCn : ''
|
|
};
|
|
|
|
if (confirm("반려하시겠습니까?")) {
|
|
$.ajax({
|
|
type: "POST",
|
|
url: "/kccadr/adjPgrMgr/apm/agntReqSave.do",
|
|
data: JSON.stringify(data),
|
|
dataType:'json',
|
|
async: false,
|
|
processData: false,
|
|
contentType: "application/json",
|
|
cache: false,
|
|
success: function (returnData, status) {
|
|
if(returnData.rs == true){
|
|
alert("정상적으로 반려되었습니다.");
|
|
fncGoList();
|
|
}
|
|
},
|
|
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
|
|
});
|
|
}
|
|
}
|
|
|
|
|
|
function fnc_aprvl_step_1(p_param, p_seq_1, p_seq_2) {
|
|
|
|
//adr_seq, adr_sn + 하기 sbmtTy, sbmtTyCd 값 4개 필수입니다.
|
|
var data = new FormData(document.getElementById("detailForm"));
|
|
data.append("sbmtTy", p_param);
|
|
data.append("sbmtTyCd", p_param);
|
|
|
|
data.append("refSeq1", p_seq_1); //이력처리 대상 테이블의 조정일련번호, 조정회차 이외의 첫번째 pk값1(없으면 생략)
|
|
data.append("refSeq2", p_seq_2); //이력처리 대상 테이블의 조정일련번호, 조정회차 이외의 두번째 pk값2(없으면 생략)
|
|
|
|
$.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('성공적으로 요청하였습니다.');
|
|
location.reload();
|
|
} else {
|
|
alert(returnData.message);
|
|
}
|
|
},
|
|
error : function(e) {
|
|
alert("요청에 실패하였습니다.");
|
|
console.log("ERROR : ", e);
|
|
}
|
|
});
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<form:form id="detailForm" name="detailForm" commandName="apmCorrectVO" method="post" >
|
|
<input type="hidden" name="tabSeq" value="0" />
|
|
<input type="hidden" id="adrSeq" name="adrSeq" value="<c:out value="${adjstDeputyReqVO.adrSeq}" />" />
|
|
<input type="hidden" id="adrSn" name="adrSn" value="<c:out value="${adjstDeputyReqVO.adrSn}" />" />
|
|
<input type="hidden" id="agntSeq" name="agntSeq" value="<c:out value="${adjstDeputyReqVO.agntSeq}" />" />
|
|
<input type="hidden" id="adrNo" name="adrNo" value="<c:out value="${adjstDeputyReqVO.adrNo}" />" />
|
|
<input type="hidden" id="rpplTy" name="rpplTy" />
|
|
|
|
<%-- <input type="hidden" id="adrEndDeDay" name="adrEndDeDay" value="<c:out value="${adjstDeputyReqVO.adrEndDeDay}" />" /> --%>
|
|
<%-- <input type="hidden" id="appSeq" name="appSeq" value="<c:out value="${adjstDeputyReqVO.appSeq}" />" /> --%>
|
|
<%-- <input type="hidden" id="adrAvoidSeq" name="adrAvoidSeq" value="<c:out value="${adjstDeputyReqVO.adrAvoidSeq}" />" /> --%>
|
|
<!-- <input type="hidden" id="closeDocTy" name="closeDocTy" /> -->
|
|
|
|
<!-- cont -->
|
|
<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="tbType02" style="${not status.first ? 'margin-top:50px;' : ''}">
|
|
<table>
|
|
<colgroup>
|
|
<col style="width: 15%;">
|
|
<col style="width: auto;">
|
|
<col style="width: 15%;">
|
|
<col style="width: auto;">
|
|
</colgroup>
|
|
<tbody class="border_0">
|
|
<tr>
|
|
<th>사건</th>
|
|
<td>
|
|
<p class="">${list.adrNo}</p>
|
|
</td>
|
|
<th>사건내용</th>
|
|
<td>
|
|
<p class="">
|
|
<kc:code codeId="CC002" code="${list.ccTy}"/>
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>신청인</th>
|
|
<td colspan="3">
|
|
<p class="">${list.appliCantNm}</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>피신청인</th>
|
|
<td colspan="3">
|
|
<p class="">${list.resPonDentNm}</p>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th>구분</th>
|
|
<td colspan="3">
|
|
<p class="">${list.resPonDentNm}</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>대리신청서</th>
|
|
<td colspan="3">
|
|
<%-- <p class="">${list.resPonDentNm}</p> --%>
|
|
<c:import url="/cmm/fms/selectBBSFileInfs.do" charEncoding="utf-8">
|
|
<%-- <c:param name="param_atchFileId" value="${result.atchFileId}" /> --%>
|
|
<c:param name="param_atchFileId" value="${list.atchFileId}" />
|
|
<c:param name="pdf_view" value="Y" />
|
|
</c:import>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>대리인명</th>
|
|
<td colspan="3">
|
|
<p class="">${list.agntNm}</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>주소</th>
|
|
<td colspan="3">
|
|
<p class="">(${list.agntPost})${list.agntAddr}${list.agntAddrDtl}</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>연락처</th>
|
|
<td colspan="3">
|
|
<p class="">${list.agntCelnum}</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>관계</th>
|
|
<td colspan="3">
|
|
<p class=""><kc:code codeId="CC006" code="${list.rpplRltnTy}"/></p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>조정위임 사항</th>
|
|
<td colspan="3">
|
|
<p class="">
|
|
1. 저작권 분쟁조정에 관한 일체의 조정행위 및 합의 행위<br>
|
|
2. 조정의 취하<br>
|
|
3. 기타<br>
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="btn_wrap btn_layout01">
|
|
<div class="area_left" style="width: 350px;">
|
|
</div>
|
|
<div class="area_right">
|
|
<button type="button" class="btnType02" onclick="fncConfirmSave('502050'); return false;">승인</button>
|
|
<button type="button" class="btnType02" onclick="fncRjtSave('502090'); return false;">반려</button>
|
|
<!-- <button type="button" class="btnType02">출력</button> -->
|
|
<button class="btnType04" onclick="fncGoList(); return false;">취소</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form:form>
|
|
<!-- //cont -->
|
|
</body>
|
|
</html>
|
|
|