이준호 전자조정시스템 커밋

- 법원연계 종결목록 수정
This commit is contained in:
leejunho 2024-01-19 10:32:46 +09:00
parent 4770879e87
commit dc3d69eda9
7 changed files with 668 additions and 16 deletions

View File

@ -189,7 +189,7 @@ public class AdjCourtCnctnServiceImpl extends EgovAbstractServiceImpl implements
final Map<String, MultipartFile> files = multiRequest.getFileMap();
if (!files.isEmpty()){
List<FileVO> result = fileUtil.parseFileInf(files, "CRT_", 0, "", "", "");
List<FileVO> result = fileUtil.parseFileInf(files, "CRT_", 0, adjCourtAppVO.getCrtAtchFileId(), "", "");
String atchFileId = fileMngService.insertFileInfs(result);
adjCourtAppVO.setCrtAtchFileId(atchFileId);
@ -219,7 +219,7 @@ public class AdjCourtCnctnServiceImpl extends EgovAbstractServiceImpl implements
final Map<String, MultipartFile> files = multiRequest.getFileMap();
if (!files.isEmpty()){
List<FileVO> result = fileUtil.parseFileInf(files, "CRT_", 0, "", "", "");
List<FileVO> result = fileUtil.parseFileInf(files, "CRT_", 0, adjCourtCnctnVO.getCrtAtchFileIdEnd(), "", "");
String atchFileId = fileMngService.insertFileInfs(result);
adjCourtCnctnVO.setCrtAtchFileIdEnd(atchFileId);
@ -243,7 +243,7 @@ public class AdjCourtCnctnServiceImpl extends EgovAbstractServiceImpl implements
try {
final Map<String, MultipartFile> files = multiRequest.getFileMap();
List<FileVO> result = fileUtil.parseFileInf(files, "CRT_", 0, "", "", "");
List<FileVO> result = fileUtil.parseFileInf(files, "CRT_", 0, adjCourtCnctnVO.getAtchFileId(), "", "");
String atchFileId = fileMngService.insertFileInfs(result);
adjCourtCnctnVO.setCrtAtchFileId(atchFileId);

View File

@ -1,6 +1,7 @@
package kcc.kccadr.adjCourtCnctn.web;
import java.util.List;
import java.util.stream.Collectors;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
@ -15,10 +16,10 @@ import org.springframework.web.multipart.MultipartHttpServletRequest;
import egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
import kcc.com.cmm.LoginVO;
import kcc.com.cmm.service.EgovFileMngService;
import kcc.com.cmm.service.FileVO;
import kcc.com.cmm.util.StringUtil;
import kcc.com.utl.fcc.service.EgovStringUtil;
import kcc.kccadr.accdnt.ans.service.AnsVO;
import kcc.kccadr.accdnt.ars.service.AdjstReqStatusVO;
import kcc.kccadr.adjCourtCnctn.service.AdjCourtAppVO;
import kcc.kccadr.adjCourtCnctn.service.AdjCourtCnctnService;
import kcc.kccadr.adjCourtCnctn.service.AdjCourtCnctnVO;
@ -46,6 +47,10 @@ public class AdjCourtCnctnController {
@Resource(name = "AdjCourtCnctnService")
private AdjCourtCnctnService adjCourtCnctnService;
//파일정보의 관리
@Resource(name = "EgovFileMngService")
private EgovFileMngService fileService;
@RequestMapping("/kccadr/adjCourtCnctn/adjCourtCnctnList.do")
public String adjCourtCnctnList(@ModelAttribute("adjCourtCnctnVO") AdjCourtCnctnVO adjCourtCnctnVO, ModelMap model) throws Exception {
@ -70,6 +75,15 @@ public class AdjCourtCnctnController {
paginationInfo.setTotalRecordCount(adjCourtCnctnService.adjCourtCnctnListCount(adjCourtCnctnVO));
model.addAttribute("paginationInfo", paginationInfo);
List<AdjCourtCnctnVO> list = adjCourtCnctnService.adjCourtCnctnList(adjCourtCnctnVO);
try {
list = list.stream()
.filter(t -> t.getCrtStatCd() != null)
.filter(t -> Integer.parseInt(t.getCrtStatCd()) <= 201050)
.collect(Collectors.toList());
} catch (Exception e) {
System.out.println(e.getMessage());
}
// 복호화
model.addAttribute("list", list);
@ -197,7 +211,16 @@ public class AdjCourtCnctnController {
@RequestMapping(value = "/kccadr/adjCourtCnctn/popup/adjCourtCnctnAppDetailPop.do")
public String adjCourtCnctnAppDetailPop(@ModelAttribute("adjCourtAppVO") AdjCourtAppVO adjCourtAppVO, ModelMap model) throws Exception {
model.addAttribute("detailVO", adjCourtCnctnService.selectAdjCourtCnctnAppDetail(adjCourtAppVO));
AdjCourtAppVO detailVO = adjCourtCnctnService.selectAdjCourtCnctnAppDetail(adjCourtAppVO);
model.addAttribute("detailVO", detailVO);
//파일 정보 가져오기
FileVO fileVO = new FileVO();
fileVO.setAtchFileId(detailVO.getCrtAtchFileId());
List<FileVO> result = fileService.selectFileInfs(fileVO);
model.addAttribute("fileList", result);
model.addAttribute("fileListCnt", result.size());
return "kccadr/adjCourtCnctn/pop/adjCourtCnctnAppDetailPop";
}
@ -265,4 +288,80 @@ public class AdjCourtCnctnController {
return ResponseEntity.ok().body(adjCourtCnctnService.updateAdjCourtCnctnEndAfterPopAjax(adjCourtCnctnVO, deptVO));
}
@RequestMapping("/kccadr/adjCourtCnctn/adjCourtCnctnEndList.do")
public String adjCourtCnctnEndList(@ModelAttribute("adjCourtCnctnVO") AdjCourtCnctnVO adjCourtCnctnVO, ModelMap model) throws Exception {
if(adjCourtCnctnVO.getPageUnit() != 10) {
adjCourtCnctnVO.setPageUnit(adjCourtCnctnVO.getPageUnit());
}
if("".equals(adjCourtCnctnVO.getSearchSortCnd())){
adjCourtCnctnVO.setSearchSortCnd("CRT_SEQ");
adjCourtCnctnVO.setSearchSortOrd("desc");
}
/** paging */
PaginationInfo paginationInfo = new PaginationInfo();
paginationInfo.setCurrentPageNo(adjCourtCnctnVO.getPageIndex());
paginationInfo.setRecordCountPerPage(adjCourtCnctnVO.getPageUnit());
paginationInfo.setPageSize(adjCourtCnctnVO.getPageSize());
adjCourtCnctnVO.setFirstIndex(paginationInfo.getFirstRecordIndex());
adjCourtCnctnVO.setLastIndex(paginationInfo.getLastRecordIndex());
adjCourtCnctnVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
paginationInfo.setTotalRecordCount(adjCourtCnctnService.adjCourtCnctnListCount(adjCourtCnctnVO));
model.addAttribute("paginationInfo", paginationInfo);
List<AdjCourtCnctnVO> list = adjCourtCnctnService.adjCourtCnctnList(adjCourtCnctnVO);
try {
list = list.stream()
.filter(t -> t.getCrtStatCd() != null)
.filter(t -> Integer.parseInt(t.getCrtStatCd()) > 201050)
.collect(Collectors.toList());
} catch (Exception e) {
System.out.println(e.getMessage());
}
// 복호화
model.addAttribute("list", list);
model.addAttribute("endFlag", "end");
return "kccadr/adjCourtCnctn/adjCourtCnctnList";
}
@RequestMapping("/kccadr/adjCourtCnctn/adjCourtCnctnEndDetail.do")
public String adjCourtCnctnEndDetail(@ModelAttribute("adjCourtCnctnVO") AdjCourtCnctnVO CourtVO, ModelMap model) throws Exception {
AdjCourtCnctnVO adjCourtCnctnVO = adjCourtCnctnService.findByid(CourtVO);
if(StringUtil.isEmpty(adjCourtCnctnVO.getTabSeq())) {
adjCourtCnctnVO.setTabSeq("0");
}
model.addAttribute("courtVO", adjCourtCnctnVO);
return "kccadr/adjCourtCnctn/adjCourtCnctnEndDetail";
}
@RequestMapping("/kccadr/adjCourtCnctn/adjCourtCnctnEndDetailTab0.do")
public String adjCourtCnctnEndDetailTab0(@ModelAttribute("adjCourtCnctnVO") AdjCourtCnctnVO CourtVO, ModelMap model) throws Exception {
AdjCourtCnctnVO adjCourtCnctnVO = adjCourtCnctnService.findByid(CourtVO);
model.addAttribute("courtVO", adjCourtCnctnVO);
AdjCourtDeptVO adjCourtDeptVO = new AdjCourtDeptVO();
adjCourtDeptVO.setCrtSeq(adjCourtCnctnVO.getCrtSeq());
model.addAttribute("adjCourtDeptVO", adjCourtCnctnService.selectCourtDept(adjCourtDeptVO));
return "kccadr/adjCourtCnctn/adjCourtCnctnEndDetailTab0";
}
@RequestMapping("/kccadr/adjCourtCnctn/adjCourtCnctnEndDetailTab1.do")
public String adjCourtCnctnEndDetailTab1(@ModelAttribute("adjCourtCnctnVO") AdjCourtCnctnVO CourtVO, ModelMap model) throws Exception {
AdjCourtCnctnVO adjCourtCnctnVO = adjCourtCnctnService.findByid(CourtVO);
model.addAttribute("courtVO", adjCourtCnctnVO);
List<AdjCourtCnctnVO> list = adjCourtCnctnService.selectAdjCourtCnctniFileList(CourtVO);
model.addAttribute("list", list);
return "kccadr/adjCourtCnctn/adjCourtCnctnEndDetailTab1";
}
}

View File

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

@ -0,0 +1,298 @@
<%@ 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/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}" />" />
</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="CC002" code="${courtVO.crtCcTy}" />
</td>
</tr>
<tr>
<th>사건내용</th>
<td colspan="3">
<c:out value="${courtVO.crtCn}"/>
</td>
</tr>
<tr>
<th>합의금</th>
<td colspan="3">
<c:out value="${courtVO.crtAgrment}"/>
</td>
</tr>
<tr>
<th>종결일자</th>
<td colspan="3">
<c:out value="${fn:substring(courtVO.crtEndDe, 0, 10)}"/>
</td>
</tr>
<tr>
<th>수당금액</th>
<td colspan="3">
<c:out value="${adjCourtDeptVO.crtAllwanc}"/>
</td>
</tr>
<tr>
<th>지급일자</th>
<td colspan="3">
<c:out value="${fn:substring(adjCourtDeptVO.crtPayDe, 0, 10)}"/>
</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 < 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>
<button type="button" class="btnType03" onclick="fn_GoList(); return false;">목록</button>
</div>
</div>
</div>
</form>
</body>
</html>

View File

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

@ -47,6 +47,13 @@ function fn_goDetail(crtSeq){
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();
}
</script>
</head>
<body>
@ -126,15 +133,28 @@ function fn_goDetail(crtSeq){
<c:out value="${(adjCourtCnctnVO.pageIndex - 1) * adjCourtCnctnVO.pageUnit + status.count}"/>
</c:if>
</td>
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><c:out value="${list.crtOriNo}" /></a></td>
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><c:out value="${list.crtNo}" /></a></td>
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><c:out value="${list.crtClimntNm}" /></a></td>
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><c:out value="${list.crtDfndntNm}" /></a></td>
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><c:out value="${fn:substring(list.crtAllctDe, 0, 10)}" /></a></td>
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><kc:code codeId="CC002" code="${list.crtCcTy}"/></a></td>
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><c:out value="${list.deptNm}" /></a></td>
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><kc:code codeId="CC701" code="${list.crtLinkHouse}"/></a></td>
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><kc:code codeId="CC703" code="${list.crtStatCd}"/></a></td>
<c:if test="${empty endFlag}">
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><c:out value="${list.crtOriNo}" /></a></td>
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><c:out value="${list.crtNo}" /></a></td>
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><c:out value="${list.crtClimntNm}" /></a></td>
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><c:out value="${list.crtDfndntNm}" /></a></td>
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><c:out value="${fn:substring(list.crtAllctDe, 0, 10)}" /></a></td>
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><kc:code codeId="CC002" code="${list.crtCcTy}"/></a></td>
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><c:out value="${list.deptNm}" /></a></td>
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><kc:code codeId="CC701" code="${list.crtLinkHouse}"/></a></td>
<td><a href="#" onclick="fn_goDetail('${list.crtSeq}');"><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="CC002" 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}">

View File

@ -83,7 +83,7 @@ $(document).ready(function(){
<div class="area_popup supm_popup" style="width: 800px;">
<div class="cont_popup">
<p class="tb_tit">사건메모</p>
<p class="tb_tit">기일상세</p>
<table class="pop_tbType01">
<colgroup>
<col style="width: 20%;">