Merge branch 'tolag3'

소스정리
This commit is contained in:
leejunho 2024-09-25 10:31:10 +09:00
parent b19da30372
commit ec241e1fc1
471 changed files with 4 additions and 162983 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 177 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 177 KiB

View File

@ -1,559 +0,0 @@
<!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="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<%@ taglib prefix="un" uri="http://jakarta.apache.org/taglibs/unstandard-1.0" %>
<% pageContext.setAttribute("replaceChar", "\n"); %>
<%
/**
* @Class Name : AdjustDeptManagerCreate.jsp
* @Description : 관리자 일정관리
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2021.08.16 김봉호 최초 생성
* @author 김봉호
* @since 2021.08.21
* @version 1.0
* @see
*
*/
%>
<html lang="ko">
<head>
<title>조정결재</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="/kccadrPb/adm/css/popup.css">
<script src="/kccadrPb/usr/script/popup.js"></script>
<script type="text/javascript">
$(document).ready(function(){
//해당 페이지에 대한 권한 체크
_admin_fn_check_authority("internalApprovManageDetail", "div.cont", "R");
});
//권한 체크 결과값으로 후속처리
function admin_fn_check_authority_ret(p_param){
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
}
function fncConfirm(){
if(confirm("결재하시겠습니까?")){
var data = {
crtSeq : $("#crtSeq").val(),
crtAprvlSeq : $("#crtAprvlSeq").val(),
crtStatCd : $("#crtStatCd").val(),
crtAprvlYn : 'Y'
}
updateData(data,"C");
}
}
function updateData(data, type){
$.ajax({
type: "POST",
url: "/kccadr/adjCourtAprvl/aprvlSave.do",
data: JSON.stringify(data),
dataType:'json',
async: false,
processData: false,
contentType: "application/json",
cache: false,
success: function (returnData, status) {
if(returnData.result == 'FAIL'){
if(returnData.message != ''){
alert(returnData.message);
fncGoList();
}else{
alert("처리중 오류가 발생하였습니다.");
}
location.reload();
}else if(returnData.result == 'SUCCESS'){
alert("승인되었습니다.");
fncGoList();
}
},
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
});
}
//사건정보 팝업
function fncDetail() {
var detailForm = document.detailForm;
commonPopWindowopenForm("/kccadr/adjPgrMgr/apm/popup/adrDetailPop.do", "840", "800", "adrDetailPop", $('#detailForm'));
}
function fncFrontPrint() {
var form = document.detailForm;
window.open('',"intAppReport");
form.action="/kccadr/adjPgrMgr/iam/internalApprovFrontPrintAjax.do";
form.method="post";
form.target="intAppReport";
form.submit();
}
function fncReqPrint() {
var form = document.detailForm;
window.open('',"intReqReport");
form.action="/kccadr/adjPgrMgr/iam/internalApprovReqReportAjax.do";
form.method="post";
form.target="intReqReport";
form.submit();
}
function fncGo(url, closeDocTy) {
var detailForm = document.detailForm;
detailForm.action = "<c:url value='/kccadr/adjPgrMgr/'/>" + url;
if (!isEmpty(closeDocTy)) {
$('#closeDocTy').val(closeDocTy);
}
detailForm.submit();
}
function fncAdrDetail(){
var detailForm = document.detailForm;
detailForm.action = "<c:url value='/kccadr/adjPgrMgr/apm/apmDetail.do'/>";
detailForm.submit();
}
</script>
<script type="text/javaScript" language="javascript">
//아래 함수들 부터 결재문서 보기 처리
function fncPdfFileView() {
var data = new FormData(document.getElementById("detailForm"));
$.ajax({
type: "POST",
url: "/kccadr/adjPgrMgr/iam/internalApprovFrontReportAjax.do",
data: data,
dataType:'json',
async: false,
processData: false,
contentType: false,
cache: false,
success: function (returnData, status) {
if(returnData.innerStatus == 'loginFail'){
alert("로그인이 필요합니다.");
return false;
/* if(returnData.message != ''){
alert(returnData.message);
}else{
alert("처리중 오류가 발생하였습니다.");
} */
}else if(returnData.innerStatus == 'success'){
//오즈리포트 표지 및 신청서의 Export 처리가 완료 되면 문서 단권화 실행
fnc_view_step_1_popup();
}
//location.reload();
},
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
});
}
function fnc_download(p_path, p_file){
var data = new FormData(document.getElementById("popCreateForm"));
data.append("adrSeq" ,$("#adrSeq").val());
if ($("input:checkbox[name=chk]:checked").length==0){
alert("선택한 항목이 없습니다.");
return;
}
$("input:checkbox[name=chk]:checked").each(function(){
var i_var = $(this).val().split('-');
if (i_var.length==2){
fn_egov_downFile(i_var[0], i_var[1]);
}else if (i_var.length==3){
fn_egov_downFileD(p_path, p_file);
//alert("조정신청서 다운로드는 현재 준비중입니다.");
}
});
}
//file download - 첨부파일
function fn_egov_downFile(atchFileId, fileSn){
window.open("<c:url value='/cmm/fms/FileDown.do?atchFileId="+atchFileId+"&fileSn="+fileSn+"'/>");
}
//file download - PDF변환기로 생성된 파일
function fn_egov_downFileD(p_path, p_file){
window.open("<c:url value='/cmm/fms/FileDownD.do?path="+p_path+"&file="+p_file+"'/>");
}
function fnc_sbstt_aprvl_pop(param){
//commonPopWindowopenForm("/kccadr/adjReqMgOff/popup/adjReqMgrOffAppReqPop.do", '1000', '700', "entInfoPop", $('#pop'));
var detailForm = document.detailForm;
commonPopWindowopenForm("/kccadr/advcAprvl/popup/advcSbsttAprvlReqPop.do", '1000', '700', "sbsttInfoPop", $('#detailForm'));
//var detailForm = document.detailForm;
//commonPopWindowopenForm("/kccadr/adjPgrMgr/apm/popup/adrDetailPop.do", "840", "800", "adrDetailPop", $('#detailForm'));
}
</script>
<script type="text/javaScript" language="javascript">
$(document).ready(function() {
$("#tabNav > button").on("click", function(e) {
var idx = $(this).index();
tabPageLoad(idx);
});
tabPageLoad(0);
});
function tabPageLoad(idx) {
var url = getPageUrl(idx);
$('#tabContent').load(url, {
"adrSeq" : $("#adrSeq").val(),
"adrSn" : $("#adrSn").val(),
"reqOlCd" : $("#reqOlCd").val()
}, function(res, status, xhr) {
console.log(status);
$('.tab_cont .tbType02').find('button').remove('button');
$('.tab_cont .btn_wrap .area_left').find('button').remove('button');
$('.tab_cont .btn_layout05').find('button').remove('button');
$('.tab_cont .tb_tit').find('button').remove('button');
//btn_wrap btn_layout05
});
}
function getPageUrl(idx) {
console.log('idx : ', idx);
switch (idx) {
case 0:
return '/kccadr/adjPgrMgr/apm/apmTab0.do';
case 1:
return '/kccadr/adjPgrMgr/apm/apmTab1.do';
case 2:
return '/kccadr/adjPgrMgr/apm/apmTab2.do';
}
}
function fncGoList(pageNo) {
var listForm = document.listForm;
listForm.action = "<c:url value='/kccadr/adjCourtAprvl/aprvlList.do'/>";
listForm.submit();
}
function fn_egov_downFile(atchFileId, fileSn) {
window.open("<c:url value='/cmm/fms/FileDown.do?atchFileId=" + atchFileId + "&fileSn=" + fileSn + "'/>");
}
</script>
<style>
.tbType02 .btnType02, .tb_tit+.btn_area button{width: 95px; height: 35px; padding: 0; font-size: 17px; vertical-align: baseline;}
.tb_tit+.btn_area button{width: auto; padding: 0 8px; margin: 0 2.5px;}
.tbType02.type01 tr th {padding-top:10px;padding-bottom:10px;line-height:1.4;text-align:center;}
.tbType02.type01 tr td {padding-top:15px;padding-bottom:15px;}
</style>
</head>
<body>
<form:form id="listForm" name="listForm" commandName="detailVO" onsubmit="return false;" method="post">
<input type="hidden" name="pageIndex" value="<c:out value='${detailVO.pageIndex}' default='1' />"/>
<input type="hidden" name="searchSortCnd" value="<c:out value="${detailVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${detailVO.searchSortOrd}" />" />
<input type="hidden" name="searchStatus" value="<c:out value="${detailVO.searchStatus}" />" />
<input type="hidden" name="searchStatusArr" value="<c:out value="${fn:join(detailVO.searchStatusArr, ',') }"/>"/>
<input type="hidden" name="searchMonth" value="<c:out value="${detailVO.searchMonth}"/>"/>
<input type="hidden" name="searchStartDt" value="<c:out value="${detailVO.searchStartDt}"/>"/>
<input type="hidden" name="searchEndDt" value="<c:out value="${detailVO.searchEndDt}"/>"/>
</form:form>
<form id="popCreateForm" name="popCreateForm" method="post"></form>
<form:form id="detailForm" name="detailForm" commandName="detailVO" method="post">
<input type="hidden" name="crtSeq" id="crtSeq" value="<c:out value='${detailVO.crtSeq}'/>"/>
<input type="hidden" name="crtAprvlSeq" id="crtAprvlSeq" value="<c:out value='${detailVO.crtAprvlSeq}'/>"/>
<input type="hidden" name="crtStatCd" id="crtStatCd" value="<c:out value='${detailVO.crtStatCd}'/>"/>
<input type="hidden" name="step" id="step" value="<c:out value='${detailVO.step}'/>"/> <!-- 현재 결재 진행 단계 -->
<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">
<p class="tb_tit">법원연계조정 상세</p>
<div class="tbType02">
<table>
<colgroup>
<col style="width: 17%;">
<col style="width: 35%;">
<col style="width: 17%;">
<col style="width: 35%;">
</colgroup>
<tbody class="border_0">
<tr>
<th>법원결정일</th>
<td>
<c:out value="${fn:substring(courtVO.crtDcsnDe, 0, 10)}"/>
</td>
<th>메일수신일(사건기록)</th>
<td>
<c:out value="${fn:substring(courtVO.crtRcptDe, 0, 10)}"/>
</td>
</tr>
<tr>
<th>배당일자</th>
<td>
<c:out value="${fn:substring(courtVO.crtAllctDe, 0, 10)}"/>
</td>
<th>사무처리기한</th>
<td>
<c:out value="${fn:substring(courtVO.crtAllctDdlDe, 0, 10)}"/>
</td>
</tr>
<tr>
<th>사무수행보고일</th>
<td>
<c:out value="${fn:substring(courtVO.crtRprtDe, 0, 10)}"/>
</td>
</tr>
<tr>
<th>본 사건번호</th>
<td>
<c:out value="${courtVO.crtOriNo}"/>
[<kc:code codeId="CC701" code="${courtVO.crtLinkHouse}" />]
</td>
<th>조정 사건번호</th>
<td>
<c:out value="${courtVO.crtNo}"/>
<!-- <input type="text" id="crtNo" name="crtNo" /> -->
</td>
</tr>
<tr>
<th>총괄조정위원</th>
<td>
<c:out value="${courtVO.crtDeptKng}"/>
</td>
<th>조정위원</th>
<td>
<c:out value="${courtVO.crtDeptOrdi}"/>
</td>
</tr>
<tr>
<th>원고 이름</th>
<td>
<c:out value="${courtVO.crtClimntNm}"/>
</td>
<th>원고 (대리인) 이름</th>
<td>
<c:out value="${courtVO.crtClimntAgntNm}"/>
</td>
</tr>
<tr>
<th>원고 연락처</th>
<td>
<c:out value="${courtVO.crtClimntPhone}"/>
</td>
<th>원고 (대리인) 연락처</th>
<td>
<c:out value="${courtVO.crtClimntAgtPhone}"/>
</td>
</tr>
<tr>
<th>원고 정보</th>
<td colspan="3">
<c:out value="${courtVO.crtClimntInfo}"/>
</td>
</tr>
<tr>
<th>피고 이름</th>
<td>
<c:out value="${courtVO.crtDfndntNm}"/>
</td>
<th>피고 (대리인) 이름</th>
<td>
<c:out value="${courtVO.crtDfndntAgntNm}"/>
</td>
</tr>
<tr>
<th>피고 연락처</th>
<td>
<c:out value="${courtVO.crtDfndntPhone}"/>
</td>
<th>피고 (대리인) 연락처</th>
<td>
<c:out value="${courtVO.crtDfndntAgntPhone}"/>
</td>
</tr>
<tr>
<th>피고 정보</th>
<td colspan="3">
<c:out value="${courtVO.crtDfndntInfo}"/>
</td>
</tr>
<tr>
<th>분야</th>
<td>
<kc:code codeId="CC705" code="${courtVO.crtCcTy}" />
</td>
</tr>
<tr>
<th>사건내용</th>
<td colspan="3">
<c:out value="${courtVO.crtCn}"/>
</td>
</tr>
</tbody>
</table>
</div>
<!-- list_상세 -->
<p class="tb_tit" style="display: inline-block">결재진행</p>
<div class="tbType02">
<table>
<colgroup>
<col style="width: 15%;">
<col style="width: 35%;">
<col style="width: 15%;">
<col style="width: 35%;">
</colgroup>
<tbody class="border_0">
<tr>
<th>결재요청일</th>
<td>
<p><c:out value='${fn:substring(detailVO.frstRegistPnttm, 0, 10)}' /></p>
</td>
<th>결재대기</th>
<td>
<p>
<c:out value="${detailVO.stepMem}"/>
</p>
</td>
</tr>
</tbody>
</table>
</div>
<!-- //list_상세 -->
<div class="progress_status">
<c:set var="rejectYn" value="false"/>
<c:forEach var="list" items="${approvLine}" varStatus="status">
<c:choose>
<c:when test="${list.crtAprvlYn eq 'Y'}">
<c:set var="approveClass" value="approve"/>
<c:set var="approveText" value="승인"/>
<c:set var="approveTextLast" value="결재대기(전결)"/>
</c:when>
<c:when test="${status.count eq detailVO.step}">
<c:set var="approveClass" value="approve_waiting on"/>
<c:set var="approveText" value="결재대기(결재)"/>
<c:set var="approveTextLast" value="결재대기(전결)"/>
</c:when>
<c:when test="${list.crtAprvlYn eq 'N'}">
<c:set var="approveClass" value="approve_waiting"/>
<c:set var="approveText" value="결재대기(결재)"/>
<c:set var="approveTextLast" value="결재대기(전결)"/>
</c:when>
</c:choose>
<div class="pgr_box <c:out value='${approveClass}' />">
<i></i>
<p class="pgr_person">
<c:if test="${fn:length(approvLine) > 2}">
<c:choose>
<c:when test="${status.count eq 1}">
담당자
</c:when>
<c:when test="${status.count eq 2}">
팀장
</c:when>
<c:otherwise>
총괄조정위원
</c:otherwise>
</c:choose>
</c:if>
<c:if test="${fn:length(approvLine) <= 2}">
<c:choose>
<c:when test="${status.count eq 1}">
담당자
</c:when>
<c:otherwise>
총괄조정위원
</c:otherwise>
</c:choose>
</c:if>
</p>
<%-- <c:if test="${!status.last}"> --%>
<p class="pgr_status"><c:out value='${approveText}' /></p>
<%-- </c:if> --%>
<%-- <c:if test="${status.last}"> --%>
<%-- <p class="pgr_status"><c:out value='${approveTextLast}' /></p> --%>
<%-- </c:if> --%>
</div>
<c:if test="${!status.last and list.crtAprvlYn ne 'N'}">
<i class="pgr_next"></i>
</c:if>
</c:forEach>
</div>
<div class="btn_wrap btn_layout01">
<div class="area_left">
</div>
<div class="area_right">
<c:if test="${statInfo.allYn ne 'Y'
&& detailVO.stepMem eq loginVO.name
}">
<button type="button" class="btnType06" onclick="fncConfirm(); return false;">결재</button>
</c:if>
<button type="button" class="btnType03" onclick="fncGoList(); return false;">목록</button>
</div>
</div>
</div>
</div>
</div>
</form:form>
</body>
</html>

View File

@ -1,314 +0,0 @@
<!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="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>
<%
/**
* @Class Name : internalApprovlManageList.jsp
* @Description : 내부결재목록
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2021.08.09 김봉호 최초 생성
* @author 김봉호
* @since 2021.08.21
* @version 1.0
* @see
*
*/
%>
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript">
$(document).ready(function(){
$("input[name=searchStatusArr]").on("click" , function(){
var value = $(this).val();
if(value == "99"){
$("input[name=searchStatusArr]").prop("checked", $(this).is(":checked"));
}
});
$("input[name=searchMonth]").on("click" , function(){
var value = $(this).val();
if(value == "99"){
$("#sel_date").find("button").prop("disabled" , false);
$("#sel_date").find("input").prop("readonly", false);
$("#sel_date").find("input").removeClass("read-only");
}else{
setSearchMonthDate(value);
$("#sel_date").find("button").prop("disabled" , true);
$("#sel_date").find("input").prop("readonly", true);
$("#sel_date").find("input").addClass("read-only");
}
});
if('${adjCourtaprvlVO.searchMonth}' != '99'){
setSearchMonthDate('${adjCourtaprvlVO.searchMonth}');
}
//해당 페이지에 대한 권한 체크
_admin_fn_check_authority("internalApprovManageList", "div.cont", "ALL");
});
//권한 체크 결과값으로 후속처리
function admin_fn_check_authority_ret(p_param){
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
}
function fncGoDetail(crtSeq, crtAprvlSeq,crtStatCd){
var listForm = document.listForm ;
listForm.crtSeq.value = crtSeq;
listForm.crtAprvlSeq.value = crtAprvlSeq;
listForm.crtStatCd.value = crtStatCd;
listForm.action = "<c:url value='/kccadr/adjCourtAprvl/aprvlDetail.do'/>";
listForm.submit();
}
function setSearchMonthDate(month){
month = '${adjCourtaprvlVO.searchMonth}';
//현재날짜
var now = new Date();
var endDt = now.getFullYear()+"-"+ ((now.getMonth()+1) < 10 ? '0'+ (now.getMonth()+1) : (now.getMonth()+1) )+ "-"
+ ((now.getDate()) < 10 ? '0'+ (now.getDate()) : (now.getDate()) );
//month + 날자
month = parseInt(month);
var getMonthDate = new Date(now.setMonth(now.getMonth() - month)); // 한달 후
var startDt = getMonthDate.getFullYear()+"-"+ ((getMonthDate.getMonth()+1) < 10 ? '0'+ (getMonthDate.getMonth()+1) : (getMonthDate.getMonth()+1)) + "-"
+ ((getMonthDate.getDate()) < 10 ? '0'+ (getMonthDate.getDate()) : (getMonthDate.getDate()));
$("input[name=searchStartDt]").val(startDt);
$("input[name=searchEndDt]").val(endDt);
}
function fncGoList(){
linkPage(1);
}
function linkPage(pageNo){
var listForm = document.listForm ;
listForm.pageIndex.value = pageNo ;
listForm.action = "<c:url value='/kccadr/adjCourtAprvl/aprvlList.do'/>";
listForm.submit();
}
</script>
<title>법원연계 결재목록</title>
</head>
<body>
<form:form id="listForm" name="listForm" method="post" commandName="adjCourtaprvlVO">
<input type="hidden" name="pageIndex" value="<c:out value='${adjCourtaprvlVO.pageIndex}' default='1' />"/>
<input type="hidden" name="searchSortCnd" value="<c:out value="${adjCourtaprvlVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${adjCourtaprvlVO.searchSortOrd}" />" />
<input type="hidden" name="crtSeq" value="" />
<input type="hidden" name="crtAprvlSeq" value="" />
<input type="hidden" name="crtStatCd" value="" />
<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">
<!-- list_top -->
<div class="list_top">
<div class="list_util">
<div class="detail_search">
<ul>
<li>
<p class="tit_text">본사건번호</p>
<input type="text" class="search_input" id="searchKeyword" name="searchKeyword" value="${adjCourtaprvlVO.searchKeyword }" placeholder="검색어를 입력하세요.">
</li>
<li>
<p class="tit_text">결재상태</p>
<div class="check_wrap">
<c:set var="searchStatus" value="${fn:join(adjCourtaprvlVO.searchStatusArr, ',') }"/>
<span><input type="checkbox" ${fn:indexOf(searchStatus, '99') ne -1 ? 'checked' : ''} value="99" name="searchStatusArr" id="searchSatus1" ><label for="searchSatus1">전체</label> </span>
<span><input type="checkbox" ${fn:indexOf(searchStatus, '01') ne -1 ? 'checked' : ''} value="01" name="searchStatusArr" id="searchSatus2" ><label for="searchSatus2">결재대기</label></span>
<span><input type="checkbox" ${fn:indexOf(searchStatus, '02') ne -1 ? 'checked' : ''} value="02" name="searchStatusArr" id="searchSatus3" ><label for="searchSatus3">결재진행</label></span>
<span><input type="checkbox" ${fn:indexOf(searchStatus, '03') ne -1 ? 'checked' : ''} value="03" name="searchStatusArr" id="searchSatus4" ><label for="searchSatus4">결재완료</label></span>
<span><input type="checkbox" ${fn:indexOf(searchStatus, '04') ne -1 ? 'checked' : ''} value="04" name="searchStatusArr" id="searchSatus5" ><label for="searchSatus5">반려</label></span>
</div>
</li>
<li>
<p class="tit_text">신청일자</p>
<div class="radio_wrap">
<span><input ${adjCourtaprvlVO.searchMonth eq '1' ? 'checked' : ''} value="1" type="radio" name="searchMonth" id="month1" ><label for="month1">1개월</label></span>
<span><input ${adjCourtaprvlVO.searchMonth eq '3' ? 'checked' : ''} value="3" type="radio" name="searchMonth" id="month3"><label for="month3">3개월</label></span>
<span><input ${adjCourtaprvlVO.searchMonth eq '6' ? 'checked' : ''} value="6" type="radio" name="searchMonth" id="month6"><label for="month6">6개월</label></span>
<span><input ${adjCourtaprvlVO.searchMonth eq '99' ? 'checked' : ''} value="99" type="radio" name="searchMonth" id="monthEtc"><label for="monthEtc">기간지정</label></span>
<div class="sel_date" id="sel_date">
<input type="text" class="startDate inp" title="검색시작일" id="startDate01" name="searchStartDt" value="${adjCourtaprvlVO.searchStartDt}" data-datecontrol="true" ${adjCourtaprvlVO.searchMonth ne '99' ? 'readonly' : ''}>
<div class="calendar_in" id="calendarName_startDate" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('startDate01-lry','',this)"class="btn_cal" ${adjCourtaprvlVO.searchMonth ne '99' ? 'disabled' : ''} ></button>
<div id="startDate01-lry" class="calendarPop" style="display: none;">
<iframe id="startDate01-ifrm" name="startDate01-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html" title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div> ~
<input type="text" class="endDate inp" title="검색종료일" id="endDate" name="searchEndDt" value="${adjCourtaprvlVO.searchEndDt}" data-datecontrol="true" ${adjCourtaprvlVO.searchMonth ne '99' ? 'readonly' : ''}>
<div class="calendar_in" id="calendarName_endDate" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('endDate-lry','',this)" class="btn_cal" ${adjCourtaprvlVO.searchMonth ne '99' ? 'disabled' : ''}></button>
<div id="endDate-lry" class="calendarPop" style="display: none;">
<iframe id="endDate-ifrm" name="endDate-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html" title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div>
</div>
</div>
<button class="btnType07 btn_search" onclick="fncGoList(); return false;">검색</button>
</li>
</ul>
</div>
</div>
</div>
<!-- //list_top -->
<!-- list -->
<div class="list tbType01">
<table>
<colgroup>
<col style="width: 10%;">
<col style="width: 10%;">
<col style="width: 10%;">
<col style="width: 10%;">
<col style="width: 10%">
<col style="width: 10%;">
<col style="width: 10%;">
<col style="width: 10%;">
<col style="width: 10%;">
</colgroup>
<thead>
<tr>
<th>결재구분</th>
<th>결재진행</th>
<th>본사건번호</th>
<th>조정사건번호</th>
<th>배당일</th>
<th>사무처리기한</th>
<th>연계법원</th>
<th>결재요청일</th>
<th>결재완료일</th>
</tr>
</thead>
<tbody>
<c:forEach var="list" items="${list}" varStatus="status">
<tr>
<td>
<p>
<a href="#" onclick="fncGoDetail('${list.crtSeq}', '${list.crtAprvlSeq}', '${list.crtStatCd}');">
<kc:code codeId="CC703" code="${list.crtStatCd}"/>
</a>
</p>
</td>
<td>
<p>
<a href="#" onclick="fncGoDetail('${list.crtSeq}', '${list.crtAprvlSeq}', '${list.crtStatCd}');">
<c:out value="${list.stepMem }"/>
</a>
</p>
</td>
<td>
<p>
<a href="#" onclick="fncGoDetail('${list.crtSeq}', '${list.crtAprvlSeq}', '${list.crtStatCd}');">
<c:out value="${list.crtOriNo}"/>
</a>
</p>
</td>
<td>
<p>
<a href="#" onclick="fncGoDetail('${list.crtSeq}', '${list.crtAprvlSeq}', '${list.crtStatCd}');">
<c:out value="${list.crtNo}"/>
</a>
</p>
</td>
<td>
<p>
<a href="#" onclick="fncGoDetail('${list.crtSeq}', '${list.crtAprvlSeq}', '${list.crtStatCd}');">
<c:out value="${fn:substring(list.crtAllctDe, 0, 10)}"/>
</a>
</p>
</td>
<td>
<p>
<c:out value="${fn:substring(list.crtAllctDdlDe, 0, 10)}"/>
</p>
</td>
<td>
<p>
<a href="#" onclick="fncGoDetail('${list.crtSeq}', '${list.crtAprvlSeq}', '${list.crtStatCd}');">
<kc:code codeId="CC701" code="${list.crtLinkHouse}"/>
</a>
</p>
</td>
<td>
<p>
<a href="#" onclick="fncGoDetail('${list.crtSeq}', '${list.crtAprvlSeq}', '${list.crtStatCd}');">
<c:out value="${fn:substring(list.frstRegistPnttm, 0, 10)}"/>
</a>
</p>
</td>
<td>
<p>
<c:choose>
<c:when test="${empty list.crtAprvlDe3 and empty list.crtAprvlDe2}">
<c:out value="${fn:substring(list.crtAprvlDe1, 0, 10)}"/>
</c:when>
<c:when test="${empty list.crtAprvlDe3 }">
<c:out value="${fn:substring(list.crtAprvlDe2, 0, 10)}"/>
</c:when>
<c:otherwise>
<c:out value="${fn:substring(list.crtAprvlDe1, 0, 10)}"/>
</c:otherwise>
</c:choose>
</p>
</td>
</tr>
</c:forEach>
<c:if test="${empty list}">
<tr><td colspan="8"><spring:message code="common.nodata.msg" /></td></tr>
</c:if>
</tbody>
</table>
</div>
<!-- //list -->
<!-- page -->
<div class="page">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</div>
<!-- //page -->
</div>
</div>
</div>
<!-- //cont -->
<!-- //cont -->
</form:form>
</body>
</html>

View File

@ -1,103 +0,0 @@
<%@ 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"%>
<!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() {
$("#tabNav > button").on("click", function(e) {
var idx = $(this).index();
tabPageLoad(idx);
});
tabPageLoad(parseInt('${courtVO.tabSeq}'));
//해당 페이지에 대한 권한 체크
_admin_fn_check_authority("crtDetail", "div.cont", "R");
});
//권한 체크 결과값으로 후속처리
function admin_fn_check_authority_ret(p_param){
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
}
function tabPageLoad(idx) {
var url = getPageUrl(idx);
$('#tabContent').load(url, {
"crtSeq" : $("#crtSeq").val()
}, function(res, status, xhr) {
});
}
function getPageUrl(idx) {
switch (idx) {
case 0:
return '/kccadr/adjCourtCnctn/adjCourtCnctnDetailTab0.do';
case 1:
return '/kccadr/adjCourtCnctn/adjCourtCnctnDetailTab1.do';
}
}
function fncGoList(pageNo) {
var listForm = document.listForm;
listForm.action = "<c:url value='/web/kccadr/adjcclt/ai/adjstConciliatorList.do'/>";
listForm.submit();
}
function fn_egov_downFile(atchFileId, fileSn) {
window.open("<c:url value='/cmm/fms/FileDown.do?atchFileId=" + atchFileId + "&fileSn=" + fileSn + "'/>");
}
</script>
<style type="text/css">
.wrap {min-width:1660px;}
</style>
</head>
<body>
<form:form id="listForm" name="listForm" commandName="courtVO" onsubmit="return false;" method="post">
<input type="hidden" id="crtSeq" name="crtSeq" value="<c:out value="${courtVO.crtSeq}" />" />
<input type="hidden" id="crtSn" name="crtSn" value="<c:out value="${courtVO.crtSn}" />" />
</form:form>
<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>
</li>
<li>
<p>법원연계조정 목록</p>
</li>
<li>
<span class="cur_nav">법원연계조정 상세</span>
</li>
</ul>
</div>
<!-- //cont_tit -->
<div class="cont">
<div id="tabNav" class="tab_btn tab02">
<button class="tab ${courtVO.tabSeq eq '0' ? 'on' : ''}">사건일반</button>
<button class="tab ${courtVO.tabSeq eq '1' ? 'on' : ''}">사건수행문서</button>
<%-- <button class="tab ${apmVO.tabSeq eq '2' ? 'on' : ''}">진행정보</button> --%>
</div>
<div id="tabContent" class="tab_cont on"></div>
</div>
</div>
</div>
</body>
</html>

View File

@ -1,464 +0,0 @@
<%@ 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"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Language" content="ko" >
<title>법원연계조정관리 - 상세</title>
<script type="text/javaScript" language="javascript">
$(document).ready(function(){
//해당 페이지에 대한 권한 체크
_admin_fn_check_authority("adjCourtCnctnDetail", "div.cont", "R");
});
function StringToDate(date, n) {
let yyyy = date.substring(0, 4);
let mm = date.substring(5, 7);
let dd = date.substring(8, 10);
mm = Number(mm) - 1;
let stringNewDate = new Date(yyyy, mm, dd);
stringNewDate.setDate(stringNewDate.getDate() + n);
return stringNewDate.getFullYear() +
"-" + ((stringNewDate.getMonth() + 1) > 9 ? (stringNewDate.getMonth() + 1).toString() : "0" + (stringNewDate.getMonth() + 1)) +
"-" + (stringNewDate.getDate() > 9 ? stringNewDate.getDate().toString() : "0" + stringNewDate.getDate().toString());
}
//권한 체크 결과값으로 후속처리
function admin_fn_check_authority_ret(p_param){
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
}
//목록 이동
function fn_GoList(){
var goListForm = document.goListForm ;
goListForm.submit();
}
//수정 화면으로 이동
function fn_modyfi(){
var goModifyForm = document.goModifyForm ;
goModifyForm.submit();
}
function DeptPop(){
commonPopWindowopenForm("/kccadr/adjCourtCnctn/popup/adjCourtCnctnDeptPop.do", "650", "400", "DeptPop", $("#popForm"));
}
function RprtDePop(rprtSeq){
$('#popForm input[name="rprtSeq"]').val(rprtSeq);
commonPopWindowopenForm("/kccadr/adjCourtCnctn/popup/adjCourtRprtDePop.do", "650", "400", "RprtDePop", $("#popForm"));
}
function aprvlPop(pram){
document.popForm.crtStatCd.value = pram;
var url = "";
if(pram == '101010'){
if(!$('#crtDeptOrdiValChk').val()){
alert('사건배당 진행 후 다시 시도해주세요.');
return false;
}
url = "/kccadr/adjCourtAprvl/popup/aprvlReqPop.do";
}else{
url = "/kccadr/adjCourtAprvl/popup/aprvlReqEndPop.do";
}
commonPopWindowopenForm(url, "1000", "700", "aprvlPop", $("#popForm"));
}
function appPop(){
commonPopWindowopenForm("/kccadr/adjCourtCnctn/popup/adjCourtCnctnAppPop.do", "1000", "700", "appPop", $("#popForm"));
}
function endPop(){
commonPopWindowopenForm("/kccadr/adjCourtCnctn/popup/adjCourtCnctnEndPop.do", "1000", "700", "endPop", $("#popForm"));
}
function endAfterPop(){
commonPopWindowopenForm("/kccadr/adjCourtCnctn/popup/adjCourtCnctnEndAfterPop.do", "1000", "700", "endAfterPop", $("#popForm"));
}
function updateMemo(div){
var msg = "메모를 수정 하시겠습니까?";
if(confirm(msg)){
//신청인 정보 입력
var data = "";
var url = "";
$('#'+div+'Form > #'+div).val($('#'+div+'Info').val())
if(div == 'crtAdjCmsnrMeno'){
data = new FormData(document.crtAdjCmsnrMenoForm);
url= "<c:url value='/kccadr/adjCourtCnctn/updateCrtAdjCmsnrMenoAjax.do' />";
}else{
data = new FormData(document.crtAdjAdminMenoForm);
url= "<c:url value='/kccadr/adjCourtCnctn/updateCrtAdjAdminMenoAjax.do' />";
}
$.ajax({
type: "POST",
url: url,
data: data,
dataType:'json',
async: false,
processData: false,
contentType: false,
cache: false,
success: function (data) {
alert(data.data);
if(data.status == 'OK')
{
window.location.reload();
// window.close();
}
},
error: function (e) { alert("수정에 실패하였습니다."); console.log("ERROR : ", e); }
});
}
}
function fn_updateCrtStatCd(val){
var msg = "진행 하시겠습니까?";
if(confirm(msg)){
$('#crtStatCdForm > #crtStatCd').val(val);
data = new FormData(document.crtStatCdForm);
url= "<c:url value='/kccadr/adjCourtCnctn/updateCrtStatCdAjax.do' />";
$.ajax({
type: "POST",
url: url,
data: data,
dataType:'json',
async: false,
processData: false,
contentType: false,
cache: false,
success: function (data) {
alert(data.data);
if(data.status == 'OK')
{
window.location.reload();
// window.close();
}
},
error: function (e) { alert("수정에 실패하였습니다."); console.log("ERROR : ", e); }
});
}
}
</script>
<style>
.btn_layout01 .area_left,.btn_layout01 .area_right{width: auto}
</style>
</head>
<body>
<c:url var="list_url" value="/kccadr/adjCourtCnctn/adjCourtCnctnList.do" />
<c:url var="modify_url" value="/kccadr/adjCourtCnctn/adjCourtCnctnModify.do" />
<form id="goListForm" name="goListForm" method="post" action="${list_url }">
<input type="hidden" name="searchKeyword" value=""/>
<input type="hidden" name="pageIndex" value="<c:out value='${courtVO.pageIndex}'/>"/>
<input type="hidden" name="searchSortCnd" value="<c:out value="${courtVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${courtVO.searchSortOrd}" />" />
<input type="hidden" name="pageUnit" value="<c:out value="${courtVO.pageUnit}" />" />
</form>
<form id="goModifyForm" name="goModifyForm" method="post" action="${modify_url }">
<input type="hidden" name="crtSeq" value="<c:out value="${courtVO.crtSeq}" />" />
</form>
<form id="popForm" name="popForm" method="post">
<input type="hidden" name="crtSeq" value="<c:out value="${courtVO.crtSeq}" />" />
<input type="hidden" name="crtDeptKng" value="<c:out value="${courtVO.crtDeptKng}" />" />
<input type="hidden" name="crtStatCd" id="crtStatCd" value=""/>
<input type="hidden" name="esntlId" value="<c:out value="${courtVO.esntlId}" />" />
<input type="hidden" name="crtRprtDe" value="<c:out value="${courtVO.crtRprtDe}" />" />
<input type="hidden" name="rprtSeq" value="" />
</form>
<form id="cnctnForm" name="cnctnForm" method="post" enctype="multipart/form-data">
<input type="hidden" name="limitcount" value="10" />
<input type="hidden" name="CrtSn" value="1"/>
<!-- //cont_tit -->
<div class="tab_cont on">
<p class="tb_tit">조정 사건</p>
<div class="tbType02">
<table>
<colgroup>
<col style="width: 17%;">
<col style="width: 35%;">
<col style="width: 17%;">
<col style="width: 35%;">
</colgroup>
<tbody class="border_0">
<tr>
<!-- <th>법원결정일</th> -->
<th>법원결정일</th>
<td>
<c:out value="${fn:substring(courtVO.crtDcsnDe, 0, 10)}"/>
</td>
<!-- <th>메일수신일(사건기록)</th> -->
<th>메일수신일(사건기록)</th>
<td>
<c:out value="${fn:substring(courtVO.crtRcptDe, 0, 10)}"/>
</td>
</tr>
<tr>
<!-- <th>배당일자</th> -->
<th>배당일(위원지정)</th>
<td>
<c:out value="${fn:substring(courtVO.crtAllctDe, 0, 10)}"/>
</td>
<th>사무처리기한</th>
<td>
<c:out value="${fn:substring(courtVO.crtAllctDdlDe, 0, 10)}"/>
</td>
</tr>
<tr>
<!-- <th>배당일자</th> -->
<th>기한연장(1차)</th>
<td>
<c:out value="${fn:substring(courtVO.crtAllctDdlDeAdd1st, 0, 10)}"/>
</td>
<th>기한연장(2차)</th>
<td>
<c:out value="${fn:substring(courtVO.crtAllctDdlDeAdd2nd, 0, 10)}"/>
</td>
</tr>
<c:forEach items="${courtVO.adjCourtRprtMgrList }" var="rprtMgr" varStatus="status">
<c:if test="${status.index eq 0}">
<tr>
<th rowspan="${fn:length(courtVO.adjCourtRprtMgrList) + 1}">사무수행보고일</th>
</c:if>
<c:if test="${status.index ne 0}">
<tr>
</c:if>
<td>
<c:out value="${fn:substring(rprtMgr.crtRprtDe, 0, 10)}"/>
(
<c:if test="${rprtMgr.rprtPhone eq 'Y'}">전화</c:if>
<c:if test="${rprtMgr.rprtPgr eq 'Y'}">
<c:if test="${rprtMgr.rprtPhone eq 'Y'}">,</c:if>
기일진행
</c:if>
)
<c:if test="${loginVO.ofcpsNm eq '80'
or loginVO.ofcpsNm eq '90'
or loginVO.id eq 'admin'}">
<button type="button" class="btnType06" onclick="RprtDePop('${rprtMgr.rprtSeq }');">수정</button>
</c:if>
</td>
</tr>
</c:forEach>
<tr>
<c:if test="${fn:length(courtVO.adjCourtRprtMgrList) eq 0}">
<th rowspan="">사무수행보고일</th>
</c:if>
<td>
<c:if test="${loginVO.ofcpsNm eq '80'
or loginVO.ofcpsNm eq '90'
or loginVO.id eq 'admin'}">
<button type="button" class="btnType06" onclick="RprtDePop('');">사무수행보고일 등록</button>
</c:if>
</td>
</tr>
<tr>
<th>조정 사건번호</th>
<td>
<c:out value="${courtVO.crtNo}"/>
</td>
<th>본 사건번호</th>
<td>
<c:out value="${courtVO.crtOriNo}"/>
[<kc:code codeId="CC701" code="${courtVO.crtLinkHouse}" />]
</td>
</tr>
<tr>
<th>총괄조정위원</th>
<td>
<c:out value="${courtVO.crtDeptKng}"/>
</td>
<th>조정위원</th>
<td>
<c:out value="${courtVO.crtDeptOrdi}"/>
<input type="hidden" id="crtDeptOrdiValChk" value="<c:out value="${courtVO.crtDeptOrdi}"/>"/>
<c:if test="${loginVO.ofcpsNm ne '80'}">
<c:if test="${courtVO.crtStatCd*1 < 101050}">
<button type="button" class="btnType06" onclick="DeptPop();">
<c:if test="${loginVO.ofcpsNm ne '90'}">
사건배당
</c:if>
<c:if test="${loginVO.ofcpsNm eq '90'}">
변경지정
</c:if>
</button>
</c:if>
</c:if>
</td>
</tr>
<tr>
<th>원고 이름</th>
<td>
<c:out value="${courtVO.crtClimntNm}"/>
</td>
<th>원고 (대리인) 이름</th>
<td>
<c:out value="${courtVO.crtClimntAgntNm}"/>
</td>
</tr>
<tr>
<th>원고 연락처</th>
<td>
<c:out value="${courtVO.crtClimntPhone}"/>
</td>
<th>원고 (대리인) 연락처</th>
<td>
<c:out value="${courtVO.crtClimntAgtPhone}"/>
</td>
</tr>
<!-- <tr> -->
<!-- <th>원고 정보</th> -->
<!-- <td colspan="3"> -->
<%-- <c:out value="${courtVO.crtClimntInfo}"/> --%>
<!-- </td> -->
<!-- </tr> -->
<tr>
<th>피고 이름</th>
<td>
<c:out value="${courtVO.crtDfndntNm}"/>
</td>
<th>피고 (대리인) 이름</th>
<td>
<c:out value="${courtVO.crtDfndntAgntNm}"/>
</td>
</tr>
<tr>
<th>피고 연락처</th>
<td>
<c:out value="${courtVO.crtDfndntPhone}"/>
</td>
<th>피고 (대리인) 연락처</th>
<td>
<c:out value="${courtVO.crtDfndntAgntPhone}"/>
</td>
</tr>
<!-- <tr> -->
<!-- <th>피고 정보</th> -->
<!-- <td colspan="3"> -->
<%-- <c:out value="${courtVO.crtDfndntInfo}"/> --%>
<!-- </td> -->
<!-- </tr> -->
<tr>
<th>분야</th>
<td>
<kc:code codeId="CC705" code="${courtVO.crtCcTy}" />
</td>
</tr>
<tr>
<th>사건내용</th>
<td colspan="3">
<c:out value="${courtVO.crtCn}"/>
</td>
</tr>
<c:if test="${loginVO.ofcpsNm ne '90' }">
<c:choose>
<c:when test="${loginVO.ofcpsNm eq '80'}">
<tr>
<th>조정위원 메모</th>
<td colspan="3">
<textarea name="crtAdjCmsnrMeno" id="crtAdjCmsnrMenoInfo" cols="30" rows="3"> <c:out value="${courtVO.crtAdjCmsnrMeno}"/></textarea>
<button type="button" class="btnType06" onclick="updateMemo('crtAdjCmsnrMeno');">메모등록</button>
</td>
</tr>
</c:when>
<c:otherwise>
<tr>
<th>담당자 메모</th>
<td colspan="3">
<textarea name="crtAdjAdminMeno" id="crtAdjAdminMenoInfo" cols="30" rows="3"><c:out value="${courtVO.crtAdjAdminMeno}"/> </textarea>
<button type="button" class="btnType06" onclick="updateMemo('crtAdjAdminMeno');">메모등록</button>
</td>
</tr>
</c:otherwise>
</c:choose>
</c:if>
</tbody>
</table>
</div>
<div class="btn_wrap btn_layout01">
<div class="area_left"></div>
<div class="area_right">
<!-- 프로세스 시간 순서대로 버튼 나열 -->
<c:if test="${loginVO.ofcpsNm ne '80'}">
<!-- 접수 결재 승인 전까지만 -->
<c:if test="${courtVO.crtStatCd*1 < 101010}">
<button type="button" class="btnType06" onclick="fn_modyfi(); return false;">수정</button>
<button type="button" class="btnType06" onclick="aprvlPop('101010');">접수결재</button>
</c:if>
<c:if test="${courtVO.crtStatCd*1 >= 101050
&& courtVO.crtStatCd*1 < 201010}">
<button type="button" class="btnType06" onclick="endPop();">결과보고</button>
<button type="button" class="btnType06" onclick="appPop();">기일지정</button>
<button type="button" class="btnType06" onclick="aprvlPop('201010')">종결결재</button>
</c:if>
<c:if test="${courtVO.crtStatCd*1 eq 300000}">
<button type="button" class="btnType06" onclick="endAfterPop();">사후관리</button>
</c:if>
</c:if>
<!-- 조정위원 -->
<c:if test="${loginVO.ofcpsNm eq '80'}">
<!-- 위원결재가 끝났을때 -->
<c:if test="${courtVO.crtStatCd*1 == 101050}">
<button type="button" class="btnType06" onclick="fn_updateCrtStatCd('200000');">사무수행 수락</button>
</c:if>
<c:if test="${courtVO.crtStatCd*1 == 200000}">
<button type="button" class="btnType06" onclick="fn_updateCrtStatCd('200010');">조정위원 종결 처리</button>
</c:if>
</c:if>
<button type="button" class="btnType03" onclick="fn_GoList(); return false;">목록</button>
</div>
</div>
</div>
</form>
<form id="crtAdjCmsnrMenoForm" name="crtAdjCmsnrMenoForm">
<input type="hidden" id="crtAdjCmsnrMeno" name="crtAdjCmsnrMeno">
<input type="hidden" name="crtSeq" value="<c:out value="${courtVO.crtSeq}" />" />
</form>
<form id="crtAdjAdminMenoForm" name="crtAdjAdminMenoForm">
<input type="hidden" id="crtAdjAdminMeno" name="crtAdjAdminMeno">
<input type="hidden" name="crtSeq" value="<c:out value="${courtVO.crtSeq}" />" />
</form>
<form id="crtStatCdForm" name="crtStatCdForm">
<input type="hidden" id="crtStatCd" name="crtStatCd">
<input type="hidden" name="crtSeq" value="<c:out value="${courtVO.crtSeq}" />" />
</form>
</body>
</html>

View File

@ -1,135 +0,0 @@
<%@ 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"%>
<!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(){
$('.viewPopup').click(function(){
$('#atchFileId').val($(this).data('info'));
commonPopWindowopenForm("/kccadr/adjPgrMgr/apm/popup/apmAnsDetail.do", '500', '400', "apmAnsDetailPop", $('#pop'));
});
});
function fncOepnDoc(rpplDocSeq) {
$('#rpplDocSeq').val(rpplDocSeq);
var pop = document.pop;
commonPopWindowopenForm("/kccadr/adjPgrMgr/apm/popup/fncOpenDocPop.do", "580", "380", "srcRegAdrNoPop", $('#pop'));
}
function fn_egov_downFile(atchFileId, fileSn) {
var ckAdrList = $('input:checkbox[name="ckAdrList"]:checked');
if(ckAdrList.length==0){
alert ('파일을 선택해 주세요.');
return false;
}
$.each(ckAdrList, function(idx, item){
var file = (item.value).split('|');
window.open("/cmm/fms/FileDown.do?atchFileId=" + file[0] + "&fileSn=" + file[1] + "", 'win'+idx);
});
}
function fncFileDown(atchFileId, fileSn){
window.open("/cmm/fms/FileDown.do?atchFileId=" + atchFileId + "&fileSn=" + fileSn);
}
function adjCourtCnctnFilePop(){
var pop = document.pop ;
commonPopWindowopenForm("/kccadr/adjCourtCnctn/popup/adjCourtCnctnFilePop.do" , "750", "550", "docRegPop", $("#pop"));
}
</script>
</head>
<body>
<form id="pop" name="pop" method="post">
<input type="hidden" id="crtSeq" name="crtSeq" value="<c:out value="${courtVO.crtSeq}" />" />
<input type="hidden" id="crtSn" name="crtSn" value="<c:out value="${courtVO.crtSn}" />" />
</form>
<form:form commandName="adjstIncidentVO" id="popCreateForm" name="popCreateForm" method="post" onsubmit="return false;">
<!-- //cont_tit -->
<div class="tab_cont on">
<!-- list_상세 -->
<p class="tb_tit">신청 정보</p>
<div class="tbType03">
<table>
<colgroup>
<col style="width: 15%;">
<col style="width: auto;">
<col style="width: 25%;">
</colgroup>
<thead>
<tr>
<th>일자</th>
<!-- <th>일자</th> -->
<th>문서 구분</th>
<th>문서 명</th>
</tr>
</thead>
<tbody>
<c:forEach var="list" items="${list}" varStatus="status">
<tr>
<!-- <td> -->
<!-- <p> -->
<%-- <input name="chk" type="checkbox" value="${list.atchFileId}-${list.fileSn}" title="체크"> --%>
<!-- </p> -->
<!-- </td> -->
<td>
<a href="#" onclick="fncFileDown('${list.atchFileId}', '${list.fileSn}');"><p>${fn:substring(list.frstRegistPnttm, 0, 10)}</p></a>
</td>
<td>
<a href="#" onclick="fncFileDown('${list.atchFileId}', '${list.fileSn}');"><kc:code codeId="CC702" code="${list.crtAtchFileTy}"/></a>
</td>
<td>
<a href="#" onclick="fncFileDown('${list.atchFileId}', '${list.fileSn}');"><c:out value="${list.orignlFileNm}"/></a>
</td>
</tr>
</c:forEach>
<c:if test="${empty list}">
<tr>
<td colspan="3">
<spring:message code="common.nodata.msg" />
</td>
</tr>
</c:if>
</tbody>
</table>
</div>
<!-- //list_상세 -->
<div class="btn_wrap btn_layout05" style="margin-top:30px;">
<div class="btn_left_box">
<c:if test="${loginVO.ofcpsNm ne '80'}">
<button type="button" class="btnType02" onclick="adjCourtCnctnFilePop(); return false;">문서 등록</button>
</c:if>
</div>
</div>
</div>
<div class="btn_wrap btn_layout01">
<div class="btn_left_box">
</div>
<div class="btn_right_box" id="remakeDocs">
</div>
</div>
</form:form>
</body>
</html>

View File

@ -1,102 +0,0 @@
<%@ 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"%>
<!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() {
$("#tabNav > button").on("click", function(e) {
var idx = $(this).index();
tabPageLoad(idx);
});
tabPageLoad(parseInt('${courtVO.tabSeq}'));
//해당 페이지에 대한 권한 체크
_admin_fn_check_authority("crtDetail", "div.cont", "R");
});
//권한 체크 결과값으로 후속처리
function admin_fn_check_authority_ret(p_param){
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
}
function tabPageLoad(idx) {
var url = getPageUrl(idx);
$('#tabContent').load(url, {
"crtSeq" : $("#crtSeq").val()
}, function(res, status, xhr) {
});
}
function getPageUrl(idx) {
switch (idx) {
case 0:
return '/kccadr/adjCourtCnctn/adjCourtCnctnEndDetailTab0.do';
case 1:
return '/kccadr/adjCourtCnctn/adjCourtCnctnEndDetailTab1.do';
}
}
function fncGoList(pageNo) {
var listForm = document.listForm;
listForm.action = "<c:url value='/web/kccadr/adjcclt/ai/adjstConciliatorEndList.do'/>";
listForm.submit();
}
function fn_egov_downFile(atchFileId, fileSn) {
window.open("<c:url value='/cmm/fms/FileDown.do?atchFileId=" + atchFileId + "&fileSn=" + fileSn + "'/>");
}
</script>
<style type="text/css">
.wrap {min-width:1660px;}
</style>
</head>
<body>
<form:form id="listForm" name="listForm" commandName="courtVO" onsubmit="return false;" method="post">
<input type="hidden" id="crtSeq" name="crtSeq" value="<c:out value="${courtVO.crtSeq}" />" />
<input type="hidden" id="crtSn" name="crtSn" value="<c:out value="${courtVO.crtSn}" />" />
</form:form>
<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>
</li>
<li>
<p>법원연계조정 목록</p>
</li>
<li>
<span class="cur_nav">법원연계조정 상세</span>
</li>
</ul>
</div>
<!-- //cont_tit -->
<div class="cont">
<div id="tabNav" class="tab_btn tab02">
<button class="tab ${courtVO.tabSeq eq '0' ? 'on' : ''}">사건일반</button>
<button class="tab ${courtVO.tabSeq eq '1' ? 'on' : ''}">사건문서</button>
</div>
<div id="tabContent" class="tab_cont on"></div>
</div>
</div>
</div>
</body>
</html>

View File

@ -1,295 +0,0 @@
<%@ 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"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Language" content="ko" >
<title>법원연계조정관리 - 상세</title>
<script type="text/javaScript" language="javascript">
$(document).ready(function(){
//해당 페이지에 대한 권한 체크
_admin_fn_check_authority("adjCourtCnctnDetail", "div.cont", "R");
});
function StringToDate(date, n) {
let yyyy = date.substring(0, 4);
let mm = date.substring(5, 7);
let dd = date.substring(8, 10);
mm = Number(mm) - 1;
let stringNewDate = new Date(yyyy, mm, dd);
stringNewDate.setDate(stringNewDate.getDate() + n);
return stringNewDate.getFullYear() +
"-" + ((stringNewDate.getMonth() + 1) > 9 ? (stringNewDate.getMonth() + 1).toString() : "0" + (stringNewDate.getMonth() + 1)) +
"-" + (stringNewDate.getDate() > 9 ? stringNewDate.getDate().toString() : "0" + stringNewDate.getDate().toString());
}
//권한 체크 결과값으로 후속처리
function admin_fn_check_authority_ret(p_param){
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
}
//목록 이동
function fn_GoList(){
var goListForm = document.goListForm ;
goListForm.submit();
}
//수정 화면으로 이동
function fn_modyfi(){
var goModifyForm = document.goModifyForm ;
goModifyForm.submit();
}
function DeptPop(){
commonPopWindowopenForm("/kccadr/adjCourtCnctn/popup/adjCourtCnctnDeptPop.do", "650", "400", "DeptPop", $("#popForm"));
}
function aprvlPop(pram){
document.popForm.crtStatCd.value = pram;
var url = "";
if(pram == '101010'){
url = "/kccadr/adjCourtAprvl/popup/aprvlReqPop.do";
}else{
url = "/kccadr/adjCourtAprvl/popup/aprvlReqEndPop.do";
}
commonPopWindowopenForm(url, "1000", "700", "aprvlPop", $("#popForm"));
}
function appPop(){
commonPopWindowopenForm("/kccadr/adjCourtCnctn/popup/adjCourtCnctnAppPop.do", "1000", "700", "appPop", $("#popForm"));
}
function endPop(){
commonPopWindowopenForm("/kccadr/adjCourtCnctn/popup/adjCourtCnctnEndPop.do", "1000", "700", "endPop", $("#popForm"));
}
function endAfterPop(){
commonPopWindowopenForm("/kccadr/adjCourtCnctn/popup/adjCourtCnctnEndAfterPop.do", "1000", "700", "endAfterPop", $("#popForm"));
}
</script>
<style>
.btn_layout01 .area_left,.btn_layout01 .area_right{width: auto}
</style>
</head>
<body>
<c:url var="list_url" value="/kccadr/adjCourtCnctn/adjCourtCnctnEndList.do" />
<c:url var="modify_url" value="/kccadr/adjCourtCnctn/adjCourtCnctnModify.do" />
<form id="goListForm" name="goListForm" method="post" action="${list_url }">
<input type="hidden" name="searchKeyword" value=""/>
<input type="hidden" name="pageIndex" value="<c:out value='${courtVO.pageIndex}'/>"/>
<input type="hidden" name="searchSortCnd" value="<c:out value="${courtVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${courtVO.searchSortOrd}" />" />
<input type="hidden" name="pageUnit" value="<c:out value="${courtVO.pageUnit}" />" />
</form>
<form id="goModifyForm" name="goModifyForm" method="post" action="${modify_url }">
<input type="hidden" name="crtSeq" value="<c:out value="${courtVO.crtSeq}" />" />
</form>
<form id="popForm" name="popForm" method="post">
<input type="hidden" name="crtSeq" value="<c:out value="${courtVO.crtSeq}" />" />
<input type="hidden" name="crtDeptKng" value="<c:out value="${courtVO.crtDeptKng}" />" />
<input type="hidden" name="crtStatCd" id="crtStatCd" value=""/>
<input type="hidden" name="esntlId" value="<c:out value="${courtVO.esntlId}" />" />
<input type="hidden" name="endFlag" value="end" />
</form>
<form id="cnctnForm" name="cnctnForm" method="post" enctype="multipart/form-data">
<input type="hidden" name="limitcount" value="10" />
<input type="hidden" name="CrtSn" value="1"/>
<!-- //cont_tit -->
<div class="tab_cont on">
<p class="tb_tit">조정 사건</p>
<div class="tbType02">
<table>
<colgroup>
<col style="width: 17%;">
<col style="width: 35%;">
<col style="width: 17%;">
<col style="width: 35%;">
</colgroup>
<tbody class="border_0">
<tr>
<th>법원결정일</th>
<td>
<c:out value="${fn:substring(courtVO.crtDcsnDe, 0, 10)}"/>
</td>
<th>메일수신일(사건기록)</th>
<td>
<c:out value="${fn:substring(courtVO.crtRcptDe, 0, 10)}"/>
</td>
</tr>
<tr>
<th>배당일자</th>
<td>
<c:out value="${fn:substring(courtVO.crtAllctDe, 0, 10)}"/>
</td>
<th>사무처리기한</th>
<td>
<c:out value="${fn:substring(courtVO.crtAllctDdlDe, 0, 10)}"/>
</td>
</tr>
<tr>
<th>사무수행보고일</th>
<td>
<c:out value="${fn:substring(courtVO.crtRprtDe, 0, 10)}"/>
</td>
</tr>
<tr>
<th>본 사건번호</th>
<td>
<c:out value="${courtVO.crtOriNo}"/>
[<kc:code codeId="CC701" code="${courtVO.crtLinkHouse}" />]
</td>
<th>조정 사건번호</th>
<td>
<c:out value="${courtVO.crtNo}"/>
<!-- <input type="text" id="crtNo" name="crtNo" /> -->
</td>
</tr>
<tr>
<th>총괄조정위원</th>
<td>
<c:out value="${courtVO.crtDeptKng}"/>
</td>
<th>조정위원</th>
<td>
<c:out value="${courtVO.crtDeptOrdi}"/>
<c:if test="${courtVO.crtStatCd*1 < 101050}">
<button type="button" class="btnType06" onclick="DeptPop();">사건배당</button>
</c:if>
</td>
</tr>
<tr>
<th>원고 이름</th>
<td>
<c:out value="${courtVO.crtClimntNm}"/>
</td>
<th>원고 (대리인) 이름</th>
<td>
<c:out value="${courtVO.crtClimntAgntNm}"/>
</td>
</tr>
<tr>
<th>원고 연락처</th>
<td>
<c:out value="${courtVO.crtClimntPhone}"/>
</td>
<th>원고 (대리인) 연락처</th>
<td>
<c:out value="${courtVO.crtClimntAgtPhone}"/>
</td>
</tr>
<tr>
<th>원고 정보</th>
<td colspan="3">
<c:out value="${courtVO.crtClimntInfo}"/>
</td>
</tr>
<tr>
<th>피고 이름</th>
<td>
<c:out value="${courtVO.crtDfndntNm}"/>
</td>
<th>피고 (대리인) 이름</th>
<td>
<c:out value="${courtVO.crtDfndntAgntNm}"/>
</td>
</tr>
<tr>
<th>피고 연락처</th>
<td>
<c:out value="${courtVO.crtDfndntPhone}"/>
</td>
<th>피고 (대리인) 연락처</th>
<td>
<c:out value="${courtVO.crtDfndntAgntPhone}"/>
</td>
</tr>
<tr>
<th>피고 정보</th>
<td colspan="3">
<c:out value="${courtVO.crtDfndntInfo}"/>
</td>
</tr>
<tr>
<th>분야</th>
<td>
<kc:code codeId="CC705" code="${courtVO.crtCcTy}" />
</td>
</tr>
<tr>
<th>사건내용</th>
<td colspan="3">
<c:out value="${courtVO.crtCn}"/>
</td>
</tr>
<tr>
<th>합의금</th>
<td>
<c:out value="${courtVO.crtAgrment}"/>
</td>
<th>종결일자</th>
<td>
<c:out value="${fn:substring(courtVO.crtEndDe, 0, 10)}"/>
</td>
</tr>
<tr>
<th>수당금액</th>
<td>
<c:out value="${adjCourtDeptVO.crtAllwanc}"/>
</td>
<th>지급일자</th>
<td>
<c:out value="${fn:substring(adjCourtDeptVO.crtPayDe, 0, 10)}"/>
</td>
</tr>
<tr>
<th>결과</th>
<td>
<c:out value="${courtVO.crtEndRslt}"/>
</td>
<th>세부결과</th>
<td>
<c:out value="${courtVO.crtEndRsltDetail}"/>
</td>
</tr>
</tbody>
</table>
</div>
<div class="btn_wrap btn_layout01">
<div class="area_left"></div>
<div class="area_right">
<!-- 프로세스 시간 순서대로 버튼 나열 -->
<c:if test="${courtVO.crtStatCd*1 eq 300000}">
<button type="button" class="btnType06" onclick="appPop();">기일지정</button>
</c:if>
<c:if test="${courtVO.crtStatCd*1 eq 300000}">
<button type="button" class="btnType06" onclick="endAfterPop();">사후관리</button>
</c:if>
<button type="button" class="btnType03" onclick="fn_GoList(); return false;">목록</button>
</div>
</div>
</div>
</form>
</body>
</html>

View File

@ -1,133 +0,0 @@
<%@ 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"%>
<!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(){
$('.viewPopup').click(function(){
$('#atchFileId').val($(this).data('info'));
commonPopWindowopenForm("/kccadr/adjPgrMgr/apm/popup/apmAnsDetail.do", '500', '400', "apmAnsDetailPop", $('#pop'));
});
});
function fncOepnDoc(rpplDocSeq) {
$('#rpplDocSeq').val(rpplDocSeq);
var pop = document.pop;
commonPopWindowopenForm("/kccadr/adjPgrMgr/apm/popup/fncOpenDocPop.do", "580", "380", "srcRegAdrNoPop", $('#pop'));
}
function fn_egov_downFile(atchFileId, fileSn) {
var ckAdrList = $('input:checkbox[name="ckAdrList"]:checked');
if(ckAdrList.length==0){
alert ('파일을 선택해 주세요.');
return false;
}
$.each(ckAdrList, function(idx, item){
var file = (item.value).split('|');
window.open("/cmm/fms/FileDown.do?atchFileId=" + file[0] + "&fileSn=" + file[1] + "", 'win'+idx);
});
}
function fncFileDown(atchFileId, fileSn){
window.open("/cmm/fms/FileDown.do?atchFileId=" + atchFileId + "&fileSn=" + fileSn);
}
function adjCourtCnctnFilePop(){
var pop = document.pop ;
commonPopWindowopenForm("/kccadr/adjCourtCnctn/popup/adjCourtCnctnFilePop.do" , "750", "550", "docRegPop", $("#pop"));
}
</script>
</head>
<body>
<form id="pop" name="pop" method="post">
<input type="hidden" id="crtSeq" name="crtSeq" value="<c:out value="${courtVO.crtSeq}" />" />
<input type="hidden" id="crtSn" name="crtSn" value="<c:out value="${courtVO.crtSn}" />" />
</form>
<form:form commandName="adjstIncidentVO" id="popCreateForm" name="popCreateForm" method="post" onsubmit="return false;">
<!-- //cont_tit -->
<div class="tab_cont on">
<!-- list_상세 -->
<p class="tb_tit">신청 정보</p>
<div class="tbType03">
<table>
<colgroup>
<col style="width: 15%;">
<col style="width: auto;">
<col style="width: 25%;">
</colgroup>
<thead>
<tr>
<th>일자</th>
<!-- <th>일자</th> -->
<th>문서 구분</th>
<th>문서 명</th>
</tr>
</thead>
<tbody>
<c:forEach var="list" items="${list}" varStatus="status">
<tr>
<!-- <td> -->
<!-- <p> -->
<%-- <input name="chk" type="checkbox" value="${list.atchFileId}-${list.fileSn}" title="체크"> --%>
<!-- </p> -->
<!-- </td> -->
<td>
<a href="#" onclick="fncFileDown('${list.atchFileId}', '${list.fileSn}');"><p>${fn:substring(list.frstRegistPnttm, 0, 10)}</p></a>
</td>
<td>
<a href="#" onclick="fncFileDown('${list.atchFileId}', '${list.fileSn}');"><kc:code codeId="CC702" code="${list.crtAtchFileTy}"/></a>
</td>
<td>
<a href="#" onclick="fncFileDown('${list.atchFileId}', '${list.fileSn}');"><c:out value="${list.orignlFileNm}"/></a>
</td>
</tr>
</c:forEach>
<c:if test="${empty list}">
<tr>
<td colspan="3">
<spring:message code="common.nodata.msg" />
</td>
</tr>
</c:if>
</tbody>
</table>
</div>
<!-- //list_상세 -->
<div class="btn_wrap btn_layout05" style="margin-top:30px;">
<div class="btn_left_box">
<button type="button" class="btnType02" onclick="adjCourtCnctnFilePop(); return false;">문서 등록</button>
</div>
</div>
</div>
<div class="btn_wrap btn_layout01">
<div class="btn_left_box">
</div>
<div class="btn_right_box" id="remakeDocs">
</div>
</div>
</form:form>
</body>
</html>

View File

@ -1,392 +0,0 @@
<%@ 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" %>
<c:set var="now" value="<%=new java.util.Date()%>" />
<!DOCTYPE html>
<html lang="ko">
<head>
<title>의견정보</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<script type="text/javaScript" language="javascript">
$(document).ready(function(){
//해당 페이지에 대한 권한 체크
_admin_fn_check_authority("adjCourtCnctnList", "div.cont", "ALL");
<c:if test="${adjCourtCnctnVO.ckStsListAll eq 'Y' }">
$("input[name=ckStsListAll]").attr("checked", true);
</c:if>
<c:if test="${adjCourtCnctnVO.crtLinkHouseAll eq 'Y' }">
$("input[name=crtLinkHouseAll]").attr("checked", true);
</c:if>
<c:forEach var="val" items="${adjCourtCnctnVO.ckStsList}">
fncCheckValue('ckStsList', '${val}')
</c:forEach>
$("input[name=searchStatusArr]").on("click", function() {
var value = $(this).val();
if (value == "99") {
$("input[name=searchStatusArr]").prop("checked", $(this).is(":checked"));
}
})
$("input[name=searchMonth]").on("click", function() {
var value = $(this).val();
if (value == "99") {
setSearchMonthDate(1);
$("#sel_date").find("button").prop("disabled", false);
$("#sel_date").find("input").prop("readonly", false);
} else {
setSearchMonthDate(value);
$("#sel_date").find("button").prop("disabled", true);
$("#sel_date").find("input").prop("readonly", true);
}
});
if ('${adjCourtCnctnVO.searchMonth}' != '99') {
setSearchMonthDate('${adjCourtCnctnVO.searchMonth}');
};
});
//권한 체크 결과값으로 후속처리
function admin_fn_check_authority_ret(p_param){
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
}
function fncGoList(){
linkPage(1);
}
function linkPage(pageNo){
var listForm = document.listForm ;
listForm.pageIndex.value = pageNo ;
listForm.action = "<c:url value='/kccadr/adjCourtCnctn/adjCourtCnctnList.do'/>";
listForm.submit();
}
function fn_Create(){
var goForm = document.goForm;
goForm.action = "<c:url value='/kccadr/adjCourtCnctn/adjCourtCnctnRegist.do'/>";
goForm.submit();
}
function fn_goDetail(crtSeq, crtCnfrm){
var goForm = document.goForm;
goForm.action = "<c:url value='/kccadr/adjCourtCnctn/adjCourtCnctnDetail.do'/>";
goForm.crtSeq.value = crtSeq;
goForm.crtCnfrm.value = crtCnfrm;
goForm.submit();
}
function fn_goEndDetail(crtSeq){
var goForm = document.goForm;
goForm.action = "<c:url value='/kccadr/adjCourtCnctn/adjCourtCnctnEndDetail.do'/>";
goForm.crtSeq.value = crtSeq;
goForm.submit();
}
function fncCheckValue(name, value) {
$("input[name=" + name + "]").each(function(index, item) {
if (item.value == value) {
item.checked = true;
}
})
}
function setSearchMonthDate(month) {
$("input[name=searchStartDt]").val(moment('<fmt:formatDate value="${now}" pattern="yyyy-MM-dd" />').add(month * -1, 'months').format('YYYY-MM-DD'));
$("input[name=searchEndDt]").val(moment('<fmt:formatDate value="${now}" pattern="yyyy-MM-dd" />').format('YYYY-MM-DD'));
}
</script>
</head>
<body>
<form id="listForm" name="listForm" action="" method="post">
<input type="hidden" name="pageIndex" value="<c:out value='${adjCourtCnctnVO.pageIndex}' default='1' />"/>
<input type="hidden" name="searchSortOrd" value="<c:out value="${adjCourtCnctnVO.searchSortOrd }" />"/>
<div class="cont_wrap">
<div class="box">
<div class="cont_tit">
<c:if test="${empty endFlag}">
<h2>법원연계조정목록</h2>
</c:if>
<c:if test="${!empty endFlag}">
<h2>법원연계조정종결목록</h2>
</c:if>
<ul class="cont_nav">
<li class="home"><a href="/"><i></i></a></li>
<li><span class="cur_nav">법원연계조정 목록</span></li>
</ul>
</div>
<div class="cont">
<%-- <div class="list_top">
<div class="list_util">
<div class="detail_search">
<ul>
<li>
<p class="tit_text">구분</p>
<select name="searchCondition" id="searchCondition" title="선택">
<option value="">선택</option>
<option value="10" <c:if test="${adjCourtCnctnVO.searchCondition == '10'}">selected</c:if>>본사건번호</option>
<option value="20" <c:if test="${adjCourtCnctnVO.searchCondition == '20'}">selected</c:if>>조정사건번호</option>
</select>
<input type="text" class="search_input" id="searchKeyword" name="searchKeyword" value="<c:out value='${adjCourtCnctnVO.searchKeyword}'/>" placeholder="검색어를 입력하세요.">
<button class="btnType07 btn_search" onclick="fncGoList()">검색</button>
</li>
</ul>
</div>
</div>
</div> --%>
<!-- list_top -->
<div class="list_top">
<div class="list_util">
<div class="detail_search">
<ul>
<li>
<p class="tit_text">구분</p>
<select name="searchCondition" id="searchCondition" title="선택">
<option value='10' <c:if test="${adjCourtCnctnVO.searchCondition == '10'}">selected</c:if>>본사건번호</option>
<option value='20' <c:if test="${adjCourtCnctnVO.searchCondition == '20'}">selected</c:if>>조정사건번호</option>
</select>
<input type="text" class="search_input" id="searchKeyword" name="searchKeyword" value="<c:out value='${adjCourtCnctnVO.searchKeyword}'/>" placeholder="검색어를 입력하세요.">
<button class="btn_search" onclick="fncGoList();">검색</button>
</li>
<!-- 배열을 문자열로 변화해서 아래 checked 구현 -->
<c:set var="crtLinkVal" value="${fn:join(adjCourtCnctnVO.crtLinkHouseList, '_')}" />
<li>
<p class="tit_text">회부법원</p>
<div class="check_wrap">
<span>
<input type="checkbox" id="crtLinkHouseAll" name="crtLinkHouseAll" value="Y">
<label for="crtLinkHouseAll">전체</label>
</span>
<c:forEach items="${corporationCmmCode }" var="code">
<span>
<input type="checkbox" id="crtLinkHouseList${status.count}" name="crtLinkHouseList"
value="${code.code }"
<c:if test="${fn:contains(crtLinkVal, code.code)}">checked="checked"</c:if>
>
<label for="crtLinkHouseList${status.count}">${code.codeNm }</label>
</span>
</c:forEach>
</div>
</li>
<li>
<%-- <kc:radio name="" id="" codeId="" /> --%>
<p class="tit_text">조정상태</p>
<div class="check_wrap">
<span>
<input type="checkbox" id="ckStsListAll" name="ckStsListAll" value="Y">
<label for="ckStsListAll">전체</label>
</span>
<span>
<input type="checkbox" id="ckStsList1" name="ckStsList" value="101000">
<label for="ckStsList1">배당(사건입력)</label>
</span>
<span>
<input type="checkbox" id="ckStsList2" name="ckStsList" value="101010">
<label for="ckStsList2">접수결재</label>
</span>
<span>
<input type="checkbox" id="ckStsList3" name="ckStsList" value="101050">
<label for="ckStsList3">위원지정(=접수결재완료)</label>
</span>
<span>
<input type="checkbox" id="ckStsList4" name="ckStsList" value="200000">
<label for="ckStsList4">조정진행</label>
</span>
<span>
<input type="checkbox" id="ckStsList45" name="ckStsList" value="200010">
<label for="ckStsList45">조정위원종결</label>
</span>
<span>
<input type="checkbox" id="ckStsList7" name="ckStsList" value="201010">
<label for="ckStsList7">종결결재</label>
</span>
<!-- <span> -->
<!-- <input type="checkbox" id="ckStsList5" name="ckStsList" value="300000"> -->
<!-- <label for="ckStsList5">사건종결</label> -->
<!-- </span> -->
</div>
</li>
<li>
<p class="tit_text">조정위원</p>
<select name="searchLoginId" id="searchLoginId" title="선택" style="width: 250px;">
<option value='all' <c:if test="${adjCourtCnctnVO.searchLoginId == 'all'}">selected</c:if>>전체</option>
<c:forEach var="list" items="${deptNmArr}" varStatus="status">
<option value='${list.esntlId}' <c:if test="${adjCourtCnctnVO.searchLoginId == list.esntlId}">selected</c:if>><c:out value="${list.userNm}"/></option>
</c:forEach>
</select>
</li>
<li>
<p class="tit_text">배당일(위원지정)</p>
<div class="radio_wrap">
<span>
<input ${adjCourtCnctnVO.searchMonth eq '1' ? 'checked=\"checked\"' : ''} value="1" type="radio" name="searchMonth" id="month1"><label for="month1">1개월</label>
</span>
<span>
<input ${adjCourtCnctnVO.searchMonth eq '2' ? 'checked=\"checked\"' : ''} value="2" type="radio" name="searchMonth" id="month2"><label for="month2">2개월</label>
</span>
<span>
<input ${adjCourtCnctnVO.searchMonth eq '99' ? 'checked=\"checked\"' : ''} value="99" type="radio" name="searchMonth" id="monthEtc"><label for="monthEtc">기간지정</label>
</span>
<div id="sel_date" class="sel_date">
<input type="text" class="startDate inp" title="검색시작일" id="startDate01" name="searchStartDt" value="${adjCourtCnctnVO.searchStartDt}" data-datecontrol="true" ${adjCourtCnctnVO.searchMonth ne '99' ? 'readonly' : ''}>
<div class="calendar_in" id="calendarName_startDate" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('startDate01-lry','',this)" class="btn_cal" ${adjCourtCnctnVO.searchMonth ne '99' ? 'disabled' : ''}></button>
<div id="startDate01-lry" class="calendarPop" style="display: none;">
<iframe id="startDate01-ifrm" name="startDate01-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html" title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div>
~
<input type="text" class="endDate inp" title="검색시작일" id="endDate" name="searchEndDt" value="${adjCourtCnctnVO.searchEndDt}" data-datecontrol="true" ${adjCourtCnctnVO.searchMonth ne '99' ? 'readonly' : ''}>
<div class="calendar_in" id="calendarName_endDate" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('endDate-lry','',this)" class="btn_cal" ${adjCourtCnctnVO.searchMonth ne '99' ? 'disabled' : ''}></button>
<div id="endDate-lry" class="calendarPop" style="display: none;">
<iframe id="endDate-ifrm" name="endDate-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html" title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div>
</div>
</div>
</li>
</ul>
</div>
</div>
</div>
<!-- //list_top -->
<div class="list_top">
<p>총 <span> <c:out value="${paginationInfo.totalRecordCount }" /></span>건 입니다.</p>
<button class="btnType02" onclick="fn_Create(); return false;" >등록</button>
</div>
<!-- list -->
<div class="list tbType01">
<table>
<colgroup>
<col style="width: 50px">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 20%">
<col style="width: 10%">
<col style="width: 150px">
</colgroup>
<thead>
<tr>
<th>번호</th>
<th>본사건번호</th>
<th>조정 사건번호</th>
<th>원고</th>
<th>피고</th>
<th>배당일</th>
<th>분야</th>
<th>조정위원</th>
<th>연계법원</th>
<th>처리상태</th>
</tr>
</thead>
<tbody>
<c:forEach var="list" items="${list}" varStatus="status">
<c:choose>
<c:when test="${ofcpsNm eq '80' and list.crtCnfrm eq 'N' }">
<tr style="background-color: #131de14a;">
</c:when>
<c:otherwise>
<tr>
</c:otherwise>
</c:choose>
<td>
<c:if test="${adjCourtCnctnVO.searchSortOrd eq 'desc' }">
<c:out value="${ ( paginationInfo.totalRecordCount - ((adjCourtCnctnVO.pageIndex -1)*adjCourtCnctnVO.pageUnit) ) - status.index }"/>
</c:if>
<c:if test="${adjCourtCnctnVO.searchSortOrd eq 'asc' }">
<c:out value="${(adjCourtCnctnVO.pageIndex - 1) * adjCourtCnctnVO.pageUnit + status.count}"/>
</c:if>
</td>
<c:if test="${empty endFlag}">
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}', '${list.crtCnfrm }');"><c:out value="${list.crtOriNo}" /></a></td>
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}', '${list.crtCnfrm }');"><c:out value="${list.crtNo}" /></a></td>
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}', '${list.crtCnfrm }');"><c:out value="${list.crtClimntNm}" /></a></td>
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}', '${list.crtCnfrm }');"><c:out value="${list.crtDfndntNm}" /></a></td>
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}', '${list.crtCnfrm }');"><c:out value="${fn:substring(list.crtAllctDe, 0, 10)}" /></a></td>
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}', '${list.crtCnfrm }');"><kc:code codeId="CC705" code="${list.crtCcTy}"/></a></td>
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}', '${list.crtCnfrm }');"><c:out value="${list.deptNm}" /></a></td>
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}', '${list.crtCnfrm }');"><kc:code codeId="CC701" code="${list.crtLinkHouse}"/></a></td>
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}', '${list.crtCnfrm }');"><kc:code codeId="CC703" code="${list.crtStatCd}"/></a></td>
</c:if>
<c:if test="${!empty endFlag}">
<td><a href="#" onclick="fn_goEndDetail('${list.crtSeq}');"><c:out value="${list.crtOriNo}" /></a></td>
<td><a href="#" onclick="fn_goEndDetail('${list.crtSeq}');"><c:out value="${list.crtNo}" /></a></td>
<td><a href="#" onclick="fn_goEndDetail('${list.crtSeq}');"><c:out value="${list.crtClimntNm}" /></a></td>
<td><a href="#" onclick="fn_goEndDetail('${list.crtSeq}');"><c:out value="${list.crtDfndntNm}" /></a></td>
<td><a href="#" onclick="fn_goEndDetail('${list.crtSeq}');"><c:out value="${fn:substring(list.crtAllctDe, 0, 10)}" /></a></td>
<td><a href="#" onclick="fn_goEndDetail('${list.crtSeq}');"><kc:code codeId="CC705" code="${list.crtCcTy}"/></a></td>
<td><a href="#" onclick="fn_goEndDetail('${list.crtSeq}');"><c:out value="${list.deptNm}" /></a></td>
<td><a href="#" onclick="fn_goEndDetail('${list.crtSeq}');"><kc:code codeId="CC701" code="${list.crtLinkHouse}"/></a></td>
<td><a href="#" onclick="fn_goEndDetail('${list.crtSeq}');"><kc:code codeId="CC703" code="${list.crtStatCd}"/></a></td>
</c:if>
</tr>
</c:forEach>
<c:if test="${empty list}">
<tr><td colspan="10"><spring:message code="common.nodata.msg" /></td></tr>
</c:if>
</tbody>
</table>
</div>
<!-- //list -->
<!-- page -->
<div class="btn_wrap btn_layout02">
<button class="btnType02" onclick="fn_Create(); return false;" >등록</button>
</div>
<!-- page -->
<div class="page">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</div>
<!-- //page -->
</div>
</div>
</div>
</form>
<form id="goForm" name="goForm" action="<c:url value="/kccadr/adjCourtCnctn/adjCourtCnctnRegist.do" />" method="post">
<input type="hidden" id="crtSeq" name="crtSeq" value="" />
<input type="hidden" name="ofcpsNm" value="${ofcpsNm }" />
<input type="hidden" name="crtCnfrm" value="" />
</form>
</body>
</html>

View File

@ -1,381 +0,0 @@
<%@ 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"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Language" content="ko" >
<title>법원연계 조정 등록</title>
<script type="text/javaScript" language="javascript">
$(document).ready(function(){
// 배당일자, 사무수행보고일 선택하면 발동되는 event
// 소요일 계산
$('#crtRcptDe').on('focusin',function(){
var alctnVal = $('#crtRcptDe').val();
var returnVal = StringToDate(alctnVal, 45);
$('#crtAllctDdlDe').val(returnVal);
});
$('#filebutton').click(function (e) {
e.preventDefault();
$('#file_temp').click();
});
// 600초 마다 세션 갱신
const intervalId = setInterval(() =>
{
sessionExpend();
}
, 600000);
});
function sessionExpend(){
$.ajax({
url :"/sym/site/sessionExpendAjax.do"
,type:"post"
,data:{"session": "expend"}
,dataType:"json"
,success:function(data){
console.log("세션이 연장되었습니다.");
}
,error:function(request , status, error){
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
console.log("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
}
});
}
function StringToDate(date, n) {
let yyyy = date.substring(0, 4);
let mm = date.substring(5, 7);
let dd = date.substring(8, 10);
mm = Number(mm) - 1;
let stringNewDate = new Date(yyyy, mm, dd);
stringNewDate.setDate(stringNewDate.getDate() + n);
return stringNewDate.getFullYear() +
"-" + ((stringNewDate.getMonth() + 1) > 9 ? (stringNewDate.getMonth() + 1).toString() : "0" + (stringNewDate.getMonth() + 1)) +
"-" + (stringNewDate.getDate() > 9 ? stringNewDate.getDate().toString() : "0" + stringNewDate.getDate().toString());
}
function fn_regist(){
var msg = "수정 하시겠습니까?"
if(confirm(msg)){
//신청인 정보 입력
var data = new FormData(document.cnctnForm);
var url= "/kccadr/adjCourtCnctn/adjCourtCnctnUpdateAjax.do";
_fileForm2.forEach(function(obj, idx) {
if (obj) data.append("file"+idx, obj.fileObj);
});
$.ajax({
type: "POST",
enctype: 'multipart/form-data',
url: url,
data: data,
dataType:'json',
async: false,
processData: false,
contentType: false,
cache: false,
success: function (data) {
alert(data.data);
if(data.status == 'OK')
{
$('#goListForm').submit();
}
else if(data.status == 'Unauthorized' || data.status == 'BAD_REQUEST')
{
return false;
}
},
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
});
}
}
// 목록 이동
function fn_GoList(){
var goListForm = document.goListForm ;
goListForm.action = "<c:url value='/kccadr/adjCourtCnctn/adjCourtCnctnList.do'/>";
goListForm.submit();
}
</script>
<style>
.btn_layout01 .area_left,.btn_layout01 .area_right{width: auto}
</style>
</head>
<body>
<c:url var="list_url" value="/kccadr/adjCourtCnctn/adjCourtCnctnList.do" />
<form id="goListForm" name="goListForm" method="post" action="${list_url }">
<input type="hidden" name="searchKeyword" value=""/>
<input type="hidden" name="pageIndex" value="<c:out value='${adjCourtCnctnVO.pageIndex}'/>"/>
<input type="hidden" name="searchSortCnd" value="<c:out value="${adjCourtCnctnVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${adjCourtCnctnVO.searchSortOrd}" />" />
<input type="hidden" name="pageUnit" value="<c:out value="${adjCourtCnctnVO.pageUnit}" />" />
</form>
<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 -->
<form id="cnctnForm" name="cnctnForm" method="post" enctype="multipart/form-data">
<!-- 드래그앤 드롭 파라미터 -->
<input type="hidden" name="limitcount" value="10" />
<input type="hidden" name="crtSeq" value="${courtVO.crtSeq}"/>
<input type="hidden" name="crtSn" value="1"/>
<div class="cont">
<!-- //cont_tit -->
<div class="tab_cont on">
<p class="tb_tit">조정 사건</p>
<div class="tbType02">
<table>
<colgroup>
<col style="width: 17%;">
<col style="width: 35%;">
<col style="width: 17%;">
<col style="width: 35%;">
</colgroup>
<tbody class="border_0">
<tr>
<!-- <th>법원결정일</th> -->
<th>법원결정일</th>
<td>
<div id="sel_date" class="sel_date">
<input readonly="readonly" type="text" class="startDate inp" title="법원결정일" id="crtDcsnDe" name="crtDcsnDe" value="${fn:substring(courtVO.crtDcsnDe, 0, 10)}" data-datecontrol="true">
<div class="calendar_in" id="calendarName_crtDcsnDe" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtDcsnDe-lry','',this)" class="btn_cal"></button>
<div id="crtDcsnDe-lry" class="calendarPop" style="display: none;">
<iframe id="startDate01-ifrm" name="crtDcsnDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html" title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div>
</div>
</td>
<!-- <th>메일수신일(사건기록)</th> -->
<th>메일수신일(사건기록)(사건기록)</th>
<td>
<div id="sel_date" class="sel_date">
<input readonly="readonly" type="text" class="startDate inp" title="메일수신일(사건기록)" id="crtRcptDe" name="crtRcptDe" value="${fn:substring(courtVO.crtRcptDe, 0, 10)}" data-datecontrol="true">
<div class="calendar_in" id="calendarName_crtRcptDe" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtRcptDe-lry','',this)" class="btn_cal"></button>
<div id="crtRcptDe-lry" class="calendarPop" style="display: none;">
<iframe id="startDate01-ifrm" name="crtRcptDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html" title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div>
</div>
</td>
</tr>
<tr>
<!-- <th>배당일자</th> -->
<th>배당일(위원지정)</th>
<td>
<div id="sel_date" class="sel_date">
<input readonly="readonly" type="text" class="crtAllctDe inp" title="배당일자" id="crtAllctDe" name="crtAllctDe" value="${fn:substring(courtVO.crtAllctDe, 0, 10)}" data-datecontrol="true" onchange="test(this);">
<div class="calendar_in" id="calendarName_endDate" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtAllctDe-lry','',this)" class="btn_cal" ></button>
<div id="crtAllctDe-lry" class="calendarPop" style="display: none;">
<iframe id="crtAllctDe-ifrm" name="crtAllctDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div>
</div>
</td>
<th>사무처리기한</th>
<td>
<%-- <input type="text" title="사무처리기한" id="crtAllctDdlDe" name="crtAllctDdlDe" value="${fn:substring(courtVO.crtAllctDdlDe, 0, 10)}"> --%>
<div id="sel_date" class="sel_date">
<input readonly="readonly" type="text" class="crtAllctDdlDe inp" title="배당일자" id="crtAllctDdlDe" name="crtAllctDdlDe" value="${fn:substring(courtVO.crtAllctDdlDe, 0, 10)}" data-datecontrol="true" onchange="test(this);">
<div class="calendar_in" id="calendarName_endDate" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtAllctDdlDe-lry','',this)" class="btn_cal" ></button>
<div id="crtAllctDdlDe-lry" class="calendarPop" style="display: none;">
<iframe id="crtAllctDdlDe-ifrm" name="crtAllctDdlDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div>
</div>
</td>
</tr>
<tr>
<!-- <th>배당일자</th> -->
<th>기한연장(1차)</th>
<td>
<div id="sel_date" class="sel_date">
<input readonly="readonly" type="text" class="crtAllctDdlDeAdd1st inp" title="기한연장(1차)" id="crtAllctDdlDeAdd1st" name="crtAllctDdlDeAdd1st" value="${fn:substring(courtVO.crtAllctDdlDeAdd1st, 0, 10)}" data-datecontrol="true" onchange="test(this);">
<div class="calendar_in" id="calendarName_endDate" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtAllctDdlDeAdd1st-lry','',this)" class="btn_cal" ></button>
<div id="crtAllctDdlDeAdd1st-lry" class="calendarPop" style="display: none;">
<iframe id="crtAllctDdlDeAdd1st-ifrm" name="crtAllctDdlDeAdd1st-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div>
</div>
</td>
<th>기한연장(2차)</th>
<td>
<div id="sel_date" class="sel_date">
<input readonly="readonly" type="text" class="crtAllctDdlDeAdd2nd inp" title="기한연장(2차)" id="crtAllctDdlDeAdd2nd" name="crtAllctDdlDeAdd2nd" value="${fn:substring(courtVO.crtAllctDdlDeAdd2nd, 0, 10)}" data-datecontrol="true" onchange="test(this);">
<div class="calendar_in" id="calendarName_endDate" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtAllctDdlDeAdd2nd-lry','',this)" class="btn_cal" ></button>
<div id="crtAllctDdlDeAdd2nd-lry" class="calendarPop" style="display: none;">
<iframe id="crtAllctDdlDeAdd2nd-ifrm" name="crtAllctDdlDeAdd2nd-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div>
</div>
</td>
</tr>
<tr>
<!-- <th>사무수행보고일</th> -->
<th>사무수행보고일</th>
<td>
<div id="sel_date" class="sel_date">
<input readonly="readonly" type="text" class="crtRprtDe inp" title="사무수행보고일" id="crtRprtDe" name="crtRprtDe" value="${fn:substring(courtVO.crtRprtDe, 0, 10)}" data-datecontrol="true">
<!-- <div class="calendar_in" id="calendarName_crtRprtDe" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtRprtDe-lry','',this)" class="btn_cal" ></button>
<div id="crtRprtDe-lry" class="calendarPop" style="display: none;">
<iframe id="crtRprtDe-ifrm" name="crtRprtDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div> -->
</div>
</td>
</tr>
<tr>
<th>조정 사건번호</th>
<td>
<input type="text" id="crtNo" name="crtNo" value="${courtVO.crtNo}"/>
</td>
<th>본 사건번호</th>
<td>
<input type="text" id="crtOriNo" name="crtOriNo" value="${courtVO.crtOriNo}"/>
<kc:select codeId="CC701" id="crtLinkHouse" name="crtLinkHouse" selectedValue="${courtVO.crtLinkHouse}" />
</td>
</tr>
<tr>
<th>원고 이름</th>
<td>
<input type="text" id="crtClimntNm" name="crtClimntNm" value="${courtVO.crtClimntNm}" style="width: 90%;" />
</td>
<th>원고 (대리인) 이름</th>
<td>
<input type="text" id="crtClimntAgntNm" name="crtClimntAgntNm" value="${courtVO.crtClimntAgntNm}" style="width: 90%;" />
</td>
</tr>
<tr>
<th>원고 연락처</th>
<td>
<input type="text" id="crtClimntPhone" name="crtClimntPhone" value="${courtVO.crtClimntPhone}" style="width: 90%;" />
</td>
<th>원고 (대리인) 연락처</th>
<td>
<input type="text" id="crtClimntAgtPhone" name="crtClimntAgtPhone" value="${courtVO.crtClimntAgtPhone}" style="width: 90%;" />
</td>
</tr>
<%-- <tr>
<th>원고 정보</th>
<td colspan="3">
<textarea name="crtClimntInfo" id="crtClimntInfo" cols="30" rows="3">${courtVO.crtClimntInfo} </textarea>
</td>
</tr> --%>
<tr>
<th>피고 이름</th>
<td>
<input type="text" id="crtDfndntNm" name="crtDfndntNm" value="${courtVO.crtDfndntNm}" style="width: 90%;" />
</td>
<th>피고 (대리인) 이름</th>
<td>
<input type="text" id="crtDfndntAgntNm" name="crtDfndntAgntNm" value="${courtVO.crtDfndntAgntNm}" style="width: 90%;" />
</td>
</tr>
<tr>
<th>피고 연락처</th>
<td>
<input type="text" id="crtDfndntPhone" name="crtDfndntPhone" value="${courtVO.crtDfndntPhone}" style="width: 90%;" />
</td>
<th>피고 (대리인) 연락처</th>
<td>
<input type="text" id="crtDfndntAgntPhone" name="crtDfndntAgntPhone" value="${courtVO.crtDfndntAgntPhone}" style="width: 90%;" />
</td>
</tr>
<%-- <tr>
<th>피고 정보</th>
<td colspan="3">
<textarea name="crtDfndntInfo" id="crtDfndntInfo" cols="30" rows="3">${courtVO.crtDfndntInfo} </textarea>
</td>
</tr> --%>
<tr>
<th>분야</th>
<td>
<kc:select codeId="CC705" id="crtCcTy" name="crtCcTy" selectedValue="${courtVO.crtCcTy}" />
</td>
</tr>
<tr>
<th>사건내용</th>
<td colspan="3">
<textarea name="crtCn" id="crtCn" cols="30" rows="3">${courtVO.crtCn} </textarea>
</td>
</tr>${ofcpsNm }
<c:if test="${ofcpsNm ne '90' }">
<c:choose>
<c:when test="${ofcpsNm eq '80'}">
<tr>
<th>조정위원 메모</th>
<td colspan="3">
<textarea name="crtAdjCmsnrMeno" id="crtAdjCmsnrMeno" cols="30" rows="3">${courtVO.crtAdjCmsnrMeno} </textarea>
</td>
</tr>
</c:when>
<c:otherwise>
<tr>
<th>담당자 메모</th>
<td colspan="3">
<textarea name="crtAdjAdminMeno" id="crtAdjAdminMeno" cols="30" rows="3">${courtVO.crtAdjAdminMeno} </textarea>
</td>
</tr>
</c:otherwise>
</c:choose>
</c:if>
</tbody>
</table>
</div>
<div class="btn_wrap btn_layout01">
<div class="area_left"></div>
<div class="area_right">
<button type="button" class="btnType06" onclick="fn_regist(); return false;">수정</button>
<button type="button" class="btnType03" onclick="fn_GoList(); return false;">목록</button>
</div>
</div>
</div>
</div>
</form>
</div>
</body>
</html>

View File

@ -1,453 +0,0 @@
<%@ 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"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Language" content="ko" >
<title>법원연계 조정 등록</title>
<script type="text/javaScript" language="javascript">
$(document).ready(function(){
// 배당일자, 사무수행보고일 선택하면 발동되는 event
// 소요일 계산
$('#crtRcptDe').on('focusin',function(){
var alctnVal = $('#crtRcptDe').val();
var returnVal = StringToDate(alctnVal, 45);
$('#crtAllctDdlDe').val(returnVal);
});
$('#filebutton').click(function (e) {
e.preventDefault();
$('#file_temp').click();
});
var timeTmp = 0;
// 600초 마다 세션 갱신
const intervalId = setInterval(() =>
{
sessionExpend();
console.log("timeTmp :: ", timeTmp);
timeTmp++;
}
, 600000);
});
function sessionExpend(){
$.ajax({
url :"/sym/site/sessionExpendAjax.do"
,type:"post"
,data:{"session": "expend"}
,dataType:"json"
,success:function(data){
console.log("세션이 연장되었습니다.");
}
,error:function(request , status, error){
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
console.log("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
}
});
}
function StringToDate(date, n) {
let yyyy = date.substring(0, 4);
let mm = date.substring(5, 7);
let dd = date.substring(8, 10);
mm = Number(mm) - 1;
let stringNewDate = new Date(yyyy, mm, dd);
stringNewDate.setDate(stringNewDate.getDate() + n);
return stringNewDate.getFullYear() +
"-" + ((stringNewDate.getMonth() + 1) > 9 ? (stringNewDate.getMonth() + 1).toString() : "0" + (stringNewDate.getMonth() + 1)) +
"-" + (stringNewDate.getDate() > 9 ? stringNewDate.getDate().toString() : "0" + stringNewDate.getDate().toString());
}
function fn_regist(){
var msg = "등록 하시겠습니까?"
if(confirm(msg)){
//신청인 정보 입력
var data = new FormData(document.cnctnForm);
var url= "/kccadr/adjCourtCnctn/adjCourtCnctnRegistAjax.do";
_fileForm2.forEach(function(obj, idx) {
if (obj) data.append("file"+idx, obj.fileObj);
});
$.ajax({
type: "POST",
enctype: 'multipart/form-data',
url: url,
data: data,
dataType:'json',
async: false,
processData: false,
contentType: false,
cache: false,
success: function (data) {
alert(data.data);
if(data.status == 'OK')
{
$('#goListForm').submit();
}
else if(data.status == 'Unauthorized' || data.status == 'BAD_REQUEST')
{
return false;
}
},
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
});
}
}
// 목록 이동
function fn_GoList(){
var goListForm = document.goListForm ;
goListForm.action = "<c:url value='/kccadr/adjCourtCnctn/adjCourtCnctnList.do'/>";
goListForm.submit();
}
</script>
<style>
.btn_layout01 .area_left,.btn_layout01 .area_right{width: auto}
</style>
</head>
<body>
<c:url var="list_url" value="/kccadr/adjCourtCnctn/adjCourtCnctnList.do" />
<form id="goListForm" name="goListForm" method="post" action="${list_url }">
<input type="hidden" name="searchKeyword" value=""/>
<input type="hidden" name="pageIndex" value="<c:out value='${adjCourtCnctnVO.pageIndex}'/>"/>
<input type="hidden" name="searchSortCnd" value="<c:out value="${adjCourtCnctnVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${adjCourtCnctnVO.searchSortOrd}" />" />
<input type="hidden" name="pageUnit" value="<c:out value="${adjCourtCnctnVO.pageUnit}" />" />
</form>
<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 -->
<form id="cnctnForm" name="cnctnForm" method="post" enctype="multipart/form-data">
<!-- 드래그앤 드롭 파라미터 -->
<input type="hidden" name="limitcount" value="10" />
<input type="hidden" name="crtSn" value="1"/>
<div class="cont">
<!-- //cont_tit -->
<div class="tab_cont on">
<p class="tb_tit">조정 사건</p>
<div class="tbType02">
<table>
<colgroup>
<col style="width: 17%;">
<col style="width: 35%;">
<col style="width: 17%;">
<col style="width: 35%;">
</colgroup>
<tbody class="border_0">
<tr>
<!-- <th>법원결정일</th> -->
<th>법원결정일</th>
<td>
<div id="sel_date" class="sel_date">
<input readonly="readonly" type="text" class="startDate inp" title="법원결정일" id="crtDcsnDe" name="crtDcsnDe" value="" data-datecontrol="true">
<div class="calendar_in" id="calendarName_crtDcsnDe" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtDcsnDe-lry','',this)" class="btn_cal"></button>
<div id="crtDcsnDe-lry" class="calendarPop" style="display: none;">
<iframe id="startDate01-ifrm" name="crtDcsnDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html" title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div>
</div>
</td>
<!-- <th>메일수신일(사건기록)</th> -->
<th>메일수신일(사건기록)(사건기록)</th>
<td>
<div id="sel_date" class="sel_date">
<input readonly="readonly" type="text" class="startDate inp" title="메일수신일(사건기록)" id="crtRcptDe" name="crtRcptDe" value="" data-datecontrol="true">
<div class="calendar_in" id="calendarName_crtRcptDe" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtRcptDe-lry','',this)" class="btn_cal"></button>
<div id="crtRcptDe-lry" class="calendarPop" style="display: none;">
<iframe id="startDate01-ifrm" name="crtRcptDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html" title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div>
</div>
</td>
</tr>
<tr>
<!-- <th>배당일자</th> -->
<th>배당일(위원지정)</th>
<td>
<div id="sel_date" class="sel_date">
<input readonly="readonly" type="text" class="crtAllctDe inp" title="배당일자" id="crtAllctDe" name="crtAllctDe" value="" data-datecontrol="true" onchange="test(this);">
<div class="calendar_in" id="calendarName_endDate" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtAllctDe-lry','',this)" class="btn_cal" ></button>
<div id="crtAllctDe-lry" class="calendarPop" style="display: none;">
<iframe id="crtAllctDe-ifrm" name="crtAllctDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div>
</div>
</td>
<th>사무처리기한</th>
<td>
<input readonly="readonly" type="text" title="사무처리기한" id="crtAllctDdlDe" name="crtAllctDdlDe" value="">
</td>
</tr>
<tr>
<!-- <th>배당일자</th> -->
<th>기한연장(1차)</th>
<td>
<div id="sel_date" class="sel_date">
<input readonly="readonly" type="text" class="crtAllctDdlDeAdd1st inp" title="배당일자" id="crtAllctDdlDeAdd1st" name="crtAllctDdlDeAdd1st" value="" data-datecontrol="true" onchange="test(this);">
<div class="calendar_in" id="calendarName_endDate" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtAllctDdlDeAdd1st-lry','',this)" class="btn_cal" ></button>
<div id="crtAllctDdlDeAdd1st-lry" class="calendarPop" style="display: none;">
<iframe id="crtAllctDdlDeAdd1st-ifrm" name="crtAllctDdlDeAdd1st-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div>
</div>
</td>
<th>기한연장(2차)</th>
<td>
<div id="sel_date" class="sel_date">
<input readonly="readonly" type="text" class="crtAllctDdlDeAdd2nd inp" title="배당일자" id="crtAllctDdlDeAdd2nd" name="crtAllctDdlDeAdd2nd" value="" data-datecontrol="true" onchange="test(this);">
<div class="calendar_in" id="calendarName_endDate" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtAllctDdlDeAdd2nd-lry','',this)" class="btn_cal" ></button>
<div id="crtAllctDdlDeAdd2nd-lry" class="calendarPop" style="display: none;">
<iframe id="crtAllctDdlDeAdd2nd-ifrm" name="crtAllctDdlDeAdd2nd-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div>
</div>
</td>
</tr>
<tr>
<!-- <th>사무수행보고일</th> -->
<th>사무수행보고일</th>
<td>
<div id="sel_date" class="sel_date">
<input readonly="readonly" type="text" class="crtRprtDe inp" title="사무수행보고일" id="crtRprtDe" name="crtRprtDe" value="" data-datecontrol="true">
<!-- <div class="calendar_in" id="calendarName_crtRprtDe" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtRprtDe-lry','',this)" class="btn_cal" ></button>
<div id="crtRprtDe-lry" class="calendarPop" style="display: none;">
<iframe id="crtRprtDe-ifrm" name="crtRprtDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div> -->
</div>
</td>
</tr>
<tr>
<th>조정 사건번호</th>
<td>
<input type="text" id="crtNo" name="crtNo" />
</td>
<th>본 사건번호</th>
<td>
<input type="text" id="crtOriNo" name="crtOriNo" />
<kc:select codeId="CC701" id="crtLinkHouse" name="crtLinkHouse" selectedValue="10" />
</td>
</tr>
<tr>
<th>원고 이름</th>
<td>
<input type="text" id="crtClimntNm" name="crtClimntNm" style="width: 90%;"/>
</td>
<th>원고 (대리인) 이름</th>
<td>
<input type="text" id="crtClimntAgntNm" name="crtClimntAgntNm" style="width: 90%;" />
</td>
</tr>
<tr>
<th>원고 연락처</th>
<td>
<input type="text" id="crtClimntPhone" name="crtClimntPhone" style="width: 90%;" />
</td>
<th>원고 (대리인) 연락처</th>
<td>
<input type="text" id="crtClimntAgtPhone" name="crtClimntAgtPhone" style="width: 90%;" />
</td>
</tr>
<!-- <tr>
<th>원고 정보</th>
<td colspan="3">
<textarea name="crtClimntInfo" id="crtClimntInfo" cols="30" rows="3"> </textarea>
</td>
</tr> -->
<tr>
<th>피고 이름</th>
<td>
<input type="text" id="crtDfndntNm" name="crtDfndntNm" style="width: 90%;" />
</td>
<th>피고 (대리인) 이름</th>
<td>
<input type="text" id="crtDfndntAgntNm" name="crtDfndntAgntNm" style="width: 90%;" />
</td>
</tr>
<tr>
<th>피고 연락처</th>
<td>
<input type="text" id="crtDfndntPhone" name="crtDfndntPhone" style="width: 90%;" />
</td>
<th>피고 (대리인) 연락처</th>
<td>
<input type="text" id="crtDfndntAgntPhone" name="crtDfndntAgntPhone" style="width: 90%;" />
</td>
</tr>
<!-- <tr>
<th>피고 정보</th>
<td colspan="3">
<textarea name="crtDfndntInfo" id="crtDfndntInfo" cols="30" rows="3"> </textarea>
</td>
</tr> -->
<tr>
<th>분야</th>
<td>
<kc:select codeId="CC705" id="crtCcTy" name="crtCcTy" selectedValue="01" />
</td>
</tr>
<tr>
<th>사건내용</th>
<td colspan="3">
<textarea name="crtCn" id="crtCn" cols="30" rows="3"> </textarea>
</td>
</tr>
<tr>
<th>사건문건</th>
<td class="upload_area">
<!-- <input type="text" id="fileNm" size="30" class="file_input" readonly> --><!-- <button type="button" class="btnType01 btn_add_file">파일 첨부하기</button> -->
<input type="file" id="file_temp" name="file_temp" class="uploadFile" style="display:none"/>
<button type="button" id="filebutton" class="btnType01 btn_add_file">파일 첨부하기</button>
<div class="file_wrap file_upload_box no_img_box">
<table class="tbType02">
<caption>첨부파일 리스트 : 파일명, 종류, 크기, 삭제</caption>
<colgroup>
<col style="width: 60%;">
<col style="width: auto;">
<col style="width: 20%;">
<col style="width: 10%;">
</colgroup>
<thead>
<!-- <th>
<input type="checkbox" id="all_check"><label for="all_check"></label>
</th> -->
<th>작업명</th>
<th>종류</th>
<th>크기</th>
<th>삭제</th>
</thead>
<tbody class="tb_file_before">
<tr>
<td colspan="4">
<p>첨부하실 파일을 <span>마우스로 끌어서</span> 넣어주세요.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="file_wrap fileAfter file_list_div">
<table class="tbType02">
<caption>첨부파일 리스트 : 파일명, 종류, 크기, 삭제</caption>
<colgroup>
<col style="width: 60%">
<col style="width: 10%">
<col style="width: 20%">
<col style="width: 10%">
</colgroup>
<thead>
<!-- <th>
<input type="checkbox" id="all_check"><label for="all_check"></label>
</th> -->
<th>파일 명</th>
<th>종류</th>
<th>크기</th>
<th>삭제</th>
</thead>
<tbody id="tbody_fiielist" class="tb_file_after">
<c:forEach var="fileList" items="${fileList}" varStatus="status">
<tr class="item_<c:out value='${fileList.atchFileId}' />_<c:out value='${fileList.fileSn}' /> uploaded_obj">
<input type="hidden" name="fileSize" class="item_file_size" value="${fileList.fileSize}">
<td class="td_filename">
<!-- <img src="/direct/img/upload_hwp_img.png" alt="" /> -->
<span class="file_name_text"><c:out value='${fileList.orignlFileNm}' /></span>
</td>
<td class="td_filesort">
<span class="file_filesort_text" value="<c:out value="${fileList.fileExtsn}"/>"><c:out value="${fileList.fileExtsn}"/></span>
</td>
<td class="td_filesize">
<span class="file_size_text" value="<c:out value="${fileList.fileMg}"/>"><c:out value="${fileList.fileMg}"/></span>
</td>
<td>
<button type="button" class="btn_del" onclick="delAtchFile('<c:out value='${fileList.atchFileId}' />', '<c:out value='${fileList.fileSn}' />'); return false;" title="파일삭제"><i></i></button>
</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
</td>
</tr>
<c:if test="${ofcpsNm ne '90' }">
<c:choose>
<c:when test="${ofcpsNm eq '80'}">
<tr>
<th>조정위원 메모</th>
<td colspan="3">
<textarea name="crtAdjCmsnrMeno" id="crtAdjCmsnrMeno" cols="30" rows="3"> </textarea>
</td>
</tr>
</c:when>
<c:otherwise>
<tr>
<th>담당자 메모</th>
<td colspan="3">
<textarea name="crtAdjAdminMeno" id="crtAdjAdminMeno" cols="30" rows="3"> </textarea>
</td>
</tr>
</c:otherwise>
</c:choose>
</c:if>
</tbody>
</table>
</div>
<div class="btn_wrap btn_layout01">
<div class="area_left"></div>
<div class="area_right">
<button type="button" class="btnType06" onclick="fn_regist(); return false;">등록</button>
<button type="button" class="btnType03" onclick="fn_GoList(); return false;">목록</button>
</div>
</div>
</div>
</div>
</form>
</div>
</body>
</html>

View File

@ -1,680 +0,0 @@
<%--
Class Name : EgovUserSelectUpdt.jsp
Description : 사용자상세조회, 수정 JSP
Modification Information
수정일 수정자 수정내용
------- -------- ---------------------------
2009.03.03 JJY 최초 생성
2011.08.31 JJY 경량환경 버전 생성
author : 공통서비스 개발팀 JJY
since : 2009.03.03
--%>
<%@ page 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 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="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"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Language" content="ko" >
<title>관리자 수정</title>
<script type="text/javascript" src="<c:url value="/validator.do"/>"></script>
<validator:javascript formName="userManageVO" staticJavascript="false" xhtml="true" cdata="false"/>
<script type="text/javascript" src="<c:url value='/js/EgovCmmUtl.js'/>" ></script>
<!-- 암화화 순서에 유의 -->
<!-- <script type="text/javascript" src="/js/RSA/rsa.js"></script> -->
<!-- <script type="text/javascript" src="/js/RSA/jsbn.js"></script> -->
<!-- <script type="text/javascript" src="/js/RSA/prng4.js"></script> -->
<!-- <script type="text/javascript" src="/js/RSA/rng.js"></script> -->
<!-- select niceselect -->
<!-- <script src="/direct/js/jquery.nice-select.min.js"></script> -->
<!-- <link rel="stylesheet" href="/direct/css/nice-select.css"> -->
<script type="text/javaScript" language="javascript" defer="defer">
$( document ).ready(function(){
// $('select').not(".displayN").niceSelect();
$("#orgDepth_01").on("change", function(){
setOrgDepth_01();
});
/* if(""!='${userOneDepth}'){//부서 초기세팅값 세팅
$('#orgDepth_01').val('${userOneDepth}');
$('#orgDepth_01').niceSelect('update');
$('#orgDepth_02').html($('#span_one_'+$("#orgDepth_01").val()).html().trim()) ;
$('#orgDepth_02').niceSelect('update');
if(""!='${userTwoDepth}'){
$("#orgDepth_02").val('${userTwoDepth}');
$('#orgDepth_02').niceSelect('update');
}
$("#orgDepth_02").niceSelect(); //display show 기능
} */
//첨부파일 버튼 처리
$("#filebutton").click(function(){
$("#file_temp").trigger("click");
});
authorChange();
authorChangeCourt();
});
function setOrgDepth_01(){
if(""==$("#orgDepth_01").val()){ //빈값 선택
$("#orgDepth_02").niceSelect('destroy').hide();
$('#partIdx').val($("#orgDepth_01").val());
}else{
$('#orgDepth_02').html($('#span_one_'+$("#orgDepth_01").val()).html().trim());
$('#orgDepth_02').niceSelect('update');
$('#partIdx').val($("#orgDepth_01").val());
$("#orgDepth_02").niceSelect(); //display show 기능
}
}
function onChagneOrgDepth_02(){ //변경시 partIdx 세팅
if(""==$("#orgDepth_02").val()){
$('#partIdx').val($("#orgDepth_01").val());
}else{
$('#partIdx').val($("#orgDepth_02").val());
}
}
{
var killBackSpace = function(e) { e = e ? e : window.event; var t = e.target ? e.target : e.srcElement ? e.srcElement : null; if(t && t.tagName && (t.type && /(password)|(text)|(file)/.test(t.type.toLowerCase())) || t.tagName.toLowerCase() == 'textarea') { return true; } var k = e.keyCode ? e.keyCode : e.which ? e.which : null; if(k == 8) { if(e.preventDefault) { e.preventDefault(); } return false; } return true; }; if(typeof document.addEventListener != 'undefined') { document.addEventListener('keydown', killBackSpace, false); }else if(typeof document.attachEvent != 'undefined') { document.attachEvent('onkeydown', killBackSpace); }else { if(document.onkeydown != null) { var oldOnkeydown = document.onkeydown; document.onkeydown = function(e) { oldOnkeydown(e); killBackSpace(e); }; }else { document.onkeydown = killBackSpace; } }
}
{
history.pushState(null , null, location.href);
}
function fnListPage(){
document.searchForm.action = "<c:url value='/cmm/main/mainPage.do'/>";
document.searchForm.submit();
}
function fnDeleteUser(checkedIds) {
if(confirm("<spring:message code="common.delete.msg" />")){
document.userManageVO.checkedIdForDel.value=checkedIds;
document.userManageVO.action = "<c:url value='/uss/umt/user/EgovUserDelete.do'/>";
document.userManageVO.submit();
}
}
function fnPasswordMove(){
document.modiForm.action = "<c:url value='/uss/umt/user/EgovUserPasswordUpdtView.do'/>";
document.modiForm.submit();
}
function fnUpdates(){
if(!nCheck()){
return;
}
var email = document.getElementById("emailAdres").value;
if(email != ''){
var exptext = /^[A-Za-z0-9_\.\-]+@[A-Za-z0-9\-]+\.[A-Za-z0-9\-]+/;
if(exptext.test(email)==false){
alert("이메일주소 형식이 올바르지 않습니다.");
return;
}
}
//if(validateUserManageVO(document.userManageVO)){
if(confirm("수정하시겠습니까?")){
var form = document.userManageVO;
var data = new FormData(form);
_fileForm2.forEach(function(obj, idx) {
if (obj) data.append("file"+idx, obj.fileObj);
});
$.ajax({
type: "POST",
enctype: 'multipart/form-data',
url: "/uss/umt/user/EgovUserFileInsert.do",
data: data,
dataType:'json',
async: false,
processData: false,
contentType: false,
cache: false,
success: function (returnData, status) {
if(status == 'success'){
var resultFileId = returnData.atchFileId;
if(resultFileId == ""){
alert("등록에 실패하였습니다.");
return false;
}else{
$("#atchFileId").val(resultFileId);
form.action="<c:url value='/uss/umt/user/EgovUserSelectUpdt.do'/>";
form.submit();
}
} else if(status== 'fail'){
alert("저장에 실패하였습니다.");
}
},
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
});
}
// <c:if test="${empty isAdmin and empty isMember}">
// var rsa = new RSAKey();
// rsa.setPublic($('#RSAModulus').val(),$('#RSAExponent').val());
// $("#rsaPasswd").val(rsa.encrypt($("#passwdCmp").val()));
// </c:if>
//document.userManageVO.submit();
//}
}
function updateMemberAjax(){
var url = "/uss/umt/user/EgovUserSelectUpdtAjax.do";
var data = new FormData(document.userManageVO);
$.ajax({
type: "POST",
url: url,
data: data,
dataType:'json',
async: false,
processData: false,
contentType: false,
cache: false,
//timeout: 600000,
success: function (returnData, status) {
if(status == 'success'){ // status 확인 필요한가. 석세스 안뜨면 에러 가지 않나
if("fail"==returnData.result){
alert(returnData.message);
return;
}
alert("저장 되었습니다.");
goList();
} else if(status== 'fail'){
alert("저장에 실패하였습니다. !!");
}
},
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
});
}
function fn_egov_inqire_cert() {
var url = '/uat/uia/EgovGpkiRegist.do';
var popupwidth = '500';
var popupheight = '400';
var title = '인증서';
Top = (window.screen.height - popupheight) / 3;
Left = (window.screen.width - popupwidth) / 2;
if (Top < 0) Top = 0;
if (Left < 0) Left = 0;
Future = "fullscreen=no,toolbar=no,location=no,directories=no,status=no,menubar=no, scrollbars=no,resizable=no,left=" + Left + ",top=" + Top + ",width=" + popupwidth + ",height=" + popupheight;
PopUpWindow = window.open(url, title, Future)
PopUpWindow.focus();
}
function fn_egov_dn_info_setting(dn) {
var frm = document.userManageVO;
frm.subDn.value = dn;
}
//직원 상세 - 부서 선택박스 변경 시
function fn_select_emp_part(obj) {
var selectId = $(obj).children("option:selected").val();
var selectDepth = $(obj).children("option:selected").attr("depth")*1+1;
if(selectId == "" && selectDepth =="2"){
$('#partIdx').val(selectId) ;
$("#depth_2").remove();
$("#depth_3").remove();
return;
}
if(selectId == "" && selectDepth =="3"){
$('#partIdx').val($('#depth_1').val());
$("#depth_3").remove();
return;
}
if(selectDepth =="4"){
if(selectId == ""){
$('#partIdx').val($('#depth_2').val());
}else{
$('#partIdx').val(selectId) ;
}
return;
}
if(selectDepth =="2"){
$("#depth_2").remove();
$("#depth_3").remove();
}
if(selectDepth =="3"){
$("#depth_3").remove();
}
$('#partIdx').val(selectId) ;
ajaxGetChartDepth( selectId, selectDepth );
}
function ajaxGetChartDepth(upperIdx , depth){
$.ajax({
type:"POST",
url:"<c:url value='/uss/umt/user/ajaxGetChartDepth.do' />",
data:{ "depth": depth , "upperIdx": upperIdx},
dataType:'json',
success:function(returnData, status){
if(status == "success") {
var str = "<select id='depth_"+depth+"' depth='"+depth+"' onchange='fn_select_emp_part(this);'>";
str += "<option value='' depth='"+depth+"'>선택</option>";
$.each(returnData.orgChartDepth , function(idx, val){
str += "<option value='"+val.id+"' depth='"+depth+"'>"+val.text+"</option>";
});
str += "</select>";
$("#orgChartDepth").append(str);
}else{ alert("ERROR!");return;}
},
error:function(request , status, error){
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
}
});
}
function changSelect(obj){
var str = "<option value='ROLE_USER_MEMBER'>일반관리자</option>";
if(obj.value == "super"){
str += "<option value='ROLE_ADMIN'>최고관리자</option>"
}
$("#authorCode option").remove();
$("#authorCode").append(str);
}
function passMissReset(){
$.ajax({
type:"POST",
url:"/uss/umt/user/PassMissResetAjax.do",
data:{
"id": "${userManageVO.emplyrId}"
},
dataType:'json',
timeout:(1000*30),
success:function(returnData, status){
if(status == "success") {
alert("카운터가 초기화 되었습니다.");
}else{ alert("ERROR!");return;}
},
error:function(request , status, error){
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
}
});
}
function nCheck(){
var numCheck = document.getElementById("offmTelno").value;
if(numCheck!=""){
if(/[^0123456789-]/g.test(numCheck)){
alert("사무실 전화번호는 숫자와 특수문자'-'만 입력이 가능합니다.");
return false;
}
}
return true;
}
function nCheck2(){
var numCheck = document.getElementById("numCheck");
if(/[^0123456789]/g.test(numCheck.value)){
alert("숫자가 아닙니다.\n\n0~9의 숫자만 허용합니다.");
}
}
function authorChange(obj) {
var author = $("[name='authorCode'] option:selected").val();
if(author == 'ROLE_ADR_ADMIN'){
$("#rank1").css('display', 'block');
$("#rank1").attr('disabled', false);
$("#rank2").css('display', 'none');
$("#rank2").attr('disabled', true);
$("#rank3").css('display', 'none');
$("#rank3").attr('disabled', true);
$("#rank4").css('display', 'none');
$("#rank4").attr('disabled', true)
}else if(author == 'ROLE_COURT_ADMIN'){
$("#rank1").css('display', 'none');;
$("#rank1").attr('disabled', true);
$("#rank2").css('display', 'none');
$("#rank2").attr('disabled', true);
$("#rank3").css('display', 'block');
$("#rank3").attr('disabled', false);
if($('#rank3').val() == '90'){
$("#rank4").css('display', '');
$("#rank4").attr('disabled', false);
}
}
else{
$("#rank1").css('display', 'none');
$("#rank1").attr('disabled', true);
$("#rank2").css('display', 'block');
$("#rank2").attr('disabled', false);
$("#rank3").css('display', 'none');
$("#rank3").attr('disabled', true);
$("#rank4").css('display', 'none');
$("#rank4").attr('disabled', true)
}
}
function authorChangeCourt(){
if($('#rank3').val() == '90'){
$("#rank4").css('display', '');
$("#rank4").attr('disabled', false);
}else{
$("#rank4").css('display', 'none');
$("#rank4").attr('disabled', true);
}
}
</script>
<style>
.tbType02 .radio_wrap input[type=radio] + label {margin-right:15px;}
</style>
</head>
<body>
<%-- <form:form commandName="userManageVO" action="${pageContext.request.contextPath}/uss/umt/user/EgovUserSelectUpdt.do" name="userManageVO" method="post" enctype="multipart/form-data"> --%>
<form:form commandName="userManageVO" id="userManageVO" name="userManageVO" method="post" enctype="multipart/form-data">
<%-- <double-submit:preventer tokenKey="someKey" /> --%>
<input name="checkedIdForDel" type="hidden" />
<!-- 검색조건 유지 -->
<input type="hidden" name="searchCondition" value="<c:out value='${userSearchVO.searchCondition}'/>"/>
<input type="hidden" name="searchKeyword" value="<c:out value='${userSearchVO.searchKeyword}'/>"/>
<input type="hidden" name="sbscrbSttus" value="<c:out value='${userSearchVO.sbscrbSttus}'/>"/>
<input type="hidden" name="pageIndex" value="<c:out value='${userSearchVO.pageIndex}'/>"/>
<input type="hidden" name="partIdx" id="partIdx" value="<c:out value='${userManageVO.partIdx}'/>"/>
<input type="hidden" id="atchFileId" name="atchFileId" value="<c:out value='${userManageVO.atchFileId}'/>"/>
<!-- 사용자유형정보 : password 수정화면으로 이동시 타겟 유형정보 확인용, 만약검색조건으로 유형이 포함될경우 혼란을 피하기위해 userTy명칭을 쓰지 않음-->
<input type="hidden" name="userTyForPassword" value="<c:out value='${userManageVO.userTy}'/>" />
<input type="hidden" name="limitcount" value="1" /><!-- 최대 업로드 파일갯수 -->
<!-- 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>
<p>관리자관리</p>
</li>
<li><span class="cur_nav">관리자수정</span></li>
</ul>
</div>
<!-- //cont_tit -->
<div class="cont">
<!-- list_상세 -->
<div class="tbType02">
<table>
<colgroup>
<col style="width: 20%">
<col style="width: 80%">
</colgroup>
<tbody>
<tr>
<th><span class="reqArea">사용자아이디</span></th>
<td colspan="3">
<form:input path="emplyrId" id="emplyrId" size="50" maxlength="20" readonly="true" />
<form:errors path="emplyrId" cssClass="error"/>
<form:hidden path="uniqId" />
</td>
</tr>
<tr>
<th><span class="reqArea">로그인 유형</span></th>
<td colspan="3">
<div class="radio_wrap">
<!-- <span><input type="radio" name="loginType" id="IP" class="radio2" value="IP"><label for="IP">IP제어</label></span>
<span><input type="radio" name="loginType" id="OTP" class="radio2" value="OTP" checked><label for="OTP">OTP</label></span> -->
<kc:radio codeId="CC051" name="loginTypeCd" id="loginTypeCd" selectedValue="${userManageVO.loginTypeCd}" />
</div>
</td>
</tr>
<tr>
<th><span class="reqArea">이름</span></th>
<td colspan="3">
<form:input path="emplyrNm" id="emplyrNm" cssClass="txaIpt" size="50" maxlength="60" />
<form:errors path="emplyrNm" cssClass="error" />
</td>
</tr>
<c:if test="${!empty isAdmin}">
<tr>
<th>권한</th>
<td colspan="3">
<select name="authorCode" id="authorCode" title="권한" onchange="authorChange(this)">
<c:forEach var="authorResult" items="${authorList}" varStatus="status">
<c:if test="${
!('ROLE_GNRL_USER' eq authorResult.authorCode
or 'ROLE_ANONYMOUS' eq authorResult.authorCode
or 'ROLE_ADR_ADMIN' eq authorResult.authorCode
or 'ROLE_ADMIN' eq authorResult.authorCode
)}"> <!-- 사용자/방문자제외 -->
<option value="<c:out value="${authorResult.authorCode}"/>" <c:if test="${authorResult.authorCode eq userManageVO.authorCode}">selected</c:if>>
<c:out value="${authorResult.authorNm}"/>
</option>
</c:if>
</c:forEach>
</select>
</td>
</tr>
<tr>
<th>직책</th>
<td colspan="3">
<select name="ofcpsNm" title="직급" id="rank1" >
<option value="10" selected>조정조사관</option>
<option value="20" <c:if test="${userManageVO.ofcpsNm eq '20'}">selected</c:if>>조정팀장</option>
<option value="30" <c:if test="${userManageVO.ofcpsNm eq '30'}">selected</c:if>>부서장</option>
<option value="40" <c:if test="${userManageVO.ofcpsNm eq '40'}">selected</c:if>>위원장</option>
</select>
<select name="ofcpsNm" title="직급" id="rank2" >
<option value="admin">시스템관리자</option>
</select>
<select name="ofcpsNm" title="직급" id="rank3" style="display:none;" disabled="disabled" onchange="authorChangeCourt(this)">
<option value="80" <c:if test="${userManageVO.ofcpsNm eq '80'}">selected</c:if>>법원연계 조정위원</option>
<option value="90" <c:if test="${userManageVO.ofcpsNm eq '90'}">selected</c:if>>법원연계 총괄조정위원</option>
</select>
</td>
</tr>
<tr id="rank4">
<th>연계법원</th>
<td colspan="3">
<kc:select codeId="CC701" id="insttCode" name="insttCode" selectedValue="${userManageVO.insttCode}" defaultValue="00" defaultText="없음"/>
</td>
</tr>
</c:if>
<tr>
<th>전화번호</th>
<td colspan="3">
<form:input path="offmTelno" id="offmTelno" cssClass="txaIpt" size="50" maxlength="15" placeholder="예시 : 02-123-4567" />
<form:errors path="offmTelno" cssClass="error" />
</td>
</tr>
<tr>
<th>팩스번호</th>
<td colspan="3">
<form:input path="fxnum" id="fxnum" cssClass="txaIpt" size="50" maxlength="15" placeholder="예시 : 02-123-4567" />
<form:errors path="fxnum" cssClass="error" />
</td>
</tr>
<tr>
<th>담당업무</th>
<td colspan="3">
<form:input path="userWork" id="userWork" cssClass="txaIpt" size="50" maxlength="15" placeholder="" />
<form:errors path="userWork" cssClass="error" />
</td>
</tr>
<tr>
<th>이메일주소</th>
<td colspan="3">
<form:input path="emailAdres" id="emailAdres" cssClass="txaIpt" size="50" maxlength="50" />
<form:errors path="emailAdres" cssClass="error" />
</td>
</tr>
<tr>
<th><span class="">서명이미지</span></th>
<td class="upload_area">
<input type="file" id="file_temp" name="file_temp" class="uploadFile" style="display:none"/>
<button type="button" id="filebutton" class="btnType01 btn_add_file">파일 첨부하기</button>
<div class="file_wrap file_upload_box no_img_box">
<table>
<colgroup>
<col style="width: 60%;">
<col style="width: auto;">
<col style="width: 20%;">
<col style="width: 10%;">
</colgroup>
<thead>
<!-- <th>
<input type="checkbox" id="all_check"><label for="all_check"></label>
</th> -->
<th>파일 명</th>
<th>종류</th>
<th>크기</th>
<th>삭제</th>
</thead>
<tbody class="tb_file_before">
<tr>
<td colspan="4">
<p>첨부하실 파일을 <span>마우스로 끌어서</span> 넣어주세요.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="file_wrap fileAfter file_list_div">
<table>
<colgroup>
<col style="width: 60%">
<col style="width: 10%">
<col style="width: 20%">
<col style="width: 10%">
</colgroup>
<thead>
<!-- <th>
<input type="checkbox" id="all_check"><label for="all_check"></label>
</th> -->
<th>파일 명</th>
<th>종류</th>
<th>크기</th>
<th>삭제</th>
</thead>
<tbody id="tbody_fiielist" class="tb_file_after">
<c:forEach var="fileList" items="${fileList}" varStatus="status">
<tr class="item_<c:out value='${fileList.atchFileId}' />_<c:out value='${fileList.fileSn}' /> uploaded_obj">
<input type="hidden" name="fileSize" class="item_file_size" value="${fileList.fileSize}">
<td class="td_filename">
<!-- <img src="/direct/img/upload_hwp_img.png" alt="" /> -->
<span class="file_name_text"><c:out value='${fileList.orignlFileNm}' /></span>
</td>
<td class="td_filesort">
<span class="file_filesort_text" value="<c:out value="${fileList.fileExtsn}"/>"><c:out value="${fileList.fileExtsn}"/></span>
</td>
<td class="td_filesize">
<span class="file_size_text" value="<c:out value="${fileList.fileMg}"/>"><c:out value="${fileList.fileMg}"/></span>
</td>
<td>
<button type="button" class="btn_del" onclick="delAtchFile('<c:out value='${fileList.atchFileId}' />', '<c:out value='${fileList.fileSn}' />'); return false;"><i></i></button>
</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
</td>
</tr>
<%-- <c:if test="${empty isAdmin and empty isMember}">
<tr>
<th>비밀번호확인</th>
<td colspan="3">
<input type="password" name="passwdCmp" id="passwdCmp" type="text" value="" size="50" maxlength="50" style="width: 95%;">
</td>
</tr>
</c:if> --%>
<c:if test="${!empty isAdmin}">
<tr>
<th>로그인 실패 횟수</br>초기화</th>
<td colspan="3">
<button class="btnType05" onclick="passMissReset(); return false;">초기화</button>
<!-- <input type="button" class="btnType1" value="초기화" onclick="passMissReset(); return false;"> -->
</td>
</tr>
</c:if>
</tbody>
</table>
</div>
<!-- //list_상세 -->
<!-- btn_wrap -->
<div class="btn_wrap btn_layout01">
<div class="area_right">
<%-- <c:if test="${!empty isAdmin}"> --%>
<%-- <button class="btnType04" onclick="fnDeleteUser('<c:out value='${userManageVO.userTy}'/>:<c:out value='${userManageVO.uniqId}'/>'); return false;">삭 제</button> --%>
<%-- </c:if> --%>
<button class="btnType06" onclick="javascript:fnUpdates(); return false;">수 정</button>
<!-- <button class="btnType03" onclick="fnListPage(); return false;">목 록</button> -->
<button class="btnType03" onclick="history.go(-3);">목 록</button>
</div>
</div>
<!-- //btn_wrap -->
</div>
</div>
</div>
<!-- //cont -->
<%-- <form:hidden path="password" /> --%>
<input type="hidden" name="gnrlUser" value="N"> <!-- gnrlUser가 N이면 관리자등록 -->
</form:form>
<form name="searchForm" method="get"></form>
<form name="modiForm" method="get" action="<c:url value='/sec/ram/EgovAuthorRoleList.do'/>" >
<input type="hidden" name="uniqId" value="<c:out value='${userManageVO.uniqId}'/>"/>
<input type="hidden" name="userTyForPassword" value="<c:out value='${userManageVO.userTy}'/>" />
<input type="hidden" name="emplyrId" value="<c:out value='${userManageVO.emplyrId}'/>" />
<input type="hidden" name="gnrlUser" value="N"/>
</form>
<!-- selectbox 미리만들기 -->
<!-- 2뎁스 만들기 -->
<%-- <c:forEach var="hiddenResult_one" items="${orgHiddenList}" varStatus="status">
<c:if test="${hiddenResult_one.depths eq '1'}">
<span id="span_one_${hiddenResult_one.id}" style="display:none;">
<option value="">선택</option>
<c:forEach var="hiddenResult_two" items="${orgHiddenList}" varStatus="status"><c:if test="${hiddenResult_one.id eq hiddenResult_two.parent}"><option value="<c:out value='${hiddenResult_two.id}'/>"><c:out value='${hiddenResult_two.text}'/></option></c:if></c:forEach>
</span>
</c:if>
</c:forEach> --%>
</body>
</html>

View File

@ -1,312 +0,0 @@
<%--
Class Name : EgovUserManage.jsp
Description : 사용자관리(조회,삭제) JSP
Modification Information
수정일 수정자 수정내용
------- -------- ---------------------------
2009.03.03 JJY 최초 생성
2011.08.31 JJY 경량환경 버전 생성
author : 공통서비스 개발팀 JJY
since : 2009.03.03
--%>
<%@ page 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 prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="double-submit" uri="http://www.egovframe.go.kr/tags/double-submit/jsp" %>
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
<meta http-equiv="content-language" content="ko">
<meta name="viewport" content="user-scalable=no, initial-scale=1.0,maximum-scale=1.0, minimum-scale=1.0, width=device-width" />
<title>사용자 목록</title>
<script type="text/javaScript" language="javascript" defer="defer">
$( document ).ready(function(){
<c:if test="${!empty message}">
alert('${message}');
</c:if>
});
function fnCheckAll(){
var checkField = document.listForm.checkField;
if(document.listForm.checkAll.checked) {
if(checkField) {
if(checkField.length > 1) {
for(var i=0; i < checkField.length; i++) {
checkField[i].checked = true;
}
} else {
checkField.checked = true;
}
}
} else {
if(checkField) {
if(checkField.length > 1) {
for(var j=0; j < checkField.length; j++) {
checkField[j].checked = false;
}
} else {
checkField.checked = false;
}
}
}
}
function fnDeleteUser() {
if($("input:checkbox[name='checkField']").is(":checked")==false){
alert("선택된 항목이 없습니다.");
return;
}
var checkField = document.listForm.checkField;
var id = document.listForm.checkId;
var checkedIds = "";
var checkedCount = 0;
if(checkField) {
if(checkField.length > 1) {
for(var i=0; i < checkField.length; i++) {
if(checkField[i].checked) {
checkedIds += ((checkedCount==0? "" : ",") + id[i].value);
checkedCount++;
}
}
} else {
if(checkField.checked) {
checkedIds = id.value;
}
}
}
if(checkedIds.length > 0) {
//alert(checkedIds);
if(confirm("<spring:message code="common.delete.msg" />")){
document.listForm.checkedIdForDel.value=checkedIds;
document.listForm.action = "<c:url value='/uss/umt/user/EgovUserDelete.do'/>";
document.listForm.submit();
}
}
}
function fnSelectUser(id) {
document.modiForm.selectedId.value = id;
array = id.split(":");
if(array[0] == "") {
} else {
userTy = array[0];
userId = array[1];
}
document.modiForm.selectedId.value = userId;
document.modiForm.action = "<c:url value='/kccadr/adjCourtCnctn/adjCourtSelectUserDetail.do'/>";
document.modiForm.submit();
}
function fnAddUserView() {
document.modiForm.action = "<c:url value='/uss/umt/user/EgovUserInsertView.do'/>";
document.modiForm.submit();
}
function linkPage(pageNo){
var listForm = document.listForm ;
listForm.pageIndex.value = pageNo ;
listForm.searchCondition.value = $('#searchCondition').val();
if($('#searchConditionSite').length != 0){
listForm.searchConditionSite.value = $('#searchConditionSite').val();
}
listForm.searchKeyword.value = $('#searchKeyword').val();
listForm.action = "<c:url value='/kccadr/adjCourtCnctn/adjCourtSelectUserList.do'/>";
listForm.submit();
}
function fnSearch(){
<%--<c:if test="${!empty loginId}">
if(""!= document.listForm.searchKeyword.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>--%>
linkPage(1);
}
function fnViewCheck(){
if(insert_msg.style.visibility == 'hidden'){
insert_msg.style.visibility = 'visible';
}else{
insert_msg.style.visibility = 'hidden';
}
}
//엑셀 다운로드
function userListExcelDownload(){
document.listForm.method = "post";
document.listForm.action = "<c:url value='/uss/umt/user/userExcelDownload.do'/>";
document.listForm.submit();
}
</script>
</head>
<body>
<form name="listForm" action="<c:url value='/kccadr/adjCourtCnctn/adjCourtSelectUserList.do'/>" method="post">
<double-submit:preventer tokenKey="someKey" />
<input name="selectedId" type="hidden" />
<input name="checkedIdForDel" type="hidden" />
<input name="pageIndex" type="hidden" value="<c:out value='${userSearchVO.pageIndex}' default='1' /> "/>
<input name="adminYn" type="hidden" value="Y"/>
<input type="hidden" name="searchSortCnd" value="<c:out value="${userSearchVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${userSearchVO.searchSortOrd}" />" />
<input type="hidden" name="gnrlUser" value="N"/>
<div class="cont_wrap">
<div class="box">
<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 -->
<div class="cont">
<!-- list_top -->
<div class="list_top">
<p>총 건수 : <span><c:out value="${paginationInfo.totalRecordCount}" /></span>건</p>
<div class="list_util">
<%-- <c:if test="${siteId eq 'super'}">
<select name="searchConditionSite" id="searchConditionSite" title="검색조건2-검색어구분">
<c:forEach var="result" items="${siteManageList}" varStatus="status">
<option value="${result.siteId}" <c:if test="${result.siteId eq userSearchVO.searchConditionSite }">selected="selected"</c:if> >${result.siteNm}</option>
</c:forEach>
</select>
</c:if>
<select class="sel2 searchSel" id="searchCondition" name="searchCondition" title="조회조건">
<option value="" <c:if test="${empty userSearchVO.searchCondition }">selected="selected"</c:if> >전체</option>
<option value="0" <c:if test="${userSearchVO.searchCondition == '0'}">selected="selected"</c:if> >아이디</option>
<option value="1" <c:if test="${userSearchVO.searchCondition == '1'}">selected="selected"</c:if> >관리자명</option>
</select> --%>
<%-- <input type="text" id="searchKeyword" name="searchKeyword" value="<c:out value='${userSearchVO.searchKeyword}'/>" class="search_input" placeholder="검색어를 입력하세요">
<button class="btn_search" onclick="fnSearch(); return false;">검색</button> --%>
<%-- <select class="sel2" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width: 140px">
<option value='10' <c:if test="${userSearchVO.pageUnit == '10' or userSearchVO.pageUnit == ''}">selected</c:if>>10줄</option>
<option value='20' <c:if test="${userSearchVO.pageUnit == '20'}">selected</c:if>>20줄</option>
<option value='30' <c:if test="${userSearchVO.pageUnit == '30'}">selected</c:if>>30줄</option>
</select> --%>
</div>
</div>
<!-- //list_top -->
<!-- list -->
<div class="list tbType01">
<table>
<colgroup>
<col style="width: 5%">
<col style="width: 6%">
<col style="width: 15%">
<col style="width: 10%">
<col style="width: 10%">
<%-- <col style="width: 10%"> --%>
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 10%">
<col style="width: 15%">
<col style="width: 8%">
</colgroup>
<thead>
<tr>
<th><input type="checkbox" name="checkAll" id="checkAll" onclick="fnCheckAll();" /><label for="checkAll"></label></th>
<th scope="col">번호<button class="sort sortBtn" id="sort_uniqId">▲</button></th>
<th scope="col">권한<button class="sort sortBtn" id="sort_authorCodeTxt">▲</button></th>
<th scope="col">아이디<button class="sort sortBtn" id="sort_userId">▲</button></th>
<th scope="col">성명<button class="sort sortBtn" id="sort_userNm">▲</button></th>
<!-- <th scope="col">소속<button class="sort sortBtn" id="sort_partIdxTxt">▲</button></th> -->
<th scope="col">직책<button class="sort sortBtn" id="sort_ofcpsNm">▲</button></th>
<th scope="col">전화번호<button class="sort sortBtn" id="sort_offmTelno">▲</button></th>
<th scope="col">팩스번호<button class="sort sortBtn" id="sort_fxNum">▲</button></th>
<th scope="col">담당업무<!-- <button class="sort sortBtn" id="sort_fxNum">▲</button> --></th>
<th scope="col">등록일<button class="sort sortBtn" id="sort_sbscrbDe">▲</button></th>
</tr>
</thead>
<tbody>
<c:forEach var="result" items="${resultList}" varStatus="status">
<tr>
<td>
<input name="checkField" id="<c:out value="${result.uniqId}"/>" title="Check <c:out value="${status.count}"/>" type="checkbox"/><label for="<c:out value="${result.uniqId}"/>"></label>
<input name="checkId" type="hidden" value="<c:out value='${result.userTy}'/>:<c:out value='${result.uniqId}'/>"/>
</td>
<td>
<c:if test="${userSearchVO.searchSortOrd eq 'desc' }">
<c:out value="${ ( paginationInfo.totalRecordCount - ((userSearchVO.pageIndex -1)*userSearchVO.pageUnit) ) - status.index }"/>
</c:if>
<c:if test="${userSearchVO.searchSortOrd eq 'asc' }">
<c:out value="${(userSearchVO.pageIndex - 1) * userSearchVO.pageUnit + status.count}"/>
</c:if>
</td>
<td>
<c:forEach items="${authorList}" var="authorResult" varStatus="status">
<c:if test="${authorResult.authorCode eq result.authorCode}">
${authorResult.authorNm}
</c:if>
</c:forEach>
</td>
<td>
<a href="<c:url value='/kccadr/adjCourtCnctn/adjCourtSelectUserDetail.do'/>?selectedId=<c:out value="${result.uniqId}"/>" onclick="javascript:fnSelectUser('<c:out value="${result.userTy}"/>:<c:out value="${result.uniqId}"/>'); return false;">
<p class="privateInfo"><c:out value="${result.userId}"/></p>
</a>
</td>
<td>
<p class="privateInfo"><c:out value="${result.userNm}"/></p>
</td>
<td>
<span class="privateInfo">
<kc:code codeId="CC401" code="${result.ofcpsNm}"/>
</span>
</td>
<td>
<c:out value="${result.offmTelno}"/>
</td>
<td>
<c:out value="${result.fxNum}"/>
</td>
<td>
<c:out value="${result.userWork}"/>
</td>
<td>
<c:out value="${result.sbscrbDe}"/>
</td>
</tr>
</c:forEach>
<c:if test="${empty resultList}">
<tr><td colspan="10"><spring:message code="common.nodata.msg" /></td></tr>
</c:if>
</tbody>
</table>
</div>
<!-- //list -->
<!-- btn_wrap -->
<div class="btn_wrap btn_layout01">
<!-- <div class="area_left"> -->
<!-- <button type="button" class="btnType03" onclick="fnDeleteUser(); return false;">삭제</button> -->
<!-- </div> -->
<!-- <div class="area_right"> -->
<!-- <button type="button" class="btnType02" onclick="fnAddUserView(); return false;">등록</button> -->
<!-- </div> -->
</div>
<!-- //btn_wrap -->
<!-- page -->
<c:if test="${!empty resultList}">
<div class="page">
<ul class="inline">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</ul>
</div>
</c:if>
</div>
<!-- //cont -->
</div>
</div>
</form>
<form name="modiForm" id="modiForm" method="get">
<input name="selectedId" type="hidden" />
</form>
</body>
</html>

View File

@ -1,218 +0,0 @@
<!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"%>
<html lang="ko">
<head>
<title>조정위원검색</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript">
$(document).ready(function(){
$('#filebutton').click(function (e) {
e.preventDefault();
$('#file_temp').click();
});
});
function fncClose() {
self.close();
}
function fn_goList(){
var listForm = document.listForm;
listForm.action = "<c:url value='/kccadr/adjCourtCnctn/popup/adjCourtCnctnAppPop.do'/>";
listForm.submit();
}
function fn_regist(){
var msg = "등록 하시겠습니까?"
if(confirm(msg)){
//신청인 정보 입력
var data = new FormData(document.listForm);
var url= "/kccadr/adjCourtCnctn/popup/adjCourtCnctnAppRegPopAjax.do";
_fileForm2.forEach(function(obj, idx) {
if (obj) data.append("file"+idx, obj.fileObj);
});
$.ajax({
type: "POST",
enctype: 'multipart/form-data',
url: url,
data: data,
dataType:'json',
async: false,
processData: false,
contentType: false,
cache: false,
success: function (data) {
alert(data.data);
if(data.status == 'OK')
{
fn_goList();
}
else if(data.status == 'Unauthorized' || data.status == 'BAD_REQUEST')
{
return false;
}
},
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
});
}
}
</script>
</head>
<body>
<form id="listForm" name="listForm" method="post" action="" enctype="multipart/form-data">
<!-- 드래그앤 드롭 파라미터 -->
<input type="hidden" name="limitcount" value="10" />
<input type="hidden" id="crtSeq" name="crtSeq" value="${adjCourtAppVO.crtSeq}"/>
<div class="area_popup supm_popup" style="width: 800px;">
<div class="cont_popup">
<p class="tb_tit">기일상세</p>
<table class="pop_tbType01">
<colgroup>
<col style="width: 20%;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th>기일차수</th>
<td>
<input type="text" id="crtSn" name="crtSn" value="${adjCourtAppVO.crtSn}" readonly/>
</td>
</tr>
<tr>
<th>대면기일</th>
<td>
<div id="sel_date" class="sel_date">
<input readonly="readonly" type="text" class="crtFtfDe inp" title="대면기일" id="crtFtfDe" name="crtFtfDe" value="${fn:substring(detailVO.crtFtfDe, 0, 10)}" data-datecontrol="true" onchange="test(this);">
<div class="calendar_in" id="calendarName_endDate" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtFtfDe-lry','',this)" class="btn_cal" ></button>
<div id="crtFtfDe-lry" class="calendarPop" style="display: none;">
<iframe id="crtFtfDe-ifrm" name="crtFtfDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div>
</div>
</td>
</tr>
<tr>
<th>장소</th>
<td>
<input type="text" id="crtAddr" name="crtAddr" value="${detailVO.crtAddr}"/>
</td>
</tr>
<tr>
<th>참석자</th>
<td>
<input type="text" id="crtAttnder" name="crtAttnder" value="${detailVO.crtAttnder}"/>
</td>
</tr>
<tr>
<th>기일결과</th>
<td>
<input type="text" id="crtRslt" name="crtRslt" value="${detailVO.crtRslt}"/>
</td>
</tr>
<tr>
<th>첨부파일</th>
<td class="upload_area">
<!-- <input type="text" id="fileNm" size="30" class="file_input" readonly> --><!-- <button type="button" class="btnType01 btn_add_file">파일 첨부하기</button> -->
<input type="file" id="file_temp" name="file_temp" class="uploadFile" style="display:none"/>
<button type="button" id="filebutton" class="btnType01 btn_add_file">파일 첨부하기</button>
<div class="file_wrap file_upload_box no_img_box">
<table class="tbType02">
<caption>첨부파일 리스트 : 파일명, 종류, 크기, 삭제</caption>
<colgroup>
<col style="width: 60%;">
<col style="width: auto;">
<col style="width: 20%;">
<col style="width: 10%;">
</colgroup>
<thead>
<!-- <th>
<input type="checkbox" id="all_check"><label for="all_check"></label>
</th> -->
<th>작업명</th>
<th>종류</th>
<th>크기</th>
<th>삭제</th>
</thead>
<tbody class="tb_file_before">
<tr>
<td colspan="4">
<p>첨부하실 파일을 <span>마우스로 끌어서</span> 넣어주세요.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="file_wrap fileAfter file_list_div">
<table class="tbType02">
<caption>첨부파일 리스트 : 파일명, 종류, 크기, 삭제</caption>
<colgroup>
<col style="width: 60%">
<col style="width: 10%">
<col style="width: 20%">
<col style="width: 10%">
</colgroup>
<thead>
<!-- <th>
<input type="checkbox" id="all_check"><label for="all_check"></label>
</th> -->
<th>파일 명</th>
<th>종류</th>
<th>크기</th>
<th>삭제</th>
</thead>
<tbody id="tbody_fiielist" class="tb_file_after">
<c:forEach var="fileList" items="${fileList}" varStatus="status">
<tr class="item_<c:out value='${fileList.atchFileId}' />_<c:out value='${fileList.fileSn}' /> uploaded_obj">
<input type="hidden" name="fileSize" class="item_file_size" value="${fileList.fileSize}">
<td class="td_filename">
<!-- <img src="/direct/img/upload_hwp_img.png" alt="" /> -->
<span class="file_name_text"><c:out value='${fileList.orignlFileNm}' /></span>
</td>
<td class="td_filesort">
<span class="file_filesort_text" value="<c:out value="${fileList.fileExtsn}"/>"><c:out value="${fileList.fileExtsn}"/></span>
</td>
<td class="td_filesize">
<span class="file_size_text" value="<c:out value="${fileList.fileMg}"/>"><c:out value="${fileList.fileMg}"/></span>
</td>
<td>
<button type="button" class="btn_del" onclick="delAtchFile('<c:out value='${fileList.atchFileId}' />', '<c:out value='${fileList.fileSn}' />'); return false;" title="파일삭제"><i></i></button>
</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
</td>
</tr>
</tbody>
</table>
<div class="btn_wrap btn_layout04">
<!-- <button type="button" class="btnType06" onclick="fn_regist(); return false;">등록</button> -->
<button type="button" class="btnType06" onclick="fn_goList(); return false;">목록</button>
<button type="button" class="btnType03" onclick="window.close()">닫기</button>
</div>
</div>
</div>
</form>
</body>
</html>

View File

@ -1,100 +0,0 @@
<!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"%>
<html lang="ko">
<head>
<title>조정위원검색</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript">
function fncClose() {
self.close();
}
function fn_goDetail(crtSeq, crtSn){
var listForm = document.listForm;
listForm.action = "<c:url value='/kccadr/adjCourtCnctn/popup/adjCourtCnctnAppDetailPop.do'/>";
listForm.crtSeq.value = crtSeq;
listForm.crtSn.value = crtSn;
listForm.submit();
}
function fncReg(){
var listForm = document.listForm;
listForm.action = "<c:url value='/kccadr/adjCourtCnctn/popup/adjCourtCnctnAppRegPop.do'/>";
listForm.submit();
}
</script>
</head>
<body>
<form id="listForm" name="listForm" method="post" action="">
<input type="hidden" id="crtSeq" name="crtSeq" value="${adjCourtAppVO.crtSeq}"/>
<input type="hidden" id="crtSn" name="crtSn" value=""/>
<input type="hidden" id="" name="" value=""/>
<input type="hidden" id="" name="" value=""/>
</form>
<div class="area_popup search_list_popup" style="width: 1000px;">
<div class="cont_popup">
<p class="tit_text tt1">기일지정 목록 팝업</p>
<table class="pop_tbType02">
<colgroup>
<col style="width: 10%">
<col style="width: 11%">
<col style="width: 40%">
<col style="width: 39%">
</colgroup>
<thead>
<tr>
<th class="tt2">차수</th>
<th class="tt2">일시</th>
<th class="tt2">장소</th>
<th class="tt2">결과</th>
</tr>
</thead>
<tbody>
<c:forEach items="${list}" var="list" varStatus="status">
<tr>
<td>
<a href="#" onclick="fn_goDetail('${list.crtSeq}', '${list.crtSn}');">
<c:out value="${list.crtSn}"/>차
</a>
</td>
<td>
<a href="#" onclick="fn_goDetail('${list.crtSeq}', '${list.crtSn}');">
<c:out value="${fn:substring(list.crtFtfDe, 0, 10)}"/>
</a>
</td>
<td>
<a href="#" onclick="fn_goDetail('${list.crtSeq}', '${list.crtSn}');">
<c:out value="${list.crtAddr}"/>
</a>
</td>
<td>
<a href="#" onclick="fn_goDetail('${list.crtSeq}', '${list.crtSn}');">
<c:out value="${list.crtRslt}"/>
</a>
</td>
</tr>
</c:forEach>
<c:if test="${empty list}">
<tr><td colspan="4"><spring:message code="common.nodata.msg" /></td></tr>
</c:if>
</tbody>
</table>
<div class="btn_wrap btn_layout04">
<c:if test="${endFlag ne 'end'}">
<button class="btnType06" onclick="fncReg(); return false;">기일지정등록</button>
</c:if>
<button class="btnType06" onclick="fncClose(); return false;">닫기</button>
</div>
</div>
</div>
</body>
</html>

View File

@ -1,219 +0,0 @@
<!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"%>
<html lang="ko">
<head>
<title>조정위원검색</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript">
$(document).ready(function(){
$('#filebutton').click(function (e) {
e.preventDefault();
$('#file_temp').click();
});
});
function fncClose() {
self.close();
}
function fn_goList(){
var listForm = document.listForm;
listForm.action = "<c:url value='/kccadr/adjCourtCnctn/popup/adjCourtCnctnAppPop.do'/>";
listForm.submit();
}
function fn_regist(){
var msg = "등록 하시겠습니까?"
if(confirm(msg)){
//신청인 정보 입력
var data = new FormData(document.listForm);
var url= "/kccadr/adjCourtCnctn/popup/adjCourtCnctnAppRegPopAjax.do";
_fileForm2.forEach(function(obj, idx) {
if (obj) data.append("file"+idx, obj.fileObj);
});
$.ajax({
type: "POST",
enctype: 'multipart/form-data',
url: url,
data: data,
dataType:'json',
async: false,
processData: false,
contentType: false,
cache: false,
success: function (data) {
alert(data.data);
if(data.status == 'OK')
{
fn_goList();
}
else if(data.status == 'Unauthorized' || data.status == 'BAD_REQUEST')
{
return false;
}
},
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
});
}
}
</script>
</head>
<body>
<form id="listForm" name="listForm" method="post" action="" enctype="multipart/form-data">
<!-- 드래그앤 드롭 파라미터 -->
<input type="hidden" name="limitcount" value="10" />
<input type="hidden" id="crtSeq" name="crtSeq" value="${adjCourtAppVO.crtSeq}"/>
<input type="hidden" id="crtSn" name="crtSn" value="${adjCourtAppVO.crtSn}"/>
<div class="area_popup supm_popup" style="width: 800px;">
<div class="cont_popup">
<p class="tb_tit">사건메모</p>
<table class="pop_tbType01">
<colgroup>
<col style="width: 20%;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th>기일차수</th>
<td>
<input type="text" id="" name="" value="${adjCourtAppVO.crtSn}" readonly/>
</td>
</tr>
<tr>
<th>대면기일</th>
<td>
<div id="sel_date" class="sel_date">
<input readonly="readonly" type="text" class="crtFtfDe inp" title="대면기일" id="crtFtfDe" name="crtFtfDe" value="" data-datecontrol="true" onchange="test(this);">
<div class="calendar_in" id="calendarName_endDate" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtFtfDe-lry','',this)" class="btn_cal" ></button>
<div id="crtFtfDe-lry" class="calendarPop" style="display: none;">
<iframe id="crtFtfDe-ifrm" name="crtFtfDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div>
</div>
</td>
</tr>
<tr>
<th>장소</th>
<td>
<input type="text" id="crtAddr" name="crtAddr" value="한국저작권위원회 분쟁조정실"/>
</td>
</tr>
<tr>
<th>참석자</th>
<td>
<input type="text" id="crtAttnder" name="crtAttnder" value=""/>
</td>
</tr>
<tr>
<th>기일결과</th>
<td>
<input type="text" id="crtRslt" name="crtRslt" value=""/>
</td>
</tr>
<tr>
<th>첨부파일</th>
<td class="upload_area">
<!-- <input type="text" id="fileNm" size="30" class="file_input" readonly> --><!-- <button type="button" class="btnType01 btn_add_file">파일 첨부하기</button> -->
<input type="file" id="file_temp" name="file_temp" class="uploadFile" style="display:none"/>
<button type="button" id="filebutton" class="btnType01 btn_add_file">파일 첨부하기</button>
<div class="file_wrap file_upload_box no_img_box">
<table class="tbType02">
<caption>첨부파일 리스트 : 파일명, 종류, 크기, 삭제</caption>
<colgroup>
<col style="width: 60%;">
<col style="width: auto;">
<col style="width: 20%;">
<col style="width: 10%;">
</colgroup>
<thead>
<!-- <th>
<input type="checkbox" id="all_check"><label for="all_check"></label>
</th> -->
<th>작업명</th>
<th>종류</th>
<th>크기</th>
<th>삭제</th>
</thead>
<tbody class="tb_file_before">
<tr>
<td colspan="4">
<p>첨부하실 파일을 <span>마우스로 끌어서</span> 넣어주세요.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="file_wrap fileAfter file_list_div">
<table class="tbType02">
<caption>첨부파일 리스트 : 파일명, 종류, 크기, 삭제</caption>
<colgroup>
<col style="width: 60%">
<col style="width: 10%">
<col style="width: 20%">
<col style="width: 10%">
</colgroup>
<thead>
<!-- <th>
<input type="checkbox" id="all_check"><label for="all_check"></label>
</th> -->
<th>파일 명</th>
<th>종류</th>
<th>크기</th>
<th>삭제</th>
</thead>
<tbody id="tbody_fiielist" class="tb_file_after">
<c:forEach var="fileList" items="${fileList}" varStatus="status">
<tr class="item_<c:out value='${fileList.atchFileId}' />_<c:out value='${fileList.fileSn}' /> uploaded_obj">
<input type="hidden" name="fileSize" class="item_file_size" value="${fileList.fileSize}">
<td class="td_filename">
<!-- <img src="/direct/img/upload_hwp_img.png" alt="" /> -->
<span class="file_name_text"><c:out value='${fileList.orignlFileNm}' /></span>
</td>
<td class="td_filesort">
<span class="file_filesort_text" value="<c:out value="${fileList.fileExtsn}"/>"><c:out value="${fileList.fileExtsn}"/></span>
</td>
<td class="td_filesize">
<span class="file_size_text" value="<c:out value="${fileList.fileMg}"/>"><c:out value="${fileList.fileMg}"/></span>
</td>
<td>
<button type="button" class="btn_del" onclick="delAtchFile('<c:out value='${fileList.atchFileId}' />', '<c:out value='${fileList.fileSn}' />'); return false;" title="파일삭제"><i></i></button>
</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
</td>
</tr>
</tbody>
</table>
<div class="btn_wrap btn_layout04">
<button type="button" class="btnType06" onclick="fn_regist(); return false;">등록</button>
<button type="button" class="btnType06" onclick="fn_goList(); return false;">목록</button>
<button type="button" class="btnType03" onclick="window.close()">닫기</button>
</div>
</div>
</div>
</form>
</body>
</html>

View File

@ -1,114 +0,0 @@
<!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"%>
<html lang="ko">
<head>
<title>조정위원검색</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript">
var admId = null;
$(document).ready(function() {
});
function fncClose() {
var tmpAdmId = $("input[name='admId']:checked").val();
if (typeof tmpAdmId == "undefined" || tmpAdmId == ""
|| tmpAdmId == null) {
alert('조정위원을 선택해주세요.')
return;
}
admId = tmpAdmId.split('§');
var targetId = $("#targetId").val();
window.opener
.setAdmId(admId[0], admId[1], admId[2], admId[3], targetId);
self.close();
}
function fn_insert(p_esntlId, ofcpsNm) {
var form = document.insertForm;
form.esntlId.value = p_esntlId;
form.ofcpsNm.value = ofcpsNm;
var msg = "선택 하시겠습니까?";
if(confirm(msg)){
//신청인 정보 입력
var data = new FormData(document.insertForm);
var url= "<c:url value='/kccadr/adjCourtCnctn/insertAdjCourtCnctnDeptPopAjax.do' />";
$.ajax({
type: "POST",
url: url,
data: data,
dataType:'json',
async: false,
processData: false,
contentType: false,
cache: false,
success: function (data) {
alert(data.data);
if(data.status == 'OK')
{
window.opener.location.reload();
window.close();
}
},
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
});
}
}
</script>
</head>
<body>
<form name="insertForm" id="insertForm">
<input type="hidden" id="crtSeq" name="crtSeq" value="${deptVO.crtSeq }" />
<input type="hidden" id="esntlId" name="esntlId" />
<input type="hidden" id="ofcpsNm" name="ofcpsNm" />
</form>
<div class="area_popup search_list_popup" style="width: 640px;">
<form:form id="listForm" name="listForm" method="post" onsubmit="return false;">
<input type="hidden" name="targetId" id="targetId" value="<c:out value='${dtbVO.targetId}' />" />
<div class="cont_popup">
<p class="tit_text tt1">조정위원 선택</p>
<table class="pop_tbType02">
<colgroup>
<col style="width: 80%">
<col style="width: 20%">
</colgroup>
<thead>
<tr>
<th class="tt2">조사관</th>
<th class="tt2"></th>
</tr>
</thead>
<tbody>
<c:forEach items="${ adjCourtDeptVO}" var="list">
<tr>
<td>${list.userNm }</td>
<td>
<button class="btnType06"
onclick="fn_insert('${list.esntlId }', '${list.ofcpsNm}'); return false;">선택</button>
</td>
</tr>
</c:forEach>
</tbody>
</table>
<div class="btn_wrap btn_layout04">
<button class="btnType06" onclick="fncClose(); return false;">확인</button>
</div>
</div>
</form:form>
</div>
</body>
</html>

View File

@ -1,136 +0,0 @@
<!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"%>
<html lang="ko">
<head>
<title>조정위원검색</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript">
$(document).ready(function(){
$('#filebutton').click(function (e) {
e.preventDefault();
$('#file_temp').click();
});
});
function fncClose() {
self.close();
}
function fn_regist(p_esntlId, p_pstinstCode) {
var msg = "저장 하시겠습니까?";
if(confirm(msg)){
var data = new FormData(document.listForm);
var url= "<c:url value='/kccadr/adjCourtCnctn/popup/adjCourtCnctnEndAfterPopAjax.do' />";
$.ajax({
type: "POST",
url: url,
data: data,
dataType:'json',
async: false,
processData: false,
contentType: false,
cache: false,
success: function (data) {
alert(data.data);
if(data.status == 'OK')
{
window.opener.location.reload();
window.close();
}
},
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
});
}
}
</script>
</head>
<body>
<form id="listForm" name="listForm" method="post" action="" >
<!-- 드래그앤 드롭 파라미터 -->
<input type="hidden" name="limitcount" value="10" />
<input type="hidden" id="crtSeq" name="crtSeq" value="${adjCourtCnctnVO.crtSeq}"/>
<input type="hidden" id="crtSn" name="crtSn" value="${adjCourtCnctnVO.crtSn}"/>
<div class="area_popup supm_popup" style="width: 800px;">
<div class="cont_popup">
<p class="tb_tit">사건메모</p>
<table class="pop_tbType01">
<colgroup>
<col style="width: 20%;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th>종결일자</th>
<td>
<div id="sel_date" class="sel_date">
<input readonly="readonly" type="text" class="crtEndDe inp" title="대면기일" id="crtEndDe" name="crtEndDe" value="${fn:substring(adjCourtCnctnVO.crtEndDe, 0, 10)}" data-datecontrol="true" onchange="test(this);">
<div class="calendar_in" id="calendarName_endDate" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtEndDe-lry','',this)" class="btn_cal" ></button>
<div id="crtEndDe-lry" class="calendarPop" style="display: none;">
<iframe id="crtEndDe-ifrm" name="crtEndDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div>
</div>
</td>
</tr>
<tr>
<th>합의금</th>
<td>
<input type="text" id="crtAgrment" name="crtAgrment" value="${adjCourtCnctnVO.crtAgrment}"/>
</td>
</tr>
<tr>
<th>수당금액</th>
<td>
<input type="text" id="crtAllwanc" name="crtAllwanc" value="${adjCourtDeptVO.crtAllwanc}"/>
</td>
</tr>
<tr>
<th>지급일자</th>
<td>
<div id="sel_date" class="sel_date">
<input readonly="readonly" type="text" class="crtPayDe inp" title="대면기일" id="crtPayDe" name="crtPayDe" value="${fn:substring(adjCourtDeptVO.crtPayDe, 0, 10)}" data-datecontrol="true" onchange="test(this);">
<div class="calendar_in" id="calendarName_endDate" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtPayDe-lry','',this)" class="btn_cal" ></button>
<div id="crtPayDe-lry" class="calendarPop" style="display: none;">
<iframe id="crtPayDe-ifrm" name="crtPayDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div>
</div>
</td>
</tr>
<tr>
<th>수령계좌</th>
<td>
<input type="text" id="crtRecivAccnt" name="crtRecivAccnt" value="${adjCourtDeptVO.crtRecivAccnt}"/>
</td>
</tr>
</tbody>
</table>
<div class="btn_wrap btn_layout04">
<button type="button" class="btnType06" onclick="fn_regist(); return false;">저장</button>
<button type="button" class="btnType03" onclick="window.close()">닫기</button>
</div>
</div>
</div>
</form>
</body>
</html>

View File

@ -1,184 +0,0 @@
<!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"%>
<html lang="ko">
<head>
<title>조정위원검색</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript">
$(document).ready(function(){
$('#filebutton').click(function (e) {
e.preventDefault();
$('#file_temp').click();
});
});
function fncClose() {
self.close();
}
function fn_regist(){
var msg = "등록 하시겠습니까?"
if(confirm(msg)){
//신청인 정보 입력
var data = new FormData(document.listForm);
var url= "/kccadr/adjCourtCnctn/popup/adjCourtCnctnEndPopAjax.do";
_fileForm2.forEach(function(obj, idx) {
if (obj) data.append("file"+idx, obj.fileObj);
});
$.ajax({
type: "POST",
enctype: 'multipart/form-data',
url: url,
data: data,
dataType:'json',
async: false,
processData: false,
contentType: false,
cache: false,
success: function (data) {
alert(data.data);
if(data.status == 'OK')
{
fncClose()
}
else if(data.status == 'Unauthorized' || data.status == 'BAD_REQUEST')
{
return false;
}
},
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
});
}
}
</script>
</head>
<body>
<form id="listForm" name="listForm" method="post" action="" enctype="multipart/form-data">
<!-- 드래그앤 드롭 파라미터 -->
<input type="hidden" name="limitcount" value="10" />
<input type="hidden" id="crtSeq" name="crtSeq" value="${adjCourtCnctnVO.crtSeq}"/>
<input type="hidden" id="crtSn" name="crtSn" value="${adjCourtCnctnVO.crtSn}"/>
<div class="area_popup supm_popup" style="width: 800px;">
<div class="cont_popup">
<p class="tb_tit">사건메모</p>
<table class="pop_tbType01">
<colgroup>
<col style="width: 20%;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th>결과</th>
<td>
<input type="text" id="crtEndRslt" name="crtEndRslt" value="${adjCourtCnctnVO.crtEndRslt}"/>
</td>
</tr>
<tr>
<th>세부결과</th>
<td>
<input type="text" id="crtEndRsltDetail" name="crtEndRsltDetail" value="${adjCourtCnctnVO.crtEndRsltDetail}"/>
</td>
</tr>
<tr>
<th>사무수행보고서</th>
<td class="upload_area">
<input type="file" id="file_temp" name="file_temp" class="uploadFile" style="display:none"/>
<button type="button" id="filebutton" class="btnType01 btn_add_file">파일 첨부하기</button>
<div class="file_wrap file_upload_box no_img_box">
<table class="tbType02">
<caption>첨부파일 리스트 : 파일명, 종류, 크기, 삭제</caption>
<colgroup>
<col style="width: 60%;">
<col style="width: auto;">
<col style="width: 20%;">
<col style="width: 10%;">
</colgroup>
<thead>
<!-- <th>
<input type="checkbox" id="all_check"><label for="all_check"></label>
</th> -->
<th>작업명</th>
<th>종류</th>
<th>크기</th>
<th>삭제</th>
</thead>
<tbody class="tb_file_before">
<tr>
<td colspan="4">
<p>첨부하실 파일을 <span>마우스로 끌어서</span> 넣어주세요.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="file_wrap fileAfter file_list_div">
<table class="tbType02">
<caption>첨부파일 리스트 : 파일명, 종류, 크기, 삭제</caption>
<colgroup>
<col style="width: 60%">
<col style="width: 10%">
<col style="width: 20%">
<col style="width: 10%">
</colgroup>
<thead>
<!-- <th>
<input type="checkbox" id="all_check"><label for="all_check"></label>
</th> -->
<th>파일 명</th>
<th>종류</th>
<th>크기</th>
<th>삭제</th>
</thead>
<tbody id="tbody_fiielist" class="tb_file_after">
<c:forEach var="fileList" items="${fileList}" varStatus="status">
<tr class="item_<c:out value='${fileList.atchFileId}' />_<c:out value='${fileList.fileSn}' /> uploaded_obj">
<input type="hidden" name="fileSize" class="item_file_size" value="${fileList.fileSize}">
<td class="td_filename">
<!-- <img src="/direct/img/upload_hwp_img.png" alt="" /> -->
<span class="file_name_text"><c:out value='${fileList.orignlFileNm}' /></span>
</td>
<td class="td_filesort">
<span class="file_filesort_text" value="<c:out value="${fileList.fileExtsn}"/>"><c:out value="${fileList.fileExtsn}"/></span>
</td>
<td class="td_filesize">
<span class="file_size_text" value="<c:out value="${fileList.fileMg}"/>"><c:out value="${fileList.fileMg}"/></span>
</td>
<td>
<button type="button" class="btn_del" onclick="delAtchFile('<c:out value='${fileList.atchFileId}' />', '<c:out value='${fileList.fileSn}' />'); return false;" title="파일삭제"><i></i></button>
</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
</td>
</tr>
</tbody>
</table>
<div class="btn_wrap btn_layout04">
<button type="button" class="btnType06" onclick="fn_regist(); return false;">등록</button>
<button type="button" class="btnType03" onclick="window.close()">닫기</button>
</div>
</div>
</div>
</form>
</body>
</html>

View File

@ -1,176 +0,0 @@
<!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="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript">
</script>
<title>사건문서 등록</title>
<script type="text/javaScript" language="javascript">
$(document).ready(function(){
$('#filebutton').click(function (e) {
e.preventDefault();
$('#file_temp').click();
});
});
function fn_regist(){
var msg = "등록 하시겠습니까?"
if(confirm(msg)){
//신청인 정보 입력
var data = new FormData(document.listForm);
var url= "/kccadr/adjCourtCnctn/popup/adjCourtCnctnFilePopAjax.do";
_fileForm2.forEach(function(obj, idx) {
if (obj) data.append("file"+idx, obj.fileObj);
});
$.ajax({
type: "POST",
enctype: 'multipart/form-data',
url: url,
data: data,
dataType:'json',
async: false,
processData: false,
contentType: false,
cache: false,
success: function (data) {
alert(data.data);
if(data.status == 'OK')
{
window.opener.location.reload();
window.close();
}
else if(data.status == 'Unauthorized' || data.status == 'BAD_REQUEST')
{
return false;
}
},
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
});
}
}
</script>
<style>
.file_wrap .tbType02{border-bottom: 0}
</style>
</head>
<body>
<form id="listForm" name="listForm" method="post" onsubmit="return false;" enctype="multipart/form-data">
<input type="hidden" name="crtSeq" id="crtSeq" value="<c:out value='${adjCourtCnctnVO.crtSeq}'/>" />
<input type="hidden" name="crtSn" id="crtSn" value="<c:out value='${adjCourtCnctnVO.crtSn}'/>" />
<input type="hidden" name="limitcount" value="10" />
<div class="area_popup supm_popup" id="sub">
<div class="cont_popup">
<table class="pop_tbType01">
<caption>사건문서 등록 : 신청인, 피신청인, 관리자가 사건에 관련된 첨부파일을 등록한다.</caption>
<colgroup>
<col style="width: 200px;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th scope="row">
<p>문서 구분</p>
</th>
<td>
<p>
<kc:select codeId="CC702" id="crtAtchFileTy" name="crtAtchFileTy" selectedValue="10"/>
</p>
</td>
</tr>
<tr>
<th scope="row" class="req_text">
<p>첨부서류</p>
</th>
<td class="upload_area">
<input type="file" id="file_temp" name="file_temp" class="uploadFile" multiple="multiple" style="display:none"/>
<button type="button" id="filebutton" class="btnType01 btn_add_file">파일 첨부하기</button>
<div class="file_wrap file_upload_box no_img_box">
<table class="tbType02">
<caption>첨부파일 리스트 : 파일명, 종류, 크기, 삭제</caption>
<colgroup>
<col style="width: 60%;">
<col style="width: auto;">
<col style="width: 20%;">
<col style="width: 10%;">
</colgroup>
<thead>
<th>작업명</th>
<th>종류</th>
<th>크기</th>
<th>삭제</th>
</thead>
<tbody class="tb_file_before">
<tr>
<td colspan="4">
<p>첨부하실 파일을 <span>마우스로 끌어서</span> 넣어주세요.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="file_wrap fileAfter file_list_div">
<table class="tbType02">
<caption>첨부파일 리스트 : 파일명, 종류, 크기, 삭제</caption>
<colgroup>
<col style="width: 60%">
<col style="width: 10%">
<col style="width: 20%">
<col style="width: 10%">
</colgroup>
<thead>
<th>파일 명</th>
<th>종류</th>
<th>크기</th>
<th>삭제</th>
</thead>
<tbody id="tbody_fiielist" class="tb_file_after">
<c:forEach var="fileList" items="${fileList}" varStatus="status">
<tr class="item_<c:out value='${fileList.atchFileId}' />_<c:out value='${fileList.fileSn}' /> uploaded_obj">
<input type="hidden" name="fileSize" class="item_file_size" value="${fileList.fileSize}">
<td class="td_filename">
<span class="file_name_text"><c:out value='${fileList.orignlFileNm}' /></span>
</td>
<td class="td_filesort">
<span class="file_filesort_text" value="<c:out value="${fileList.fileExtsn}"/>"><c:out value="${fileList.fileExtsn}"/></span>
</td>
<td class="td_filesize">
<span class="file_size_text" value="<c:out value="${fileList.fileMg}"/>"><c:out value="${fileList.fileMg}"/></span>
</td>
<td>
<button type="button" class="btn_del" onclick="delAtchFile('<c:out value='${fileList.atchFileId}' />', '<c:out value='${fileList.fileSn}' />'); return false;" title="파일삭제"><i></i></button>
</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
</td>
</tr>
</tbody>
</table>
<!-- 하단 버튼 -->
<div class="btn_wrap btn_layout04">
<button class="btnType06 btn_edit" onclick="fn_regist();">등록</button>
<button class="btnType03 btn_list" onclick="window.close();">닫기</button>
</div>
<!-- //하단 버튼 -->
</div>
</div>
<!-- //cont -->
</form>
</body>
</html>

View File

@ -1,137 +0,0 @@
<!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"%>
<html lang="ko">
<head>
<title>조정위원검색</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript">
var admId = null;
$(document).ready(function() {
});
function fncClose() {
var tmpAdmId = $("input[name='admId']:checked").val();
if (typeof tmpAdmId == "undefined" || tmpAdmId == ""
|| tmpAdmId == null) {
alert('조정위원을 선택해주세요.')
return;
}
admId = tmpAdmId.split('§');
var targetId = $("#targetId").val();
window.opener
.setAdmId(admId[0], admId[1], admId[2], admId[3], targetId);
self.close();
}
function fn_insert() {
var form = document.insertForm;
form.crtRprtDe.value = document.listForm.crtRprtDe.value;
form.rprtPhone.value = document.listForm.rprtPhone.checked ? 'Y' : 'N';
form.rprtPgr.value = document.listForm.rprtPgr.checked ? 'Y' : 'N';
var msg = "선택 하시겠습니까?";
if(confirm(msg)){
//신청인 정보 입력
var data = new FormData(document.insertForm);
var url= "<c:url value='/kccadr/adjCourtCnctn/insertAdjCourtRprtDePopAjax.do' />";
$.ajax({
type: "POST",
url: url,
data: data,
dataType:'json',
async: false,
processData: false,
contentType: false,
cache: false,
success: function (data) {
alert(data.data);
if(data.status == 'OK')
{
window.opener.location.reload();
window.close();
}
},
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
});
}
}
</script>
</head>
<body>
<form name="insertForm" id="insertForm">
<input type="hidden" id="crtSeq" name="crtSeq" value="${AdjCourtCnctnVO.crtSeq}" />
<input type="hidden" name="rprtSeq" value="${adjCourtRprtMgrVO.rprtSeq}" />
<input type="hidden" name="crtRprtDe" value="${AdjCourtCnctnVO.crtRprtDe}" />
<input type="hidden" name="rprtPhone" value="${adjCourtRprtMgrVO.rprtPhone}" />
<input type="hidden" name="rprtPgr" value="${adjCourtRprtMgrVO.rprtPgr}" />
</form>
<div class="area_popup search_list_popup" style="width: 640px;">
<form:form id="listForm" name="listForm" method="post" onsubmit="return false;">
<input type="hidden" name="targetId" id="targetId" value="<c:out value='${dtbVO.targetId}' />" />
<div class="cont_popup">
<p class="tit_text tt1">사무수행보고일</p>
<div class="btn_wrap btn_layout04">
<p style="margin-bottom: 21px;">
<label for="rprtPhone">전화</label>전화
<input type="checkbox" name="rprtPhone" id="rprtPhone" value="Y" ${adjCourtRprtMgrVO.rprtPhone eq 'Y' ? 'checked' : ''} style="margin-right: 32px;" >
<label for="rprtPgr">기일진행</label>기일진행
<input type="checkbox" name="rprtPgr" id="rprtPgr" value="Y" ${adjCourtRprtMgrVO.rprtPgr eq 'Y' ? 'checked' : ''} >
</p>
</div>
<table class="pop_tbType02">
<colgroup>
<col style="width: 60%">
<col style="width: 40%">
</colgroup>
<thead>
<tr>
<th class="tt2">사무수행보고일</th>
<th class="tt2"></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<div id="sel_date" class="sel_date">
<input readonly="readonly" type="text" class="crtRprtDe inp" title="사무수행보고일" id="crtRprtDe" name="crtRprtDe" value="${fn:substring(adjCourtRprtMgrVO.crtRprtDe, 0, 10)}" data-datecontrol="true">
<div class="calendar_in" id="calendarName_crtRprtDe" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('crtRprtDe-lry','',this)" class="btn_cal" ></button>
<div id="crtRprtDe-lry" class="calendarPop" style="display: none;">
<!-- <div id="crtRprtDe-lry" class="calendarPop"> -->
<iframe id="crtRprtDe-ifrm" name="crtRprtDe-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div>
</div>
</td>
<td>
<button class="btnType06" onclick="fn_insert(); return false;">선택</button>
</td>
</tr>
</tbody>
</table>
</div>
</form:form>
</div>
</body>
</html>

View File

@ -1,878 +0,0 @@
<!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="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="<c:url value='/'/>css/jstree/themes/default/style.min.css" rel="stylesheet" type="text/css">
<style>
.jstree_orgChart {
overflow: auto;
border: 1px solid silver;
min-height: 100px;
width: 290px;
}
</style>
<script src="<c:url value='/js/jquery-1.12.4.min.js' />"></script>
<script src="<c:url value='/js/jstree.min.js' />"></script>
<script src="<c:url value='/js/EgovCmmUtl.js' />"></script>
<script type="text/javascript">
/*********************************
* jstree
*********************************
*/
var newNodeId = "";
var selectedNm = ""; //선택된 이름
var selectedId = ""; //선택된 id pk
var parentId = ""; //선택된 parentId
function jstreeInit() {
$('#kccadr_sbmt').jstree({
"core" : {
"animation" : 0,
"multiple" : false,
"check_callback" : true,
"themes" : { "stripes" : true },
"data" : {
"url" : "<c:url value='/kccadr/adjReqMgOff/adjReqMgrOffAppReqPopAjax.do'/>",
"dataType" : "json",
"data" : function (node) {
return {
'id' : $("#authorCodeSelect option:selected").val() //node.id
, 'authorCode' : $('#authorCode').val()
};
}
}
},
"types" : {
"#" : {
"max_depth" : 5,
"valid_children" : ["root"]
},
"root" : {
"icon" : "glyphicon glyphicon-flash",
"valid_children" : ["default"]
},
"default" : {
"valid_children" : ["default","file"]
},
"file" : {
"icon" : "jstree-file",
"valid_children" : []
}
}
})
.bind('loaded.jstree', function(e, data) {
$('#kccadr_sbmt').jstree('open_node' , $('#0') );
})
.on('select_node.jstree', function (e, data) {
if(!$('.organ_rightbox').is(":visible")){
$(".organ_rightbox").show();
}
/* 메뉴 선택 */
var menuNo = data.node.id;
var upperMenuId = data.node.parent;
//하위 메뉴가 있으면 메뉴코드 변경못하게
if(data.node.children.length > 0){
$('#menuNo').attr("readonly",true);
$('#existChildNode').val("Y");
}else{
$('#menuNo').attr("readonly",false);
$('#existChildNode').val("N");
}
/* 메뉴 선택 */
var menuNo = data.node.id;
//메뉴 추가시 자동 선택되게
if(newNodeId !=""){
menuNo = newNodeId ;
newNodeId = "";
$('#'+data.instance.get_node(menuNo).a_attr.id).trigger("click") //클릭 이벤트 발생
}
$("#menuTopNm").text(data.node.text);
selectedNm = data.node.text;
selectedId = menuNo;
parentId = upperMenuId;
})
.on('rename_node.jstree', function (e, data) { //메뉴명 변경
var nodeId = data.node.id;
var oldText = data.old;
var newText = data.text;
if (nodeId > 0) {
/* 부서명 변경 */
if (oldText != newText) {
if (confirm("메뉴명을 변경하시겠습니까?" )) {
$.ajax({
type:"POST",
url:"<c:url value='/sym/mnu/mcm/EgovMenuInfoNmUpdateAjax.do' />",
data:{ "menuNo" : nodeId, "menuNm" : newText },
dataType:'json',
success : function(returnData, status) {
if (status == "success") {
alert("메뉴명이 변경되었습니다.");
} else { alert("ERROR"); }
},
error : function(request , status, error) {
alert("메뉴명이 변경이 실패되었습니다.");
},
complete : function () {
data.instance.refresh();
deleteLodingBar();
}
});
} else {
data.instance.refresh();
}
}
} else {/* 메뉴 추가 */
}
})
.on('delete_node.jstree', function (e, data) {
/* 메뉴 삭제 */
if(data.node.children.length != 0){
alert("하위 메뉴를 먼저 삭제 후 메뉴를 삭제해 주세요.");
data.instance.refresh();
}else{
if (confirm("[" + data.node.text + "]" + " 메뉴를 삭제하시겠습니까?")){
$.ajax({
type:"POST",
url:"<c:url value='/sym/mnu/mcm/EgovMenuInfoDeleteAjax.do' />",
data:{ "menuNo" : data.node.id , "authorCode" : $('#authorCode').val() },
dataType:'json',
//timeout:(1000*30),
success : function(returnData, status) {
if (status == "success") {
alert("메뉴 정보가 삭제되었습니다.");
fn_init_menuInfo();
} else { alert("ERROR"); }
},
error : function(request , status, error) {
alert("메뉴 정보 삭제가 실패되었습니다.");
//alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
},
complete : function () {
data.instance.refresh();
deleteLodingBar();
}
});
} else {
data.instance.refresh();
}
}
})
.on('create_node.jstree', function(e, data) {
if (confirm("메뉴를 추가하시겠습니까?")){
var instance = data.instance;
var menuNm = data.text;
var upperMenuId = data.node.parent;
var menuOrdr = 1;
var childrenNodes = instance.get_node(upperMenuId).children;
// 하위 메뉴 있을 시 마지막 부서 sort_ord + 1
if (childrenNodes.length > 1) {
//var lastChildrenNode = instance.get_node(childrenNodes[childrenNodes.length - 2]);
//sortOrd = lastChildrenNode.li_attr.sortOrd + 1;
menuOrdr = childrenNodes.length ;
}
$.ajax({
type:"POST",
url:"<c:url value='/sym/mnu/mcm/EgovMenuInfoInsertAjax.do' />",
data:{ "menuNm" : menuNm, "upperMenuId" : upperMenuId, "menuOrdr" : menuOrdr , "authorCode" : $('#authorCode').val() },
dataType:'json',
//timeout:(1000*30),
success : function(returnData, status) {
if (returnData.status == "success") {
alert("메뉴가 추가 되었습니다.");
//fn_select_menuNo(returnData.menuManageVO, returnData.menuManageVO.menuUserType);
newNodeId = returnData.menuManageVO.menuNo ;
}else if(returnData.status == "dupl"){
alert("중복된 아이디가 있습니다.\n 중복된 아이디변경/삭제후 다시 추가해 주세요\n"+ "("+returnData.menuManageResultVO.menuCours+")");
}else{
alert("메뉴 추가가 실패하였습니다.");
}
},
error : function(request , status, error) {
alert("메뉴 추가가 실패되었습니다.")
},
complete : function () {
data.instance.refresh();
deleteLodingBar();
}
});
}else{
data.instance.refresh();
}
})
.on('move_node.jstree', function (e, data) {
/* 메뉴 위치 변경 */
var instance = data.instance;
var menuNo = data.node.id;
var childrenNodes = instance.get_node(menuNo).children;
if (confirm("메뉴 위치를 변경하시겠습니까?" )){
//var partIdx = data.node.id;
var upperMenuId = data.parent;
var menuOrdr = data.position + 1;
var sortOver = "A" ;
$.ajax({
type:"POST",
url:"<c:url value='/sym/mnu/mcm/EgovMenuInfoMoveAjax.do' />",
data:{ "menuNo" : menuNo, "upperMenuId" : upperMenuId, "menuOrdr" : menuOrdr , "authorCode" : $('#authorCode').val()},
dataType:'json',
success : function(returnData, status) {
if (status == "success") {
alert("메뉴 위치가 변경되었습니다.");
} else { alert("ERROR"); }
},
error : function(request , status, error) {
alert("메뉴 위치 변경이 실패되었습니다.");
},
complete : function () {
data.instance.refresh();
deleteLodingBar();
}
});
} else {
data.instance.refresh();
}
})
.on("refresh.jstree", function (e,data) {
//alert("refresh.jstree");
$('#kccadr_sbmt').jstree('open_all' );
})
;
}
$( document ).ready(function() {
$('#authorCodeSelect').on('change',function(){
$("#kccadr_sbmt").jstree("refresh");
});
jstreeInit();
});
//직원 상세 초기화
function fn_add_emp() {
var partIdx =$("#selectPartIdx").val();
var upperIdxs = $("#selectPartParents").val();
// 직원 상세 초기화
document.empInfForm.reset();
$("#empFormTitle").text("메뉴 추가등록 상세");
$("input[name='paIdx']").val("");
fn_set_emp_part(partIdx, upperIdxs);
}
//메뉴 정보 세팅
function fn_select_menuNo(menuManageVO, menuUserTypeList){
var tmpHtml = "";
if(menuManageVO!=null){
$('#menuNo').val(menuManageVO.menuNo);
$('#tmp_Id').val(menuManageVO.menuNo);
$('#menuCours').text(menuManageVO.menuCours);
$('#menuOrdr').val(menuManageVO.menuOrdr);
$('#menuNm').val(menuManageVO.menuNm);
$('#menuDc').val(menuManageVO.menuDc);
$('#upperMenuIdText').text(menuManageVO.upperMenuId);
$('#upperMenuId').val(menuManageVO.upperMenuId);
$('#progrmFileNm').val(menuManageVO.progrmFileNm);
$('#tmp_Name').val(menuManageVO.progrmFileNm);
$('#relateImageNm').val(menuManageVO.relateImageNm);
$('#relateImagePath').val(menuManageVO.relateImagePath);
$('#userType').val(menuManageVO.userType);
$('#url').val(menuManageVO.url);
$('#useYn').val(menuManageVO.useYn);
$('#satisYn').val(menuManageVO.satisYn);
$('.menu_detail_tit span').html(menuManageVO.menuNm+' - 메뉴 권한 목록');
if(""!=menuManageVO.emplyrId) $('#emplyrId').val(menuManageVO.emplyrId); //담당자 세팅
if(""!=menuManageVO.emplyrIdTxt) $('#emplyrIdTxt').val(menuManageVO.emplyrIdTxt); //담당자 세팅
if(menuManageVO.satisYn == null){
$('#satisYn').val('N')
}
$("#menuTopNm").text( menuManageVO.menuNm );
$("#progrmHtmlFileId").val( menuManageVO.progrmHtmlFileId );
$("#progrmBbsId").val(menuManageVO.progrmBbsId);
$('#progrmFileNm_tmp').val(menuManageVO.progrmFileNm);
var menuType = menuManageVO.menuType ;
if(menuType == "M"){
$("#satisTr").css("display", "none");
}else{
$("#satisTr").css("display", "");
}
if(menuManageVO.progrmFileNm == 'dir' || menuType == 'M'){
$("#menuType").val("M"); //메뉴로 세팅
$('#progrmFileNm').attr("readonly", true);
$('#progrmFileNm_tmp').val("");
$('#url_tmp').val("");
}else{
$("#menuType").val(menuType);
//$('#progrmFileNm').attr("readonly", false);
$('#url_tmp').val(menuManageVO.url);
}
//메뉴타입 설정
initShowUrl('Y');
$('#url').val(menuManageVO.url);
$(".main1_delete_btn").removeAttr("onclick");
$(".main1_delete_btn").attr("onclick", "fn_delete_menuInfo('"+menuManageVO.menuNo+"' , '"+menuManageVO.progrmFileNm+"' );return false;");
$(".main1_save_btn").removeAttr("onclick");
$(".main1_save_btn").attr("onclick", "fn_save_menuInfo('"+menuManageVO.menuNo+"');return false;");
$('.tr_item').remove();
if( ( "P" == $('#menuType').val() || "C" == $('#menuType').val()) && "ROLE_ANONYMOUS"==$('#authorCode').val() ){ //추가 게시판 조회(프로그램/사용자 화면만 조회)
$('#tr_add_bbs').show();
set_bbs();
}else{
$('#tr_add_bbs').hide();
}
$('#htmlComfirm').hide();
if(""!=menuManageVO.progrmHtmlFileId){
$('#htmlComfirm').show();
$('#a_contentLink').attr("onclick" , "htmlComfirm('"+menuManageVO.progrmHtmlFileId+"');")
}
}
}
//메뉴 정보 삭제
function fn_delete_menuInfo(menuNo , progrmFileNm ) {
if(menuNo == null || "undefined"== menuNo){
alert("삭제 하려는 메뉴를 먼저 선택해주세요.");
return ;
}
var instance = $('#kccadr_sbmt').jstree(true);
if(instance.get_node(menuNo).children.length != 0){
alert("하위 메뉴를 먼저 삭제 후 메뉴를 삭제해 주세요.");
return;
}
if (confirm("메뉴를 삭제 하시겠습니까?")){
$.ajax({
type:"POST",
"url" : "<c:url value='/sym/mnu/mcm/EgovMenuInfoDeleteAjax.do'/>",
data:{ "menuNo" : menuNo , "progrmFileNm" : progrmFileNm , "authorCode" : $('#authorCode').val() },
dataType:'json',
//timeout:(1000*30),
success : function(returnData, status) {
if (returnData.status == "success") {
// 직원 목록 갱신
var instance = $('#kccadr_sbmt').jstree(true);
//$("#" + instance.get_node(partIdx).a_attr.id).trigger("click");
alert("메뉴 정보가 삭제 되었습니다.");
$("#kccadr_sbmt").jstree("refresh");
fn_init_menuInfo();
} else if(returnData.status == "duplPk"){
alert("삭제하려는 메뉴를 참조하고 있는 메뉴가 있습니다.\n 참조하는 메뉴를 삭제후 다시 시도해 주세요\n"+ "("+returnData.menuManageResultVO.menuCours+")");
}
else {
alert("메뉴 삭제가 실패되었습니다.");
}
},
error : function(request , status, error) {
alert("메뉴 삭제가 실패되었습니다..");
},
complete : function (){
deleteLodingBar();
}
});
}
}
//메뉴정보 init(메뉴 초기화)
function fn_init_menuInfo() {
$("#menuTopNm").text("메뉴선택");
$("#menuForm input[type=text]").val("")
$('#menuCours').text("");
$('#upperMenuIdText').text("");
/* $('#progrmFileNmText').text(""); */
}
//메뉴 초기화
function jstreeRefresh() {
var searchForm = document.searchForm ;
searchForm.authorCode.value = $('#authorCode').val();
searchForm.submit();
}
//메뉴 초기화
function initShowUrl(init){
var menuType = $("#menuType option:selected").val();
$("#url").val("");
$("#showUrl").hide();
$("#btnContent").hide();
$("#btnBBS").hide();
$('#htmlComfirm').hide();
$('#BBSNameSpan').text("");
if("M" == menuType){ //메뉴
$("#progrmFileNm").val("dir");
$("#url").val("");
$('#progrmFileNm').attr("readonly", true);
}else{
$("#progrmFileNm").val($("#progrmFileNm_tmp").val());
$("#url").val($("#url_tmp").val());
if("P" == menuType){ //프로그램
$('#progrmFileNm').attr("readonly", false);
$("#url").attr("readonly", false);
}else if("C" == menuType ){ //컨텐츠
$('#progrmFileNm').attr("readonly", false);
$("#url").attr("readonly", false);
}else if("B" == menuType){ //게시판
$('#progrmFileNm').attr("readonly", false);
$("#url").attr("readonly", false);
}else if("O" == menuType){ //게시판
$('#progrmFileNm').attr("readonly", false);
$("#url").attr("readonly", false);
}
if(init=='N'){
var instance = $('#kccadr_sbmt').jstree(true);
if($('#kccadr_sbmt').jstree('get_selected')[0] != null){
if(instance.get_node($('#kccadr_sbmt').jstree('get_selected')[0]).children.length != 0){
alert("하위 메뉴가 있을경우는 다른타입으로 변경할수 없습니다.");
return;
}
}
}
$("#showUrl").show();
if("C" == menuType){
$("#btnContent").show();
$("#url").attr("readonly", false);
}else if("B" == menuType){
$("#btnBBS").show();
$("#url").attr("readonly", false);
}
}
}
var docWidth = screen.availWidth;
var docHeight = screen.availHeight;
var scX = window.screenX||window.screenLeft||0;
var scY = window.screenY||window.screenTop||0;
/* ********************************************************
* 게시판목록조회 함수
******************************************************** */
function searchBBSId(obj) {
var popupX = scX + (docWidth - 185) / 2;
var popupY = scY + (docHeight - 195) / 2;
memuPopup = window.open('', 'memuPopup', "width=800, height=730, left="+popupX+", top="+popupY, "location = no","status= no","toolbars= no");
document.searchForm.method = "post";
if("menuAdd"==$(obj).attr('id')){ //추가게시판 버튼 클릭시
document.searchForm.seCd.value = $(obj).attr('id');
document.searchForm.searchNm.value = $(obj).attr('value');
}
document.searchForm.action = "/cop/bbs/EgovBBSIdListSearch.do";
document.searchForm.target = "memuPopup" ;
document.searchForm.submit();
document.searchForm.target = "_self" ;
document.searchForm.action= "/sym/mnu/mcm/EgovMenuCreatSelectJtree.do";
}
/* ********************************************************
* 화면컨텐츠ID 검색 팝업
******************************************************** */
var memuPopup ="";
function searchContentList() {
var popupX = scX + (docWidth - 185) / 2;
var popupY = scY + (docHeight - 195) / 2;
memuPopup = window.open('', 'memuPopup', "width=800, height=730, left="+popupX+", top="+popupY, "location = no","status= no","toolbars= no");
document.searchForm.method = "post";
document.searchForm.action = "/uss/ion/cnt/contentListPopup.do";
document.searchForm.target = "memuPopup" ;
document.searchForm.submit();
document.searchForm.target = "_self" ;
document.searchForm.action= "/sym/mnu/mcm/EgovMenuCreatSelectJtree.do";
}
/* ********************************************************
* 사용자 메뉴 담당자 조회 함수
******************************************************** */
function searchManageMenuList() {
var popupX = scX + (docWidth - 185) / 2;
var popupY = scY + (docHeight - 195) / 2;
memuPopup = window.open('', 'memuPopup', "width=800, height=730, left="+popupX+", top="+popupY, "location = no","status= no","toolbars= no");
document.searchForm.method = "post";
document.searchForm.action = "/uss/umt/user/EgovUserManageMenuAjax.do";
document.searchForm.target = "memuPopup" ;
document.searchForm.submit();
document.searchForm.target = "_self" ;
document.searchForm.action= "/sym/mnu/mcm/EgovMenuCreatSelectJtree.do";
}
function onkeyContentName(event){
var tempContentUrl = "/web/content.do?proFn=" ;
if($("#menuType option:selected").val()=="C"){
$("#url").val(tempContentUrl + $("#progrmFileNm").val()) ;
}
}
//행추가
function add_line(bbsInfo){
var eva_temp_tr = $('#temp_tr').clone();
$('#tbl_bbsId').append(eva_temp_tr);
eva_temp_tr.attr('id' , 'tr_bbs').attr('class' , 'tr_item');
{ //변수 변경
var tr_item_length = $('.tr_item').size()-1 ;
eva_temp_tr.find("#temp_bbsTxt").attr('name', eva_temp_tr.find("#temp_bbsTxt").attr('name').replace('[]' , '['+tr_item_length+']' )) ;
eva_temp_tr.find("#temp_bbsTxt").attr('id' , 'bbsTxt_'+tr_item_length) ;
eva_temp_tr.find("#temp_bbsIds").attr('name', eva_temp_tr.find("#temp_bbsIds").attr('name').replace('[]' , '['+tr_item_length+']' )) ;
eva_temp_tr.find("#temp_bbsIds").attr('id' , 'menuAdd_'+tr_item_length) ;
eva_temp_tr.find("#temp_bbsSorts").attr('name' , eva_temp_tr.find("#temp_bbsSorts").attr('name').replace('[]' , '['+tr_item_length+']' ) ) ;
eva_temp_tr.find("#temp_bbsSorts").attr('id' , 'bbsSorts_'+tr_item_length) ;
eva_temp_tr.find("#menuAdd").attr('value' , 'menuAdd_'+tr_item_length ) ;
}
if(null != bbsInfo){
$('#bbsTxt_'+tr_item_length).val(bbsInfo.bbsNm);
$('#bbsSorts_'+tr_item_length).val(bbsInfo.bbsSort);
$('#menuAdd_'+tr_item_length).val(bbsInfo.bbsId);
}
}
//삭제시 배열 초기화
var arrCd = [];
function set_count(){ //tr 세팅
$('.tr_item').each(function(index, item){
$(this).find('input[name^=bbsTxt]').attr('name', 'bbsTxt['+index+']' ).attr('id' , 'bbsTxt_'+index ) ;
$(this).find('input[name^=bbsSorts]').attr('name', 'bbsSorts['+index+']' );
$(this).find('input[name^=bbsIds]').attr('name', 'bbsIds['+index+']' ).attr('id' , 'menuAdd_'+index ) ;
$(this).find('#menuAdd').attr('value' , 'menuAdd_'+index) ;
});
}
var arrDel = []; //1차배열
function delete_line(obj){
$(obj).parent().parent().remove();
set_count();
}
function save_line() {
/* if(0== $('.tr_item').size()){
alert("선택된 게시판이 없습니다.");
return;
} */
//빈 게시판 방지
var blank_tr = false;
var blank_sort = false;
$('.tr_item').each(function() {
if(""==$(this).find('input[name^=bbsTxt]').val()){
blank_tr = true;
}
if(""==$(this).find('input[name^=bbsSort]').val()){
blank_sort = true;
}
});
if(blank_tr) {
alert("비어 있는 게시판이 있습니다.");
return false;
}
if(blank_sort) {
alert("게시판 순서를 넣어주세요.");
return false;
}
var save_line_return = false;
var frm = document.menuForm;
var data = new FormData(frm);
$.ajax({
type: "POST",
url: "/sym/mnu/mcm/MenuBbsInsertAjax.do",
data: data,
dataType:'json',
processData: false,
contentType: false,
async: false,
cache: false,
timeout: 600000,
success: function (returnData, status) {
if(status == 'success'){
if(returnData.status == 'fail'){
alert("게시판 등록 실패하였습니다.");
}else if(returnData.status == 'auth_fail'){
alert("세션이 종료되었습니다.");
}else if(returnData.status =='success'){
//alert("등록되었습니다.");
save_line_return = true;
}
}else{
alert("등록에 실패하였습니다.");
return false;
}
},
error: function (e) {
console.log("ERROR : ", e);
alert("등록에 실패하였습니다.");
}
});
return save_line_return;
}
function htmlComfirm(progrmHtmlFileId) {
$.ajax({
type: "POST",
url: "/sym/mnu/mcm/HtmlComfirmAjax.do",
data:{
"cntId": progrmHtmlFileId
},
dataType:'json',
timeout: 600000,
success: function (returnData, status) {
if(status == 'success'){
console.log("sdfsdf");
window.open("/uss/ion/cnt/cntManageInsert.do?cntId="+returnData.cntManageVO.cntId+"&cntDtId="+returnData.cntManageVO.cntDtId);
}else{
//alert("등록에 실패하였습니다.");
return false;
}
},
error: function (e) {
console.log("ERROR : ", e);
alert("등록에 실패하였습니다.");
}
});
}
function set_bbs(){
var frm = document.menuForm;
var data = new FormData(frm);
$.ajax({
type: "POST",
url: "/sym/mnu/mcm/MenuBbsSelectAjax.do",
data: data,
dataType:'json',
processData: false,
contentType: false,
cache: false,
timeout: 600000,
success: function (returnData, status) {
if(status == 'success'){
for(var i = 0 ; i < returnData.boardMasterList.length ; i++){
add_line(returnData.boardMasterList[i]);
}
}else{
alert("등록에 실패하였습니다.");
}
},
error: function (e) {
console.log("ERROR : ", e);
alert("등록에 실패하였습니다.");
}
});
}
function fncGoClose() {
self.close();
}
function addSbmtPerson(pram, type){
if (parentId==''){
alert("결재자를 선택해주세요.");
return;
}
if (parentId=='0'){
alert("소속인원만 추가 가능합니다.");
return;
}
if(type == 'sbmt'){
$('#sbmtPerson'+pram).text(selectedNm);
$('#crtAprvlId'+pram).val(selectedId);
}else{
$('#confront'+pram).text(selectedNm);
$('#sbsttSbmtId'+pram).val(selectedId);
}
}
//결재요청
function fn_save_aprvl() {
//결재자 ID 체크
var smbtForm = document.smbtForm;
if(""==smbtForm.crtAprvlId1.value
|| ""==smbtForm.crtAprvlId2.value
){
alert("결재자는 필수 값입니다"); return;
}
if(!confirm("저장하시겠습니까?")) return;
var url = "";
url = "<c:url value='/kccadr/adjCourtAprvl/popup/aprvlReqAjax.do'/>";
var params = $(smbtForm).serialize();
$.ajax({
type:"POST",
"url":url,
data:params,
dataType:'json',
success : function(returnData, status) {
if (returnData.status == "success") {
alert("결재요청 완료되었습니다.");
window.opener.parent.location.reload();
fncGoClose();
}else{
alert("ERROR");
}
},
error : function(request , status, error) {
alert("결재요청 실패되었습니다.");
},
complete : function () {
$("#kccadr_sbmt").jstree("refresh");
}
});
}
function setSbmtPerson(pram){
$('#sbmtPerson1').text(pram.userNm1);
$('#sbmtId1').val(pram.sbmtId1);
$('#sbmtPerson2').text(pram.userNm2);
$('#sbmtId2').val(pram.sbmtId2);
$('#sbmtPerson3').text(pram.userNm3);
$('#sbmtId3').val(pram.sbmtId3);
}
</script>
<title>법원연계 접수 결재 요청</title>
</head>
<body>
<form id="smbtForm" name="smbtForm" action="">
<input type="hidden" name="authorCode" id="authorCode" value="ROLE_ADMIN"/>
<input type="hidden" name="crtAprvlId1" id="crtAprvlId1" value=""/>
<input type="hidden" name="crtAprvlId2" id="crtAprvlId2" value="${adjCourtaprvlVO.esntlId}"/>
<input type="hidden" name="sbsttSbmtId1" id="sbsttSbmtId1" value=""/>
<input type="hidden" name="sbsttSbmtId2" id="sbsttSbmtId2" value="${adjCourtaprvlVO.esntlId}"/>
<!-- 결재선의 기본코드값(공통코드)은 000000 -->
<input type="hidden" name="crtSeq" id="crtSeq" value="<c:out value="${adjCourtaprvlVO.crtSeq}" />"/>
<input type="hidden" name="crtStatCd" id="crtStatCd" value="<c:out value="${adjCourtaprvlVO.crtStatCd}" />"/>
<input type="hidden" name="sbmtLineNm" id="sbmtLineNm" value="default"/>
<input type="hidden" name="crtAprvlCnt" id="crtAprvlCnt" value="2"/>
</form>
<div class="area_popup">
<div class="cont_popup">
<div class="menu_select">
<select name="authorCodeSelect" id="authorCodeSelect" class="select" title="검색조건선택">
<option value="CC401">직급별</option>
<option value="CC402">부서별</option>
</select>
</div>
<div class="menu_wrap appreq_menu_wrap">
<div class="menu_area">
<div class="btn_wrap">
<button type="button" class="btnType02 all_open" onclick="$('#kccadr_sbmt').jstree('open_all' );">모두열기</button>
<button type="button" class="btnType03 all_close" onclick="$('#kccadr_sbmt').jstree('close_node' , $('#0') );">모두닫기</button>
</div>
<div class="menu_list" id="kccadr_sbmt" class="jstree_orgChart"></div>
</div>
<div class="menu_detail">
<ul class="appreq_list">
<li>
<div class="title">담당자</div>
<div class="appreq_box">
<div class="add_box">
<button type="button" class="btnType08" onclick="addSbmtPerson('1', 'sbmt');">추가</button>
</div>
<div class="list_box">
<dl>
<dt>결재자</dt>
<dd>
<span id="sbmtPerson1"></span>
</dd>
</dl>
</div>
</div>
</li>
<li id="appreq_box_3">
<div class="title">총괄조정위원</div>
<div class="appreq_box">
<div class="add_box">
<!-- <button type="button" class="btnType08" onclick="addSbmtPerson('3', 'sbmt');">추가</button> -->
</div>
<div class="list_box">
<dl>
<dt>결재자</dt>
<dd>
<span id="sbmtPerson2">${adjCourtaprvlVO.crtDeptKng}</span>
</dd>
</dl>
</div>
</div>
</li>
</ul>
</div>
</div>
<div class="btn_wrap btn_layout04">
<button type="button" class="btnType06" onclick="fn_save_aprvl();">결재요청</button>
<button type="button" class="btnType03" onclick="fncGoClose();">닫기</button>
</div>
</div>
</div>
</body>
</html>

View File

@ -1,896 +0,0 @@
<!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="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="<c:url value='/'/>css/jstree/themes/default/style.min.css" rel="stylesheet" type="text/css">
<style>
.jstree_orgChart {
overflow: auto;
border: 1px solid silver;
min-height: 100px;
width: 290px;
}
</style>
<script src="<c:url value='/js/jquery-1.12.4.min.js' />"></script>
<script src="<c:url value='/js/jstree.min.js' />"></script>
<script src="<c:url value='/js/EgovCmmUtl.js' />"></script>
<script type="text/javascript">
/*********************************
* jstree
*********************************
*/
var newNodeId = "";
var selectedNm = ""; //선택된 이름
var selectedId = ""; //선택된 id pk
var parentId = ""; //선택된 parentId
function jstreeInit() {
$('#kccadr_sbmt').jstree({
"core" : {
"animation" : 0,
"multiple" : false,
"check_callback" : true,
"themes" : { "stripes" : true },
"data" : {
"url" : "<c:url value='/kccadr/adjReqMgOff/adjReqMgrOffAppReqPopAjax.do'/>",
"dataType" : "json",
"data" : function (node) {
return {
'id' : $("#authorCodeSelect option:selected").val() //node.id
, 'authorCode' : $('#authorCode').val()
};
}
}
},
"types" : {
"#" : {
"max_depth" : 5,
"valid_children" : ["root"]
},
"root" : {
"icon" : "glyphicon glyphicon-flash",
"valid_children" : ["default"]
},
"default" : {
"valid_children" : ["default","file"]
},
"file" : {
"icon" : "jstree-file",
"valid_children" : []
}
}
})
.bind('loaded.jstree', function(e, data) {
$('#kccadr_sbmt').jstree('open_node' , $('#0') );
})
.on('select_node.jstree', function (e, data) {
if(!$('.organ_rightbox').is(":visible")){
$(".organ_rightbox").show();
}
/* 메뉴 선택 */
var menuNo = data.node.id;
var upperMenuId = data.node.parent;
//하위 메뉴가 있으면 메뉴코드 변경못하게
if(data.node.children.length > 0){
$('#menuNo').attr("readonly",true);
$('#existChildNode').val("Y");
}else{
$('#menuNo').attr("readonly",false);
$('#existChildNode').val("N");
}
/* 메뉴 선택 */
var menuNo = data.node.id;
//메뉴 추가시 자동 선택되게
if(newNodeId !=""){
menuNo = newNodeId ;
newNodeId = "";
$('#'+data.instance.get_node(menuNo).a_attr.id).trigger("click") //클릭 이벤트 발생
}
$("#menuTopNm").text(data.node.text);
selectedNm = data.node.text;
selectedId = menuNo;
parentId = upperMenuId;
})
.on('rename_node.jstree', function (e, data) { //메뉴명 변경
var nodeId = data.node.id;
var oldText = data.old;
var newText = data.text;
if (nodeId > 0) {
/* 부서명 변경 */
if (oldText != newText) {
if (confirm("메뉴명을 변경하시겠습니까?" )) {
$.ajax({
type:"POST",
url:"<c:url value='/sym/mnu/mcm/EgovMenuInfoNmUpdateAjax.do' />",
data:{ "menuNo" : nodeId, "menuNm" : newText },
dataType:'json',
success : function(returnData, status) {
if (status == "success") {
alert("메뉴명이 변경되었습니다.");
} else { alert("ERROR"); }
},
error : function(request , status, error) {
alert("메뉴명이 변경이 실패되었습니다.");
},
complete : function () {
data.instance.refresh();
deleteLodingBar();
}
});
} else {
data.instance.refresh();
}
}
} else {/* 메뉴 추가 */
}
})
.on('delete_node.jstree', function (e, data) {
/* 메뉴 삭제 */
if(data.node.children.length != 0){
alert("하위 메뉴를 먼저 삭제 후 메뉴를 삭제해 주세요.");
data.instance.refresh();
}else{
if (confirm("[" + data.node.text + "]" + " 메뉴를 삭제하시겠습니까?")){
$.ajax({
type:"POST",
url:"<c:url value='/sym/mnu/mcm/EgovMenuInfoDeleteAjax.do' />",
data:{ "menuNo" : data.node.id , "authorCode" : $('#authorCode').val() },
dataType:'json',
//timeout:(1000*30),
success : function(returnData, status) {
if (status == "success") {
alert("메뉴 정보가 삭제되었습니다.");
fn_init_menuInfo();
} else { alert("ERROR"); }
},
error : function(request , status, error) {
alert("메뉴 정보 삭제가 실패되었습니다.");
//alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
},
complete : function () {
data.instance.refresh();
deleteLodingBar();
}
});
} else {
data.instance.refresh();
}
}
})
.on('create_node.jstree', function(e, data) {
if (confirm("메뉴를 추가하시겠습니까?")){
var instance = data.instance;
var menuNm = data.text;
var upperMenuId = data.node.parent;
var menuOrdr = 1;
var childrenNodes = instance.get_node(upperMenuId).children;
// 하위 메뉴 있을 시 마지막 부서 sort_ord + 1
if (childrenNodes.length > 1) {
//var lastChildrenNode = instance.get_node(childrenNodes[childrenNodes.length - 2]);
//sortOrd = lastChildrenNode.li_attr.sortOrd + 1;
menuOrdr = childrenNodes.length ;
}
$.ajax({
type:"POST",
url:"<c:url value='/sym/mnu/mcm/EgovMenuInfoInsertAjax.do' />",
data:{ "menuNm" : menuNm, "upperMenuId" : upperMenuId, "menuOrdr" : menuOrdr , "authorCode" : $('#authorCode').val() },
dataType:'json',
//timeout:(1000*30),
success : function(returnData, status) {
if (returnData.status == "success") {
alert("메뉴가 추가 되었습니다.");
//fn_select_menuNo(returnData.menuManageVO, returnData.menuManageVO.menuUserType);
newNodeId = returnData.menuManageVO.menuNo ;
}else if(returnData.status == "dupl"){
alert("중복된 아이디가 있습니다.\n 중복된 아이디변경/삭제후 다시 추가해 주세요\n"+ "("+returnData.menuManageResultVO.menuCours+")");
}else{
alert("메뉴 추가가 실패하였습니다.");
}
},
error : function(request , status, error) {
alert("메뉴 추가가 실패되었습니다.")
},
complete : function () {
data.instance.refresh();
deleteLodingBar();
}
});
}else{
data.instance.refresh();
}
})
.on('move_node.jstree', function (e, data) {
/* 메뉴 위치 변경 */
var instance = data.instance;
var menuNo = data.node.id;
var childrenNodes = instance.get_node(menuNo).children;
if (confirm("메뉴 위치를 변경하시겠습니까?" )){
//var partIdx = data.node.id;
var upperMenuId = data.parent;
var menuOrdr = data.position + 1;
var sortOver = "A" ;
$.ajax({
type:"POST",
url:"<c:url value='/sym/mnu/mcm/EgovMenuInfoMoveAjax.do' />",
data:{ "menuNo" : menuNo, "upperMenuId" : upperMenuId, "menuOrdr" : menuOrdr , "authorCode" : $('#authorCode').val()},
dataType:'json',
success : function(returnData, status) {
if (status == "success") {
alert("메뉴 위치가 변경되었습니다.");
} else { alert("ERROR"); }
},
error : function(request , status, error) {
alert("메뉴 위치 변경이 실패되었습니다.");
},
complete : function () {
data.instance.refresh();
deleteLodingBar();
}
});
} else {
data.instance.refresh();
}
})
.on("refresh.jstree", function (e,data) {
//alert("refresh.jstree");
$('#kccadr_sbmt').jstree('open_all' );
})
;
}
$( document ).ready(function() {
$('#authorCodeSelect').on('change',function(){
$("#kccadr_sbmt").jstree("refresh");
});
jstreeInit();
});
//직원 상세 초기화
function fn_add_emp() {
var partIdx =$("#selectPartIdx").val();
var upperIdxs = $("#selectPartParents").val();
// 직원 상세 초기화
document.empInfForm.reset();
$("#empFormTitle").text("메뉴 추가등록 상세");
$("input[name='paIdx']").val("");
fn_set_emp_part(partIdx, upperIdxs);
}
//메뉴 정보 세팅
function fn_select_menuNo(menuManageVO, menuUserTypeList){
var tmpHtml = "";
if(menuManageVO!=null){
$('#menuNo').val(menuManageVO.menuNo);
$('#tmp_Id').val(menuManageVO.menuNo);
$('#menuCours').text(menuManageVO.menuCours);
$('#menuOrdr').val(menuManageVO.menuOrdr);
$('#menuNm').val(menuManageVO.menuNm);
$('#menuDc').val(menuManageVO.menuDc);
$('#upperMenuIdText').text(menuManageVO.upperMenuId);
$('#upperMenuId').val(menuManageVO.upperMenuId);
$('#progrmFileNm').val(menuManageVO.progrmFileNm);
$('#tmp_Name').val(menuManageVO.progrmFileNm);
$('#relateImageNm').val(menuManageVO.relateImageNm);
$('#relateImagePath').val(menuManageVO.relateImagePath);
$('#userType').val(menuManageVO.userType);
$('#url').val(menuManageVO.url);
$('#useYn').val(menuManageVO.useYn);
$('#satisYn').val(menuManageVO.satisYn);
$('.menu_detail_tit span').html(menuManageVO.menuNm+' - 메뉴 권한 목록');
if(""!=menuManageVO.emplyrId) $('#emplyrId').val(menuManageVO.emplyrId); //담당자 세팅
if(""!=menuManageVO.emplyrIdTxt) $('#emplyrIdTxt').val(menuManageVO.emplyrIdTxt); //담당자 세팅
if(menuManageVO.satisYn == null){
$('#satisYn').val('N')
}
$("#menuTopNm").text( menuManageVO.menuNm );
$("#progrmHtmlFileId").val( menuManageVO.progrmHtmlFileId );
$("#progrmBbsId").val(menuManageVO.progrmBbsId);
$('#progrmFileNm_tmp').val(menuManageVO.progrmFileNm);
var menuType = menuManageVO.menuType ;
if(menuType == "M"){
$("#satisTr").css("display", "none");
}else{
$("#satisTr").css("display", "");
}
if(menuManageVO.progrmFileNm == 'dir' || menuType == 'M'){
$("#menuType").val("M"); //메뉴로 세팅
$('#progrmFileNm').attr("readonly", true);
$('#progrmFileNm_tmp').val("");
$('#url_tmp').val("");
}else{
$("#menuType").val(menuType);
//$('#progrmFileNm').attr("readonly", false);
$('#url_tmp').val(menuManageVO.url);
}
//메뉴타입 설정
initShowUrl('Y');
$('#url').val(menuManageVO.url);
$(".main1_delete_btn").removeAttr("onclick");
$(".main1_delete_btn").attr("onclick", "fn_delete_menuInfo('"+menuManageVO.menuNo+"' , '"+menuManageVO.progrmFileNm+"' );return false;");
$(".main1_save_btn").removeAttr("onclick");
$(".main1_save_btn").attr("onclick", "fn_save_menuInfo('"+menuManageVO.menuNo+"');return false;");
$('.tr_item').remove();
if( ( "P" == $('#menuType').val() || "C" == $('#menuType').val()) && "ROLE_ANONYMOUS"==$('#authorCode').val() ){ //추가 게시판 조회(프로그램/사용자 화면만 조회)
$('#tr_add_bbs').show();
set_bbs();
}else{
$('#tr_add_bbs').hide();
}
$('#htmlComfirm').hide();
if(""!=menuManageVO.progrmHtmlFileId){
$('#htmlComfirm').show();
$('#a_contentLink').attr("onclick" , "htmlComfirm('"+menuManageVO.progrmHtmlFileId+"');")
}
}
}
//메뉴 정보 삭제
function fn_delete_menuInfo(menuNo , progrmFileNm ) {
if(menuNo == null || "undefined"== menuNo){
alert("삭제 하려는 메뉴를 먼저 선택해주세요.");
return ;
}
var instance = $('#kccadr_sbmt').jstree(true);
if(instance.get_node(menuNo).children.length != 0){
alert("하위 메뉴를 먼저 삭제 후 메뉴를 삭제해 주세요.");
return;
}
if (confirm("메뉴를 삭제 하시겠습니까?")){
$.ajax({
type:"POST",
"url" : "<c:url value='/sym/mnu/mcm/EgovMenuInfoDeleteAjax.do'/>",
data:{ "menuNo" : menuNo , "progrmFileNm" : progrmFileNm , "authorCode" : $('#authorCode').val() },
dataType:'json',
//timeout:(1000*30),
success : function(returnData, status) {
if (returnData.status == "success") {
// 직원 목록 갱신
var instance = $('#kccadr_sbmt').jstree(true);
//$("#" + instance.get_node(partIdx).a_attr.id).trigger("click");
alert("메뉴 정보가 삭제 되었습니다.");
$("#kccadr_sbmt").jstree("refresh");
fn_init_menuInfo();
} else if(returnData.status == "duplPk"){
alert("삭제하려는 메뉴를 참조하고 있는 메뉴가 있습니다.\n 참조하는 메뉴를 삭제후 다시 시도해 주세요\n"+ "("+returnData.menuManageResultVO.menuCours+")");
}
else {
alert("메뉴 삭제가 실패되었습니다.");
}
},
error : function(request , status, error) {
alert("메뉴 삭제가 실패되었습니다..");
},
complete : function (){
deleteLodingBar();
}
});
}
}
//메뉴정보 init(메뉴 초기화)
function fn_init_menuInfo() {
$("#menuTopNm").text("메뉴선택");
$("#menuForm input[type=text]").val("")
$('#menuCours').text("");
$('#upperMenuIdText').text("");
/* $('#progrmFileNmText').text(""); */
}
//메뉴 초기화
function jstreeRefresh() {
var searchForm = document.searchForm ;
searchForm.authorCode.value = $('#authorCode').val();
searchForm.submit();
}
//메뉴 초기화
function initShowUrl(init){
var menuType = $("#menuType option:selected").val();
$("#url").val("");
$("#showUrl").hide();
$("#btnContent").hide();
$("#btnBBS").hide();
$('#htmlComfirm').hide();
$('#BBSNameSpan').text("");
if("M" == menuType){ //메뉴
$("#progrmFileNm").val("dir");
$("#url").val("");
$('#progrmFileNm').attr("readonly", true);
}else{
$("#progrmFileNm").val($("#progrmFileNm_tmp").val());
$("#url").val($("#url_tmp").val());
if("P" == menuType){ //프로그램
$('#progrmFileNm').attr("readonly", false);
$("#url").attr("readonly", false);
}else if("C" == menuType ){ //컨텐츠
$('#progrmFileNm').attr("readonly", false);
$("#url").attr("readonly", false);
}else if("B" == menuType){ //게시판
$('#progrmFileNm').attr("readonly", false);
$("#url").attr("readonly", false);
}else if("O" == menuType){ //게시판
$('#progrmFileNm').attr("readonly", false);
$("#url").attr("readonly", false);
}
if(init=='N'){
var instance = $('#kccadr_sbmt').jstree(true);
if($('#kccadr_sbmt').jstree('get_selected')[0] != null){
if(instance.get_node($('#kccadr_sbmt').jstree('get_selected')[0]).children.length != 0){
alert("하위 메뉴가 있을경우는 다른타입으로 변경할수 없습니다.");
return;
}
}
}
$("#showUrl").show();
if("C" == menuType){
$("#btnContent").show();
$("#url").attr("readonly", false);
}else if("B" == menuType){
$("#btnBBS").show();
$("#url").attr("readonly", false);
}
}
}
var docWidth = screen.availWidth;
var docHeight = screen.availHeight;
var scX = window.screenX||window.screenLeft||0;
var scY = window.screenY||window.screenTop||0;
/* ********************************************************
* 게시판목록조회 함수
******************************************************** */
function searchBBSId(obj) {
var popupX = scX + (docWidth - 185) / 2;
var popupY = scY + (docHeight - 195) / 2;
memuPopup = window.open('', 'memuPopup', "width=800, height=730, left="+popupX+", top="+popupY, "location = no","status= no","toolbars= no");
document.searchForm.method = "post";
if("menuAdd"==$(obj).attr('id')){ //추가게시판 버튼 클릭시
document.searchForm.seCd.value = $(obj).attr('id');
document.searchForm.searchNm.value = $(obj).attr('value');
}
document.searchForm.action = "/cop/bbs/EgovBBSIdListSearch.do";
document.searchForm.target = "memuPopup" ;
document.searchForm.submit();
document.searchForm.target = "_self" ;
document.searchForm.action= "/sym/mnu/mcm/EgovMenuCreatSelectJtree.do";
}
/* ********************************************************
* 화면컨텐츠ID 검색 팝업
******************************************************** */
var memuPopup ="";
function searchContentList() {
var popupX = scX + (docWidth - 185) / 2;
var popupY = scY + (docHeight - 195) / 2;
memuPopup = window.open('', 'memuPopup', "width=800, height=730, left="+popupX+", top="+popupY, "location = no","status= no","toolbars= no");
document.searchForm.method = "post";
document.searchForm.action = "/uss/ion/cnt/contentListPopup.do";
document.searchForm.target = "memuPopup" ;
document.searchForm.submit();
document.searchForm.target = "_self" ;
document.searchForm.action= "/sym/mnu/mcm/EgovMenuCreatSelectJtree.do";
}
/* ********************************************************
* 사용자 메뉴 담당자 조회 함수
******************************************************** */
function searchManageMenuList() {
var popupX = scX + (docWidth - 185) / 2;
var popupY = scY + (docHeight - 195) / 2;
memuPopup = window.open('', 'memuPopup', "width=800, height=730, left="+popupX+", top="+popupY, "location = no","status= no","toolbars= no");
document.searchForm.method = "post";
document.searchForm.action = "/uss/umt/user/EgovUserManageMenuAjax.do";
document.searchForm.target = "memuPopup" ;
document.searchForm.submit();
document.searchForm.target = "_self" ;
document.searchForm.action= "/sym/mnu/mcm/EgovMenuCreatSelectJtree.do";
}
function onkeyContentName(event){
var tempContentUrl = "/web/content.do?proFn=" ;
if($("#menuType option:selected").val()=="C"){
$("#url").val(tempContentUrl + $("#progrmFileNm").val()) ;
}
}
//행추가
function add_line(bbsInfo){
var eva_temp_tr = $('#temp_tr').clone();
$('#tbl_bbsId').append(eva_temp_tr);
eva_temp_tr.attr('id' , 'tr_bbs').attr('class' , 'tr_item');
{ //변수 변경
var tr_item_length = $('.tr_item').size()-1 ;
eva_temp_tr.find("#temp_bbsTxt").attr('name', eva_temp_tr.find("#temp_bbsTxt").attr('name').replace('[]' , '['+tr_item_length+']' )) ;
eva_temp_tr.find("#temp_bbsTxt").attr('id' , 'bbsTxt_'+tr_item_length) ;
eva_temp_tr.find("#temp_bbsIds").attr('name', eva_temp_tr.find("#temp_bbsIds").attr('name').replace('[]' , '['+tr_item_length+']' )) ;
eva_temp_tr.find("#temp_bbsIds").attr('id' , 'menuAdd_'+tr_item_length) ;
eva_temp_tr.find("#temp_bbsSorts").attr('name' , eva_temp_tr.find("#temp_bbsSorts").attr('name').replace('[]' , '['+tr_item_length+']' ) ) ;
eva_temp_tr.find("#temp_bbsSorts").attr('id' , 'bbsSorts_'+tr_item_length) ;
eva_temp_tr.find("#menuAdd").attr('value' , 'menuAdd_'+tr_item_length ) ;
}
if(null != bbsInfo){
$('#bbsTxt_'+tr_item_length).val(bbsInfo.bbsNm);
$('#bbsSorts_'+tr_item_length).val(bbsInfo.bbsSort);
$('#menuAdd_'+tr_item_length).val(bbsInfo.bbsId);
}
}
//삭제시 배열 초기화
var arrCd = [];
function set_count(){ //tr 세팅
$('.tr_item').each(function(index, item){
$(this).find('input[name^=bbsTxt]').attr('name', 'bbsTxt['+index+']' ).attr('id' , 'bbsTxt_'+index ) ;
$(this).find('input[name^=bbsSorts]').attr('name', 'bbsSorts['+index+']' );
$(this).find('input[name^=bbsIds]').attr('name', 'bbsIds['+index+']' ).attr('id' , 'menuAdd_'+index ) ;
$(this).find('#menuAdd').attr('value' , 'menuAdd_'+index) ;
});
}
var arrDel = []; //1차배열
function delete_line(obj){
$(obj).parent().parent().remove();
set_count();
}
function save_line() {
/* if(0== $('.tr_item').size()){
alert("선택된 게시판이 없습니다.");
return;
} */
//빈 게시판 방지
var blank_tr = false;
var blank_sort = false;
$('.tr_item').each(function() {
if(""==$(this).find('input[name^=bbsTxt]').val()){
blank_tr = true;
}
if(""==$(this).find('input[name^=bbsSort]').val()){
blank_sort = true;
}
});
if(blank_tr) {
alert("비어 있는 게시판이 있습니다.");
return false;
}
if(blank_sort) {
alert("게시판 순서를 넣어주세요.");
return false;
}
var save_line_return = false;
var frm = document.menuForm;
var data = new FormData(frm);
$.ajax({
type: "POST",
url: "/sym/mnu/mcm/MenuBbsInsertAjax.do",
data: data,
dataType:'json',
processData: false,
contentType: false,
async: false,
cache: false,
timeout: 600000,
success: function (returnData, status) {
if(status == 'success'){
if(returnData.status == 'fail'){
alert("게시판 등록 실패하였습니다.");
}else if(returnData.status == 'auth_fail'){
alert("세션이 종료되었습니다.");
}else if(returnData.status =='success'){
//alert("등록되었습니다.");
save_line_return = true;
}
}else{
alert("등록에 실패하였습니다.");
return false;
}
},
error: function (e) {
console.log("ERROR : ", e);
alert("등록에 실패하였습니다.");
}
});
return save_line_return;
}
function htmlComfirm(progrmHtmlFileId) {
$.ajax({
type: "POST",
url: "/sym/mnu/mcm/HtmlComfirmAjax.do",
data:{
"cntId": progrmHtmlFileId
},
dataType:'json',
timeout: 600000,
success: function (returnData, status) {
if(status == 'success'){
console.log("sdfsdf");
window.open("/uss/ion/cnt/cntManageInsert.do?cntId="+returnData.cntManageVO.cntId+"&cntDtId="+returnData.cntManageVO.cntDtId);
}else{
//alert("등록에 실패하였습니다.");
return false;
}
},
error: function (e) {
console.log("ERROR : ", e);
alert("등록에 실패하였습니다.");
}
});
}
function set_bbs(){
var frm = document.menuForm;
var data = new FormData(frm);
$.ajax({
type: "POST",
url: "/sym/mnu/mcm/MenuBbsSelectAjax.do",
data: data,
dataType:'json',
processData: false,
contentType: false,
cache: false,
timeout: 600000,
success: function (returnData, status) {
if(status == 'success'){
for(var i = 0 ; i < returnData.boardMasterList.length ; i++){
add_line(returnData.boardMasterList[i]);
}
}else{
alert("등록에 실패하였습니다.");
}
},
error: function (e) {
console.log("ERROR : ", e);
alert("등록에 실패하였습니다.");
}
});
}
function fncGoClose() {
self.close();
}
function addSbmtPerson(pram, type){
if (parentId==''){
alert("결재자를 선택해주세요.");
return;
}
if (parentId=='0'){
alert("소속인원만 추가 가능합니다.");
return;
}
if(type == 'sbmt'){
$('#sbmtPerson'+pram).text(selectedNm);
$('#crtAprvlId'+pram).val(selectedId);
}else{
$('#confront'+pram).text(selectedNm);
$('#sbsttSbmtId'+pram).val(selectedId);
}
}
//결재요청
function fn_save_aprvl() {
//결재자 ID 체크
var smbtForm = document.smbtForm;
if(""==smbtForm.crtAprvlId1.value
|| ""==smbtForm.crtAprvlId2.value
){
alert("결재자는 필수 값입니다"); return;
}
if(!confirm("저장하시겠습니까?")) return;
var url = "";
url = "<c:url value='/kccadr/adjCourtAprvl/popup/aprvlReqAjax.do'/>";
var params = $(smbtForm).serialize();
$.ajax({
type:"POST",
"url":url,
data:params,
dataType:'json',
success : function(returnData, status) {
if (returnData.status == "success") {
alert("결재요청 완료되었습니다.");
window.opener.parent.location.reload();
fncGoClose();
}else{
alert("ERROR");
}
},
error : function(request , status, error) {
alert("결재요청 실패되었습니다.");
},
complete : function () {
$("#kccadr_sbmt").jstree("refresh");
}
});
}
function setSbmtPerson(pram){
$('#sbmtPerson1').text(pram.userNm1);
$('#sbmtId1').val(pram.sbmtId1);
$('#sbmtPerson2').text(pram.userNm2);
$('#sbmtId2').val(pram.sbmtId2);
$('#sbmtPerson3').text(pram.userNm3);
$('#sbmtId3').val(pram.sbmtId3);
}
</script>
<title>법원연계 접수 결재 요청</title>
</head>
<body>
<form id="smbtForm" name="smbtForm" action="">
<input type="hidden" name="authorCode" id="authorCode" value="ROLE_ADMIN"/>
<input type="hidden" name="crtAprvlId1" id="crtAprvlId1" value=""/>
<input type="hidden" name="crtAprvlId2" id="crtAprvlId2" value=""/>
<input type="hidden" name="crtAprvlId3" id="crtAprvlId3" value="${adjCourtaprvlVO.esntlId}"/>
<input type="hidden" name="sbsttSbmtId1" id="sbsttSbmtId1" value=""/>
<input type="hidden" name="sbsttSbmtId2" id="sbsttSbmtId2" value=""/>
<input type="hidden" name="sbsttSbmtId3" id="sbsttSbmtId3" value="${adjCourtaprvlVO.esntlId}"/>
<!-- 결재선의 기본코드값(공통코드)은 000000 -->
<input type="hidden" name="crtSeq" id="crtSeq" value="<c:out value="${adjCourtaprvlVO.crtSeq}" />"/>
<input type="hidden" name="crtStatCd" id="crtStatCd" value="<c:out value="${adjCourtaprvlVO.crtStatCd}" />"/>
<input type="hidden" name="sbmtLineNm" id="sbmtLineNm" value="default"/>
<input type="hidden" name="crtAprvlCnt" id="crtAprvlCnt" value="3"/>
</form>
<div class="area_popup">
<div class="cont_popup">
<div class="menu_select">
<select name="authorCodeSelect" id="authorCodeSelect" class="select" title="검색조건선택">
<option value="CC401">직급별</option>
<option value="CC402">부서별</option>
</select>
</div>
<div class="menu_wrap appreq_menu_wrap">
<div class="menu_area">
<div class="btn_wrap">
<button type="button" class="btnType02 all_open" onclick="$('#kccadr_sbmt').jstree('open_all' );">모두열기</button>
<button type="button" class="btnType03 all_close" onclick="$('#kccadr_sbmt').jstree('close_node' , $('#0') );">모두닫기</button>
</div>
<div class="menu_list" id="kccadr_sbmt" class="jstree_orgChart"></div>
</div>
<div class="menu_detail">
<ul class="appreq_list">
<li>
<div class="title">담당자</div>
<div class="appreq_box">
<div class="add_box">
<button type="button" class="btnType08" onclick="addSbmtPerson('1', 'sbmt');">추가</button>
</div>
<div class="list_box">
<dl>
<dt>결재자</dt>
<dd>
<span id="sbmtPerson1"></span>
</dd>
</dl>
</div>
</div>
</li>
<li>
<div class="title">팀장</div>
<div class="appreq_box">
<div class="add_box">
<button type="button" class="btnType08" onclick="addSbmtPerson('2', 'sbmt');">추가</button>
</div>
<div class="list_box">
<dl>
<dt>결재자</dt>
<dd>
<span id="sbmtPerson2"></span>
</dd>
</dl>
</div>
</div>
</li>
<li id="appreq_box_3">
<div class="title">총괄조정위원</div>
<div class="appreq_box">
<div class="add_box">
<!-- <button type="button" class="btnType08" onclick="addSbmtPerson('3', 'sbmt');">추가</button> -->
</div>
<div class="list_box">
<dl>
<dt>결재자</dt>
<dd>
<span id="sbmtPerson3">${adjCourtaprvlVO.crtDeptKng}</span>
</dd>
</dl>
</div>
</div>
</li>
</ul>
</div>
</div>
<div class="btn_wrap btn_layout04">
<button type="button" class="btnType06" onclick="fn_save_aprvl();">결재요청</button>
<button type="button" class="btnType03" onclick="fncGoClose();">닫기</button>
</div>
</div>
</div>
</body>
</html>

View File

@ -1,184 +0,0 @@
<%@ 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="ckeditor" uri="http://ckeditor.com"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="content-language" content="ko">
<script type="text/javascript">
function fnModify(){
CKEDITOR.instances.csCn.updateElement();
var data = new FormData(document.adjCsVO);
$.ajax({
type: "POST",
url: "/kccadr/adjCs/adjCsModifyAjax.do",
data: data,
dataType:'json',
async: false,
processData: false,
contentType: false,
cache: false,
success: function (returnData, status) {
console.log(returnData.result);
if(returnData.result == 'SUCCESS'){
alert("저장되었습니다.");
goList();
}else{
alert(returnData.message);
}
},
error: function (e) { alert("요청에 실패하였습니다."); console.log("ERROR : ", e); }
});
}
function fnDelete(){
var confirmYn = confirm('삭제하시겠습니까?');
if(confirmYn){
var data = new FormData(document.adjCsDel);
$.ajax({
type: "POST",
url: "/kccadr/adjCs/adjCsModifyAjax.do",
data: data,
dataType:'json',
async: false,
processData: false,
contentType: false,
cache: false,
success: function (returnData, status) {
console.log(returnData.result);
if(returnData.result == 'SUCCESS'){
alert("삭제되었습니다.");
goList();
}else{
alert(returnData.message);
}
},
error: function (e) { alert("요청에 실패하였습니다."); console.log("ERROR : ", e); }
});
}
}
function goList() {
document.adjCsVO.action = "<c:url value='/kccadr/adjCs/adjCsList.do'/>";
document.adjCsVO.submit();
}
</script>
<title>용어해설 상세</title>
</head>
<body>
<form id="adjCsDel" name="adjCsDel" method="post">
<input type="hidden" id="csSeq" name="csSeq" value="<c:out value='${adjCsVO.csSeq}'/>"/>
<input type="hidden" id="useYn" name="useYn" value="N"/>
</form>
<form id="adjCsVO" name="adjCsVO" method="post">
<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>"/>
<input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>"/>
<input type="hidden" name="searchCondition" value="<c:out value='${searchVO.searchCondition}'/>"/>
<input type="hidden" id="csSeq" name="csSeq" value="<c:out value='${adjCsVO.csSeq}'/>"/>
<!-- 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">
<!-- list_상세 -->
<div class="tbType02">
<table>
<colgroup>
<col style="width: 20%">
<col style="width: 80%">
</colgroup>
<tbody>
<tr>
<th class="req_text">
<p>조정사례명</p>
</th>
<td colspan="3">
<input type="text" id="glssrSubject" name="glssrSubject" value="<c:out value='${adjCsVO.csSubject}'/>" style="width:250px;"/>
</td>
</tr>
<tr>
<th class="req_text">
<p>분류</p>
</th>
<td colspan="3">
<select id="csCategory" name="csCategory">
<c:forEach items="${cmmCode}" var="item">
<option value="${item.code }" <c:if test="${adjCsVO.csCategory eq item.code }">selected="selected"</c:if> >${item.codeNm }</option>
</c:forEach>
</select>
</td>
</tr>
<tr>
<th class="req_text">
<p>조정사례 내용</p>
</th>
<td colspan="3">
<textarea id="csCn" name="csCn" cols="500" rows="20">
<c:out value="${adjCsVO.csCn}" escapeXml="false" />
</textarea>
<ckeditor:replace replace="csCn" basePath="${pageContext.request.contextPath}/html/egovframework/com/cmm/utl/ckeditor/" />
<form:errors path="csCn" />
<!-- <textarea id="glssrCn" name="glssrCn" row="300" cols="500" style="height: 322px;"> -->
<%-- <c:out value="${fn:replace(fn:replace(fn:replace(adjCsVO.csCn, crlt , '<'), crgt , '>'), crlf , '<br>')}" escapeXml="false"/> --%>
<%-- <c:out value="${fn:replace(fn:replace(adjCsVO.csCn, crlt , '<'), crgt , '>')}" escapeXml="false"/> --%>
<%-- <c:out value="${fn:replace(adjCsVO.csCn, crlt , '<')}" escapeXml="false"/> --%>
<!-- </textarea> -->
</td>
</tr>
</tbody>
</table>
</div>
<!-- //list_상세 -->
<!-- btn_wrap -->
<div class="btn_wrap btn_layout01">
<div class="area_left">
</div>
<div class="area_right">
<button class="btnType03" onclick="goList(); return false;">목 록</button>
<button class="btnType02" onclick="fnModify(); return false;">수 정</button>
<button class="btnType04" onclick="fnDelete(); return false;">삭 제</button>
</div>
</div>
<!-- //btn_wrap -->
</div>
</div>
</div>
</form>
<!-- //cont -->
</body>
</html>

View File

@ -1,176 +0,0 @@
<!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="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<%
/**
* @Class Name : GlossaryList.jsp
* @Description : 용어해설 리스트
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2023.11.3 이준호 최초 생성
* @author 이준호
* @since 2023.11.3
* @version 1.0
* @see
*
*/
%>
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
</style>
<script type="text/javascript">
function fncGoList(){
linkPage(1);
}
function linkPage(pageNo){
var listForm = document.listForm ;
listForm.pageIndex.value = pageNo ;
listForm.searchCondition.value = $('#searchCondition').val();
listForm.searchKeyword.value = $('#searchKeyword').val();
listForm.action = "<c:url value='/kccadr/adjCs/adjCsList.do'/>";
listForm.submit();
}
function fncGlossaryReg() {
location.href="/kccadr/adjCs/adjCsRegist.do";
}
function goDetail(csSeq){
var form = document.listForm;
form.csSeq.value = csSeq;
form.action="/kccadr/adjCs/adjCsDetail.do";
form.submit();
}
</script>
<title>조정사례 목록</title>
</head>
<body>
<form id="listForm" name="listForm" method="post">
<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}' default='1' />"/>
<input type="hidden" name="searchSortCnd" value="<c:out value="${searchVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${searchVO.searchSortOrd}" />" />
<input type="hidden" id="csSeq" name="csSeq" value=""/>
<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">
<!-- list_top -->
<div class="list_top">
<div class="list_util">
<div class="detail_search">
<ul>
<%-- <li><input type="checkbox" id="quickOnOff" ${조건식 ? 'checked' : ''}/>퀵메뉴 on/off</li> --%>
<li>
<p class="tit_text">구분</p>
<select name="searchCondition" id="searchCondition">
<option value="1" ${searchVO.searchCondition eq '1' ? 'selected' : '' }>사례명</option>
</select>
<input type="text" id="searchKeyword" name="searchKeyword" class="search_input" placeholder="검색어를 입력하세요" value="<c:out value='${searchVO.searchKeyword}'/>">
<button class="btn_search" onclick="fncGoList(); return false;">검색</button>
</li>
</ul>
</div>
</div>
</div>
<!-- //list_top -->
<!-- list -->
<div class="list tbType01">
<table>
<colgroup>
<col style="width: 10%">
<col style="width: 20%">
<col style="width: auto">
<col style="width: 30%">
</colgroup>
<thead>
<tr>
<th>번호<button class="sort btn_sort" id="sort_csSeq"></button></th>
<th>분류<button type="button" class="sort sortBtn" id="sort_csCategory"></button></th>
<th>사례명<button type="button" class="sort sortBtn" id="sort_csSubject"></button></th>
<!-- <th>등록자<button type="button" class="sort sortBtn" id="sort_frstRegisterId"></button></th> -->
<th>등록일자<button type="button" class="sort sortBtn" id="sort_frstRegistPnttm"></button></th>
</tr>
</thead>
<tbody>
<c:forEach var="list" items="${list}" varStatus="status">
<tr>
<td>
<c:if test="${searchVO.searchSortOrd eq 'desc' }">
<c:out value="${ ( paginationInfo.totalRecordCount - ((searchVO.pageIndex -1)*searchVO.pageUnit) ) - status.index }"/>
</c:if>
<c:if test="${searchVO.searchSortOrd eq 'asc' }">
<c:out value="${(searchVO.pageIndex - 1) * searchVO.pageUnit + status.count}"/>
</c:if>
</td>
<td onclick="javascript:goDetail('<c:out value="${list.csSeq}"/>');" style="cursor:pointer;">
<kc:code codeId="CC201" code="${list.csCategory}"/>
</td>
<td onclick="javascript:goDetail('<c:out value="${list.csSeq}"/>');" style="cursor:pointer;">
<c:out value="${list.csSubject}"/>
</td>
<%-- <td onclick="javascript:goDetail('<c:out value="${list.csSeq}"/>');" style="cursor:pointer;"> --%>
<%-- <c:out value="${list.frstRegisterId}"/> --%>
<!-- </td> -->
<td onclick="javascript:goDetail('<c:out value="${list.csSeq}"/>');" style="cursor:pointer;">
<c:out value="${list.frstRegistPnttm}"/>
</td>
</tr>
</c:forEach>
<c:if test="${empty list}">
<tr><td colspan="4"><spring:message code="common.nodata.msg" /></td></tr>
</c:if>
</tbody>
</table>
</div>
<!-- //list -->
<div class="btn_wrap btn_layout02">
<button class="btnType02" onclick="fncGlossaryReg(); return false;">등록</button>
</div>
<!-- page -->
<div class="page">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</div>
<!-- //page -->
</div>
</div>
</div>
<!-- //cont -->
</form>
</body>
</html>

View File

@ -1,166 +0,0 @@
<%@ 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="ckeditor" uri="http://ckeditor.com"%>
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="content-language" content="ko">
<script type="text/javascript">
$( document ).ready(function() {
});
function validation(){
if($('#csSubject').val() == ''){
alert('조정사례명을 입력해 주세요.');
return false;
}
if($('#csCn').val() == ''){
alert('내용을 입력해 주세요.');
return false;
}
return true;
}
function adjCsRegist() {
CKEDITOR.instances.csCn.updateElement();
var form = document.adjCsVO;
var data = new FormData(form);
var url = "<c:url value='/kccadr/adjCs/adjCsRegistAjax.do'/>";
if(!validation()){
return false;
}
if(!confirm("조정사례를 등록하시겠습니까?")) return false;
$.ajax({
type: "POST",
url: url,
data: data,
dataType:'json',
async: false,
processData: false,
contentType: false,
cache: false,
success: function (returnData, status) {
console.log(returnData.result);
if(returnData.result == 'SUCCESS'){
alert("등록되었습니다.");
goList();
}else{
alert(returnData.message);
}
},
error: function (e) { alert("요청에 실패하였습니다."); console.log("ERROR : ", e); }
});
}
function goList() {
document.adjCsVO.action = "<c:url value='/kccadr/adjCs/adjCsList.do'/>";
document.adjCsVO.submit();
}
</script>
<title>용어해설 등록</title>
</head>
<body>
<form id="adjCsVO" name="adjCsVO" method="post">
<input type="hidden" name="pageIndex" value="${searchVO.pageIndex}"/>
<input type="hidden" name="searchKeyword" value="${searchVO.searchKeyword}"/>
<input type="hidden" name="searchCondition" value="${searchVO.searchCondition}"/>
<!-- 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">
<!-- list_상세 -->
<div class="tbType02">
<table>
<colgroup>
<col style="width: 20%">
<col style="width: 80%">
</colgroup>
<tbody>
<tr>
<th class="req_text">
<p>조정사례 명</p>
</th>
<td colspan="3">
<input type="text" id="csSubject" name="csSubject" value="" style="width:250px;"/>
</td>
</tr>
<tr>
<th class="req_text">
<p>분류</p>
</th>
<td colspan="3">
<select id="csCategory" name="csCategory">
<c:forEach items="${cmmCode}" var="item">
<option value="${item.code }">${item.codeNm }</option>
</c:forEach>
</select>
</td>
</tr>
<tr>
<th class="req_text">
<p>내용</p>
</th>
<td colspan="3">
<!-- <textarea id="csCn" name="csCn" row="300" cols="500" style="height: 322px;"></textarea> -->
<textarea id="csCn" name="csCn" cols="500" rows="20">
</textarea>
<ckeditor:replace replace="csCn" basePath="${pageContext.request.contextPath}/html/egovframework/com/cmm/utl/ckeditor/" />
<form:errors path="csCn" />
</td>
</tr>
</tbody>
</table>
</div>
<!-- //list_상세 -->
<!-- btn_wrap -->
<div class="btn_wrap btn_layout01">
<div class="area_left">
</div>
<div class="area_right">
<button class="btnType06" onclick="adjCsRegist(); return false;">등 록</button>
<button class="btnType04" onclick="goList(); return false;">목 록</button>
</div>
</div>
<!-- //btn_wrap -->
</div>
</div>
</div>
</form>
<!-- //cont -->
</body>
</html>

View File

@ -1,279 +0,0 @@
<%@ 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(){
//첨부파일 버튼 처리
$("#filebutton").click(function(){
$("#file_temp").trigger("click");
});
});
function fncGoList(target) {
var f = document.getElementById("listForm");
if ('list' == target) {
f.action = "<c:url value='/kccadr/adjPgrMgr/accpt/adjReqMgrAccptList.do'/>";
} else {
f.action = "<c:url value='/kccadr/adjPgrMgr/accpt/adjReqMgrAccptReg.do'/>";
}
f.submit();
}
function fncUpdate() {
var f = document.getElementById("listForm");
var data = new FormData(f);
_fileForm2.forEach(function(obj, idx) {
if (obj) data.append("file"+idx, obj.fileObj);
});
if (isValid()) {
if (confirm('작성된 내용을 수정하시겠습니까?')) {
$.ajax({
type : "POST",
url : "/kccadr/adjPgrMgr/accpt/updateAccptMgrRegAjax.do",
data : data,
dataType : 'json',
async : false,
processData : false,
contentType : false,
cache : false,
success : function(returnData, status) {
if (returnData.accptStatus == 'success') {
alert("수락서 수정이 완료되었습니다.");
fncGoList('list'); //리스트 화면으로 이동
}else if(returnData.accptStatus == 'rpplFail'){
alert("신청인 이름을 찾을 수 없습니다.");
return false;
} else {
alert("수락서 수정에 실패하였습니다.");
}
},
error : function(e) {
alert("수락서 수정에 실패하였습니다.");
console.log("ERROR : ", e);
}
});
}
}
}
function fncDel() {
var f = document.getElementById("listForm");
var data = new FormData(f);
if (isValid()) {
if (confirm('작성된 내용을 삭제하시겠습니까?')) {
$.ajax({
type : "POST",
url : "/kccadr/adjPgrMgr/accpt/deleteAccptMgrRegAjax.do",
data : data,
dataType : 'json',
async : false,
processData : false,
contentType : false,
cache : false,
success : function(returnData, status) {
if (returnData.accptStatus == 'success') {
alert("수락서가 삭제되었습니다.");
fncGoList('list'); //리스트 화면으로 이동
}else if(returnData.accptStatus == 'rpplFail'){
alert("신청인 이름을 찾을 수 없습니다.");
return false;
} else {
alert("수락서 삭제에 실패하였습니다.");
}
},
error : function(e) {
alert("수락서 삭제에 실패하였습니다.");
console.log("ERROR : ", e);
}
});
}
}
}
function isValid() {
if (isEmptyObj('acceptCn')) {
alert('수락서 내용을 입력해 주세요.');
return false;
}
return true;
}
</script>
</head>
<body>
<form:form id="listForm" name="listForm" method="post" enctype="multipart/form-data">
<input type="hidden" id="adrAccSeq" name="adrAccSeq" value="<c:out value='${accptVO.adrAccSeq}'/>" />
<input type="hidden" id="adrSeq" name="adrSeq" value="<c:out value='${accptVO.adrSeq}'/>" />
<input type="hidden" id="adrSn" name="adrSn" value="<c:out value='${accptVO.adrSn}'/>" />
<input type="hidden" id="atchFileId" name="atchFileId" value="<c:out value='${accptVO.atchFileId}'/>" />
<input type="hidden" name="limitcount" value="10" /><!-- 최대 업로드 파일갯수 -->
<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: 120px;">
<col style="width: 120px;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th colspan="2">조정 사건</th>
<td>
<input type="text" id="adrNo" name="adrNo" value="<c:out value='${accptVO.adrNo}'/>" readOnly/>
</td>
</tr>
<tr>
<th colspan="2">신청인 이름</th>
<td class="td_cause">
<input type="text" id="rpplNm" name="rpplNm" value="<c:out value='${accptVO.rpplNm}'/>"/>
</td>
</tr>
<tr>
<th colspan="2">수락서 내용</th>
<td class="td_cause">
<textarea id="acceptCn" name="acceptCn" cols="60" rows="3" style="width: 998px; margin: 15px 0px 10px; height: 75px;">${accptVO.acceptCn}</textarea>
</td>
</tr>
<tr>
<th colspan="2" >첨부파일</th>
<td colspan="3" class="upload_area">
<input type="file" id="file_temp" name="file_temp" class="uploadFile" style="display:none"/>
<button type="button" id="filebutton" class="btnType01 btn_add_file">파일 첨부하기</button>
<div class="file_wrap file_upload_box no_img_box">
<table>
<colgroup>
<col style="width: 60%;">
<col style="width: auto;">
<col style="width: 20%;">
<col style="width: 10%;">
</colgroup>
<thead>
<th>파일 명</th>
<th>종류</th>
<th>크기</th>
<th>삭제</th>
</thead>
<tbody class="tb_file_before">
<tr>
<td colspan="4">
<p>첨부하실 파일을 <span>마우스로 끌어서</span> 넣어주세요.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="file_wrap fileAfter file_list_div">
<table>
<colgroup>
<col style="width: 60%">
<col style="width: 10%">
<col style="width: 20%">
<col style="width: 10%">
</colgroup>
<thead>
<th>파일 명</th>
<th>종류</th>
<th>크기</th>
<th>삭제</th>
</thead>
<tbody id="tbody_fiielist" class="tb_file_after">
<c:forEach var="fileList" items="${fileList}" varStatus="status">
<tr class="item_${fileList.atchFileId}_${fileList.fileSn} uploaded_obj">
<input type="hidden" name="fileSize" class="item_file_size" value="${fileList.fileSize}">
<td class="td_filename">
<span class="file_name_text">${fileList.orignlFileNm}</span>
</td>
<td class="td_filesort">
<span class="file_filesort_text" value="<c:out value="${fileList.fileExtsn}"/>"><c:out value="${fileList.fileExtsn}"/></span>
</td>
<td class="td_filesize">
<span class="file_size_text" value="<c:out value="${fileList.fileMg}"/>"><c:out value="${fileList.fileMg}"/></span>
</td>
<td>
<button type="button" class="btn_del" onclick="delAtchFile('${fileList.atchFileId}', '${fileList.fileSn}'); return false;"><i></i></button>
</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
</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="fncUpdate()">수정</button>
<button type="button" class="btnType06" onclick="fncDel()">삭제</button>
<button type="button" class="btnType04" onclick="fncGoList('list')">취소</button>
</div>
</div>
</div>
</div>
</div>
</form:form>
</body>
</html>

View File

@ -1,207 +0,0 @@
<!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="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<%
/**
* @Class Name : accptMgrList.jsp
* @Description : 쌍방수락서 관리
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2021.12.26 우영두 최초 생성
* @author 우영두
* @since 2021.12.26
* @version 1.0
* @see
*
*/
%>
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
</style>
<script type="text/javascript">
function fncGoList(){
linkPage(1);
}
function linkPage(pageNo){
var listForm = document.listForm ;
listForm.pageIndex.value = pageNo ;
listForm.searchCondition.value = $('#searchCondition').val();
listForm.searchKeyword.value = $('#searchKeyword').val();
listForm.action = "<c:url value='/kccadr/adjPgrMgr/accpt/adjReqMgrAccptList.do'/>";
listForm.submit();
}
function fncCreate(){
var listForm = document.listForm ;
listForm.action = "<c:url value='/kccadr/adjPgrMgr/accpt/adjReqMgrAccptList.do'/>";
listForm.submit();
}
function fnAcptDetail(adrAccSeq) {
var listForm = document.listForm;
listForm.adrAccSeq.value = adrAccSeq;
listForm.action = "<c:url value='/kccadr/adjPgrMgr/accpt/adjReqMgrAccptDetail.do'/>";
listForm.submit();
}
function fncAccptReg(){
var listForm = document.listForm ;
listForm.action = "<c:url value='/kccadr/adjPgrMgr/accpt/adjReqMgrAccptReg.do'/>";
listForm.submit();
}
</script>
<title>조정신청목록</title>
</head>
<body>
<form id="listForm" name="listForm" method="post">
<input type="hidden" name="pageIndex" value="<c:out value='${accptMgrVO.pageIndex}' default='1' />"/>
<input type="hidden" name="searchSortCnd" value="<c:out value="${accptMgrVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${accptMgrVO.searchSortOrd}" />" />
<input type="hidden" name="adrAccSeq" value=""/>
<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">
<!-- list_top -->
<div class="list_top">
<div class="list_util">
<div class="detail_search">
<ul>
<li>
<p class="tit_text">구분</p>
<select name="searchCondition" id="searchCondition">
<option value="" ${accptMgrVO.searchCondition eq '' ? 'selected' : '' }>전체</option>
<option value="1" ${accptMgrVO.searchCondition eq '1' ? 'selected' : '' }>조정번호</option>
<option value="2" ${accptMgrVO.searchCondition eq '2' ? 'selected' : '' }>신청인명</option>
</select>
<input type="text" id="searchKeyword" name="searchKeyword" class="search_input" placeholder="검색어를 입력하세요" value="<c:out value='${accptMgrVO.searchKeyword}'/>">
<div id="sel_date" class="sel_date">
<input type="text" class="startDate inp" title="검색시작일" id="startDate01" name="searchStartDt" onclick="return calendarOpen('startDate01-lry','',this)" value="${accptMgrVO.searchStartDt}" data-datecontrol="true" readonly>
<div class="calendar_in" id="calendarName_startDate" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('startDate01-lry','',this)" class="btn_cal"></button>
<div id="startDate01-lry" class="calendarPop" style="display: none;">
<iframe id="startDate01-ifrm" name="startDate01-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html" title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div> ~
<input type="text" class="endDate inp" title="검색시작일" id="endDate" name="searchEndDt" onclick="return calendarOpen('endDate-lry','',this)" value="${accptMgrVO.searchEndDt}" data-datecontrol="true" readonly>
<div class="calendar_in" id="calendarName_endDate" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('endDate-lry','',this)" class="btn_cal" ></button>
<div id="endDate-lry" class="calendarPop" style="display: none;">
<iframe id="endDate-ifrm" name="endDate-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html"title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div>
</div>
<button class="btn_search" onclick="fncGoList(); return false;">검색</button>
</li>
</ul>
</div>
</div>
</div>
<!-- //list_top -->
<!-- list -->
<div class="list tbType01">
<table>
<colgroup>
<col style="width: 5%">
<col style="width: 20%">
<col style="width: 20%">
<col style="width: 20%">
<col style="width: 20%">
</colgroup>
<thead>
<tr>
<th>번호<button class="sort btn_sort" id="sort_adrSeq"></button></th>
<th>신청일자<button type="button" class="sort sortBtn" id="sort_sbmtDt"></button></th>
<th>사건번호<button type="button" class="sort sortBtn" id="sort_adrNo"></button></th>
<th>신청인<button type="button" class="sort sortBtn" id="sort_rpplNm"></button></th>
<th>저작물종류<button type="button" class="sort sortBtn" id="sort_ccTyTx"></button></th>
<th>조정상태<button type="button" class="sort sortBtn" id="sort_statCd"></button></th>
</tr>
</thead>
<tbody>
<c:forEach var="list" items="${list}" varStatus="status">
<tr onclick="fnAcptDetail('${list.adrAccSeq}');" style="cursor:pointer;">
<td>
<c:if test="${accptMgrVO.searchSortOrd eq 'desc' }">
<c:out value="${ ( paginationInfo.totalRecordCount - ((accptMgrVO.pageIndex -1)*accptMgrVO.pageUnit) ) - status.index }"/>
</c:if>
<c:if test="${accptMgrVO.searchSortOrd eq 'asc' }">
<c:out value="${(accptMgrVO.pageIndex - 1) * accptMgrVO.pageUnit + status.count}"/>
</c:if>
</td>
<td><c:out value="${list.sbmtDe}"/></td>
<td><c:out value="${list.adrNo}"/></td>
<td><c:out value="${list.rpplNm}"/></td>
<td>
<kc:code codeId="CC002" code="${list.ccTy}"/>
</td>
<td>
<p class="status_cmp"><kc:code codeId="CC013" code="${list.statCd}"/></p>
</td>
</tr>
</c:forEach>
<c:if test="${empty list}">
<tr><td colspan="6"><spring:message code="common.nodata.msg" /></td></tr>
</c:if>
</tbody>
</table>
</div>
<!-- //list -->
<div class="btn_wrap btn_layout02">
<button class="btnType02" onclick="fncAccptReg(); return false;">수락서 등록</button>
</div>
<!-- page -->
<div class="page">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</div>
<!-- //page -->
</div>
</div>
</div>
<!-- //cont -->
<!-- //cont -->
</form>
</body>
</html>

View File

@ -1,245 +0,0 @@
<%@ 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(){
//첨부파일 버튼 처리
$("#filebutton").click(function(){
$("#file_temp").trigger("click");
});
});
function fncGoList(target) {
var f = document.getElementById("listForm");
if ('list' == target) {
f.action = "<c:url value='/kccadr/adjPgrMgr/accpt/adjReqMgrAccptList.do'/>";
} else {
f.action = "<c:url value='/kccadr/adjPgrMgr/accpt/adjReqMgrAccptReg.do'/>";
}
f.submit();
}
function fncReg(p_param) {
var f = document.getElementById("listForm");
var adrSeq = $("#adrSeq option:checked").val();
var adrNo = $("#adrSeq option:checked").text();
$('#adrNo').val(adrNo);
var data = new FormData(f);
_fileForm2.forEach(function(obj, idx) {
if (obj) data.append("file"+idx, obj.fileObj);
});
if (isValid()) {
if (confirm('작성된 내용을 등록하시겠습니까?')) {
$.ajax({
type : "POST",
url : "/kccadr/adjPgrMgr/accpt/insertAccptMgrRegAjax.do",
data : data,
dataType : 'json',
async : false,
processData : false,
contentType : false,
cache : false,
success : function(returnData, status) {
if (returnData.accptStatus == 'success') {
alert("수락서 등록이 완료되었습니다.");
fncGoList('list'); //리스트 화면으로 이동
}else if(returnData.accptStatus == 'rpplFail'){
alert("신청인 이름을 찾을 수 없습니다.");
return false;
} else {
alert("수락서 등록에 실패하였습니다.");
}
},
error : function(e) {
alert("수락서 등록에 실패하였습니다.");
console.log("ERROR : ", e);
}
});
}
}
}
function isValid() {
if (isEmptyObj('acceptCn')) {
alert('수락서 내용을 입력해 주세요.');
return false;
}
return true;
}
</script>
</head>
<body>
<form:form id="listForm" name="listForm" method="post" enctype="multipart/form-data">
<input type="hidden" id="adrNo" name="adrNo" value="" />
<input type="hidden" name="limitcount" value="10" /><!-- 최대 업로드 파일갯수 -->
<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: 120px;">
<col style="width: 120px;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th colspan="2">조정 사건</th>
<td>
<select name="adrSeq" id="adrSeq">
<c:forEach var="item" items="${list}" varStatus="status" >
<option value="<c:out value='${item.adrSeq}'/>%%<c:out value='${item.adrSn}'/>"><c:out value="${item.adrNo}"/></option>
</c:forEach>
</select>
</td>
</tr>
<tr>
<th colspan="2">신청인 이름</th>
<td class="td_cause">
<input type="text" id="rpplNm" name="rpplNm" />
</td>
</tr>
<tr>
<th colspan="2">수락서 내용</th>
<td class="td_cause">
<textarea name="acceptCn" id="acceptCn" cols="60" rows="3" style="width: 998px; margin: 15px 0px 10px; height: 75px;"></textarea>
</td>
</tr>
<tr>
<th colspan="2" >첨부파일</th>
<td colspan="3" class="upload_area">
<input type="file" id="file_temp" name="file_temp" class="uploadFile" style="display:none"/>
<button type="button" id="filebutton" class="btnType01 btn_add_file">파일 첨부하기</button>
<div class="file_wrap file_upload_box no_img_box">
<table>
<colgroup>
<col style="width: 60%;">
<col style="width: auto;">
<col style="width: 20%;">
<col style="width: 10%;">
</colgroup>
<thead>
<!-- <th>
<input type="checkbox" id="all_check"><label for="all_check"></label>
</th> -->
<th>파일 명</th>
<th>종류</th>
<th>크기</th>
<th>삭제</th>
</thead>
<tbody class="tb_file_before">
<tr>
<td colspan="4">
<p>첨부하실 파일을 <span>마우스로 끌어서</span> 넣어주세요.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="file_wrap fileAfter file_list_div">
<table>
<colgroup>
<col style="width: 60%">
<col style="width: 10%">
<col style="width: 20%">
<col style="width: 10%">
</colgroup>
<thead>
<!-- <th>
<input type="checkbox" id="all_check"><label for="all_check"></label>
</th> -->
<th>파일 명</th>
<th>종류</th>
<th>크기</th>
<th>삭제</th>
</thead>
<tbody id="tbody_fiielist" class="tb_file_after">
<c:forEach var="fileList" items="${fileList}" varStatus="status">
<tr class="item_${fileList.atchFileId}_${fileList.fileSn} uploaded_obj">
<input type="hidden" name="fileSize" class="item_file_size" value="${fileList.fileSize}">
<td class="td_filename">
<span class="file_name_text">${fileList.orignlFileNm}</span>
</td>
<td class="td_filesort">
<span class="file_filesort_text" value="<c:out value="${fileList.fileExtsn}"/>"><c:out value="${fileList.fileExtsn}"/></span>
</td>
<%-- <td class="td_filesize">
<span class="file_size_text" value="<c:out value="${fileList.fileMg}"/>"><c:out value="${fileList.fileMg}"/></span>
</td> --%>
<td>
<button type="button" class="btn_del" onclick="delAtchFile('${fileList.atchFileId}', '${fileList.fileSn}'); return false;"><i></i></button>
</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
</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="fncReg()">등록</button>
<button type="button" class="btnType04" onclick="fncGoList('list')">취소</button>
</div>
</div>
</div>
</div>
</div>
</form:form>
</body>
</html>

View File

@ -1,432 +0,0 @@
<!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" %>
<%
/**
* @Class Name : AdjustDeptManagerCreate.jsp
* @Description : 관리자 일정관리
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2021.08.16 김봉호 최초 생성
* @author 김봉호
* @since 2021.08.21
* @version 1.0
* @see
*
*/
%>
<html lang="ko">
<head>
<title>조정부관리</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript">
$(document).ready(function() {
aloneYn();
});
var CHECK_NM = <c:out value="${not empty info ? true : false}"/>;
function searchPop(thisObj) {
$("#popForm > input[name=targetId]").val($(thisObj).attr("id"));
commonPopWindowopenForm("/kccadr/adjPgrMgr/adjDept/popup/AdjustConciliatorPopList.do" , "650", "700", "searchPop",$("#popForm"));
}
function callFunc(data){
// 초기화
$("#popForm > input[name=targetId]").val("");
// 이미등록된 사용자 처리
var dupleCnt = $('input[name*=memSeq][value='+data.memSeq+']').length;
if(dupleCnt > 0 ){
alert("이미 등록된 위원입니다. 확인 부탁드립니다.");
return false;
}
var target = data.targetId;
if(target == "" || target == undefined){
alert("데이터를 확인해주세요.");
return false;
}
var targetInput = $("#"+target).closest("td");
targetInput.find("input[name*=memName]").val(data.memName)
targetInput.find("input[name*=memId]").val(data.memId);
targetInput.find("input[name*=memCelnum]").val(data.memCelnum);
targetInput.find("input[name*=memEmail]").val(data.memEmail);
targetInput.find("input[name*=memSeq]").val(data.memSeq);
var targetTr = $("#"+target).closest("tr").next();
if(data.memCelnum != ""){
targetTr.find("td:first").text(data.memCelnum);
}else{
targetTr.find("td:first").text("등록된 연락처가 없습니다.");
}
if(data.memEmail != ""){
targetTr.find("td:last").text(data.memEmail);
}else{
targetTr.find("td:last").text("등록된 이메일이 없습니다.");
}
}
function fncDupleCheck(thisObj){
var memDeptNm = $(thisObj).closest("td").find("input[name=memDeptNm]").val();
if(memDeptNm != ""){
$.ajax({
type:"POST",
url:"/kccadr/adjPgrMgr/adjDept/AdjustDeptDupleCheck.do",
data:{"memDeptNm": memDeptNm},
dataType:'json',
success:function(returnData){
if(returnData.rsCnt == 0){
alert("등록 가능한 조정부명입니다.");
CHECK_NM = true;
return false;
}else{
$("input[name=memDeptNm]").focus();
alert("이미 등록된 조종부명이 존재합니다.");
}
CHECK_NM = false;
},
error:function(request , status, error){
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
}
});
}else{
alert("조정부명을 입력해주세요.");
}
}
function fncInitCheck(){
CHECK_NM = false;
}
function fncAddUser(){
var len = $(".memList").length;
if(len >= 2){
alert('조정위원을 더이상 추가 할 수 없습니다.')
return;
}
var obj = $(".memList:first").clone(true);
$.each(obj.find("input"), function(idx, objInput){
objInput.name = objInput.name.replace(/\[.*\]/,'['+(len+1)+']');
console.log(objInput.name);
if(objInput.name.indexOf("memGrade") < 0){
objInput.value = '';
}
});
obj.find("button").attr("id", obj.find("button").attr("id").replace(/[0-9]/gi, len+2));
obj.find("tr:last > td").text("");
$(".memList:last").after(obj);
}
function fncDelUser(){
if($(".memList").length <= 1){
alert("조정위원은 최소1개가 존재해야합니다.");
}else{
$(".memList:last").remove();
}
}
function fncSave(){
if(!CHECK_NM){
alert("조정부명 중복체크를 해주세요.");
return false;
}
var data = new FormData(document.getElementById("createForm"));
if(validatation(data)){
if(confirm("저장하시겠습니까?")){
var url = "/kccadr/adjPgrMgr/adjDept/AdjustDeptManagerSave.do";
var key = '<c:out value="${info.memDeptSeq}"/>';
if(key != "" && key != undefined){
url = "/kccadr/adjPgrMgr/adjDept/AdjustDeptManagerUpdate.do";
}
console.log(data);
$.ajax({
type:"POST",
url: url,
data: data,
dataType:'json',
async: false,
processData: false,
contentType: false,
cache: false,
success:function(returnData){
if(returnData.result == "success" && returnData.rsCnt > 0 ){
alert("저장되었습니다.");
fncGoList();
}
},
error:function(request , status, error){
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
}
});
}
}
}
function validatation(data){
var flag = true;
if(data.get("memDeptTy") == ""){
alert("조정유형을 선택해주세요.");
return false;
}
if(data.get("memDeptNm") == ""){
alert("조정부명을 입력해주세요.");
return false;
}
var nameObj = $("input[name*=memName]");
var slctVar = $('#memDeptTy option:selected').val();
$.each(nameObj, function(idx, obj){
if($(this).val() == ""){
if(idx == 0){
alert("조정부장을 배정을 해주세요.");
return flag = false;
}else if(idx != 0 && slctVar == '01'){
alert("조정위원 "+(idx)+"번째 배정을 해주세요.");
return flag = false;
}
}
});
return flag;
}
function fncGoList(){
var listForm = document.listForm ;
listForm.action = "<c:url value='/kccadr/adjPgrMgr/adjDept/AdjustDeptManagerList.do'/>";
listForm.submit();
}
//단독부 합의부 조정위원 입력부분 노출/미노출 동작
function aloneYn(){
//조정위원 div영역
var aloneDiv = $('#aloneYn');
//조정위원 type="text" 선택
var aloneDivText = $('#aloneYn').find('input[type="text"]');
//조정위원 type="hidden" 선택
var aloneDivHidden = $('#aloneYn').find('input[type="hidden"]');
//조정유형 셀렉트 박스 선택값
var selectedVal = $('#memDeptTy option:selected').val();
aloneDivText.each(function (index, item){
if(selectedVal == '01'){
aloneDivText[index].removeAttribute('disabled');
aloneDiv.show();
}
else if(selectedVal == '02'){
aloneDivText[index].setAttribute('disabled','disabled');
aloneDiv.hide();
}
});
aloneDivHidden.each(function (index, item){
if(selectedVal == '01'){
aloneDivHidden[index].removeAttribute('disabled');
}
else if(selectedVal == '02'){
aloneDivHidden[index].setAttribute('disabled','disabled');
}
});
}
</script>
</head>
<body>
<form:form id="listForm" name="listForm" method="post">
<input type="hidden" name="pageIndex" value="<c:out value='${adjustDeptManageVO.pageIndex}' />"/>
<input type="hidden" name="searchSortCnd" value="<c:out value="${adjustDeptManageVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${adjustDeptManageVO.searchSortOrd}" />" />
</form:form>
<form id="popForm" name="popForm" method="post">
<input type="hidden" name="callFunc" value="callFunc"/>
<input type="hidden" name="targetId" value=""/>
</form>
<form:form id="createForm" name="createForm" commandName="adjustDeptManageVO" method="post">
<input type="hidden" name="memDeptSeq" value="<c:out value="${info.memDeptSeq}" />" />
<!-- 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>
<p>조정부관리</p>
</li>
<li><span class="cur_nav">조정부등록</span></li>
</ul>
</div>
<!-- //cont_tit -->
<div class="cont">
<!-- list_상세 -->
<p class="tb_tit">조정부등록</p>
<div class="tbType02">
<table>
<colgroup>
<col style="width: 210px;">
<col style="width: auto;">
<col style="width: 210px;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th>조정유형</th>
<td>
<select name="memDeptTy" id="memDeptTy" onchange="aloneYn();">
<option value="01" <c:if test="${info.memDeptTy eq '01'}"> selected</c:if>>합의부</option>
<option value="02" <c:if test="${info.memDeptTy eq '02'}"> selected</c:if>>단독부</option>
</select>
</td>
<th>조정부</th>
<td>
<input type="text" placeholder="조정부명을 입력해주세요." onkeyup="fncInitCheck();" name="memDeptNm" id="memDeptNm" value="${info.memDeptNm}">
<button class="btnType01" onclick="fncDupleCheck(this); return false;">중복검사</button>
</td>
</tr>
<tr>
<th>조정부장 배정</th>
<td colspan="3">
<input type="text" size="40" placeholder="" name="memList[0].memName" value="${not empty list ? list[0].memName : ''}" readonly style="background-color: #eee;">
<input type="hidden" name="memList[0].memId" value="${not empty list ? list[0].memId : ''}">
<input type="hidden" name="memList[0].memSeq" value="${not empty list ? list[0].memSeq : ''}">
<input type="hidden" name="memList[0].memCelnum" value="${not empty list ? list[0].memCelnum : ''}">
<input type="hidden" name="memList[0].memEmail" value="${not empty list ? list[0].memEmail : ''}">
<input type="hidden" name="memList[0].memGrade" value="01">
<button id="info1" class="btnType01" onclick="searchPop(this); return false;">조정위원검색</button>
</td>
</tr>
<tr>
<th>연락처</th>
<td><c:out value="${not empty list ? list[0].memCelnum.replaceAll('(^02|^0505|^1[0-9]{3}|^0[0-9]{2})([0-9]+)?([0-9]{4})$','$1-$2-$3') : ''}"/></td>
<th>이메일</th>
<td><c:out value="${not empty list ? list[0].memEmail : ''}"/></td>
</tr>
</tbody>
</table>
</div>
<div id="aloneYn" style="margin-top: 60px;">
<div class="tb_tit">
<p>조정위원 배정</p>
<div class="btn_wrap">
<button type="button" class="btn_plus" onclick="fncAddUser(); return false;"><i></i></button>
<button type="button" class="btn_minus" onclick="fncDelUser(); return false;"><i></i></button>
</div>
</div>
<c:choose>
<c:when test="${fn:length(list) gt 1 }">
<c:forEach var="list" items="${list}" begin="1" varStatus="status">
<div class="tbType02 memList" style="margin-top:10px;">
<table>
<colgroup>
<col style="width: 210px;">
<col style="width: auto;">
<col style="width: 210px;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th>조정위원 배정</th>
<td colspan="3">
<input type="text" size="40" name="memList[${status.index}].memName" value="${list.memName}" readonly style="background-color: #eee;">
<input type="hidden" name="memList[${status.index}].memId" value="${list.memId}">
<input type="hidden" name="memList[${status.index}].memSeq" value="${list.memSeq}">
<input type="hidden" name="memList[${status.index}].memCelnum" value="${list.memCelnum}">
<input type="hidden" name="memList[${status.index}].memEmail" value="${list.memEmail}">
<input type="hidden" name="memList[${status.index}].memGrade" value="02">
<button class="btnType01" id="info${status.index+1}" onclick="searchPop(this); return false;">조정위원검색</button>
</td>
</tr>
<tr>
<th>연락처</th>
<td><c:out value="${list.memCelnum.replaceAll('(^02|^0505|^1[0-9]{3}|^0[0-9]{2})([0-9]+)?([0-9]{4})$','$1-$2-$3')}"/></td>
<th>이메일</th>
<td><c:out value="${list.memEmail}"/></td>
</tr>
</tbody>
</table>
</div>
</c:forEach>
</c:when>
<c:otherwise>
<div class="tbType02 memList" style="margin-top:10px;">
<table>
<colgroup>
<col style="width: 210px;">
<col style="width: auto;">
<col style="width: 210px;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th>조정위원 배정</th>
<td colspan="3">
<input type="text" size="40" name="memList[1].memName" value="" readonly style="background-color: #eee;">
<input type="hidden" name="memList[1].memId" value="">
<input type="hidden" name="memList[1].memSeq" value="">
<input type="hidden" name="memList[1].memCelnum" value="">
<input type="hidden" name="memList[1].memEmail" value="">
<input type="hidden" name="memList[1].memGrade" value="02">
<button class="btnType01" id="info2" onclick="searchPop(this); return false;">조정위원검색</button>
</td>
</tr>
<tr>
<th>연락처</th>
<td></td>
<th>이메일</th>
<td></td>
</tr>
</tbody>
</table>
</div>
</c:otherwise>
</c:choose>
</div>
<!-- //list_상세 -->
<!-- btn_wrap -->
<div class="btn_wrap btn_layout01">
<div class="area_left">
</div>
<div class="area_right">
<button class="btnType06" onclick="fncSave(); return false;">저장</button>
<button class="btnType03" onclick="fncGoList(); return false;">목록</button>
</div>
</div>
</div>
</div>
</div>
</form:form>
<!-- //cont -->
</body>
</html>

View File

@ -1,346 +0,0 @@
<!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="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
<%
/**
* @Class Name : SchduleManagerList.jsp
* @Description : 관리자 일정관리
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2021.08.16 김봉호 최초 생성
* @author 김봉호
* @since 2021.08.16
* @version 1.0
* @see
*
*/
%>
<html lang="ko">
<head>
<title>조정부관리</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript">
$(document).ready(function() {
//해당 페이지에 대한 권한 체크
_admin_fn_check_authority("AdjustDeptManagerDetail", "div.cont", "R");
});
//권한 체크 결과값으로 후속처리
function admin_fn_check_authority_ret(p_param){
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
}
function fncGoList(){
var varFrom = document.getElementById("detailForm");
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/adjDept/AdjustDeptManagerList.do'/>";
varFrom.submit();
}
function fncEdit(){
var varFrom = document.getElementById("detailForm");
varFrom.action = "<c:url value='/kccadr/adjPgrMgr/adjDept/AdjustDeptManagerEdit.do'/>";
varFrom.submit();
}
function fncDisabled(useYn){
var msg = "비활성화";
if(useYn == "Y") msg = "활성화";
if(confirm(msg+" 처리하시겠습니까?")){
$.ajax({
type:"POST",
url:"/kccadr/adjPgrMgr/adjDept/AdjustDeptManagerDisabled.do",
data: {
"memDeptSeq" : $("#memDeptSeq").val() ,
"useYn" : useYn
},
dataType:'json',
success:function(returnData){
if(returnData.rsCnt > 0){
alert(msg+" 처리되었습니다.");
location.reload();
}
},
error:function(request , status, error){
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
}
});
}
}
function fncGoDetail(adrSeq, adrSn, reqOlCd) {
var listForm = document.listForm;
listForm.adrSeq.value = adrSeq;
listForm.adrSn.value = adrSn;
listForm.reqOlCd.value = reqOlCd;
listForm.action = "<c:url value='/kccadr/adjPgrMgr/apm/apmDetail.do'/>";
listForm.submit();
}
</script>
</head>
<body>
<form:form id="detailForm" name="detailForm" commandName="adjustDeptManageVO" method="post">
<input type="hidden" name="pageIndex" value="<c:out value='${adjustDeptManageVO.pageIndex}' default='1' />"/>
<input type="hidden" name="searchSortCnd" value="<c:out value="${adjustDeptManageVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${adjustDeptManageVO.searchSortOrd}" />" />
<input type="hidden" name="memDeptSeq" id="memDeptSeq" value="${adjustDeptManageVO.memDeptSeq}" />
<!-- cont -->
<!-- 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>
<p>조정부관리</p>
</li>
<li><span class="cur_nav">조정부상세</span></li>
</ul>
</div>
<!-- //cont_tit -->
<div class="cont">
<!-- list_상세 -->
<p class="tb_tit">조정부등록</p>
<div class="tbType02">
<table>
<colgroup>
<col style="width: 210px;">
<col style="width: auto;">
<col style="width: 210px;">
<col style="width: auto;">
</colgroup>
<tbody>
<c:if test="${not empty info}">
<tr>
<th>조정부 상태</th>
<td colspan="3">
<c:out value="${info.useYn eq 'Y' ? '활성화' : '비활성화'}"/>
</td>
</tr>
</c:if>
<tr>
<th>조정유형</th>
<td>
<c:out value="${info.memDeptTy eq '01' ? '합의부' : '단독부'}"/>
</td>
<th>조정부</th>
<td>
<c:out value="${info.memDeptNm}"/>
</td>
</tr>
<tr>
<th>조정부장 배정</th>
<td colspan="3">
<c:out value="${list[0].memName}"/>
</td>
</tr>
<tr>
<th>연락처</th>
<td>
<c:out value="${list[0].memCelnum.replaceAll('(^02|^0505|^1[0-9]{3}|^0[0-9]{2})([0-9]+)?([0-9]{4})$','$1-$2-$3')}"/>
</td>
<th>이메일</th>
<td><c:out value="${list[0].memEmail}"/></td>
</tr>
</tbody>
</table>
</div>
<c:if test="${fn:length(list) gt 1}">
<p class="tb_tit" style="width: 300px;">조정위원배정</p>
</c:if>
<c:forEach var="list" items="${list}" begin="1" varStatus="status">
<div class="tbType02 memList" style="margin-top:10px;">
<table>
<colgroup>
<col style="width: 210px;">
<col style="width: auto;">
<col style="width: 210px;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th>조정위원 배정</th>
<td colspan="3">
<c:out value="${list.memName}"/>
</td>
</tr>
<tr>
<th>연락처</th>
<td>
<p><c:out value="${list.memCelnum.replaceAll('(^02|^0505|^1[0-9]{3}|^0[0-9]{2})([0-9]+)?([0-9]{4})$','$1-$2-$3')}"/></p>
</td>
<th>이메일</th>
<td><p><c:out value="${list.memEmail}"/></p></td>
</tr>
</tbody>
</table>
</div>
</c:forEach>
<!-- //list_상세 -->
<!-- btn_wrap -->
<div class="btn_wrap btn_layout01">
<div class="area_left">
</div>
<div class="area_right">
<button class="btnType06" onclick="fncEdit(); return false;">수정</button>
<c:choose>
<c:when test="${info.useYn eq 'Y'}">
<button class="btnType06" onclick="fncDisabled('N'); return false;">비활성화</button>
</c:when>
<c:otherwise>
<button class="btnType06" onclick="fncDisabled('Y'); return false;">활성화</button>
</c:otherwise>
</c:choose>
<button class="btnType03" onclick="fncGoList(); return false;">목록</button>
</div>
</div>
<!-- list -->
<p class="tb_tit">담당사건목록</p>
<div class="list tbType01">
<table>
<colgroup>
<col style="width: 42px;">
<col style="width: 6%;">
<col style="width: 6%;">
<col style="width: 8%;">
<col style="width: 8%;">
<col style="width: 8%;">
<col style="width: auto;">
<col style="width: 8%;">
<col style="width: 8%;">
<col style="width: 8%;">
<col style="width: 7%;">
<col style="width: 200px;">
</colgroup>
<thead>
<tr>
<th><input type="checkbox" name="checkAll" id="checkAll" onclick="fncCheckAll(this, 'ckAdrList')"> <label for="checkAll"></label></th>
<th>신청일자</th>
<th>구분
<!-- <button class="sort btn_sort" id="sort_M.REQ_OL_CD">▲</button> -->
</th>
<th>조정번호</th>
<th>신청인</th>
<th>신청내용</th>
<th>피신청인</th>
<th>조정부</th>
<th>조사관</th>
<th>기일</th>
<th>진행차수</th>
<th>조정상태</th>
</tr>
</thead>
<tbody>
<c:forEach var="item" items="${adrList}" varStatus="status">
<tr>
<td>
<!-- 접수결재 완료 상태(201050)이거나, 조정부지정반려(202090) 상태일때만 체크박스가 활성화 되어 보여진다. -->
<c:choose>
<c:when test="${item.statCd == KccadrConstants.ADR_RCPT_APPR_COMP || item.statCd== KccadrConstants.ADR_DEPT_SLCT_RETN}">
<c:choose>
<c:when test="${item.memDeptSeq eq null }">
<!-- 조정부가 없으면 배당등록 있으면 배당수정 (사건번가 할당되어있어야 한다.) -->
<input type="checkbox" id="list<c:out value="${status.index}" />" name="ckAdrList" value="<c:out value="${item.adrSeq}|${item.adrNo}|${item.adrSn}" />">
<label for="list<c:out value="${status.index}" />"></label>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<input type="checkbox" id="chkNone" name="chkNone" disabled>
<label for="chkNone"></label>
</c:otherwise>
</c:choose>
</td>
<td>
<a href="#" onclick="fncGoDetail('<c:out value="${item.adrSeq}" />', '<c:out value="${item.adrSn}" />', '<c:out value="${item.reqOlCd}"/>');"> <c:out value="${item.sbmtDeDay}" /></a>
</td>
<td>
<p><c:out value="${item.reqOlCdTx}" /></p>
</td>
<td>
<a href="#" onclick="fncGoDetail('<c:out value="${item.adrSeq}" />', '<c:out value="${item.adrSn}" />', '<c:out value="${item.reqOlCd}"/>');"><c:out value="${item.adrNo}" /></a>
</td>
<td>
<a href="#" onclick="fncGoDetail('<c:out value="${item.adrSeq}" />', '<c:out value="${item.adrSn}" />', '<c:out value="${item.reqOlCd}"/>');"> <p><c:out value="${item.appliCantNm}" /></p></a>
</td>
<td>
<a href="#" onclick="fncGoDetail('<c:out value="${item.adrSeq}" />', '<c:out value="${item.adrSn}" />', '<c:out value="${item.reqOlCd}"/>');"> <p><c:out value="${item.ccTyTx}" /></p></a>
</td>
<td>
<a href="#none" onclick="fncGoDetail('${item.adrSeq}', '${item.adrSn}', '<c:out value="${item.reqOlCd}"/>');"><c:out value="${item.resPonDentNm}" /></a>
</td>
<td>
<p><c:out value="${item.memDeptNm}" /></p>
</td>
<td>
<p><c:out value="${item.adrAdmNm}" /></p>
</td>
<td>
<p><c:out value="${item.appDeDay}" /></p>
</td>
<td>
<p><c:out value="${item.adrSn}" /></p>
</td>
<td>
<c:choose>
<c:when test="${item.statCdTx eq '' || item.statCdTx eq null }"></c:when>
<c:when test="${item.statCd eq '104010'}">
<p class="status_cmp">
<c:out value="${item.statCdTx}" />
</p>
</c:when>
<c:otherwise>
<p class="status_ing">
<c:out value="${item.statCdTx}" />
</p>
</c:otherwise>
</c:choose>
</td>
</tr>
<%-- <tr>
<td colspan="10"><c:out value="${item}" /></td>
</tr> --%>
</c:forEach>
<c:if test="${empty list}">
<tr>
<td colspan="12">
<spring:message code="common.nodata.msg" />
</td>
</tr>
</c:if>
</tbody>
</table>
</div>
<!-- //list -->
</div>
</div>
</div>
</form:form>
<form:form id="listForm" name="listForm" commandName="cmmVO" onsubmit="return false;" method="post">
<input type="hidden" name="adrSeq" />
<input type="hidden" name="adrSn" />
<input type="hidden" name="reqOlCd" />
</form:form>
<!-- //cont -->
</body>
</html>

View File

@ -1,200 +0,0 @@
<!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" %>
<%
/**
* @Class Name : AdjustDeptManagerList.jsp
* @Description : 조정부관리
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2021.08.09 김봉호 최초 생성
* @author 김봉호
* @since 2021.08.21
* @version 1.0
* @see
*
*/
%>
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript">
$(document).ready(function() {
//해당 페이지에 대한 권한 체크
_admin_fn_check_authority("AdjustDeptManagerList", "div.cont", "ALL");
});
//권한 체크 결과값으로 후속처리
function admin_fn_check_authority_ret(p_param){
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
}
function fncSelectConciliatorManageList(){
linkPage(1);
}
function linkPage(pageNo){
var listForm = document.listForm ;
listForm.pageIndex.value = pageNo ;
listForm.searchCondition.value = $('#searchCondition').val();
listForm.searchKeyword.value = $('#searchKeyword').val();
listForm.action = "<c:url value='/kccadr/adjPgrMgr/adjDept/AdjustDeptManagerList.do'/>";
listForm.submit();
}
function fncCreate() {
var listForm = document.listForm ;
listForm.action = "<c:url value='/kccadr/adjPgrMgr/adjDept/AdjustDeptManagerCreate.do'/>";
listForm.submit();
}
function fn_egov_checkAll(){
var FLength = document.getElementsByName("memSeqArr").length;
var checkAllValue = document.getElementById('checkAll').checked;
//undefined
if( FLength == 1){
document.getElementById("memSeqArr0").checked = checkAllValue;
} else {
for(var i=0; i < FLength; i++) {
document.getElementsByName("memSeqArr")[i].checked = checkAllValue;
}
}
}
function fncDetailPage(memDeptSeq){
var listForm = document.listForm ;
listForm.memDeptSeq.value = memDeptSeq ;
listForm.action = "<c:url value='/kccadr/adjPgrMgr/adjDept/AdjustDeptManagerDetail.do'/>";
listForm.submit();
}
</script>
<title>조정위원관리</title>
</head>
<body>
<form:form id="listForm" name="listForm" method="post">
<input type="hidden" name="pageIndex" value="<c:out value='${adjustDeptManageVO.pageIndex}' default='1' />"/>
<input type="hidden" name="searchSortCnd" value="<c:out value="${adjustDeptManageVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${adjustDeptManageVO.searchSortOrd}" />" />
<input type="hidden" name="memDeptSeq" value="" />
<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">
<!-- list_top -->
<div class="list_top">
<p>총 건수 : <span><c:out value="${paginationInfo.totalRecordCount}"/></span>건</p>
<div class="list_util">
<select name="searchCondition" id="searchCondition">
<option value="" <c:if test="${empty adjustDeptManageVO.searchCondition}">selected="selected"</c:if>>전체</option>
<option value="1" <c:if test="${adjustDeptManageVO.searchCondition eq '1'}">selected="selected"</c:if>>조정부장</option>
<option value="2" <c:if test="${adjustDeptManageVO.searchCondition eq '2'}">selected="selected"</c:if>>조정위원</option>
<option value="2" <c:if test="${adjustDeptManageVO.searchCondition eq '3'}">selected="selected"</c:if>>조정부</option>
</select>
<input type="text" id=searchKeyword name="searchKeyword" class="search_input" placeholder="검색어를 입력하세요" value="<c:out value='${adjustDeptManageVO.searchKeyword}'/>">
<button class="btn_search" onclick="fncSelectConciliatorManageList(); return false;">검색</button>
</div>
</div>
<!-- //list_top -->
<!-- list -->
<div class="list tbType01">
<table>
<colgroup>
<%--<col style="width: 5%">--%>
<col style="width: 8%">
<col style="width: auto">
<col style="width: 15%">
<col style="width: 25%">
<col style="width: 15%">
</colgroup>
<thead>
<tr>
<%--<th><input type="checkbox" name="checkAll" id="checkAll" onclick="fn_egov_checkAll()" /><label for="checkAll"></label></th>--%>
<th>번호<button class="sort btn_sort" id="sort_memDeptSeq"></button></th>
<th>조정부<button type="button" class="sort sortBtn" id="sort_memDeptNm"></button></th>
<th>조정부장<button type="button" class="sort sortBtn" id="sort_adrCdnt"></button></th>
<th>조정위원<button type="button" class="sort sortBtn" id="sort_adrCclt"></button></th>
<th>진행사건<button type="button" class="sort sortBtn" id="sort_adjCnt"></button></th>
</tr>
</thead>
<tbody>
<c:forEach var="list" items="${list}" varStatus="status">
<tr>
<%--<td>
<input name="memSeqArr" id="memSeqArr${status.index}" value="${list.memSeq}" title="Check" type="checkbox"/>
</td>--%>
<td>
<c:if test="${adjustDeptManageVO.searchSortOrd eq 'desc' }">
<c:out value="${ ( paginationInfo.totalRecordCount - ((adjustDeptManageVO.pageIndex -1)*adjustDeptManageVO.pageUnit) ) - status.index }"/>
</c:if>
<c:if test="${adjustDeptManageVO.searchSortOrd eq 'asc' }">
<c:out value="${(adjustDeptManageVO.pageIndex - 1) * adjustDeptManageVO.pageUnit + status.count}"/>
</c:if>
</td>
<td>
<a href="#" onclick="fncDetailPage('${list.memDeptSeq}');"><c:out value="${list.memDeptNm}"/></a>
</td>
<td>
<c:out value="${list.adrCdnt}"/>
</td>
<td>
<c:out value="${list.adrCclt}"/>
</td>
<td>
<c:out value="${list.adjCnt}"/>
</td>
</tr>
</c:forEach>
<c:if test="${empty list}">
<tr><td colspan="5"><spring:message code="common.nodata.msg" /></td></tr>
</c:if>
</tbody>
</table>
</div>
<!-- //list -->
<div class="btn_wrap btn_layout02">
<button class="btnType02" onclick="fncCreate(); return false;" >등록</button>
</div>
<!-- page -->
<div class="page">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</div>
<!-- //page -->
</div>
</div>
</div>
<!-- //cont -->
<!-- //cont -->
</form:form>
</body>
</html>

View File

@ -1,277 +0,0 @@
<%@ 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>

View File

@ -1,257 +0,0 @@
<%@ 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(){
var arr = [];
$.each($("input[name=rpplChgSeq]"), function(){
arr.push($(this).val());
})
$("input[name=rpplChgSeqArr]").val(arr.join(","));
commonPopWindowopenForm("/kccadr/adjPgrMgr/apm/popup/apmCorrectionReject.do" , "600", "300", "rejectPop",$("#detailForm"));
}
function fncConfirmSave(){
var arr = [];
$.each($("input[name=rpplChgSeq]"), function(){
arr.push($(this).val());
});
var data = {
adrSeq : '<c:out value='${apmCorrectVO.adrSeq}' />',
adrSn : '<c:out value='${apmCorrectVO.adrSn}' />',
rpplChgSeqArr : arr.join(","),
apprYn : 'Y',
rejectCn : ''
};
if (confirm("승인하시겠습니까?")) {
$.ajax({
type: "POST",
url: "/kccadr/adjPgrMgr/apm/apmCorrectoinConfirmSave.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("정상적으로 승인되었습니다.");
location.reload();
}
},
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);
}
});
}
function fncPrint() {
var form = document.detailForm;
window.open('',"apmCorrReport");
form.action="/kccadr/adjPgrMgr/apm/apmCorrReportAjax.do";
form.method="post";
form.target="apmCorrReport";
form.submit();
}
</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="${apmCorrectVO.adrSeq}" />" />
<input type="hidden" id="adrSn" name="adrSn" value="<c:out value="${apmCorrectVO.adrSn}" />" />
<input type="hidden" id="adrNo" name="adrNo" value="<c:out value="${apmCorrectVO.adrNo}" />" />
<input type="hidden" id="rpplTy" name="rpplTy" />
<input type="hidden" id="adrEndDeDay" name="adrEndDeDay" value="<c:out value="${apmCorrectVO.adrEndDeDay}" />" />
<input type="hidden" id="appSeq" name="appSeq" value="<c:out value="${apmCorrectVO.appSeq}" />" />
<input type="hidden" id="closeDocTy" name="closeDocTy" />
<input type="hidden" id="adrAvoidSeq" name="adrAvoidSeq" value="<c:out value="${apmCorrectVO.adrAvoidSeq}" />" />
<input type="hidden" id="rpplChgSeqArr" name="rpplChgSeqArr" value="" />
<!-- 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">
<c:set var="flag" value="false"/>
<c:forEach var="list" items="${list}" varStatus="status">
<c:if test="${empty list.apprYn}">
<%--한건이라도 결제가 안된 경정신청이 있다면 해당건만 승인 반려할수 있도록 수정--%>
<c:set var="flag" value="true"/>
<input type="hidden" name="rpplChgSeq" value="${list.rpplChgSeq}"/>
</c:if>
<div class="tbType02" style="<c:out value="${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 colspan="3">
<p class=""><c:out value='${list.memDeptNm}' /></p>
</td>
</tr>
<tr>
<th>사건</th>
<td>
<p class=""><c:out value='${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=""><c:out value='${list.appliCantNm}' /></p>
</td>
</tr>
<tr>
<th>피신청인</th>
<td colspan="3">
<p class=""><c:out value='${list.resPonDentNm}' /></p>
</td>
</tr>
<tr>
<th>경정취지</th>
<td colspan="3">
<p class=""><c:out value='${list.rpplChgCn1}' /></p>
</td>
</tr>
<tr>
<th>경정이유</th>
<td colspan="3">
<p class=""><c:out value='${list.rpplChgCn2}' /></p>
</td>
</tr>
<tr>
<th>처리상태</th>
<td colspan="3">
<p class="">
<c:choose>
<c:when test="${list.apprYn eq 'Y'}">
승인
</c:when>
<c:when test="${list.apprYn eq 'N'}">
반려
</c:when>
<c:when test="${list.sbmtYn eq 'Y'}">
제출(승인대기)
</c:when>
<c:otherwise>
-
</c:otherwise>
</c:choose>
</p>
</td>
</tr>
</tbody>
</table>
</div>
</c:forEach>
<div class="btn_wrap btn_layout01">
<div class="area_left" style="width: 350px;">
</div>
<div class="area_right">
<c:if test="${flag}">
<button type="button" class="btnType02" onclick="fncConfirmSave()">승인</button>
<button type="button" class="btnType02" onclick="fncRejectPopup(); return false;">반려</button>
</c:if>
<button type="button" class="btnType02">출력</button>
<button class="btnType04" onclick="fncGoList(); return false;">목록</button>
</div>
</div>
</div>
</div>
</div>
</form:form>
<!-- //cont -->
</body>
</html>

View File

@ -1,231 +0,0 @@
<%@ 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 fncApprYn(pram) {
document.createForm.apprYnParam.value = pram;
if (confirm("경정신청을 승인하시겠습니까?")) {
var data = new FormData(document.getElementById("createForm"));
$.ajax({
type : "POST",
url : "/kccadr/adjPgrMgr/apm/popup/apmCorrectionDetailPopStatChgAjax.do",
data : data,
dataType : 'json',
async : false,
processData : false,
contentType : false,
cache : false,
success : function(returnData, status) {
if (returnData.result == 'success') {
fncOzExport();
//alert("경정신청 승인이 완료되었습니다.");
location.reload(true);
} else {
alert(returnData.message);
}
},
error : function(e) {
alert("경정신청 승인을 실패하였습니다.");
console.log("ERROR : ", e);
}
});
}
}
function fncOzExport(){
var frm = document.createForm;
var data = new FormData(frm);
$.ajax({
type: "POST",
url: "/kccadr/adjPgrMgr/apm/corReportExportAjax.do",
data: data,
dataType:'json',
async: false,
processData: false,
contentType: false,
cache: false,
success: function (returnData, status) {
if(status == 'success'){
alert("경정신청 승인이 완료되었습니다.");
location.reload(true);
opener.location.reload();
} else if(status== 'fail'){
console.log("경정신청 오즈리포트 Export에 실패 하였습니다.");
//alert("이의신청 제출을 실패했습니다.");
}
},
error: function (e) { console.log("경정신청 오즈리포트 Export에 실패 하였습니다."); console.log("ERROR : ", e); }
});
}
function fncPrint() {
var form = document.createForm;
window.open('',"corReport");
form.action="/kccadr/adjPgrMgr/apm/corReportAjax.do";
form.method="post";
form.target="corReport";
form.submit();
}
</script>
<style>
.pop_tbType02 th,.pop_tbType02 td{vertical-align: middle;}
.pop_tbType02 td{text-align: left;padding-left: 15px}
</style>
</head>
<body>
<form id="createForm" name="createForm" onsubmit="return false;">
<input type="hidden" name="adrSeq" value="${corReqVO.adrSeq }" />
<input type="hidden" name="rpplChgSeq" id="rpplChgSeq" value="${list[0].rpplChgSeq}" />
<input type="hidden" name="apprYnParam" id="apprYnParam" value=""/>
<div class="area_popup supm_popup">
<div class="cont_popup">
<!-- 대리인 등록 -->
<c:forEach var="item" items="${list}" varStatus="status">
<p class="tb_tit">피신청인${status.count }</p>
<table class="pop_tbType02">
<colgroup>
<col style="width: 8%;">
<col style="width: 10%;">
<col style="width: 15%;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th scope="rowgroup" rowspan="6" class="t_center">
<p>피신청인</p>
</th>
<th scope="row" colspan="2" class="t_center">
<p>경정 전 </br>피신청인</p>
</th>
<td>
<p>
<span class="text_tit">이름 : </span>
<c:out value="${item.oldRpplNm }" />
</p>
<p>
<span class="text_tit">주소 : </span>
(<c:out value="${item.oldRpplPost }" />) <c:out value="${item.oldRpplAddr }" /> <c:out value="${item.oldRpplAddrDtl }" />
</p>
<p>
<span class="text_tit">전화 : </span>
<c:out value="${item.oldRpplPhone }" />
</p>
</td>
</tr>
<tr>
<th scope="rowgroup" rowspan="5" class="t_center">
<p>경정 후 </br>피신청인</p>
</th>
<th scope="row">
<p>피신청인 분류</p>
</th>
<td>
<div class="radio_wrap">
<kc:radio codeId="CC001" name="rpplUsrTy_${status.index }" id="rpplUsrTy_${status.index }" selectedValue="${item.rpplUsrTy }" disabled="y"/>
</div>
</td>
</tr>
<tr>
<th scope="row">
<p>피신청인 이름</p>
</th>
<td>
<%-- <input type="text" name="rpplNm_${status.index }" value="<c:out value="${item.rpplNm }" />" size="30"> --%>
<p><c:out value="${item.rpplNm }" /></p>
</td>
</tr>
<tr>
<th scope="row">
<p>주소</p>
</th>
<td>
<%-- <input type="text" class="adr_input" placeholder="우편번호입력" readonly="readonly" name="rpplPost_${status.index }" id="rpplPost${status.index }" value="<c:out value="${item.rpplPost }" />"> --%>
<p>(<c:out value="${item.rpplPost }" />)
<c:out value="${item.rpplAddr }" />
<c:out value="${item.rpplAddrDtl }" /></p>
<!-- <button type="button" class="btnType01 btn_adr_search" onclick="fn_postCode(this);">우편번호 검색</button> -->
<%-- <div class="detail_address">
<input type="text" class="adr_detail_input searchResultAddr" placeholder="주소를 입력해주세요." readonly="readonly" name="rpplAddr_${status.index }" id="rpplAddr" value="<c:out value="${item.rpplAddr }" />" size="45">
<input type="text" class="etc_detail_input usrInsertAddr" placeholder="상세주소를 입력해주세요." name="rpplAddrDtl_${status.index }" id="rpplAddrDtl" value="<c:out value="${item.rpplAddrDtl }" />" size="25">
</div> --%>
</td>
</tr>
<tr>
<th scope="row">
<p>이메일</p>
</th>
<td>
<p><c:out value="${item.rpplEmail }" /></p>
</td>
</tr>
<tr>
<th scope="row">
<p>연락처</p>
</th>
<td>
<p><c:out value="${item.rpplPhone }" /></p>
</td>
</tr>
<tr>
<th scope="row" colspan="3">
<p>경정취지</p>
</th>
<td>
<label for="" class="label">경정취지 입력</label>
<p><c:out value="${item.rpplChgCn1 }" /></p>
</td>
</tr>
<tr>
<th scope="row" colspan="3">
<p>경정이유</p>
</th>
<td>
<label for="" class="label">경정이유 입력</label>
<p><c:out value="${item.rpplChgCn2 }" /></p>
</td>
</tr>
</tbody>
</table>
</c:forEach>
<div class="btn_wrap btn_layout04">
<c:if test="${apprYnExists == '' || apprYnExists eq null || apprYnExists eq '503010'}">
<button type="button" class="btnType06" onclick="fncApprYn('Y')">승인</button>
<button type="button" class="btnType06" onclick="fncApprYn('N')">반려</button>
</c:if>
<!-- <button type="button" class="btnType06" onclick="fncOzExport()">오즈 출력</button> -->
<button type="button" class="btnType06" onclick="fncPrint()">오즈 프린트</button>
<button type="button" class="btnType03" onclick="self.close()">닫기</button>
</div>
</div>
</div>
</form>
</body>
</html>

View File

@ -1,140 +0,0 @@
<%@ 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="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 fncGoDetail(rpplChgSeq){
var list = document.list;
window.open('', 'apmCorrectPop', 'width=1000, height=650, top=100, left=100, fullscreen=no, menubar=no, status=no, toolbar=no, titlebar=yes, location=no');
list.rpplChgSeq.value = rpplChgSeq;
list.action = "<c:url value='/kccadr/adjPgrMgr/apm/popup/apmCorrectionDetailPop.do'/>";
list.method = "post";
list.target = "apmCorrectPop";
list.submit();
list.target = "_self";
}
function fncGoList(){
var list = document.list;
list.action = "<c:url value='/kccadr/adjPgrMgr/apm/apmDetail.do'/>";
list.tabSeq.value = 0;
list.submit();
}
</script>
</head>
<body>
<form:form id="list" name="list" commandName="apmCorrectVO" method="post" >
<input type="hidden" name="adrSeq" value="<c:out value="${corReqVO.adrSeq}" />" />
<input type="hidden" name="adrSn" value="<c:out value="${corReqVO.adrSn}" />" />
<input type="hidden" name="rpplChgSeq" value="" />
<input type="hidden" name="tabSeq" value="2" />
<!-- 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="tbType03">
<table>
<colgroup>
<col style="width: 8%">
<col style="width: 28%;">
<col style="width: 28%;">
<col style="width: 15%;">
<col style="width: 10%;">
</colgroup>
<thead>
<tr>
<th>순번</th>
<th>경정 전 피신청인</th>
<th>경정 후 피신청인</th>
<th>신청일자</th>
<th>상태</th>
</tr>
</thead>
<tbody>
<c:forEach var="list" items="${list}" varStatus="status">
<tr>
<td>
<p><c:out value='${status.count}' /></p>
</td>
<td class="">
<%-- <a href="#none" onclick="fncGoDetail('<c:out value='${list.rpplChgSeq}' />');"><c:out value='${list.rpplChgBfrNm}' /></a> --%>
<a href="#none" onclick="fncGoDetail('<c:out value='${list.rpplChgSeq}' />');"><c:out value='${list.oldRpplNm}'/></a>
</td>
<td>
<%-- <a href="#none" onclick="fncGoDetail('<c:out value='${list.rpplChgSeq}' />');"><c:out value='${list.rpplChgAtrNm}' /></a> --%>
<a href="#none" onclick="fncGoDetail('<c:out value='${list.rpplChgSeq}' />');"><c:out value='${list.rpplNm}'/></a>
</td>
<td>
<p><c:out value='${list.sbmtDe}' /></p>
</td>
<td>
<p>
<c:choose>
<c:when test="${list.apprYn eq KccadrConstants.ADR_CNCL_RULER_COMP}">
승인
</c:when>
<c:when test="${list.apprYn eq KccadrConstants.ADR_CNCL_RULER_RETN}">
반려
</c:when>
<c:when test="${list.apprYn eq KccadrConstants.ADR_CNCL_RULER_REQ}">
제출
</c:when>
<c:otherwise>
-
</c:otherwise>
</c:choose>
</p>
</td>
</tr>
</c:forEach>
<c:if test="${fn:length(list) eq 0}">
<tr>
<td colspan="5">
<spring:message code="common.nodata.msg" />
</td>
</tr>
</c:if>
</tbody>
</table>
</div>
<div class="btn_wrap btn_layout01">
<div class="area_left" style="width: 350px;">
<button class="btnType04" onclick="fncGoList(); return false;">조정상세</button>
</div>
<div class="area_right">
<!-- <button class="btnType04" onclick="fncGoList(); return false;">목록</button> -->
</div>
</div>
</div>
</div>
</div>
</form:form>
<!-- //cont -->
</body>
</html>

View File

@ -1,116 +0,0 @@
<%@ 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"%>
<!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() {
$("#tabNav > button").on("click", function(e) {
var idx = $(this).index();
tabPageLoad(idx);
});
tabPageLoad(parseInt('${apmVO.tabSeq}'));
//해당 페이지에 대한 권한 체크
_admin_fn_check_authority("apmDetail", "div.cont", "R");
});
//권한 체크 결과값으로 후속처리
function admin_fn_check_authority_ret(p_param){
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
}
function tabPageLoad(idx) {
var url = getPageUrl(idx);
$('#tabContent').load(url, {
"adrSeq" : $("#adrSeq").val(),
"adrSn" : $("#adrSn").val(),
"reqOlCd" : $("#reqOlCd").val(),
"searchMonth" : $("#searchMonth").val(),
"searchEachAdrAdminYn" : $("#searchEachAdrAdminYn").val()
}, function(res, status, xhr) {
console.log(status);
});
}
function getPageUrl(idx) {
console.log('idx : ', idx);
switch (idx) {
case 0:
return '/kccadr/adjPgrMgr/apm/apmTab0.do';
case 1:
return '/kccadr/adjPgrMgr/apm/apmTab1.do';
case 2:
return '/kccadr/adjPgrMgr/apm/apmTab2.do';
}
}
function fncGoList(pageNo) {
var listForm = document.listForm;
listForm.action = "<c:url value='/web/kccadr/adjcclt/ai/adjstConciliatorList.do'/>";
listForm.submit();
}
function fn_egov_downFile(atchFileId, fileSn) {
window.open("<c:url value='/cmm/fms/FileDown.do?atchFileId=" + atchFileId + "&fileSn=" + fileSn + "'/>");
}
</script>
<style type="text/css">
.wrap {min-width:1660px;}
</style>
</head>
<body>
<form:form id="listForm" name="listForm" commandName="apmVO" onsubmit="return false;" method="post">
<input type="hidden" id="adrSeq" name="adrSeq" value="<c:out value="${apmVO.adrSeq}" />" />
<input type="hidden" id="adrSn" name="adrSn" value="<c:out value="${apmVO.adrSn}" />" />
<input type="hidden" id="reqOlCd" name="reqOlCd" value="<c:out value="${apmVO.reqOlCd}" />" />
<input type="hidden" id="searchMonth" name="searchMonth" value="<c:out value='${apmVO.searchMonth}'/>"/>
<input type="hidden" id="searchEachAdrAdminYn" name="searchEachAdrAdminYn" value="<c:out value='${apmVO.searchEachAdrAdminYn}'/>"/>
</form:form>
<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 id="tabNav" class="tab_btn tab03">
<button class="tab ${apmVO.tabSeq eq '0' ? 'on' : ''}">사건일반</button>
<button class="tab ${apmVO.tabSeq eq '1' ? 'on' : ''}">사건문서</button>
<button class="tab ${apmVO.tabSeq eq '2' ? 'on' : ''}">진행정보</button>
</div>
<div id="tabContent" class="tab_cont on"></div>
</div>
</div>
</div>
</body>
</html>

View File

@ -1,477 +0,0 @@
<%@ 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" %>
<c:set var="now" value="<%=new java.util.Date()%>" />
<!DOCTYPE html>
<html lang="ko">
<head>
<title>조정사건 목록</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<script type="text/javaScript" language="javascript">
$(document).ready(function() {
$("input[name=searchStatusArr]").on("click", function() {
var value = $(this).val();
if (value == "99") {
$("input[name=searchStatusArr]").prop("checked", $(this).is(":checked"));
}
})
$("input[name=searchMonth]").on("click", function() {
var value = $(this).val();
if (value == "99") {
setSearchMonthDate(1);
$("#sel_date").find("button").prop("disabled", false);
$("#sel_date").find("input").prop("readonly", false);
} else {
setSearchMonthDate(value);
$("#sel_date").find("button").prop("disabled", true);
$("#sel_date").find("input").prop("readonly", true);
}
})
if ('${cmmVO.searchMonth}' != '99') {
setSearchMonthDate('${cmmVO.searchMonth}');
}
<c:if test="${cmmVO.ckStsListAll eq 'Y' }">
$("input[name=ckStsListAll]").attr("checked", true);
</c:if>
<c:forEach var="val" items="${cmmVO.ckStsList}">
fncCheckValue('ckStsList', '${val}')
</c:forEach>
//해당 페이지에 대한 권한 체크
_admin_fn_check_authority("apmList", "div.cont", "ALL");
});
//권한 체크 결과값으로 후속처리
function admin_fn_check_authority_ret(p_param){
//alert(p_param); //리턴값으로 상세 권한 체크시 사용 "" 또는 CUD 또는 CUDP
}
function setSearchMonthDate(month) {
$("input[name=searchStartDt]").val(moment('<fmt:formatDate value="${now}" pattern="yyyy-MM-dd" />').add(month * -1, 'months').format('YYYY-MM-DD'));
$("input[name=searchEndDt]").val(moment('<fmt:formatDate value="${now}" pattern="yyyy-MM-dd" />').format('YYYY-MM-DD'));
}
function fncExcel() {
var listForm = document.listForm;
listForm.action = "<c:url value='/kccadr/adjPgrMgr/apm/excel.do'/>";
listForm.submit();
}
function fncGoList() {
linkPage(1);
}
function linkPage(pageNo) {
var listForm = document.listForm;
listForm.pageIndex.value = pageNo;
listForm.action = "<c:url value='/kccadr/adjPgrMgr/apm/apmList.do'/>";
listForm.submit();
}
function fncGoDetail(adrSeq, adrSn, reqOlCd) {
var listForm = document.listForm;
listForm.adrSeq.value = adrSeq;
listForm.adrSn.value = adrSn;
listForm.reqOlCd.value = reqOlCd;
listForm.action = "<c:url value='/kccadr/adjPgrMgr/apm/apmDetail.do'/>";
listForm.submit();
}
/**
* 조정부 지정
*/
function fncGoDtb() {
if (getChkLen('ckAdrList')==0){
alert ('조정부를 지정할 사건을 선택해 주세요.')
return ;
}
var listForm = document.listForm;
listForm.action = "<c:url value='/kccadr/adjPgrMgr/dtb/dtbReg.do'/>";
listForm.submit();
}
function fncCheckAll(obj, name) {
$("input[name=" + name + "]").each(function(index, item) {
item.checked = $(obj).is(":checked")
})
}
function fncCheckValue(name, value) {
$("input[name=" + name + "]").each(function(index, item) {
if (item.value == value) {
item.checked = true;
}
})
}
</script>
</head>
<body>
<form:form id="listForm" name="listForm" commandName="cmmVO" onsubmit="return false;" method="post">
<input type="hidden" name="pageIndex" value="<c:out value='${cmmVO.pageIndex}' default='1' />" />
<input type="hidden" name="searchSortCnd" value="<c:out value="${cmmVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${cmmVO.searchSortOrd}" />" />
<input type="hidden" name="searchStatus" value="<c:out value="${cmmVO.searchStatus}" />" />
<input type="hidden" name="adrSeq" />
<input type="hidden" name="adrSn" />
<input type="hidden" name="reqOlCd" />
<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">
<!-- list_top -->
<div class="list_top">
<%--<p>총 건수 : <span><c:out value="${paginationInfo.totalRecordCount}"/></span>건</p>--%>
<!-- <p>총 건수 : <span>204</span>건</p> -->
<div class="list_util">
<div class="btn_wrap right">
<button type="button" class="btn_down_excel" onclick="fncExcel(); return false;">엑셀 다운로드</button>
</div>
<div class="detail_search">
<ul>
<li>
<p class="tit_text">구분</p>
<select name="searchCondition" id="searchCondition" title="선택">
<%-- <option value='' <c:if test="${cmmVO.searchCondition == ''}">selected</c:if>>전체</option> --%>
<option value='10' <c:if test="${cmmVO.searchCondition == '10'}">selected</c:if>>조정번호</option>
<option value='20' <c:if test="${cmmVO.searchCondition == '20'}">selected</c:if>>신청인</option>
<option value='30' <c:if test="${cmmVO.searchCondition == '30'}">selected</c:if>>신청내용</option>
<option value='40' <c:if test="${cmmVO.searchCondition == '40'}">selected</c:if>>조정부</option>
<option value='50' <c:if test="${cmmVO.searchCondition == '50'}">selected</c:if>>조정조사관</option>
</select>
<%-- <kc:select codeId="CC005" name="srcDlvSts" id="srcDlvSts" defaultText="전체" defaultValue="" /> --%>
<input type="text" class="search_input" id="searchKeyword" name="searchKeyword" value="<c:out value='${cmmVO.searchKeyword}'/>" placeholder="검색어를 입력하세요.">
<button class="btn_search" onclick="fncGoList()">검색</button>
</li>
<li>
<kc:radio name="" id="" codeId="" />
<p class="tit_text">조정상태</p>
<div class="check_wrap">
<span>
<input type="checkbox" id="ckStsListAll" name="ckStsListAll" value="Y">
<label for="ckStsListAll">전체</label>
<!-- onclick="fncCheckAll(this, 'ckStsList')" -->
</span>
<span>
<input type="checkbox" id="ckStsList1" name="ckStsList" value="<c:out value="${KccadrConstants.ADR_PAY_COMP}"/>">
<label for="ckStsList1">입금완료</label>
</span>
<span>
<input type="checkbox" id="ckStsList2" name="ckStsList" value="<c:out value="${KccadrConstants.ADR_RCPT_COMP}"/>">
<label for="ckStsList2">조정접수</label>
</span>
<span>
<input type="checkbox" id="ckStsList3" name="ckStsList" value="<c:out value="${KccadrConstants.ADR_RCPT_APPR_COMP}"/>">
<label for="ckStsList3">접수결재</label>
</span>
<span>
<input type="checkbox" id="ckStsList7" name="ckStsList" value="<c:out value="${KccadrConstants.ADR_DEPT_SLCT_COMP}"/>">
<label for="ckStsList7">조정부지정</label>
</span>
<span>
<input type="checkbox" id="ckStsList5" name="ckStsList" value="adrIng">
<label for="ckStsList5">조정진행</label>
</span>
<span>
<input type="checkbox" id="ckStsList6" name="ckStsList" value="adrSucc">
<label for="ckStsList6">조정성립</label>
</span>
<span>
<input type="checkbox" id="ckStsList4" name="ckStsList" value="<c:out value="${KccadrConstants.ADR_CLOSE_APPR_COMP}"/>">
<label for="ckStsList4">종결결재</label>
</span>
</div>
</li>
<%-- <li <c:if test="${cmmVO.searchEachAdrAdminBtnYn ne 'Y' }">style="display:none;"</c:if>> --%>
<li>
<p class="tit_text">조정조사관 조회</p>
<%-- <div class="radio_wrap">
<span>
<input ${cmmVO.searchEachAdrAdminYn eq 'Y' ? 'checked=\"checked\"' : ''} value="Y" type="radio" name="searchEachAdrAdminYn" id="searchEachAdrAdminYn1">
<label for="searchEachAdrAdminYn1">담당사건만 보기</label>
</span>
<span>
<input ${cmmVO.searchEachAdrAdminYn eq 'N' ? 'checked=\"checked\"' : ''} value="N" type="radio" name="searchEachAdrAdminYn" id="searchEachAdrAdminYn2">
<label for="searchEachAdrAdminYn2">전체 보기</label>
</span>
</div> --%>
<select name="searchLoginId" id="searchLoginId" title="선택" style="width: 250px;">
<option value='all' <c:if test="${cmmVO.searchLoginId == 'all'}">selected</c:if>>전체</option>
<c:forEach var="list" items="${adrAdminList}" varStatus="status">
<option value='${list.esntlId}' <c:if test="${cmmVO.searchLoginId == list.esntlId}">selected</c:if>><c:out value="${list.userNm}"/></option>
</c:forEach>
</select>
</li>
<li>
<p class="tit_text">신청일자</p>
<div class="radio_wrap">
<span>
<input ${cmmVO.searchMonth eq '1' ? 'checked=\"checked\"' : ''} value="1" type="radio" name="searchMonth" id="month1">
<label for="month1">1개월</label>
</span>
<span>
<input ${cmmVO.searchMonth eq '3' ? 'checked=\"checked\"' : ''} value="3" type="radio" name="searchMonth" id="month3">
<label for="month3">3개월</label>
</span>
<span>
<input ${cmmVO.searchMonth eq '6' ? 'checked=\"checked\"' : ''} value="6" type="radio" name="searchMonth" id="month6">
<label for="month6">6개월</label>
</span>
<span>
<input ${cmmVO.searchMonth eq '99' ? 'checked=\"checked\"' : ''} value="99" type="radio" name="searchMonth" id="monthEtc">
<label for="monthEtc">기간지정</label>
</span>
<div id="sel_date" class="sel_date">
<input type="text" class="startDate inp" title="검색시작일" id="startDate01" name="searchStartDt" value="${cmmVO.searchStartDt}" data-datecontrol="true" ${cmmVO.searchMonth ne '99' ? 'readonly' : ''}>
<div class="calendar_in" id="calendarName_startDate" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('startDate01-lry','',this)" class="btn_cal" ${cmmVO.searchMonth ne '99' ? 'disabled' : ''}></button>
<div id="startDate01-lry" class="calendarPop" style="display: none;">
<iframe id="startDate01-ifrm" name="startDate01-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html" title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div>
~
<input type="text" class="endDate inp" title="검색시작일" id="endDate" name="searchEndDt" value="${cmmVO.searchEndDt}" data-datecontrol="true" ${cmmVO.searchMonth ne '99' ? 'readonly' : ''}>
<div class="calendar_in" id="calendarName_endDate" style="z-index: 9;">
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('endDate-lry','',this)" class="btn_cal" ${cmmVO.searchMonth ne '99' ? 'disabled' : ''}></button>
<div id="endDate-lry" class="calendarPop" style="display: none;">
<iframe id="endDate-ifrm" name="endDate-ifrm" class="calendar-frame" src="/kccadrPb/adm/calendar.html" title=" 달력 팝업" frameborder="0" scrolling="no"></iframe>
</div>
</div>
</div>
</div>
</li>
</ul>
</div>
</div>
</div>
<!-- //list_top -->
<!-- list_top -->
<div class="list_top">
<p>
총 건수 :
<span>
<c:out value="${paginationInfo.totalRecordCount}" />
</span>
건 (온라인 : <span><c:out value="${cntOnline}" /></span>건, 오프라인 : <span><c:out value="${cntOffline}" /></span>건)
</p>
<div class="list_util">
<select class="sel2" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width: 140px">
<option value='10' <c:if test="${cmmVO.pageUnit == '10' or cmmVO.pageUnit == ''}">selected</c:if>>10줄</option>
<option value='20' <c:if test="${cmmVO.pageUnit == '20'}">selected</c:if>>20줄</option>
<option value='30' <c:if test="${cmmVO.pageUnit == '30'}">selected</c:if>>30줄</option>
<option value='100' <c:if test="${cmmVO.pageUnit == '100'}">selected</c:if>>100줄</option>
</select>
</div>
</div>
<!-- //list_top -->
<!-- list -->
<div class="list tbType01">
<table>
<colgroup>
<col style="width: 42px;">
<col style="width: 6%;">
<col style="width: 6%;">
<col style="width: 8%;">
<col style="width: 8%;">
<col style="width: 8%;">
<col style="width: auto;">
<col style="width: 8%;">
<col style="width: 8%;">
<col style="width: 8%;">
<col style="width: 7%;">
<col style="width: 200px;">
</colgroup>
<thead>
<tr>
<th><input type="checkbox" name="checkAll" id="checkAll" onclick="fncCheckAll(this, 'ckAdrList')"> <label for="checkAll"></label></th>
<th>신청일자</th>
<th>구분
<!-- <button class="sort btn_sort" id="sort_M.REQ_OL_CD">▲</button> -->
</th>
<th>조정번호</th>
<th>신청인</th>
<th>신청내용</th>
<th>피신청인</th>
<th>조정부</th>
<th>조사관</th>
<th>기일</th>
<th>진행차수</th>
<th>조정상태</th>
</tr>
</thead>
<tbody>
<c:forEach var="item" items="${list}" varStatus="status">
<tr>
<td>
<!-- 접수결재 완료 상태(201050)이거나, 조정부지정반려(202090) 상태일때만 체크박스가 활성화 되어 보여진다. -->
<c:choose>
<c:when test="${item.statCd == KccadrConstants.ADR_RCPT_APPR_COMP || item.statCd== KccadrConstants.ADR_DEPT_SLCT_RETN}">
<c:choose>
<c:when test="${item.memDeptSeq eq null }">
<!-- 조정부가 없으면 배당등록 있으면 배당수정 (사건번가 할당되어있어야 한다.) -->
<input type="checkbox" id="list<c:out value="${status.index}" />" name="ckAdrList" value="<c:out value="${item.adrSeq}|${item.adrNo}|${item.adrSn}" />">
<label for="list<c:out value="${status.index}" />"></label>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<input type="checkbox" id="chkNone" name="chkNone" disabled>
<label for="chkNone"></label>
</c:otherwise>
</c:choose>
</td>
<td>
<a href="#" onclick="fncGoDetail('<c:out value="${item.adrSeq}" />', '<c:out value="${item.adrSn}" />', '<c:out value="${item.reqOlCd}"/>');"> <c:out value="${item.sbmtDeDay}" /></a>
</td>
<td>
<p><c:out value="${item.reqOlCdTx}" /></p>
</td>
<td>
<a href="#" onclick="fncGoDetail('<c:out value="${item.adrSeq}" />', '<c:out value="${item.adrSn}" />', '<c:out value="${item.reqOlCd}"/>');"><c:out value="${item.adrNo}" /></a>
</td>
<td>
<a href="#" onclick="fncGoDetail('<c:out value="${item.adrSeq}" />', '<c:out value="${item.adrSn}" />', '<c:out value="${item.reqOlCd}"/>');"> <p><c:out value="${item.appliCantNm}" /></p></a>
</td>
<td>
<a href="#" onclick="fncGoDetail('<c:out value="${item.adrSeq}" />', '<c:out value="${item.adrSn}" />', '<c:out value="${item.reqOlCd}"/>');"> <p><c:out value="${item.ccTyTx}" /></p></a>
</td>
<td>
<a href="#none" onclick="fncGoDetail('${item.adrSeq}', '${item.adrSn}', '<c:out value="${item.reqOlCd}"/>');"><c:out value="${item.resPonDentNm}" /></a>
</td>
<td>
<p><c:out value="${item.memDeptNm}" /></p>
</td>
<td>
<p><c:out value="${item.adrAdmNm}" /></p>
</td>
<td>
<p><c:out value="${item.appDeDay}" /></p>
</td>
<td>
<p><c:out value="${item.adrSn}" /></p>
</td>
<td>
<c:choose>
<c:when test="${item.statCd eq '104010'}">
<p class="status_cmp">
<c:out value="${item.statCdTx}" />
</p>
</c:when>
<c:otherwise>
<p class="status_ing">
<kc:code codeId="CC013" code="${item.statCd}"/>
</p>
</c:otherwise>
</c:choose>
<!--
<c:choose>
<c:when test="${
item.statCd eq '101010'
or item.statCd eq '101050'
or item.statCd eq '104050'
or item.statCd eq '102050'
or item.statCd eq '103050'
or item.statCd eq '201050'
or item.statCd eq '201010'
or item.statCd eq '202010'
or item.statCd eq '202050'
or item.statCd eq '202090'
or item.statCd eq '204010'
or item.statCd eq '204050'
or item.statCd eq '204090'
or item.statCd eq '205010'
or item.statCd eq '205050'
or item.statCd eq '205090'
}">
<p class="status_ing">
<kc:code codeId="CC022" code="${item.statCd}"/>
</p>
</c:when>
<c:when test="${item.statCdTx eq '' || item.statCdTx eq null }"></c:when>
<c:when test="${item.statCd eq '104010'}">
<p class="status_cmp">
<c:out value="${item.statCdTx}" />
</p>
</c:when>
<c:otherwise>
<p class="status_ing">
<c:out value="${item.statCdTx}" />
</p>
</c:otherwise>
</c:choose>
-->
</td>
</tr>
<%-- <tr>
<td colspan="10"><c:out value="${item}" /></td>
</tr> --%>
</c:forEach>
<c:if test="${empty list}">
<tr>
<td colspan="12">
<spring:message code="common.nodata.msg" />
</td>
</tr>
</c:if>
</tbody>
</table>
</div>
<!-- //list -->
<div class="btn_wrap btn_layout02">
<button class="btnType02" onclick="fncGoDtb(); return false;">조정부지정</button>
</div>
<!-- page -->
<div class="page">
<ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="linkPage" />
</div>
<!-- //page -->
</div>
</div>
</div>
</form:form>
</body>
</html>

File diff suppressed because it is too large Load Diff

View File

@ -1,248 +0,0 @@
<%@ 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>
<!-- 워크플로우용 스크립트 시작 -->
<!-- A320 취하신청 -->
<c:forEach var="list" items="${list_mgr}" varStatus="status">
<c:if test="${fn:length(list.menuId) eq '6'
or list.menuId eq 'A260'
or list.menuId eq 'A320'
or list.menuId eq 'C150'
or list.menuId eq 'C290'
}">
<script>
//<!-- 조정진행워크플로우 체크 -->
$("#${list.menuId}").addClass("status01");
</script>
<c:set var="lastMenuId">${list.menuId}</c:set>
</c:if>
</c:forEach>
<!-- 최종값 찾기 -->
<c:forEach var="list" items="${list_mgr}" varStatus="status">
<c:if test="${fn:length(list.menuId) eq '6'}">
<!-- 사건접수진행시 체크-->
<c:if test="${list.menuId ne '400000'
and fn:indexOf(list.menuId,'3090')<0}">
<c:set var="passMenuId">${list.menuId}</c:set>
</c:if>
<c:if test="${list.menuId eq '400000'}">
<c:set var="lastMenuId">400000</c:set>
</c:if>
</c:if>
</c:forEach>
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#${lastMenuId}").addClass("status02");
</script>
<!-- 신청서 보완 체크시-->
<c:if test="${info.statCd lt '101050' and info.statCd ne '101010'}">
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#101011").addClass("status02");
</script>
</c:if>
<!-- 사건접수진행시 체크-->
<c:if test="${info.statCd eq '201010'
or info.statCd eq '201050'}">
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#101050").addClass("status02");
</script>
</c:if>
<!-- 조정부배당진행시 체크-->
<c:if test="${info.statCd eq '202010'}">
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#202050").addClass("status02");
</script>
</c:if>
<!-- 기일진행시 체크-->
<c:if test="${info.statCd eq '205010'}">
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#205050").addClass("status02");
</script>
</c:if>
<!-- 취하신청 체크-->
<c:if test="${info.statCd eq 'C290' or info.statCd eq 'A320'}">
<script>
<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#C290").addClass("status02");
</script>
</c:if>
<!-- 취하종결 체크-->
<c:if test="${fn:indexOf(info.statCd,'3050')>-1}">
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#3050").addClass("status01");
</script>
</c:if>
<!-- 조정성립 체크-->
<c:if test="${fn:indexOf(info.statCd,'3040')>-1}">
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#3040").addClass("status01");
</script>
</c:if>
<!-- 직권조정 체크-->
<c:if test="${fn:indexOf(info.statCd,'3060')>-1}">
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#3060").addClass("status01");
$("#3061").removeClass("status01");
</script>
</c:if>
<!-- 조정권고안 체크-->
<c:if test="${fn:indexOf(info.statCd,'3030')>-1}">
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#3030").addClass("status01");
</script>
</c:if>
<!-- 불성립 체크-->
<c:if test="${fn:indexOf(info.statCd,'3070')>-1}">
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#3070").addClass("status01");
</script>
</c:if>
<!-- 조정권고안 체크-->
<c:if test="${info.statCd eq '400000'
or fn:indexOf(info.statCd,'3090')>-1
}">
<!-- 조정권고안 체크-->
<c:if test="${fn:indexOf(passMenuId,'3030')>-1}">
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#3030").addClass("status01");
</script>
</c:if>
<!-- 조정성립 체크-->
<c:if test="${fn:indexOf(passMenuId,'3040')>-1}">
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#3040").addClass("status01");
</script>
</c:if>
<!-- 취하종결 체크-->
<c:if test="${fn:indexOf(passMenuId,'3050')>-1}">
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#3050").addClass("status01");
</script>
</c:if>
<!-- 직권조정 체크-->
<c:if test="${fn:indexOf(passMenuId,'3060')>-1}">
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#3060").addClass("status01");
$("#3061").removeClass("status01");
</script>
</c:if>
<!-- 불성립 체크-->
<c:if test="${fn:indexOf(passMenuId,'3070')>-1}">
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#3070").addClass("status01");
</script>
</c:if>
</c:if>
<!-- 조정권고안 체크-->
<c:if test="${info.statCd eq '400000'}">
<!-- 조정권고안 체크-->
<c:if test="${fn:indexOf(passMenuId,'3030')>-1}">
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#3030").addClass("status02");
</script>
</c:if>
<!-- 조정성립 체크-->
<c:if test="${fn:indexOf(passMenuId,'3040')>-1}">
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#3040").addClass("status02");
</script>
</c:if>
<!-- 취하종결 체크-->
<c:if test="${fn:indexOf(passMenuId,'3050')>-1}">
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#3050").addClass("status02");
</script>
</c:if>
<!-- 직권조정 체크-->
<c:if test="${fn:indexOf(passMenuId,'3060')>-1}">
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#3060").addClass("status02");
$("#3061").removeClass("status02");
</script>
</c:if>
<!-- 불성립 체크-->
<c:if test="${fn:indexOf(passMenuId,'3070')>-1}">
<script>
//<!-- 조정진행워크플로우 현재 상태 체크 -->
$("#3070").addClass("status02");
</script>
</c:if>
</c:if>
<!-- 워크플로우용 스크립트 끝 -->
</head>
<body>
<jsp:include page="/WEB-INF/jsp/web/kccadr/kccadrCom/workFlowJsp.jsp"></jsp:include>
</body>
</html>

File diff suppressed because it is too large Load Diff

View File

@ -1,344 +0,0 @@
<%@ 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"%>
<!-- ec: 사용을 위한 정보 1 -->
<%@ taglib prefix="ec" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<!-- ec: 사용을 위한 정보 1 -->
<!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(){
//var p_backTd =$('#backTd');
//alert(p_backTd.length);
});
function fncCancelDo(p_a, p_b){
var message = "해당 상태를 포함하여 이후 단계를 모두 되돌리기 처리합니다.\n관련데이터는 모두 삭제처리 됩니다.\n(삭제된 데이터는 복구할수 없습니다.)\n\n진행합니까?";
// alert(p_a);
if(confirm(message)){
var data = new FormData(document.getElementById("listForm"));
//data.append("adrSeq", p_a);
data.append("adrHstryMgrSeq", p_b);
$.ajax({
type: "POST",
url: "/kccadr/adjPgrMgr/apm/apmTab2CancelAjax.do",
data : data,
dataType : 'json',
async : false,
processData : false,
contentType : false,
cache : false,
success: function (returnData, status) {
if(status == 'success'){
var result = returnData.result
if(result == 'loginFail'){
alert("로그인을 해주세요.");
}
if(result == 'fail'){
alert("되돌리기중 오류가 발생하였습니다.");
return false;
}else{
alert("되돌리기 처리가 완료되었습니다.");
location.reload();
return false;
}
} else if(status == 'fail') {
alert("처리중 오류가 발생하였습니다.");
}
},
error: function (e) {
}
});
}
}
</script>
</head>
<body>
<!-- //cont_tit -->
<div class="tab_cont on">
<p class="tb_tit">조정 진행 정보</p>
<div class="tbType03">
<table>
<colgroup>
<col style="width: 15%">
<col style="width: auto;">
<col style="width: 30%;">
</colgroup>
<thead>
<tr>
<th>
일자
<!-- <button type="button" class="btn_sort">▲</button> -->
</th>
<th>진행현황</th>
<th>비고</th>
</tr>
</thead>
<tbody>
<c:forEach var="list" items="${list}" varStatus="status">
<c:if test="${list.hstryCn ne ''}">
<tr>
<td>
<p><c:out value="${list.hstryDe}" /></p>
</td>
<td class="td_info">
<c:if test="${list.adrDocCn1*1 eq 1}">
<kc:code codeId="CC013" code="${list.statCd}"/>
</c:if>
<c:if test="${list.adrDocCn1*1 eq 2}">
<c:out value="${list.statCd}" />
</c:if>
<c:if test="${list.adrDocCn1*1 eq 3}">
<c:out value="${list.hstryDetailCn}" /><c:out value="${list.statCd}" />
<kc:code codeId="CC044" code="${list.hstryCn}"/> 제출
</c:if>
<c:if test="${list.adrDocCn1*1 eq 4}">
<c:out value="${list.statCd}" />
</c:if>
<!--
<a href="#">${list.hstryCn}</a>
-->
</td>
<td> <p>
<c:if test="${list.adrDocCn1*1 ne 1 and list.adrDocCn1*1 ne 4 and list.adrDocCn1*1 ne 3}">
<c:out value="${list.hstryCn}" />
</c:if>
</p></td>
</tr>
</c:if>
</c:forEach>
<c:if test="${empty list}">
<tr>
<td colspan="3">
<spring:message code="common.nodata.msg" />
</td>
</tr>
</c:if>
</tbody>
</table>
</div>
<!-- //list_상세 -->
<p class="tb_tit">되돌리기용 조정 진행 정보</p>
<div class="tbType03">
<table>
<colgroup>
<col style="width: 15%">
<col style="width: auto;">
<!--
<col style="width: 15%;">
<col style="width: 7%;">
-->
<col style="width: 10%;">
</colgroup>
<thead>
<tr>
<th>
일시
<!-- <button type="button" class="btn_sort">▲</button> -->
</th>
<th>진행현황</th>
<th>백업</th>
<!--
<th>비고1</th>
<th>비고2</th>
<th>비고3</th>
-->
</tr>
</thead>
<tbody>
<!-- 최종 되돌리기 위치를 찾는다. -->
<c:forEach var="list" items="${list_mgr}" varStatus="status">
<c:if test="${fn:length(list.menuId) eq 6}">
<c:if test="${list.menuId*1 gt 200000
and list.menuId*1 ne 201090
and list.menuId*1 ne 201050
and list.menuId*1 ne 202050
and list.menuId*1 ne 204050
and list.menuId*1 ne 205050
and list.menuId*1 ne 302050
and list.menuId*1 ne 303050
and list.menuId*1 ne 304050
and list.menuId*1 ne 305050
and list.menuId*1 ne 306050
and list.menuId*1 ne 307050
and list.menuId*1 ne 309050
and list.menuId*1 ne 400000
}"><!--
아래 번호는 skip 대상임
302050 기일조서 결재완료
205050 기일통지서 승인
202050 조정부지정완료
201050 접수결재완료
-->
<c:set var="lastCount" value="${status.count}"/>
</c:if>
</c:if>
<!-- 확정증명원은 예외로 처리 -->
<!-- 삭제 처리가 가능하므로 다시 주석 처리함 -->
<%-- <c:if test="${list.menuId eq 'A500'}"> --%>
<%-- <c:set var="lastCount" value="${status.count}"/> --%>
<%-- </c:if> --%>
</c:forEach>
<c:forEach var="list" items="${list_mgr}" varStatus="status">
<c:if test="${fn:length(list.menuId) eq 6}">
<c:if test="${list.menuId gt 200000*1 and list.menuId ne 201090*1}">
<%-- <c:if test="${not fn:contains(list.menuId,'V')}"> --%>
<tr>
<td>
<p><c:out value="${list.frstRegistPnttm}" /></p>
</td>
<!--
<td class="td_info">
<p><c:out value="${list.menuNm}" /></p>
</td>
-->
<td style="text-align:left;">
<p>
<c:out value="${list.aCodeNm}" />
<c:if test="${empty list.aCodeNm}">
<c:out value="${list.eCodeNm}" />
</c:if>
</p>
</td>
<!--
<td>
<p>
<c:if test="${not empty list.menuId}">
<c:out value="${list.menuId}" />
</c:if>
</p>
</td>
-->
<td id="backTd">
<p>
<c:if test="${lastCount eq status.count}">
<%-- <a href="javascript:fncCancelDo('${list.adrSeq}','${list.adrHstryMgrSeq}');">되돌리기</a> --%>
<button type="button" class="btnType03" onclick="fncCancelDo('${list.adrSeq}','${list.adrHstryMgrSeq}');">되돌리기</button>
<%-- ${list.menuId} --%>
</c:if>
</p>
</td>
</tr>
<%-- </c:if> --%>
</c:if>
</c:if>
<!-- 확정증명원은 예외로 처리 -->
<!-- 삭제 처리가 가능하므로 다시 주석 처리함 -->
<%-- <c:if test="${list.menuId eq 'A500'}"> --%>
<!-- <tr> -->
<!-- <td> -->
<%-- <p><c:out value="${list.frstRegistPnttm}" /></p> --%>
<!-- </td> -->
<!-- <td style="text-align:left;"> -->
<!-- <p> -->
<!-- 확정증명원 등록 -->
<!-- </p> -->
<!-- </td> -->
<!-- <td id="backTd"> -->
<!-- <p> -->
<%-- <c:if test="${lastCount eq status.count}"> --%>
<%-- <a href="javascript:fncCancelDo('${list.adrSeq}','${list.adrHstryMgrSeq}');">되돌리기</a> --%>
<%-- </c:if> --%>
<!-- </p> -->
<!-- </td> -->
<!-- </tr> -->
<%-- </c:if> --%>
</c:forEach>
<c:if test="${empty list_mgr}">
<tr>
<td colspan="3">
<spring:message code="common.nodata.msg" />
</td>
</tr>
</c:if>
</tbody>
</table>
</div>
<!-- //list_상세 -->
</div>
<form name="tabFormz2" onsubmit="return false;" method="post">
<input type="hidden" id="adrSeq" name="adrSeq" />
<input type="hidden" id="adrHstryMgrSeq" name="adrHstryMgrSeq" />
</form>
</body>
</html>

View File

@ -1,851 +0,0 @@
<%@ 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"%>
<!DOCTYPE html>
<html lang="ko">
<head>
<title>조정진행 상세</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<!-- loading bar 2021-11-20 -->
<!-- css -->
<link rel="stylesheet" href="/kccadrPb/adm/css/popup.css">
<!-- loading bar 2021-11-20 -->
<script src="/kccadrPb/usr/script/popup.js"></script>
<script type="text/javaScript" language="javascript">
function fncOepnDoc(rpplDocSeq) {
$('#rpplDocSeq').val(rpplDocSeq);
var pop = document.pop;
commonPopWindowopenForm("/kccadr/adjPgrMgr/apm/popup/fncOpenDocPop.do", "580", "380", "srcRegAdrNoPop", $('#pop'));
}
function fn_egov_pdfView(atchFileId, fileSn) {
var ckAdrList = $('input:checkbox[name="ckAdrList"]:checked');
if(ckAdrList.length==0){
alert ('파일을 선택해 주세요.');
return false;
}
$.each(ckAdrList, function(idx, item){
var file = (item.value).split('|');
window.open("/cmm/fms/pdfView.do?atchFileId=" + file[0] + "&fileSn=" + file[1] + "", 'pdf'+idx);
});
}
function fn_egov_downFile(atchFileId, fileSn) {
var ckAdrList = $('input:checkbox[name="ckAdrList"]:checked');
if(ckAdrList.length==0){
alert ('파일을 선택해 주세요.');
return false;
}
$.each(ckAdrList, function(idx, item){
var file = (item.value).split('|');
window.open("/cmm/fms/FileDown.do?atchFileId=" + file[0] + "&fileSn=" + file[1] + "", 'win'+idx);
});
}
function fncCheckAll(obj, name) {
$("input[name=" + name + "]").each(function(index, item) {
item.checked = $(obj).is(":checked")
})
}
function fncDocRegPopup(){
var pop = document.pop ;
commonPopWindowopenForm("/kccadr/adjPgrMgr/apm/popup/docRegPop.do" , "750", "550", "docRegPop", $("#pop"));
}
function fnc_is_prcs_finish(){
var data = new FormData(document.getElementById("pop"))
$.ajax({
type: "POST",
url: "/kccadr/adjPgrMgr/apm/adrConversionChkAjax.do",
data: data,
dataType:'json',
async: false,
processData: false,
contentType: false,
cache: false,
success: function (returnData, status) {
console.log(returnData.result);
if(returnData.result == 'success'){
fnc_download_endFile();
}else{
alert(returnData.message);
}
},
error: function (e) {console.log("ERROR : ", e); }
});
}
function fnc_download_endFile(){
var adrSeq = document.pop.adrSeq.value;
window.open("<c:url value='/kccadr/adjPgrMgr/apm/adrEndPdfConversionDownload.do?adrSeq=" + adrSeq + "'/>");
}
// function fn_viewPop(code) {
// console.log('code : ', code);
// var pop = document.pop;
// pop.atchFileId.value = code;
// commonPopWindowopenForm("/kccadr/adjPgrMgr/apm/popup/apmAnsDetail", '600', '400', "apmAnsDetailPop", $('#pop'));
// }
$(document).ready(function(){
$('.viewPopup').click(function(){
console.log($(this).data('info'));
$('#atchFileId').val($(this).data('info'));
commonPopWindowopenForm("/kccadr/adjPgrMgr/apm/popup/apmAnsDetail.do", '500', '400', "apmAnsDetailPop", $('#pop'));
});
});
</script>
</head>
<body>
<form id="pop" name="pop" method="post">
<input type="hidden" name="atchFileId" id="atchFileId" value="">
</form>
<div class="mask" onclick="layerPopToggle();"></div>
<button type="button" data-tooltip="loading_info_popup" class="btnType01" id="btnType01popupopen" style="display:none;">로딩팝업 나와라 쨘</button>
<button type="button" data-tooltip="loading_info_popup" class="btnType01" id="d_btnType01popupopen" style="display:none;">로딩팝업 나와라 쨘</button>
<!-- 조정비용 안내 -->
<div class="tooltip-wrap">
<div class="popup_wrap loading_info_popup" tabindex="0" data-tooltip-con="loading_info_popup"
data-focus="loading_info_popup" data-focus-prev="loading_info_popup_close">
<div class="popup_tit">
<p>진행 안내-최대 10분까지 소요될 수 있습니다.</p> <button class="btn_popup_close tooltip-close" data-focus-next="loading_info_popup" data-focus="loading_info_popup_close"
title="팝업 닫기" id="btnType01_popup_close"><i></i></button>
</div>
<div class="popup_cont">
<div class="info_wrap" id="btnType01_info_wrap">
<p>문서보기 파일 생성 중 입니다.</p>
<p>STEP1/3 - PDF파일로 변환 중 입니다.</p>
</div>
<div class="load_img">
<img src="/kccadrPb/usr/image/loading.gif" alt="로딩중">
<p>정보를 불러오고 있습니다.</p>
<p class="cf_text">잠시만 기다려주십시오</p>
</div>
</div>
</div>
</div>
<!-- //조정비용 안내 -->
<!-- 조정비용 안내 -->
<div class="tooltip-wrap">
<div class="popup_wrap loading_info_popup" tabindex="0" data-tooltip-con="loading_info_popup"
data-focus="loading_info_popup" data-focus-prev="loading_info_popup_close">
<div class="popup_tit">
<p>진행 안내-최대 10분까지 소요될 수 있습니다.</p> <button class="btn_popup_close tooltip-close" data-focus-next="loading_info_popup" data-focus="loading_info_popup_close"
title="팝업 닫기" id="d_btnType01_popup_close"><i></i></button>
</div>
<div class="popup_cont">
<div class="info_wrap" id="d_btnType01_info_wrap">
<p>선택다운로드 파일 생성 중 입니다.</p>
<p>STEP1/1 - PDF파일로 변환 중 입니다.</p>
</div>
<!-- <p>아니면 그냥 이렇게 쓰셔도 됩니다! <br> 이런 p태그는 br로 줄 나눠주시면 감사하겠습니다!</p> -->
<div class="load_img">
<img src="/kccadrPb/usr/image/loading.gif" alt="로딩중">
<p>정보를 불러오고 있습니다.</p>
<p class="cf_text">잠시만 기다려주십시오</p>
</div>
</div>
</div>
</div>
<!-- //조정비용 안내 -->
<form id="pop" name="pop" method="post">
<input type="hidden" id="adrSeq" name="adrSeq" value="<c:out value="${info.adrSeq}" />" />
<input type="hidden" id="adrSn" name="adrSn" value="<c:out value="${info.adrSn}" />" />
<input type="hidden" id="rpplDocSeq" name="rpplDocSeq" value="<c:out value="${info.rpplDocSeq}" />" />
</form>
<form:form commandName="adjstIncidentVO" id="popCreateForm" name="popCreateForm" method="post" onsubmit="return false;">
<!-- //cont_tit -->
<div class="tab_cont on">
<!-- list_상세 -->
<p class="tb_tit">신청 정보</p>
<div class="tbType03">
<table>
<colgroup>
<col style="width: 15%;">
<col style="width: 25%;">
<col style="width: auto;">
<col style="width: 20%;">
</colgroup>
<thead>
<tr>
<th>
일자
<button type="button" class="btn_sort">▲</button>
</th>
<th>등록인</th>
<th>문건명</th>
<th>상대방공개여부</th>
</tr>
</thead>
<tbody>
<c:forEach var="list" items="${list}" varStatus="status">
<tr>
<td>
<p>${list.frstRegistPnttm}</p>
</td>
<!-- <td class="td_info"> -->
<td>
<p>
${list.frstRegisterId}
<c:if test="${list.adrDocCn2 eq '2'}">
(<kc:code codeId="CC005" code="${list.rpplTy}"/>)
</c:if>
<c:if test="${list.adrDocCn2 eq '3'}">
(조정조사관)
</c:if>
</p>
</td>
<td>
<c:choose>
<c:when test="${list.adrDocCn2 eq '0' }">
<a href="#" onclick="fn_adjstReq_preview('<c:out value="${info.adrSeq}" />'); return false;">${list.adrDocTy}</a>
</c:when>
<c:otherwise>
<a href="<c:url value='/cmm/fms/FileDown.do?atchFileId=${list.atchFileId}&&fileSn=${list.fileSn}'/>" title="첨부파일 다운로드" targe="_blank">
<c:out value="${list.adrDocTy}"></c:out>&nbsp;
</a>
<!-- pdf 뷰어로 일단 보여주기_이준호_221109 -->
<%-- <a href="http://192.168.0.176:8085/streamdocs/view/sd;streamdocsId=oeVmgWE9e_IUJP_bTHVkhtjmWBCUBmNwkxGenGKMF4U"><c:out value="${list.adrDocTy}"/></a> --%>
</c:otherwise>
</c:choose>
</td>
<td>
<p>
<c:choose>
<c:when test="${list.adrDocCn1 eq 'Y'}">공개</c:when>
<c:when test="${list.adrDocCn1 eq 'N'}">비공개</c:when>
<c:otherwise>${list.adrDocCn1}</c:otherwise>
</c:choose>
<c:if test="${list.docTy eq '10'}">
<button type="button" class="btnType01 viewPopup" data-info="${list.atchFileId}">내용확인</button>
</c:if>
</p>
</td>
</tr>
</c:forEach>
<c:if test="${empty list}">
<tr>
<td colspan="5">
<spring:message code="common.nodata.msg" />
</td>
</tr>
</c:if>
</tbody>
</table>
</div>
<!-- //list_상세 -->
<div class="btn_wrap btn_layout03">
<div class="area_left">
<%-- <button type="button" class="btnType02" onclick="fnc_view_step_1_popup(); return false;">문서보기</button> --%>
<button type="button" class="btnType02" onclick="fnc_view_download_step_1(); return false;">선택다운로드</button>
<%-- <button type="button" class="btnType02" onclick="fncDocRegPopup(); return false;">답변서 등록</button> --%>
<button type="button" class="btnType02" onclick="fncDocRegPopup(); return false;">문서 등록</button>
<button type="button" class="btnType02" onclick="fnc_is_prcs_finish(); return false;">종결 문건 단권화파일 다운로드</button>
</div>
<!-- <div class="area_right">
<button type="button" class="btnType02" onclick="fnc_is_prcs_finish(); return false;">종결 문건 단권화파일 다운로드</button>
</div> -->
</div>
</div>
</form:form>
</body>
<script type="text/javaScript" language="javascript">
$(document).ready(function(){
$("input[name=chkAll]").click(function(){
$("input[name=chk]").prop("checked" , $(this).is(":checked"));
});
});
function fnc_download(p_path, p_file){
var data = new FormData(document.getElementById("popCreateForm"));
data.append("adrSeq" ,$("#adrSeq").val());
if ($("input:checkbox[name=chk]:checked").length==0){
alert("선택한 항목이 없습니다.");
return;
}
$("input:checkbox[name=chk]:checked").each(function(){
var i_var = $(this).val().split('-');
if (i_var.length==2){
fn_egov_downFile(i_var[0], i_var[1]);
}else if (i_var.length==3){
fn_egov_downFileD(p_path, p_file);
//alert("조정신청서 다운로드는 현재 준비중입니다.");
}
});
}
//다운로드 전송 데이터
var d_data;
var d_nDate;
var d_i_1; //checker counter 1
var d_i_1_re; //call counter
var d_i_2; //checker counter 2
var d_i_3; //checker counter 3
//문서보기 클릭상태
var d_is_view = 0; //0-클릭가능, 1-진행중
//선택 다운로드 1.시작 함수
function fnc_view_download_step_1(){
var d = new Date;
//alert(_pad(d.getHours(), "2"));
//alert(_pad(d.getMinutes (), "2"));
//return;
d_nDate = d.getFullYear() + _pad((1 + d.getMonth()), "2") + _pad(d.getDate(), "2") + _pad(d.getHours(), "2") + _pad(d.getMinutes (), "2");
var d_data = new FormData(document.getElementById("popCreateForm"));
d_data.append("adrSeq" ,$("#adrSeq").val());
d_data.append("time_dir" ,d_nDate);
if ($("input:checkbox[name=chk]:checked").length==0){
alert("선택한 항목이 없습니다.");
return;
}
var i_cnt = 0;
$("input:checkbox[name=chk]:checked").each(function(){
var i_var = $(this).val().split('-');
if (i_var.length==2){
//fn_egov_downFile(i_var[0], i_var[1]);
}else if (i_var.length==3){
//alert("조정신청서 다운로드는 현재 준비중입니다.");
i_cnt ++;
}
});
if (i_cnt<1) { //조정신청건이 없으면 바로 다운로드 처리
fnc_download();
}else{ //조정신청건이 있으면 신청 후 다운로드 시작
if (d_is_view==1){
alert("현재 선택다운로드 문서 생성 요청 중입니다.\n잠시만 기다려 주세요~");
return ;
}
d_is_view = 1; //선택다운로드 중임
d_i_1_re = 0; //요청값 초기화
//팝업 띄우기
$("#d_btnType01popupopen").trigger("click");
//요청 함수 호출
fnc_view_download_step_1_after(d_data);
}
}
//선택 다운로드 2.요청 함수 호출
function fnc_view_download_step_1_after(d_data){
setTimeout(function(){
$.ajax({
type: "POST",
url: "/web/kccadr/accdnt/ars/tab/adjstReqStatusTabStatusDownloadStep1Ajax.do",
data: d_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'){
d_i_1 = 1; //파일 생성 checker count 초기화
//파일 생성 checker 함수 호출
fnc_view_download_step_1_checker();
}else{
d_is_view = 0; //선택다운로드 완료
$("#d_btnType01_popup_close").click(); //선택다운로드 창닫기
alert(returnData.message);
}
},
error: function (e) { d_is_view = 0;$("#d_btnType01_popup_close").click();alert("요청에 실패하였습니다."); console.log("ERROR : ", e); }
});
},2000);
}
//선택 다운로드 3.파일 생성 checker 함수 호출
function fnc_view_download_step_1_checker(){
//var data = new FormData(document.getElementById("popCreateForm"));
//data.append("adrSeq" ,$("#adrSeq").val());
var d_data = new FormData(document.getElementById("popCreateForm"));
d_data.append("adrSeq" ,$("#adrSeq").val());
d_data.append("time_dir" ,d_nDate);
$.ajax({
type: "POST",
url: "/web/kccadr/accdnt/ars/tab/adjstReqStatusTabStatusDownloadStep1CheckerAjax.do",
data: d_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("정상적으로 문서보기 신청 되었습니다.");
d_is_view = 0; //선택다운로드 완료
$("#d_btnType01_popup_close").click(); //선택다운로드 창닫기
//생성된 파일 다운로드
fnc_download(returnData.path, returnData.file);
}else{
d_i_1 = d_i_1 + 1; //파일 생성 checker count 증가
if (d_i_1<20) { //체크(현재30번 필요시 값을 늘린다.)
setTimeout(function(){
fnc_view_download_step_1_checker();
},2000);
}else{ //체크에 실패한 경우 2번더 실행한다.(필요시 값을 늘린다.)
setTimeout(function(){
if (d_i_1_re<6){ //요청값 확인
d_i_1_re = d_i_1_re + 1; //요청값 중가
//다시 파일 생성 요청
fnc_view_download_step_1_after(d_data);
}else{
d_is_view = 0; //선택다운로드 완료
$("#d_btnType01_popup_close").click(); //선택다운로드 창닫기
alert(returnData.message);
}
},2000);
}
}
},
error: function (e) { d_is_view = 0;$("#d_btnType01_popup_close").click();alert("요청에 실패하였습니다."); console.log("ERROR : ", e); }
});
}
//file download - 첨부파일
function fn_egov_downFile(atchFileId, fileSn){
window.open("<c:url value='/cmm/fms/FileDown.do?atchFileId="+atchFileId+"&fileSn="+fileSn+"'/>");
}
//file download - PDF변환기로 생성된 파일
function fn_egov_downFileD(p_path, p_file){
window.open("<c:url value='/cmm/fms/FileDownD.do?path="+p_path+"&file="+p_file+"'/>");
}
//pdf viewer
function fn_pdf_viewer(p_file_name, p_time_dir){
window.open("<c:url value='/web/kccadr/pdf/pdfview.do?webFile="+p_file_name+"&time_dir="+p_time_dir+"'/>");
}
//문서보기 전송 데이터
var data;
var nDate;
var i_1; //checker counter 1
var i_1_re; //call counter
var i_2; //checker counter 2
var i_2_re; //call counter
var i_3; //checker counter 3
var i_3_re; //call counter
//문서보기 클릭상태
var is_view = 0; //0-클릭가능, 1-진행중
function _pad(n, width) {
n = n + '';
return n.length >= width ? n : new Array(width - n.length + 1).join('0') + n;
}
function fnc_view_step_1_popup(){
var d = new Date;
nDate = d.getFullYear() + _pad((1 + d.getMonth()), "2") + _pad(d.getDate(), "2") + _pad(d.getHours(), "2") + _pad(d.getMinutes (), "2");
data = new FormData(document.getElementById("popCreateForm"));
data.append("adrSeq" ,$("#adrSeq").val());
data.append("nDate" ,nDate);
if (is_view==1){
alert("현재 문서 생성 요청 중입니다.\n잠시만 기다려 주세요~");
return ;
}
if (confirm("문서보기 하시겠습니까?")) {
is_view = 1; //문서보기 중임
i_1_re = 0; //요청값 초기화
i_2_re = 0; //요청값 초기화
i_3_re = 0; //요청값 초기화
//팝업 띄우기
$("#btnType01popupopen").trigger("click");
setTimeout(function(){
fnc_view_step_1_test(); //문서보기 1단계 - 파일 생성
},2000);
}
}
//문서보기 1단계 - 파일 생성
function fnc_view_step_1_test(){
data = new FormData(document.getElementById("popCreateForm"));
data.append("adrSeq" ,$("#adrSeq").val());
data.append("time_dir" ,nDate);
$.ajax({
type: "POST",
url: "/web/kccadr/accdnt/ars/tab/adjstReqStatusTabStatusStep1Ajax.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'){
i_1 = 1; //문서보기 step1 checker count 초기화
//문서보기 step1 checker 함수 호출
fnc_view_step_1_checker();
}else{
is_view = 0; //문서보기 완료
$("#btnType01_popup_close").click(); //팝업 닫기
alert(returnData.message);
}
},
error: function (e) { is_view = 0;$("#btnType01_popup_close").click();alert("요청에 실패하였습니다."); console.log("ERROR : ", e); }
});
}
//문서보기 1단계 - 파일 생성 체커
function fnc_view_step_1_checker(){
//var data = new FormData(document.getElementById("popCreateForm"));
//data.append("adrSeq" ,$("#adrSeq").val());
//alert("현재 준비중입니다.");
//$("#btnType01popupopen").trigger("click");
$.ajax({
type: "POST",
url: "/web/kccadr/accdnt/ars/tab/adjstReqStatusTabStatusStep1CheckerAjax.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'){
//문서보기 2단계 - 단권화 실행
fnc_view_step_2();
}else{
i_1 = i_1 + 1; //문서보기 checker count 증가
$("#btnType01_info_wrap").html('<p>문서보기 파일 생성 중 입니다.</p><p>STEP1/3 - PDF 파일 생성 중 입니다.</p>'); //팝업 문구 변경
if (i_1<20) { //체크(현재30번 필요시 값을 늘린다.)
setTimeout(function(){
fnc_view_step_1_checker(); //문서보기 1단계 - 파일 생성 체커
},2000);
}else{
if (i_1_re<8){ //요청값 확인
i_1_re = i_1_re + 1; //요청값 중가
//다시 문서보기 생성 요청
fnc_view_step_1_test();
}else{
is_view = 0; //문서보기 완료
$("#btnType01_popup_close").click(); //팝업 닫기
alert(returnData.message);
}
}
}
},
error: function (e) { is_view = 0;$("#btnType01_popup_close").click();alert("요청에 실패하였습니다."); console.log("ERROR : ", e); }
});
}
//문서보기 2단계 - 단권화 실행
function fnc_view_step_2(){
$.ajax({
type: "POST",
url: "/web/kccadr/accdnt/ars/tab/adjstReqStatusTabStatusStep2Ajax.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'){
i_2 = 1;
fnc_view_step_2_checker();
}else{
is_view = 0;
$("#btnType01_popup_close").click();
alert(returnData.message);
}
},
error: function (e) { is_view = 0;$("#btnType01_popup_close").click();alert("요청에 실패하였습니다."); console.log("ERROR : ", e); }
});
}
//문서보기 2단계 - 단권화 실행 체커
function fnc_view_step_2_checker(){
//var data = new FormData(document.getElementById("popCreateForm"));
//data.append("adrSeq" ,$("#adrSeq").val());
//alert("현재 준비중입니다.");
$.ajax({
type: "POST",
url: "/web/kccadr/accdnt/ars/tab/adjstReqStatusTabStatusStep2CheckerAjax.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'){
fnc_view_step_3(); //문서 병합 실행
}else{
i_2 = i_2 + 1;
$("#btnType01_info_wrap").html('<p>문서보기 파일 생성 중 입니다.</p><p>STEP2/3 - PDF 파일 병합 중 입니다.</p>'); //팝업 문구 변경
if (i_2<30) {
setTimeout(function(){
fnc_view_step_2_checker();
},2000);
}else{
if (i_2_re<3){ //요청값 확인
i_2_re = i_2_re + 1; //요청값 중가
//다시 문서병합 요청
fnc_view_step_2();
}else{
is_view = 0; //문서보기 완료
$("#btnType01_popup_close").click(); //팝업 닫기
alert(returnData.message);
}
}
}
},
error: function (e) { is_view = 0;$("#btnType01_popup_close").click();alert("요청에 실패하였습니다."); console.log("ERROR : ", e); }
});
}
//문서보기 3단계 - 북마크 실행
function fnc_view_step_3(){
//var data = new FormData(document.getElementById("popCreateForm"));
//data.append("adrSeq" ,$("#adrSeq").val());
//alert("현재 준비중입니다.");
$.ajax({
type: "POST",
url: "/web/kccadr/accdnt/ars/tab/adjstReqStatusTabStatusStep3Ajax.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'){
i_3 = 1;
fnc_view_step_3_checker();
}else{
is_view = 0; //문서보기 완료
$("#btnType01_popup_close").click(); //팝업 닫기
alert(returnData.message);
}
},
error: function (e) { is_view = 0;$("#btnType01_popup_close").click();alert("요청에 실패하였습니다."); console.log("ERROR : ", e); }
});
}
//문서보기 3단계 - 북마크 실행 체커
function fnc_view_step_3_checker(){
//var data = new FormData(document.getElementById("popCreateForm"));
//data.append("adrSeq" ,$("#adrSeq").val());
//alert("현재 준비중입니다.");
$.ajax({
type: "POST",
url: "/web/kccadr/accdnt/ars/tab/adjstReqStatusTabStatusStep3CheckerAjax.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'){
is_view = 0; //문서보기 완료
$("#btnType01_popup_close").click(); //팝업 닫기
fn_pdf_viewer(returnData.webFile, nDate); //생성된 파일 미리보기
}else{
i_3 = i_3 + 1;
$("#btnType01_info_wrap").html('<p>문서보기 파일 생성 중 입니다.</p><p>STEP3/3 - PDF 파일 북마크 생성 중 입니다.</p>'); //팝업 문구 변경
if (i_3<30) {
setTimeout(function(){
fnc_view_step_3_checker();
},2000);
}else{
if (i_3_re<3){ //요청값 확인
i_3_re = i_3_re + 1; //요청값 중가
//문서보기 3단계 - 북마크 실행
fnc_view_step_3();
}else{
is_view = 0; //문서보기 완료
$("#btnType01_popup_close").click(); //팝업 닫기
alert(returnData.message);
}
}
}
},
error: function (e) { is_view = 0;$("#btnType01_popup_close").click();alert("요청에 실패하였습니다."); console.log("ERROR : ", e); }
});
}
</script>
</html>

View File

@ -1,254 +0,0 @@
<!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="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<%
/**
* @Class Name : srcAdmNoPop.jsp
* @Description : 조정접수
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2021.08.16 김봉호 최초 생성
* @author 김봉호
* @since 2021.08.16
* @version 1.0
* @see
*
*/
%>
<html lang="ko">
<head>
<title>대리인등록</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="<c:url value='/js/EgovMultiFileItn.js'/>"></script> <!-- 파일첨부, 썸네일이미지 있으면 미리보기 -->
<!-- <script src="//t1.daumcdn.net/mapjsapi/bundle/postcode/prod/postcode.v2.js"></script> -->
<script src="/kccadrPb/adm/script/postcode.js"></script>
<script src="<c:url value='/js/kccadr/kccadrCom.js' />"></script>
<%-- 전자조정 --%>
<script type="text/javascript">
$(document).ready(function() {
$(function() {
$('#filebutton').click(function(e) {
e.preventDefault();
$('#file_temp').click();
});
});
});
function setAdrNoTxt() {
$('#adrNoTxt').text($('#adrNo').val());
}
function fncReg() {
if (validation()) {
var f = document.getElementById("p");
var data = new FormData(f);
$.ajax({
type: "POST",
enctype: 'multipart/form-data',
url : "/kccadr/adjPgrMgr/apm/addRpplPopPastAjax.do",
data: data,
dataType:'json',
async: false,
processData: false,
contentType: false,
cache: false,
success : function(returnData, status) {
if (returnData.result == 'success') {
alert("대리인 등록이 완료되었습니다.");
window.opener.location.reload();
window.close();
} else {
alert(returnData.message);
}
},
error : function(e) {
alert("대리인등록을 실패하였습니다.");
console.log("ERROR : ", e);
}
});
}
}
function validation() {
$('#rpplEmail').val( $('#rpplEmail01').val()+'@'+$('#rpplEmail02').val() );
$('#rpplPhone').val( $('#rpplPhone01').val()+'-'+$('#rpplPhone02').val()+'-'+$('#rpplPhone03').val() );
return true;
}
function fncRelationCheck() {
}
function phoneSelect (){
}
</script>
</head>
<body>
<form:form id="p" name="p" method="post" onsubmit="return false;" enctype="multipart/form-data">
<input type="hidden" id="adrSeq" name="adrSeq" value="<c:out value="${info.adrSeq}" />" />
<input type="hidden" id="rpplTy" name="rpplTy" value="<c:out value="${info.rpplTy}" />" />
<input type="hidden" id="rpplRespddSeq" name="rpplRespddSeq" value="<c:out value="${info.rpplSeq}" />" />
<input type="hidden" name="limitcount" value="10" />
<div class="area_popup supm_popup" style="width: 750px;">
<div class="cont_popup">
<!-- 대리인 등록 -->
<p class="tb_tit">대리인 등록</p>
<table class="pop_tbType01">
<colgroup>
<col style="width: 20%;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th>대리인 이름</th>
<td>
<input type="text" id="rpplNm" name="rpplNm">
</td>
</tr>
<tr>
<th>본인과의 관계</th>
<td>
<div class="radio_wrap">
<span>
<input type="radio" id="1btn" name="rpplRelation" value="01" checked="checked" onchange="fncRelationCheck()">
<label for="1btn">법률대리인</label>
</span>
<span>
<input type="radio" id="2btn" name="rpplRelation" value="02" onchange="fncRelationCheck()">
<label for="2btn">신청인의 직원</label>
</span>
<span>
<input type="radio" id="3btn" name="rpplRelation" value="03" onchange="fncRelationCheck()">
<label for="3btn">신청인의 가족</label>
</span>
<span>
<input type="radio" id="4btn" name="rpplRelation" value="04" onchange="fncRelationCheck()">
<label for="4btn">기타</label>
<input type="text" size="10" name="rpplRelationEtc" id="rpplRelationEtc">
</span>
</div>
</td>
</tr>
<tr>
<th>직책</th>
<td>
<input type="text" id="rpplGrade" name="rpplGrade">
</td>
</tr>
<tr>
<th>대리인 주소</th>
<td>
<input type="text" class="adr_input" name="rpplPost" id="rpplPost">
<button type="button" class="btnType01" onclick="fn_postCode(this);">우편번호검색</button>
<div class="detail_adr">
<input type="text" class="adr_detail_input searchResultAddr" name="rpplAddr" id="rpplAddr">
<input type="text" class="etc_detail_input dir_input" name="rpplAddrDtl" id="rpplAddrDtl">
</div>
</td>
</tr>
<tr>
<th>이메일</th>
<td>
<input type="hidden" id="rpplEmail" name="rpplEmail">
<input type="text" id="rpplEmail01" class="email_input">
@
<input type="text" id="rpplEmail02" class="email_input">
<!-- <select id="rpplEmail03" onchange="emailSelect(this);" class="email_select">
<option value="">직접입력</option>
<option value="naver.com">naver.com</option>
<option value="hanmail.net">hanmail.net</option>
<option value="nate.com">nate.com</option>
<option value="gmail.com">gmail.com</option>
<option value="hotmail.com">hotmail.com</option>
<option value="empal.com">empal.com</option>
<option value="chol.com">chol.com</option>
<option value="dreamwiz.com">dreamwiz.com</option>
<option value="freechal.com">freechal.com</option>
<option value="hanafos.com">hanafos.com</option>
<option value="paran.com">paran.com</option>
<option value="yahoo.co.kr">yahoo.co.kr</option>
<option value="korea.com">korea.com</option>
</select> -->
<kc:select codeId="ADR030" defaultText="직접입력" id="rpplEmail03" defaultValue="" onChange="emailSelect(this)" styleClass="email_select" />
</td>
</tr>
<tr>
<th>연락처</th>
<td>
<input type="text" class="phone_input" id="rpplPhone01" maxlength="3">
-
<input type="text" class="phone_input" id="rpplPhone02" maxlength="4">
-
<input type="text" class="phone_input" id="rpplPhone03" maxlength="4">
<input type="hidden" id="rpplPhone" name="rpplPhone">
</td>
</tr>
<tr>
<th>이메일 수신여부</th>
<td>
<div class="radio_wrap">
<span>
<input type="radio" id="rpplEmailYnY" name="rpplEmailYn" value="Y" checked="checked" onchange="fncRelationCheck()">
<label for="rpplEmailYnY">수신</label>
</span>
<span>
<input type="radio" id="rpplEmailYnN" name="rpplEmailYn" value="N" onchange="fncRelationCheck()">
<label for="rpplEmailYnN">수신하지 않음</label>
</span>
</div>
</td>
</tr>
<tr>
<th>SMS 수신여부</th>
<td>
<div class="radio_wrap">
<span>
<input type="radio" id="rpplSmsYnY" name="rpplSmsYn" value="Y" checked="checked">
<label for="rpplEmailYnY">수신</label>
</span>
<span>
<input type="radio" id="rpplSmsYnN" name="rpplSmsYn" value="N">
<label for="rpplEmailYnN">수신하지 않음</label>
</span>
</div>
</td>
</tr>
</tbody>
</table>
<!-- //대리인 등록 -->
<div class="btn_wrap btn_layout04">
<button type="button" class="btnType06" onclick="fncReg()">등록</button>
<button type="button" class="btnType03" onclick="self.close()">취소</button>
</div>
</div>
</div>
</form:form>
</body>
</html>

View File

@ -1,241 +0,0 @@
<!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 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="validator" uri="http://www.springmodules.org/tags/commons-validator"%>
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<%
/**
* @Class Name : srcAdmNoPop.jsp
* @Description : 조정접수
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2021.08.16 김봉호 최초 생성
* @author 김봉호
* @since 2021.08.16
* @version 1.0
* @see
*
*/
%>
<html lang="ko">
<head>
<title>대리인수정</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="<c:url value='/js/EgovMultiFileItn.js'/>"></script> <!-- 파일첨부, 썸네일이미지 있으면 미리보기 -->
<!-- <script src="//t1.daumcdn.net/mapjsapi/bundle/postcode/prod/postcode.v2.js"></script> -->
<script src="/kccadrPb/adm/script/postcode.js"></script>
<script src="<c:url value='/js/kccadr/kccadrCom.js' />"></script>
<%-- 전자조정 --%>
<script type="text/javascript">
$(document).ready(function() {
});
function fncReg() {
if (validation()) {
var f = document.getElementById("p");
var data = new FormData(f);
$.ajax({
type: "POST",
enctype: 'multipart/form-data',
url : "/kccadr/adjPgrMgr/apm/updtRpplPopPastAjax.do",
data: data,
dataType:'json',
async: false,
processData: false,
contentType: false,
cache: false,
success : function(returnData, status) {
if (returnData.result == 'success') {
alert("대리인 수정 되었습니다.");
window.opener.location.reload();
window.close();
} else {
alert(returnData.message);
}
},
error : function(e) {
alert("대리인수정을 실패하였습니다.");
console.log("ERROR : ", e);
}
});
}
}
function validation() {
$('#rpplEmail').val( $('#rpplEmail01').val()+'@'+$('#rpplEmail02').val() );
$('#rpplPhone').val( $('#rpplPhone01').val()+'-'+$('#rpplPhone02').val()+'-'+$('#rpplPhone03').val() );
return true;
}
function phoneSelect (){
}
</script>
</head>
<body>
<form:form id="p" name="p" method="post" onsubmit="return false;" enctype="multipart/form-data">
<input type="hidden" id="adrSeq" name="adrSeq" value="<c:out value="${info.adrSeq}" />" />
<input type="hidden" id="rpplTy" name="rpplTy" value="<c:out value="${info.rpplTy}" />" />
<input type="hidden" id="rpplSeq" name="rpplSeq" value="<c:out value="${info.rpplSeq}" />" />
<input type="hidden" name="limitcount" value="10" />
<div class="area_popup supm_popup" style="width: 750px;">
<div class="cont_popup">
<!-- 대리인 등록 -->
<p class="tb_tit">대리인 등록</p>
<table class="pop_tbType01">
<colgroup>
<col style="width: 20%;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th>대리인 이름</th>
<td>
<input type="text" id="rpplNm" name="rpplNm" value="<c:out value='${resultVO.rpplNm }' />" />
</td>
</tr>
<tr>
<th>본인과의 관계</th>
<td>
<div class="radio_wrap">
<span>
<input type="radio" id="1btn" name="rpplRelation" value="01" ${resultVO.rpplRelation == 01 ? 'checked' : '' } />
<label for="1btn">법률대리인</label>
</span>
<span>
<input type="radio" id="2btn" name="rpplRelation" value="02" ${resultVO.rpplRelation == 02 ? 'checked' : '' } />
<label for="2btn">신청인의 직원</label>
</span>
<span>
<input type="radio" id="3btn" name="rpplRelation" value="03" ${resultVO.rpplRelation == 03 ? 'checked' : '' } />
<label for="3btn">신청인의 가족</label>
</span>
<span>
<input type="radio" id="4btn" name="rpplRelation" value="04" ${resultVO.rpplRelation == 04 ? 'checked' : '' } />
<label for="4btn">기타</label>
<input type="text" size="10" name="rpplRelationEtc" id="rpplRelationEtc" value="<c:out value='${resultVO.rpplRelationEtc }' />">
</span>
</div>
</td>
</tr>
<tr>
<th>직책</th>
<td>
<input type="text" id="rpplGrade" name="rpplGrade" value="<c:out value='${resultVO.rpplGrade }' />">
</td>
</tr>
<tr>
<th>대리인 주소</th>
<td>
<input type="text" class="adr_input" name="rpplPost" id="rpplPost" value="<c:out value='${resultVO.rpplPost }' />">
<button type="button" class="btnType01" onclick="fn_postCode(this);">우편번호검색</button>
<div class="detail_adr">
<input type="text" class="adr_detail_input searchResultAddr" name="rpplAddr" id="rpplAddr" value="<c:out value='${resultVO.rpplAddr }' />" >
<input type="text" class="etc_detail_input dir_input" name="rpplAddrDtl" id="rpplAddrDtl" value="<c:out value='${resultVO.rpplAddrDtl }' />" >
</div>
</td>
</tr>
<tr>
<th>이메일</th>
<td>
<input type="hidden" id="rpplEmail" name="rpplEmail">
<c:set var="emailResult" value="${fn:split(resultVO.rpplEmail,'@')}" />
<input type="text" id="rpplEmail01" class="email_input" value="<c:out value="${emailResult[0] }" />">
@
<input type="text" id="rpplEmail02" class="email_input"value="<c:out value="${emailResult[1] }" />">
<!-- <select id="rpplEmail03" onchange="emailSelect(this);" class="email_select">
<option value="">직접입력</option>
<option value="naver.com">naver.com</option>
<option value="hanmail.net">hanmail.net</option>
<option value="nate.com">nate.com</option>
<option value="gmail.com">gmail.com</option>
<option value="hotmail.com">hotmail.com</option>
<option value="empal.com">empal.com</option>
<option value="chol.com">chol.com</option>
<option value="dreamwiz.com">dreamwiz.com</option>
<option value="freechal.com">freechal.com</option>
<option value="hanafos.com">hanafos.com</option>
<option value="paran.com">paran.com</option>
<option value="yahoo.co.kr">yahoo.co.kr</option>
<option value="korea.com">korea.com</option>
</select> -->
<kc:select codeId="ADR030" defaultText="직접입력" id="rpplEmail03" defaultValue="" onChange="emailSelect(this)" styleClass="email_select" />
</td>
</tr>
<tr>
<th>연락처</th>
<td>
<input type="text" class="phone_input" id="rpplPhone01" maxlength="3" value="${fn:substring(resultVO.rpplPhone,0,3) }">
-
<input type="text" class="phone_input" id="rpplPhone02" maxlength="4" value="${fn:substring(resultVO.rpplPhone,4,8) }">
-
<input type="text" class="phone_input" id="rpplPhone03" maxlength="4" value="${fn:substring(resultVO.rpplPhone,9,13) }">
<input type="hidden" id="rpplPhone" name="rpplPhone">
</td>
</tr>
<tr>
<th>이메일 수신여부</th>
<td>
<div class="radio_wrap">
<span>
<input type="radio" id="rpplEmailYnY" name="rpplEmailYn" value="Y" checked="checked">
<label for="rpplEmailYnY">수신</label>
</span>
<span>
<input type="radio" id="rpplEmailYnN" name="rpplEmailYn" value="N">
<label for="rpplEmailYnN">수신하지 않음</label>
</span>
</div>
</td>
</tr>
<tr>
<th>SMS 수신여부</th>
<td>
<div class="radio_wrap">
<span>
<input type="radio" id="rpplSmsYnY" name="rpplSmsYn" value="Y" ${resultVO.rpplSmsYn == 'Y' ? 'checked' : '' } />
<label for="rpplEmailYnY">수신</label>
</span>
<span>
<input type="radio" id="rpplSmsYnN" name="rpplSmsYn" value="N" ${resultVO.rpplSmsYn == 'N' ? 'checked' : '' } />
<label for="rpplEmailYnN">수신하지 않음</label>
</span>
</div>
</td>
</tr>
</tbody>
</table>
<!-- //대리인 등록 -->
<div class="btn_wrap btn_layout04">
<button type="button" class="btnType06" onclick="fncReg()">수정</button>
<button type="button" class="btnType03" onclick="self.close()">취소</button>
</div>
</div>
</div>
</form:form>
</body>
</html>

View File

@ -1,342 +0,0 @@
<!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="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<%
/**
* @Class Name : srcAdmNoPop.jsp
* @Description : 조정접수
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2021.08.16 김봉호 최초 생성
* @author 김봉호
* @since 2021.08.16
* @version 1.0
* @see
*
*/
%>
<html lang="ko">
<head>
<title>대리인등록</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="<c:url value='/js/EgovMultiFileItn.js'/>"></script> <!-- 파일첨부, 썸네일이미지 있으면 미리보기 -->
<!-- <script src="//t1.daumcdn.net/mapjsapi/bundle/postcode/prod/postcode.v2.js"></script> -->
<script src="/kccadrPb/adm/script/postcode.js"></script>
<script src="<c:url value='/js/kccadr/kccadrCom.js' />"></script>
<%-- 전자조정 --%>
<script type="text/javascript">
$(document).ready(function() {
$(function() {
$('#filebutton').click(function(e) {
e.preventDefault();
$('#file_temp').click();
});
});
});
function setAdrNoTxt() {
$('#adrNoTxt').text($('#adrNo').val());
}
function fncReg() {
if (validation()) {
var f = document.getElementById("p");
var data = new FormData(f);
_fileForm2.forEach(function(obj, idx) {
if (obj) data.append("file"+idx, obj.fileObj);
});
$.ajax({
type: "POST",
enctype: 'multipart/form-data',
url : "/kccadr/adjPgrMgr/apm/addRpplPopAjax.do",
data: data,
dataType:'json',
async: false,
processData: false,
contentType: false,
cache: false,
success : function(returnData, status) {
if (returnData.result == 'success') {
alert("대리인 등록이 완료되었습니다.");
window.opener.location.reload();
window.close();
} else {
alert(returnData.message);
}
},
error : function(e) {
alert("대리인등록을 실패하였습니다.");
console.log("ERROR : ", e);
}
});
}
}
function validation() {
$('#rpplEmail').val( $('#rpplEmail01').val()+'@'+$('#rpplEmail02').val() );
$('#rpplPhone').val( $('#rpplPhone01').val()+'-'+$('#rpplPhone02').val()+'-'+$('#rpplPhone03').val() );
return true;
}
function fncRelationCheck() {
}
function phoneSelect (){
}
</script>
</head>
<body>
<form:form id="p" name="p" method="post" onsubmit="return false;" enctype="multipart/form-data">
<input type="hidden" id="adrSeq" name="adrSeq" value="<c:out value="${info.adrSeq}" />" />
<input type="hidden" id="rpplTy" name="rpplTy" value="<c:out value="${info.rpplTy}" />" />
<input type="hidden" id="rpplRespddSeq" name="rpplRespddSeq" value="<c:out value="${info.rpplSeq}" />" />
<input type="hidden" name="limitcount" value="10" />
<div class="area_popup supm_popup" style="width: 750px;">
<div class="cont_popup">
<!-- 대리인 등록 -->
<p class="tb_tit">대리인 등록</p>
<table class="pop_tbType01">
<colgroup>
<col style="width: 20%;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th class="req_text">대리인 이름</th>
<td>
<input type="text" id="rpplNm" name="rpplNm">
</td>
</tr>
<tr>
<th class="req_text">본인과의 관계</th>
<td>
<div class="radio_wrap">
<span>
<input type="radio" name="rpplRelation" value="01" checked="checked" onchange="fncRelationCheck()">
<label for="">법률대리인</label>
</span>
<span>
<input type="radio" name="rpplRelation" value="02" onchange="fncRelationCheck()">
<label for="">신청인의 직원</label>
</span>
<span>
<input type="radio" name="rpplRelation" value="03" onchange="fncRelationCheck()">
<label for="">신청인의 가족</label>
</span>
<span>
<input type="radio" name="rpplRelation" value="04" onchange="fncRelationCheck()">
<label for="">기타</label>
<input type="text" size="10" name="rpplRelationEtc" id="rpplRelationEtc">
</span>
</div>
</td>
</tr>
<tr>
<th class="req_text">직책</th>
<td>
<input type="text" id="rpplGrade" name="rpplGrade">
</td>
</tr>
<tr>
<th class="req_text">대리인 주소</th>
<td>
<input type="text" class="adr_input" name="rpplPost" id="rpplPost">
<button type="button" class="btnType01" onclick="fn_postCode(this);">우편번호검색</button>
<div class="detail_adr">
<input type="text" class="adr_detail_input searchResultAddr" name="rpplAddr" id="rpplAddr">
<input type="text" class="etc_detail_input dir_input" name="rpplAddrDtl" id="rpplAddrDtl">
</div>
</td>
</tr>
<tr>
<th class="req_text">이메일</th>
<td>
<input type="hidden" id="rpplEmail" name="rpplEmail">
<!-- onkeyup="onlyAlphabetNumberEmail(this)" -->
<input type="text" id="rpplEmail01" class="email_input">
@
<input type="text" id="rpplEmail02" class="email_input">
<!-- <select id="rpplEmail03" onchange="emailSelect(this);" class="email_select">
<option value="">직접입력</option>
<option value="naver.com">naver.com</option>
<option value="hanmail.net">hanmail.net</option>
<option value="nate.com">nate.com</option>
<option value="gmail.com">gmail.com</option>
<option value="hotmail.com">hotmail.com</option>
<option value="empal.com">empal.com</option>
<option value="chol.com">chol.com</option>
<option value="dreamwiz.com">dreamwiz.com</option>
<option value="freechal.com">freechal.com</option>
<option value="hanafos.com">hanafos.com</option>
<option value="paran.com">paran.com</option>
<option value="yahoo.co.kr">yahoo.co.kr</option>
<option value="korea.com">korea.com</option>
</select> -->
<kc:select codeId="ADR030" defaultText="직접입력" id="rpplEmail03" defaultValue="" onChange="emailSelect(this)" styleClass="email_select" />
</td>
</tr>
<tr>
<th class="req_text">연락처</th>
<td>
<input type="text" class="phone_input" id="rpplPhone01" maxlength="3" onkeyup="onlyNumber(this)">
-
<input type="text" class="phone_input" id="rpplPhone02" maxlength="4" onkeyup="onlyNumber(this)">
-
<input type="text" class="phone_input" id="rpplPhone03" maxlength="4" onkeyup="onlyNumber(this)">
<input type="hidden" id="rpplPhone" name="rpplPhone">
</td>
</tr>
<tr>
<th class="req_text">이메일 수신여부</th>
<td>
<div class="radio_wrap">
<span>
<input type="radio" id="rpplEmailYnY" name="rpplEmailYn" value="Y" checked="checked" onchange="fncRelationCheck()">
<label for="rpplEmailYnY">수신</label>
</span>
<span>
<input type="radio" id="rpplEmailYnN" name="rpplEmailYn" value="N" onchange="fncRelationCheck()">
<label for="rpplEmailYnN">수신하지 않음</label>
</span>
</div>
</td>
</tr>
<tr>
<th class="req_text">SMS 수신여부</th>
<td>
<div class="radio_wrap">
<span>
<input type="radio" id="rpplSmsYnY" name="rpplSmsYn" value="Y" checked="checked">
<label for="rpplEmailYnY">수신</label>
</span>
<span>
<input type="radio" id="rpplSmsYnN" name="rpplSmsYn" value="N">
<label for="rpplEmailYnN">수신하지 않음</label>
</span>
</div>
</td>
</tr>
<tr>
<th class="req_text">대리신청서</th>
<td class="upload_area">
<!-- <input type="text" id="fileNm" size="30" class="file_input" readonly> -->
<!-- <button type="button" class="btnType01 btn_add_file">파일 첨부하기</button> -->
<input type="file" id="file_temp" name="file_temp" class="uploadFile" style="display: none" />
<button type="button" id="filebutton" class="btnType01 btn_add_file">파일 첨부하기</button>
<div class="file_wrap file_upload_box no_img_box">
<table class="tbType02">
<colgroup>
<col style="width: 60%;">
<col style="width: auto;">
<col style="width: 20%;">
<col style="width: 10%;">
</colgroup>
<thead>
<!-- <th>
<input type="checkbox" id="all_check"><label for="all_check"></label>
</th> -->
<th>파일 명</th>
<th>종류</th>
<th>크기</th>
<th>삭제</th>
</thead>
<tbody class="tb_file_before">
<tr>
<td colspan="4">
<p>
첨부하실 파일을
<span>마우스로 끌어서</span>
넣어주세요.
</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="file_wrap fileAfter file_list_div">
<table class="tbType02">
<colgroup>
<col style="width: 60%">
<col style="width: 10%">
<col style="width: 20%">
<col style="width: 10%">
</colgroup>
<thead>
<!-- <th>
<input type="checkbox" id="all_check"><label for="all_check"></label>
</th> -->
<th>파일 명</th>
<th>종류</th>
<th>크기</th>
<th>삭제</th>
</thead>
<tbody id="tbody_fiielist" class="tb_file_after">
<c:forEach var="fileList" items="${fileList}" varStatus="status">
<tr class="item_<c:out value='${fileList.atchFileId}' />_<c:out value='${fileList.fileSn}' /> uploaded_obj">
<input type="hidden" name="fileSize" class="item_file_size" value="${fileList.fileSize}">
<td class="td_filename">
<!-- <img src="/direct/img/upload_hwp_img.png" alt="" /> -->
<span class="file_name_text"><c:out value='${fileList.orignlFileNm}' /></span>
</td>
<td class="td_filesort">
<span class="file_filesort_text" value="<c:out value="${fileList.fileExtsn}"/>">
<c:out value="${fileList.fileExtsn}" />
</span>
</td>
<td class="td_filesize">
<span class="file_size_text" value="<c:out value="${fileList.fileMg}"/>">
<c:out value="${fileList.fileMg}" />
</span>
</td>
<td>
<button type="button" class="btn_del" onclick="delAtchFile('<c:out value='${fileList.atchFileId}' />', '<c:out value='${fileList.fileSn}' />'); return false;">
<i></i>
</button>
</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
</td>
</tr>
</tbody>
</table>
<!-- //대리인 등록 -->
<div class="btn_wrap btn_layout04">
<button type="button" class="btnType06" onclick="fncReg()">등록</button>
<button type="button" class="btnType03" onclick="self.close()">취소</button>
</div>
</div>
</div>
</form:form>
</body>
</html>

View File

@ -1,91 +0,0 @@
<!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="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<%@ 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"%>
<%pageContext.setAttribute("crlf", "\r\n"); %>
<%
/**
* @Class Name : srcAdmNoPop.jsp
* @Description : 조정접수
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2021.08.16 김봉호 최초 생성
* @author 김봉호
* @since 2021.08.16
* @version 1.0
* @see
*
*/
%>
<html lang="ko">
<head>
<title>신청서 예문 조회</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="<c:url value='/js/antdatepicker/moment.min.js'/>"></script>
<script type="text/javascript">
$(document).ready(function() {
//$('#oldDe').text(moment('<c:out value="${info.adrEndDeDay}" />').format('YYYY-MM-DD'));
//$('#newDe').text(moment('<c:out value="${info.adrEndDeDay}" />').add(1, 'months').format('YYYY-MM-DD'));
// var popupTit = $(".cont_tit03").text();
// if(popupTit.trim() == "* 신청취지"){
// $(".tooltip-close").click(function(){
// var activeTarget = $('[data-tooltip-con="fee_info_popup"]');
// activeTarget.hide();
// $('[data-tooltip="fee_info_popup"]').eq(0).focus();
// });
// }else{
// $(".tooltip-close").click(function(){
// var activeTarget = $('[data-tooltip-con="fee_info_popup"]');
// activeTarget.hide();
// $('[data-tooltip="fee_info_popup"]').eq(1).focus();
// });
// }
// $('#redBtn').on('click', function(){
// var exmpCd = $("#exmpCd").val();
// console.log(exmpCd.replace(/(^0+)/, ""));
// var perId = '#reqCn'+exmpCd.replace(/(^0+)/, "");
// $(opener.document).find(perId).val($('#exmpCn').text().trim());
// window.close();
// });
});
</script>
</head>
<body>
<div class="area_popup case_change" style="width: 550px;">
<div class="cont_popup">
<p class="tb_tit">
답변서 내용
</p>
<table class="popup_tbType01 t_center">
<colgroup>
<col style="width: 60%;">
<col style="width: 40%;">
</colgroup>
<tbody>
<tr>
<td colspan="2" id="exmpCn" style="line-height: 30px; text-align: left;">
<c:out value="${ansResultVO.adrDocCn1 }" />
</td>
</tr>
</tbody>
</table>
<!-- <div class="btn_wrap btn_layout04"> -->
<!-- <button class="btnType06" id="redBtn">등록</button> -->
<!-- </div> -->
</div>
</div>
</body>
</html>

View File

@ -1,149 +0,0 @@
<!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="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<%@ 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"%>
<%pageContext.setAttribute("crlf", "\r\n"); %>
<%
/**
* @Class Name : srcAdmNoPop.jsp
* @Description : 조정접수
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2021.08.16 김봉호 최초 생성
* @author 김봉호
* @since 2021.08.16
* @version 1.0
* @see
*
*/
%>
<html lang="ko">
<head>
<title>신청서 예문 조회</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="<c:url value='/js/antdatepicker/moment.min.js'/>"></script>
<script type="text/javascript">
$(document).ready(function() {
//$('#oldDe').text(moment('<c:out value="${info.adrEndDeDay}" />').format('YYYY-MM-DD'));
//$('#newDe').text(moment('<c:out value="${info.adrEndDeDay}" />').add(1, 'months').format('YYYY-MM-DD'));
function fncClose() {
window.close();
}
/*
* 저작물 변경 event
*/
$('#exmpCcTy').on('change', function(){
fn_selectCn();
});
/*
* 등록버튼 click event
*/
$('#redBtn').on('click', function(){
var exmpCd = $("#exmpCd").val();
console.log(exmpCd.replace(/(^0+)/, ""));
var perId = '#reqCn'+exmpCd.replace(/(^0+)/, "");
$(opener.document).find(perId).val($('#exmpCn').text().trim());
window.close();
});
/*
* 상세내용 select
*/
/*
function fn_selectCn( ){
$.ajax({
type: "POST",
url: "/web/kccadr/adjst/popup/adjstReqOpenExamplePopCn.do",
data: JSON.stringify({exmpCd : $("#exmpCd").val()
,exmpCcTy : $("#exmpCcTy").val() }),
dataType:'json',
async: false,
processData: false,
contentType: "application/json",
cache: false,
success: function (data) {
if(data.status == "OK"){
console.log('data : ', data);
$('#exmpCn').text(data.data);
}else{
return false;
}
},
error: function (e) { alert("조회에 실패하였습니다."); console.log("ERROR : ", e); }
});
} */
//fn_selectCn();
});
function workView(obj){
if($(obj).closest(".work_flow_wrap").hasClass("off")){
$(obj).closest(".work_flow_wrap").removeClass("off");
$(obj).addClass("btn_close").removeClass("btn_open");
}else{
$(obj).closest(".work_flow_wrap").addClass("off");
$(obj).removeClass("btn_close").addClass("btn_open");
}
}
// 신청취지 텍스트에 추가
function addText(obj, exmpCd){
console.log("??");
// 답변서 code == 04
if(exmpCd == '04')
{
$('#adrDocCn1').text(obj.text);
$(".tooltip-close").trigger("click");
}
else
{
$("#reqCn1", opener.document).text($('#reqCn1').text().trim()+' '+obj.text);
}
}
</script>
<style>
.popup_cont {border-bottom:0 none;}
.work_flow_wrap {min-width:auto;padding:0 10px;margin:0 0 15px;}
.work_flow_wrap .work_tit {padding:10px 0 10px 5px;font-size:16px;}
.work_flow_wrap .work_cont {width:100%;height:auto;padding:10px 15px;transition:none;}
.work_flow_wrap .work_cont dl dt {margin:10px 0 0;line-height:30px;}
.work_flow_wrap .work_cont dl dd {margin:5px 0 0;padding:10px;line-height:24px;background:#f1f2f4;border-radius:5px;}
.work_flow_wrap .work_cont dl dd span {color:#d43403;}
.work_flow_wrap .work_cont dl:first-child dt {margin:0;}
.work_flow_wrap .work_cont .text {line-height:24px;}
.work_flow_wrap .work_cont .text span {color:#d43403;}
.work_flow_wrap.off .work_cont {height:0;padding:0 15px;transition:none;}
</style>
</head>
<body>
<div class="popup_cont" style="max-height: none;">
<p class="tb_tit">신청취지</p>
<c:forEach items="${exmpList }" var="exmp">
<div class="work_flow_wrap off">
<div class="work_tit">
<p><c:out value="${exmp.exmpTit }" /></p>
<button type="button" title="열림" class="btn_open" onclick="workView(this);"><i></i></button>
</div>
<div class="work_cont">
<div class="text">
<a href="javascript:;" onclick="addText(this, '01'); return false;"><c:out value="${exmp.exmpCn }" /></a>
</div>
</div>
</div>
</c:forEach>
</div>
</body>
</html>

View File

@ -1,99 +0,0 @@
<!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="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<%@ 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"%>
<%pageContext.setAttribute("crlf", "\r\n"); %>
<%
/**
* @Class Name : srcAdmNoPop.jsp
* @Description : 조정접수
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2021.08.16 김봉호 최초 생성
* @author 김봉호
* @since 2021.08.16
* @version 1.0
* @see
*
*/
%>
<html lang="ko">
<head>
<title>신청서 예문 조회</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="<c:url value='/js/antdatepicker/moment.min.js'/>"></script>
<script type="text/javascript">
$(document).ready(function() {
//$('#oldDe').text(moment('<c:out value="${info.adrEndDeDay}" />').format('YYYY-MM-DD'));
//$('#newDe').text(moment('<c:out value="${info.adrEndDeDay}" />').add(1, 'months').format('YYYY-MM-DD'));
var popupTit = $(".cont_tit03").text();
if(popupTit.trim() == "* 신청취지"){
$(".tooltip-close").click(function(){
var activeTarget = $('[data-tooltip-con="fee_info_popup"]');
activeTarget.hide();
$('[data-tooltip="fee_info_popup"]').eq(0).focus();
});
}else{
$(".tooltip-close").click(function(){
var activeTarget = $('[data-tooltip-con="fee_info_popup"]');
activeTarget.hide();
$('[data-tooltip="fee_info_popup"]').eq(1).focus();
});
}
$('#redBtn').on('click', function(){
var exmpCd = $("#exmpCd").val();
console.log(exmpCd.replace(/(^0+)/, ""));
var perId = '#reqCn'+exmpCd.replace(/(^0+)/, "");
$(opener.document).find(perId).val($('#exmpCn').text().trim());
window.close();
});
});
</script>
</head>
<body>
<form:form id="p" name="p" method="post" onsubmit="return false;">
<input type="hidden" id="exmpCd" name="exmpCd" value="${exmpCd }"/>
<div class="area_popup case_change" style="width: 550px;">
<div class="cont_popup">
<p class="tb_tit"><kc:code codeId="CC040" code="${exmpCd}"/></p>
<table class="popup_tbType01 t_center">
<colgroup>
<col style="width: 60%;">
<col style="width: 40%;">
</colgroup>
<tbody>
<tr>
<td colspan="2" id="exmpCn" style="line-height: 30px; text-align: left;">
<c:choose>
<c:when test="${not empty exmp.exmpCn}">
<c:out value="${fn:replace(exmp.exmpCn, crlf , '<br/>')}" escapeXml="false" />
</c:when>
<c:otherwise>
등록된 내용이 없습니다.
</c:otherwise>
</c:choose>
</td>
</tr>
</tbody>
</table>
<div class="btn_wrap btn_layout04">
<button class="btnType06" id="redBtn">등록</button>
</div>
</div>
</div>
</form:form>
</body>
</html>

View File

@ -1,96 +0,0 @@
<!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"%>
<html lang="ko">
<head>
<title>취하신청 사유</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript">
$( document ).ready(function(){
});
function fnMemo(p){
var form = document.listForm;
if(p == 'insert'){
form.adrAdmMemo.value = $('#memo').val();
}else if(p == 'modify'){
form.adrAdmMemo.value = $('#memo').val();
}else if(p == 'delete'){
form.adrAdmMemo.value = '';
}
var data = new FormData(form);
if(confirm("조정조사관 의견을 등록하시겠습니까?")){
$.ajax({
type: "POST",
url: "/kccadr/adjPgrMgr/apm/popup/updateAdrAdmMemoAjax.do",
async:false,
data: data,
dataType:'json',
processData: false,
contentType: false,
cache: false,
success: function (returnData, status) {
if(status == 'success'){
alert("조정조사관 의견이 등록되었습니다.");
location.reload(true);
} else if(status == 'fail') {
alert("처리중 오류가 발생하였습니다.");
}
},
error: function (e) {
}
});
}
}
</script>
</head>
<body>
<form id="listForm" name="listForm" onsubmit="return false;" method="post">
<input type="hidden" name="adrSeq" value="<c:out value="${apmVO.adrSeq}" />" />
<input type="hidden" id="adrAdmMemo" name="adrAdmMemo" value=""/>
</form>
<div class="area_popup supm_popup" style="width: 800px;">
<div class="cont_popup">
<!-- 취하 신청 상세내용 -->
<p class="tb_tit">조정조사관 의견 등록/수정/삭제</p>
<table class="pop_tbType01">
<colgroup>
<col style="width: 20%;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th>종결의견</th>
<td>
<p><textarea rows="20" cols="30" id="memo" name="memo"><c:out value="${memoVO.adrAdmMemo}"/></textarea></p>
</td>
</tr>
</tbody>
</table>
<!-- //이의신청 상세내용 -->
<div class="btn_wrap btn_layout04">
<c:if test="${memoVO.adrAdmMemo eq ''}">
<button type="button" class="btnType06" onclick="fnMemo('insert'); return false;">등록</button>
</c:if>
<c:if test="${memoVO.adrAdmMemo ne ''}">
<button type="button" class="btnType06" onclick="fnMemo('modify'); return false;">수정</button>
<button type="button" class="btnType02" onclick="fnMemo('delete'); return false;">삭제</button>
</c:if>
<button type="button" class="btnType03" onclick="window.close()">닫기</button>
</div>
</div>
</div>
</body>
</html>

View File

@ -1,616 +0,0 @@
<!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="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<%@ taglib prefix="un" uri="http://jakarta.apache.org/taglibs/unstandard-1.0" %>
<% pageContext.setAttribute("replaceChar", "\n"); %>
<%
/**
* @Class Name : srcAdmNoPop.jsp
* @Description : 조정접수
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2021.08.16 김봉호 최초 생성
* @author 김봉호
* @since 2021.08.16
* @version 1.0
* @see
*
*/
%>
<html lang="ko">
<head>
<title>조정접수</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
.btn_util button{width: 30px; height: 30px; border: 1px solid #bebebe; vertical-align: middle; background-repeat: no-repeat; background-position: center; }
.btn_util button:hover{box-shadow: 0 0 5px rgba(0,0,0,.15);}
.btn_util .btn_minus{border-radius: 5px 0 0 5px; margin-right: -5px; background-image: url(/kccadrPb/usr/image/common/btn_minus.png);}
.btn_util .btn_plus{border-radius: 0 5px 5px 0; background-image: url(/kccadrPb/usr/image/common/btn_plus.png);}
.tb_tit_wrap{display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px;}
</style>
<script type="text/javascript">
/* 화면 확대 축소 */
var nowZoom = 100;
function zoomOut() { // 화면크기축소
nowZoom = nowZoom - 10;
if(nowZoom <= 70) nowZoom = 70; // 화면크기 최대 축소율 70%
zooms();
}
function zoomIn() { // 화면크기확대
nowZoom = nowZoom + 20;
if(nowZoom >= 200) nowZoom = 200; // 화면크기 최대 확대율 200%
zooms();
}
function zooms() {
document.body.style.zoom = nowZoom + "%";
}
</script>
</head>
<body>
<div class="area_popup supm_popup" style="width: 800px;">
<div class="cont_popup">
<!-- 신청인 정보 -->
<div class="tb_tit_wrap">
<p class="tb_tit">신청인 정보</p>
<div class="btn_util">
<button type="button" class="btn_minus" onclick="zoomOut();" title="글자 축소"></button>
<button type="button" class="btn_plus" onclick="zoomIn();" title="글자 확대"></button>
</div>
</div>
<c:forEach var="item" items="${rppList}" varStatus="status">
<c:if test="${item.rpplTy eq KccadrConstants.ADR_RPPL_TY_REQ }">
<table class="pop_tbType01">
<colgroup>
<col style="width: 20%;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th>신청인 분류</th>
<td>
<p>
<c:out value="${item.rpplUsrTyTx }"></c:out>&nbsp;
</p>
</td>
</tr>
<c:choose>
<c:when test="${not empty item.rpplBizNm}">
<tr>
<th>신청인 대표</th>
<td>
<p>
<c:out value="${info.appliCantNm }"></c:out>&nbsp;
</p>
</td>
</tr>
</c:when>
<c:otherwise>
<tr>
<th>신청인 이름</th>
<td>
<p>
<c:out value="${info.appliCantNm }"></c:out>&nbsp;
</p>
</td>
</tr>
</c:otherwise>
</c:choose>
<c:if test="${not empty item.rpplBizNm}">
<tr>
<th>신청인 법인명</th>
<td>
<p>
<c:out value="${item.rpplBizNm }"></c:out>&nbsp;
</p>
</td>
</tr>
</c:if>
<tr>
<th>주소</th>
<td>
<p>
<c:out value="(${item.rpplPost }) ${item.rpplAddr } ${item.rpplAddrDtl }"></c:out>&nbsp;
</p>
</td>
</tr>
<tr>
<th>이메일</th>
<td>
<p>
<c:out value="${item.rpplEmail }"></c:out>&nbsp;
</p>
</td>
</tr>
<tr>
<th>연락처</th>
<td>
<p>
<c:out value="${item.rpplPhone }"></c:out>&nbsp;
</p>
</td>
</tr>
<tr>
<th>이메일 수신여부</th>
<td>
<p>
<c:choose>
<c:when test="${item.rpplEmailYn == 'Y'}">
수신
</c:when>
<c:otherwise>
수신하지 않음
</c:otherwise>
</c:choose>
</p>
</td>
</tr>
<tr>
<th>SMS 수신여부</th>
<td>
<p>
<c:choose>
<c:when test="${item.rpplSmsYn == 'Y'}">
수신
</c:when>
<c:otherwise>
수신하지 않음
</c:otherwise>
</c:choose>
</p>
</td>
</tr>
</tbody>
</table>
</c:if>
</c:forEach>
<!-- //신청인 정보 -->
<c:if test="${!empty info.appliCantDNm}">
<!-- 신청인 대리인 정보 -->
<c:forEach var="item" items="${rppList}" varStatus="status">
<c:if test="${item.rpplTy eq KccadrConstants.ADR_RPPL_TY_REQ_DEPUTY}">
<p class="tb_tit">신청인 대리인 정보</p>
<table class="pop_tbType01">
<colgroup>
<col style="width: 20%;">
<col style="width: auto;">
</colgroup>
<tbody>
<c:choose>
<c:when test="${not empty item.rpplUsrTy}">
<c:out value="${item.rpplUsrTyTx }"></c:out>&nbsp;
<tr>
<th>대리인분류</th>
<td>
<p>
<c:out value="${item.rpplUsrTyTx }"></c:out>&nbsp;
</p>
</td>
</tr>
</c:when>
<c:otherwise>
<tr>
<th>본인과의 관계</th>
<td>
<p>
<kc:code codeId="CC006" code="${item.rpplRelation}"/>
<c:if test="${item.rpplRelation eq KccadrConstants.ADR_RPPL_RELATION_04 && not empty item.rpplRelationEtc}">
(<c:out value='${item.rpplRelationEtc}' />)
</c:if>
</p>
</td>
</tr>
</c:otherwise>
</c:choose>
<tr>
<th>대리인 이름</th>
<td>
<p>
<c:out value="${item.rpplNm }"></c:out>&nbsp;
</p>
</td>
</tr>
<c:if test="${not empty item.rpplBizNm}">
<tr>
<th>피신청인 법인(개인사업자)명</th>
<td>
<p>
<c:out value="${item.rpplBizNm }"></c:out>&nbsp;
</p>
</td>
</tr>
</c:if>
<tr>
<th>주소</th>
<td>
<p>
<c:out value="(${item.rpplPost }) ${item.rpplAddr } ${item.rpplAddrDtl }"></c:out>&nbsp;
</p>
</td>
</tr>
<tr>
<th>이메일</th>
<td>
<p>
<c:out value="${item.rpplEmail }"></c:out>&nbsp;
</p>
</td>
</tr>
<tr>
<th>연락처</th>
<td>
<p>
<c:out value="${item.rpplPhone }"></c:out>&nbsp;
</p>
</td>
</tr>
<tr>
<th>이메일 수신여부</th>
<td>
<p>
<c:choose>
<c:when test="${item.rpplEmailYn == 'Y'}">
수신
</c:when>
<c:otherwise>
수신하지 않음
</c:otherwise>
</c:choose>
</p>
</td>
</tr>
<tr>
<th>SMS 수신여부</th>
<td>
<p>
<c:choose>
<c:when test="${item.rpplSmsYn == 'Y'}">
수신
</c:when>
<c:otherwise>
수신하지 않음
</c:otherwise>
</c:choose>
</p>
</td>
</tr>
<tr>
<th>대리신청서</th>
<td>
<p>
<c:forEach var="files" items="${reqfileList}" varStatus="status">
<c:if test="${item.atchFileId == files.atchFileId}">
<a href="<c:url value='/cmm/fms/FileDown.do?atchFileId=${files.atchFileId}&&fileSn=${files.fileSn}'/>" title="첨부파일 다운로드">
<c:out value="${files.orignlFileNm}"></c:out>&nbsp;
</a>
</c:if>
</c:forEach>
</p>
</td>
</tr>
</tbody>
</table>
<c:if test="${not empty item.rpplRealPost }">
<table class="pop_tbType01" style="margin-top: 20px;">
<colgroup>
<col style="width: 20%;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th>우편물 수령지</th>
<td>
<p>
<c:out value="(${item.rpplRealPost }) ${item.rpplRealAddr } ${item.rpplRealAddrDtl }"></c:out>&nbsp;
</p>
</td>
</tr>
</tbody>
</table>
</c:if>
</c:if>
</c:forEach>
</c:if>
<c:set var="cnt" value="1"/>
<c:forEach var="item" items="${rppList}" varStatus="status">
<!-- 피신청인 정보 -->
<c:if test="${item.rpplTy eq KccadrConstants.ADR_RPPL_TY_RES}">
<p class="tb_tit">피신청인 정보${cnt }</p>
<table class="pop_tbType01">
<colgroup>
<col style="width: 20%;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th>피신청인 분류</th>
<td>
<p>
<c:out value="${item.rpplUsrTyTx }"></c:out>&nbsp;
</p>
</td>
</tr>
<tr>
<th>피신청인 이름</th>
<td>
<p>
<c:out value="${item.rpplNm }"></c:out>&nbsp;
</p>
</td>
</tr>
<c:if test="${not empty item.rpplBizNm}">
<tr>
<th>피신청인 법인명</th>
<td>
<p>
<c:out value="${item.rpplBizNm }"></c:out>&nbsp;
</p>
</td>
</tr>
</c:if>
<tr>
<th>주소</th>
<td>
<p>
<c:out value="(${item.rpplPost }) ${item.rpplAddr } ${item.rpplAddrDtl }"></c:out>&nbsp;
</p>
</td>
</tr>
<tr>
<th>이메일</th>
<td>
<p>
<c:out value="${item.rpplEmail }"></c:out>&nbsp;
&nbsp;
</p>
</td>
</tr>
<tr>
<th>연락처</th>
<td>
<p>
<c:out value="${item.rpplPhone }"></c:out>&nbsp;
&nbsp;
</p>
</td>
</tr>
<tr>
<th>이메일 수신여부</th>
<td>
<p>
<c:choose>
<c:when test="${item.rpplEmailYn == 'Y'}">
수신
</c:when>
<c:otherwise>
수신하지 않음
</c:otherwise>
</c:choose>
</p>
</td>
</tr>
<tr>
<th>SMS 수신여부</th>
<td>
<p>
<c:choose>
<c:when test="${item.rpplSmsYn == 'Y'}">
수신
</c:when>
<c:otherwise>
수신하지 않음
</c:otherwise>
</c:choose>
</p>
</td>
</tr>
</tbody>
</table>
<!-- //대리인 정보 -->
<c:set var="cnt" value="${cnt +1 }"/>
</c:if>
<!-- 피신청인 정보 끝 -->
<!-- 피신청 대리인 정보 -->
<c:forEach var="resPDList" items="${rppList}" varStatus="status">
<c:if test="${item.rpplSeq == resPDList.rpplRespddSeq}">
<c:if test="${resPDList.rpplTy eq KccadrConstants.ADR_RPPL_TY_RES_DEPUTY}">
<p class="tb_tit">피신청인 대리인 정보</p>
<table class="pop_tbType01">
<colgroup>
<col style="width: 20%;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th>본인과의 관계</th>
<td>
<p>
<kc:code codeId="CC006" code="${resPDList.rpplRelation}"/>
<c:if test="${resPDList.rpplRelation eq KccadrConstants.ADR_RPPL_RELATION_04 && not empty resPDList.rpplRelationEtc}">
(<c:out value='${resPDList.rpplRelationEtc}' />)
</c:if>
</p>
</td>
</tr>
<tr>
<th>대리인 이름</th>
<td>
<p>
<c:out value="${resPDList.rpplNm }"></c:out>&nbsp;
</p>
</td>
</tr>
<c:if test="${not empty resPDList.rpplBizNm}">
<tr>
<th>피신청인 법인(개인사업자)명</th>
<td>
<p>
<c:out value="${resPDList.rpplBizNm }"></c:out>&nbsp;
</p>
</td>
</tr>
</c:if>
<tr>
<th>주소</th>
<td>
<p>
<c:out value="(${resPDList.rpplPost }) ${resPDList.rpplAddr } ${resPDList.rpplAddrDtl }"></c:out>&nbsp;
</p>
</td>
</tr>
<tr>
<th>이메일</th>
<td>
<p>
<c:out value="${resPDList.rpplEmail }"></c:out>&nbsp;
</p>
</td>
</tr>
<tr>
<th>연락처</th>
<td>
<p>
<c:out value="${resPDList.rpplPhone }"></c:out>&nbsp;
</p>
</td>
</tr>
<tr>
<th>이메일 수신여부</th>
<td>
<p>
<c:choose>
<c:when test="${resPDList.rpplEmailYn == 'Y'}">
수신
</c:when>
<c:otherwise>
수신하지 않음
</c:otherwise>
</c:choose>
</p>
</td>
</tr>
<tr>
<th>SMS 수신여부</th>
<td>
<p>
<c:choose>
<c:when test="${resPDList.rpplSmsYn == 'Y'}">
수신
</c:when>
<c:otherwise>
수신하지 않음
</c:otherwise>
</c:choose>
</p>
</td>
</tr>
<tr>
<th>대리신청서</th>
<td>
<p>
<c:forEach var="files" items="${reqfileList}" varStatus="status">
<c:if test="${resPDList.atchFileId == files.atchFileId}">
<%-- <c:out value="${files.orignlFileNm}"></c:out>&nbsp; --%>
<a href="<c:url value='/cmm/fms/FileDown.do?atchFileId=${files.atchFileId}&&fileSn=${files.fileSn}'/>" title="첨부파일 다운로드">
<c:out value="${files.orignlFileNm}"></c:out>&nbsp;
</a>
</c:if>
</c:forEach>
</p>
</td>
</tr>
</tbody>
</table>
<c:if test="${not empty resPDList.rpplRealPost }">
<table class="pop_tbType01" style="margin-top: 20px;">
<colgroup>
<col style="width: 20%;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th>우편물 수령지</th>
<td>
<p>
<c:out value="(${resPDList.rpplRealPost }) ${resPDList.rpplRealAddr } ${resPDList.rpplRealAddrDtl }"></c:out>&nbsp;
</p>
</td>
</tr>
</tbody>
</table>
</c:if>
</c:if>
</c:if>
</c:forEach>
<!-- 피신청 대리인 정보 끝 -->
</c:forEach>
<!-- 조정신청 내용 -->
<p class="tb_tit">조정신청 내용</p>
<table class="pop_tbType01">
<colgroup>
<col style="width: 20%;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th>저작물 종류</th>
<td>
<p>
<c:out value="${info.ccTyTx}"></c:out>&nbsp;
</p>
</td>
</tr>
<tr>
<th>신청취지</th>
<td>
<p>
${fn:replace(info.reqCn1, replaceChar, "<br/>")}
</p>
</td>
</tr>
<tr>
<th>신청이유</th>
<td>
<p>
<%-- <c:out value="${info.reqCn2}"></c:out>&nbsp; --%>
${fn:replace(info.reqCn2, replaceChar, "<br/>")}
</p>
</td>
</tr>
<tr class="td_file_list">
<th>첨부파일<!-- <br>(오프라인신청서) --></th>
<td>
<ul class="file_list">
<c:forEach var="item" items="${fileList}" varStatus="status">
<li>
<a href="<c:url value='/cmm/fms/FileDown.do?atchFileId=${item.atchFileId}&&fileSn=${item.fileSn}'/>" title="첨부파일 다운로드">
<c:out value="${item.orignlFileNm}"></c:out>&nbsp;
</a>
</li>
</c:forEach>
</ul>
</td>
</tr>
</tbody>
</table>
<!-- //조정신청 내용 -->
<div class="btn_wrap btn_layout04">
<button type="button" class="btnType03" onclick="window.close()">닫기</button>
</div>
</div>
</div>
</body>
</html>

View File

@ -1,90 +0,0 @@
<!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"%>
<html lang="ko">
<head>
<title>사건메모</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript">
function fnMemo(p){
var form = document.memoForm;
if(p == 'insert'){
form.adrCn.value = $('#memo').val();
}else if(p == 'modify'){
form.adrCn.value = $('#memo').val();
}else if(p == 'delete'){
form.adrCn.value = '';
}
var data = new FormData(form);
if(confirm("사건메모를 등록하시겠습니까?")){
$.ajax({
type: "POST",
url: "/kccadr/adjPgrMgr/apm/popup/updateAdrMemoAjax.do",
async:false,
data: data,
dataType:'json',
processData: false,
contentType: false,
cache: false,
success: function (returnData, status) {
if(status == 'success'){
alert("메모가 등록되었습니다.");
location.reload(true);
} else if(status == 'fail') {
alert("처리중 오류가 발생하였습니다.");
}
},
error: function (e) {
}
});
}
}
</script>
</head>
<body>
<form id="memoForm" name="memoForm" onsubmit="return false;" method="post">
<input type="hidden" name="adrSeq" value="<c:out value="${apmVO.adrSeq}" />" />
<input type="hidden" id="adrCn" name="adrCn" value=""/>
</form>
<div class="area_popup supm_popup" style="width: 800px;">
<div class="cont_popup">
<p class="tb_tit">사건메모</p>
<table class="pop_tbType01">
<colgroup>
<col style="width: 20%;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th>내용</th>
<td>
<p><textarea rows="20" cols="30" id="memo" name="memo"><c:out value="${memoVO.adrCn}"/></textarea></p>
</td>
</tr>
</tbody>
</table>
<div class="btn_wrap btn_layout04">
<c:if test="${memoVO.adrCn eq '' || memoVO.adrCn eq null}">
<button type="button" class="btnType06" onclick="fnMemo('insert'); return false;">등록</button>
</c:if>
<c:if test="${memoVO.adrCn ne '' && memoVO.adrCn ne null}">
<button type="button" class="btnType06" onclick="fnMemo('modify'); return false;">수정</button>
<button type="button" class="btnType02" onclick="fnMemo('delete'); return false;">삭제</button>
</c:if>
<button type="button" class="btnType03" onclick="window.close()">닫기</button>
</div>
</div>
</div>
</body>
</html>

View File

@ -1,104 +0,0 @@
<!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" %>
<%
/**
* @Class Name : adjReqMgrRegList.jsp
* @Description : 조정부관리
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2021.08.09 김봉호 최초 생성
* @author 김봉호
* @since 2021.08.21
* @version 1.0
* @see
*
*/
%>
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript">
</script>
<title>경정신청반려</title>
<script type="text/javaScript" language="javascript">
function fncClose(){
self.close();
}
function fncRejectSave(){
var txt = $("textarea[name=rejectCn]").val();
if(txt == ''){
alert("반려사유를 입력해주세요.");
return false;
}
var data = {
adrSeq : '${apmCorrectVO.adrSeq}',
adrSn : '${apmCorrectVO.adrSn}',
rpplChgSeqArr : '${apmCorrectVO.rpplChgSeqArr}',
apprYn : 'N',
apprCn : txt
};
if (confirm("반려하시겠습니까?")) {
$.ajax({
type: "POST",
url: "/kccadr/adjPgrMgr/apm/apmCorrectoinConfirmSave.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("정상적으로 반려되었습니다.");
opener.location.reload();
fncClose();
}
},
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
});
}
}
</script>
</head>
<body>
<form:form id="createForm" name="createForm" method="post" commandName="apmCorrectVO" onsubmit="return false;">
<div class="area_popup supm_popup">
<div class="cont_popup">
<%--<div class="tit_text">
<p>경정신청반려</p>
</div>--%>
<p class="tb_tit">경정신청을 반려하시겠습니까?</p>
<table class="pop_tbType01">
<colgroup>
<col style="width: 15%;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th>반려사유</th>
<td>
<textarea name="rejectCn" id="rejectCn" cols="30" rows="10" placeholder="반려사유를 입력해주세요." style="resize: none;"></textarea>
</td>
</tr>
</tbody>
</table>
<div class="btn_wrap btn_layout04">
<button class="btnType06" onclick="fncRejectSave(); return false;">예</button>
<button class="btnType06" onclick="fncClose(); return false;">아니오</button>
</div>
</div>
</div>
</form:form>
</body>
</html>

View File

@ -1,128 +0,0 @@
<!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" %>
<%
/**
* @Class Name : appChgListPop.jsp
* @Description : 기일변경신청 리스트 팝업
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2021.12.03 우영두 최초 생성
* @author 우영두
* @since 2021.12.03
* @version 1.0
* @see
*
*/
%>
<html lang="ko">
<head>
<title>사용자 기일변경신청 목록</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript">
function fncAppChgPopDetail(adrSeq, appSeq, adrSn){
var adrForm = document.adrForm;
adrForm.adrSeq.value = adrSeq;
adrForm.appSeq.value = appSeq;
adrForm.adrSn.value = adrSn;
adrForm.action="/kccadr/adjPgrMgr/apm/popup/appChgPop.do";
adrForm.submit();
}
</script>
</head>
<body>
<div class="area_popup search_list_popup" style="width: 750px;">
<form id="adrForm" name="adrForm" method="post">
<input type="hidden" name="adrSeq"/>
<input type="hidden" name="adrSn"/>
<input type="hidden" name="appSeq"/>
</form>
<form:form id="listForm" name="listForm" method="post" onsubmit="return false;">
<input type="hidden" name="pageIndex" value="<c:out value='${cmmVO.pageIndex}' default='1' />"/>
<input type="hidden" name="searchSortCnd" value="<c:out value="${cmmVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${cmmVO.searchSortOrd}" />" />
<div class="cont_popup">
<p class="tit_text">기일변경신청 목록</p>
<!-- <ul class="search_form">
<li>
<p class="search_tit">검색 : </p>
<input type="text" id=searchKeyword name="searchKeyword" class="search_input" placeholder="검색어를 입력하세요" value="">
<button class="btn_search" onclick="fncSearchUser(); return false;">검색</button>
</li>
</ul> -->
<table class="pop_tbType02">
<colgroup>
<col style="width: 8%">
<col style="width: 25%">
<col style="width: auto">
<col style="width: 15%">
<col style="width: 10%">
</colgroup>
<thead>
<tr>
<th>번호<button type="button" class="sort sortBtn" id="sort_ESNTL_ID"></button></th>
<th>변경 요청일<button type="button" class="sort sortBtn" id="sort_MBER_NM"></button></th>
<th>변경 사유<button type="button" class="sort sortBtn" id="sort_APP_CHG_CN"></button></th>
<th>제출일자<button type="button" class="sort sortBtn" id="sort_SBMT_DE"></button></th>
<th>선택</th>
</tr>
</thead>
<tbody>
<c:forEach var="list" items="${list}" varStatus="status">
<tr>
<td>
<c:if test="${cmmVO.searchSortOrd eq 'desc' }">
<c:out value="${ ( paginationInfo.totalRecordCount - ((cmmVO.pageIndex -1)*cmmVO.pageUnit) ) - status.index }"/>
</c:if>
<c:if test="${cmmVO.searchSortOrd eq 'asc' }">
<c:out value="${(cmmVO.pageIndex - 1) * cmmVO.pageUnit + status.count}"/>
</c:if>
</td>
<td>
<c:out value="${list.appDeDay}"/> &nbsp; <c:out value="${list.appDeTime}"/>
</td>
<td>
<c:out value="${list.appChgCn}"/>
</td>
<td>
<c:out value="${list.sbmtDe}"/>
</td>
<td>
<button type="button" class="btn_choise" onclick="fncAppChgPopDetail('<c:out value="${list.adrSeq}"/>', '<c:out value="${list.appSeq}"/>', '<c:out value="${list.adrSn}"/>'); return false;">선택</button>
</td>
</tr>
</c:forEach>
<c:if test="${empty list}">
<tr><td colspan="5"><spring:message code="common.nodata.msg" /></td></tr>
</c:if>
</tbody>
</table>
<!-- page -->
<div class="page">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</div>
<!-- //page -->
</div>
</form:form>
</div>
</body>
</html>

View File

@ -1,116 +0,0 @@
<!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"%>
<%
/**
* @Class Name : srcAdmNoPop.jsp
* @Description : 조정접수
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2021.08.16 김봉호 최초 생성
* @author 김봉호
* @since 2021.08.16
* @version 1.0
* @see
*
*/
%>
<html lang="ko">
<head>
<title>사용자기일신청확인</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="<c:url value='/js/EgovMultiFileItn.js'/>"></script>
<!-- 파일첨부, 썸네일이미지 있으면 미리보기 -->
<!-- <script src="//t1.daumcdn.net/mapjsapi/bundle/postcode/prod/postcode.v2.js"></script> -->
<script src="/kccadrPb/adm/script/postcode.js"></script>
<script src="<c:url value='/js/kccadr/kccadrCom.js' />"></script>
<%-- 전자조정 --%>
<script type="text/javascript">
$(document).ready(function() {
});
function fncConfirm() {
var f = document.getElementById("p");
var data = new FormData(f);
$.ajax({
type : "POST",
url : "/kccadr/adjPgrMgr/chd/chdConfirmAjax.do",
data : data,
dataType : 'json',
async : false,
processData : false,
contentType : false,
cache : false,
success : function(returnData, status) {
if (returnData.result == 'success') {
window.opener.location.reload();
window.close();
} else {
alert(returnData.message);
}
},
error : function(e) {
alert("기일변경통지서 등록이 실패하였습니다.");
console.log("ERROR : ", e);
}
});
}
</script>
</head>
<body>
<form:form id="p" name="p">
<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="appSeq" name="appSeq" value="<c:out value="${info.appSeq }"></c:out>" />
<div class="area_popup" style="width: 750px;">
<div class="cont_popup">
<p class="tb_tit">변경사유</p>
<div class="info_box">
<p>
<c:out value="${info.appChgCn }"></c:out>
</p>
</div>
<p class="tb_tit">변경기일</p>
<div class="info_box">
<p>
<p>
변경기일 :
<c:out value="${info.appDeDay }"></c:out>
</p>
<br/>
<p>
제출일자 :
<c:out value="${info.sbmtDeDay }"></c:out>
</p>
</p>
</div>
<p class="tb_tit">첨부파일</p>
<div class="info_box">
<c:forEach var="item" items="${fileList}" varStatus="status">
<p>
<c:out value="${item.orignlFileNm}"></c:out>
</p>
</c:forEach>
</div>
<div class="btn_wrap btn_layout04">
<c:if test="${empty info.apprYn || info.apprYn eq 'N'}">
<button type="button" class="btnType02" onclick="self.fncConfirm()">확인(승인)</button>
</c:if>
<button type="button" class="btnType03" onclick="self.close()">닫기</button>
</div>
</div>
</div>
</form:form>
</body>
</html>

View File

@ -1,114 +0,0 @@
<%--
Class Name : ConciliatorRegist.jsp
Description : 조정위원 조정부 선택
Modification Information
수정일 수정자 수정내용
------- -------- ---------------------------
2021.09.28 이준호 최초 생성
author : 이준호
since : 2021.09.28
--%>
<%@ 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"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Language" content="ko">
<!-- css -->
<link rel="stylesheet" href="/kccadrPb/adm/css/reset.css">
<link rel="stylesheet" href="/kccadrPb/adm/css/font.css">
<link rel="stylesheet" href="/kccadrPb/adm/css/common.css">
<link rel="stylesheet" href="/kccadrPb/adm/css/content.css">
<link rel="stylesheet" href="/kccadrPb/adm/css/content_media.css">
<link rel="stylesheet" href="/kccadrPb/adm/css/popup.css">
<script src="/kccadrPb/usr/script/jquery-3.5.0.js"></script>
<title>조정위원 조정부 선택</title>
<script type="text/javaScript" language="javascript">
$(document).ready(function() {});
function fncConfirm() {
var f = document.getElementById("p");
var data = new FormData(f);
$.ajax({
type : "POST",
url : "/kccadr/adjPgrMgr/apm/avoidConfirmAjax.do",
data : data,
dataType : 'json',
async : false,
processData : false,
contentType : false,
cache : false,
success : function(returnData, status) {
if (returnData.result == 'success') {
alert("조정위원 기피신청 확인이 완료되었습니다.");
window.close();
} else {
alert(returnData.message);
}
},
error : function(e) {
alert("조정위원 기피신청 확인을 실패하였습니다.");
console.log("ERROR : ", e);
}
});
}
</script>
</head>
<body>
<form:form id="p" name="p" method="post" commandName="apmVO" onsubmit="return false;">
<input type="hidden" name="adrSeq" value="<c:out value="${apmVO.adrSeq}" />" />
<input type="hidden" name="adrSn" value="<c:out value="${apmVO.adrSn}" />" />
<input type="hidden" name="adrAvoidSeq" value="<c:out value="${apmVO.adrAvoidSeq}" />" />
<div class="area_popup" id="check_dev" style="width: 550px;">
<div class="cont_popup">
<p class="tb_tit">조정위원 기피신청</p>
<table class="pop_tbType01">
<colgroup>
<col style="width: 20%;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th>조정위원</th>
<td>
<c:out value="${info.memName }"></c:out>
</td>
</tr>
<tr>
<th>기피사유</th>
<td>
<textarea name="reqCn" id="reqCn" cols="30" rows="5" placeholder="기피사유를 입력해주세요." style="resize: none;" disabled="disabled"><c:out value="${info.reqCn }"></c:out></textarea>
</td>
</tr>
</tbody>
</table>
<div class="btn_wrap btn_layout04">
<c:if test="${empty info.avoidConfirmId }">
<button type="button" class="btnType06" onclick="fncConfirm();">확인</button>
</c:if>
<button class="btnType06" onclick="self.close()">취소</button>
</div>
</div>
</div>
</form:form>
</body>
</html>

Some files were not shown because too many files have changed in this diff Show More