refactor: 과거사건이력 진행중
This commit is contained in:
parent
70995698c5
commit
e2e2b0d01e
@ -553,15 +553,15 @@ public class AdjReqMgrPastServiceImpl extends EgovAbstractServiceImpl implements
|
||||
@Override
|
||||
public ResponseEntity<RestResponse> checkNUpdateAprvlPastAjax(AdjReqMgrPastVO adjPastVO) throws Exception {
|
||||
|
||||
System.out.println(" 조정기일일 :: "+adjPastVO.getAppDeDay());
|
||||
System.out.println(" 조정기일시 :: "+adjPastVO.getAppDeTime());
|
||||
System.out.println(" 다음조정기일일 :: "+adjPastVO.getNextAppDeDay());
|
||||
System.out.println(" 다음조정기일시 :: "+adjPastVO.getNextAppDeTime());
|
||||
System.out.println(" 조정기일장소 :: "+adjPastVO.getAppPlaceTx());
|
||||
System.out.println(" 기일조서내용 :: "+adjPastVO.getPrtclCn());
|
||||
System.out.println(" 장소 Type :: "+adjPastVO.getAppPlaceTy());
|
||||
System.out.println(" 장소 :: "+adjPastVO.getAppPlaceTx());
|
||||
System.out.println(" 공개여부 :: "+adjPastVO.getOpenYn());
|
||||
// System.out.println(" 조정기일일 :: "+adjPastVO.getAppDeDay());
|
||||
// System.out.println(" 조정기일시 :: "+adjPastVO.getAppDeTime());
|
||||
// System.out.println(" 다음조정기일일 :: "+adjPastVO.getNextAppDeDay());
|
||||
// System.out.println(" 다음조정기일시 :: "+adjPastVO.getNextAppDeTime());
|
||||
// System.out.println(" 조정기일장소 :: "+adjPastVO.getAppPlaceTx());
|
||||
// System.out.println(" 기일조서내용 :: "+adjPastVO.getPrtclCn());
|
||||
// System.out.println(" 장소 Type :: "+adjPastVO.getAppPlaceTy());
|
||||
// System.out.println(" 장소 :: "+adjPastVO.getAppPlaceTx());
|
||||
// System.out.println(" 공개여부 :: "+adjPastVO.getOpenYn());
|
||||
|
||||
try {
|
||||
this.updateAdjAssAndDataCleansing(adjPastVO);
|
||||
@ -570,8 +570,8 @@ public class AdjReqMgrPastServiceImpl extends EgovAbstractServiceImpl implements
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
// this.updateAdrPrtclMgrAndDataCleansing(adjPastVO);
|
||||
return ResponseEntity.ok(new RestResponse(HttpStatus.OK, "기일조서 등록이 완료되었습니다.", LocalDateTime.now()));
|
||||
this.updateAdrPrtclMgrAndDataCleansing(adjPastVO);
|
||||
return ResponseEntity.ok(new RestResponse(HttpStatus.OK, "기일조서 수정이 완료되었습니다.", LocalDateTime.now()));
|
||||
}
|
||||
|
||||
|
||||
@ -686,6 +686,7 @@ public class AdjReqMgrPastServiceImpl extends EgovAbstractServiceImpl implements
|
||||
adjAssMgrPastVO = new AdjAssMgrPastVO(adjPastVO);
|
||||
adjAssMgrPastVO.setAssPstSeq(addusrList.split("\\|")[0]);
|
||||
adjAssMgrPastVO.setAddYn(addusrList.split("\\|")[1]);
|
||||
|
||||
adjReqMgrPastDAO.updateAdjAss(adjAssMgrPastVO);
|
||||
}
|
||||
|
||||
@ -723,13 +724,20 @@ public class AdjReqMgrPastServiceImpl extends EgovAbstractServiceImpl implements
|
||||
public AdjReqMgrPastVO findByIdPrtclMgr(AdjReqMgrPastVO adjReqMgrPastVO) {
|
||||
AdjReqMgrPastVO adjPastVO = adjReqMgrPastDAO.findByIdPrtclMgr(adjReqMgrPastVO);
|
||||
|
||||
adjPastVO.setAppDeDay(adjPastVO.getAppDe().split(" ")[0]);
|
||||
String appTime = adjPastVO.getAppDe().split(" ")[1];
|
||||
adjPastVO.setAppDeTime(appTime.substring(0, appTime.lastIndexOf(":")));
|
||||
if(StringUtils.isNotEmpty(adjPastVO.getAppDe()))
|
||||
{
|
||||
adjPastVO.setAppDeDay(adjPastVO.getAppDe().split(" ")[0]);
|
||||
String appTime = adjPastVO.getAppDe().split(" ")[1];
|
||||
adjPastVO.setAppDeTime(appTime.substring(0, appTime.lastIndexOf(":")));
|
||||
}
|
||||
|
||||
if(StringUtils.isNotEmpty(adjPastVO.getNextAppDe()))
|
||||
{
|
||||
adjPastVO.setNextAppDeDay(adjPastVO.getNextAppDe().split(" ")[0]);
|
||||
String appNextTime = adjPastVO.getNextAppDe().split(" ")[1];
|
||||
adjPastVO.setNextAppDeTime(appNextTime.substring(0, appNextTime.lastIndexOf(":")));
|
||||
}
|
||||
|
||||
adjPastVO.setNextAppDeDay(adjPastVO.getNextAppDe().split(" ")[0]);
|
||||
String appNextTime = adjPastVO.getNextAppDe().split(" ")[1];
|
||||
adjPastVO.setNextAppDeTime(appNextTime.substring(0, appTime.lastIndexOf(":")));
|
||||
return adjPastVO;
|
||||
}
|
||||
|
||||
|
||||
@ -190,8 +190,8 @@ public class AdjReqMgrPastController {
|
||||
public String adjReqMgrPastFileRegist(@ModelAttribute("adjReqMgrPastVO") AdjReqMgrPastVO adjReqMgrPastVO, ModelMap model) throws Exception {
|
||||
|
||||
//TODO 테스트로 인한 seq 코딩
|
||||
adjReqMgrPastVO.setAdrSeq("ADR_0000000000002920");
|
||||
System.out.println("adjReqMgrPastVO.getAdrSeq() !!! : "+ adjReqMgrPastVO.getAdrSeq());
|
||||
// adjReqMgrPastVO.setAdrSeq("ADR_0000000000002920");
|
||||
// System.out.println("adjReqMgrPastVO.getAdrSeq() !!! : "+ adjReqMgrPastVO.getAdrSeq());
|
||||
|
||||
model.addAttribute("adjReqMgrPastVO", adjReqMgrPastVO);
|
||||
// PgrCmmVO cmmVO = new PgrCmmVO();
|
||||
@ -262,7 +262,9 @@ public class AdjReqMgrPastController {
|
||||
@RequestMapping("/kccadr/adjReqMgOff/popup/drtUpdtPop.do")
|
||||
public String drtUpdtPop(AdjReqMgrPastVO adjReqMgrPastVO, ModelMap model) throws Exception {
|
||||
|
||||
AdjReqMgrPastVO adjPastVO = adjReqMgrPastService.findByIdPrtclMgr(adjReqMgrPastVO);
|
||||
AdjReqMgrPastVO adjPastVO = new AdjReqMgrPastVO();
|
||||
|
||||
adjPastVO = adjReqMgrPastService.findByIdPrtclMgr(adjReqMgrPastVO);
|
||||
|
||||
System.out.println(" adjPastVO.getPrtclCn() :: " + adjPastVO.getPrtclCn());
|
||||
|
||||
|
||||
@ -418,12 +418,14 @@
|
||||
</insert>
|
||||
|
||||
<!-- 과거사건등록 - 기일조서 등록 출석인 관리-->
|
||||
<update id="adjReqMgrPastDAO.updateAdjAss" parameterClass="AdjReqPastVO">
|
||||
<update id="adjReqMgrPastDAO.updateAdjAss" parameterClass="AdjAssMgrPastVO">
|
||||
|
||||
|
||||
UPDATE ADR_ASS_MGR_PST SET
|
||||
ADD_YN = #addYn#
|
||||
<isNotEmpty property="assPstUsrNm" >
|
||||
, ASS_PST_USR_NM = #assPstUsrNm#
|
||||
</isNotEmpty>
|
||||
, LAST_UPDUSR_ID = #lastUpdusrId#
|
||||
, LAST_UPDT_PNTTM = NOW()
|
||||
WHERE
|
||||
@ -440,7 +442,9 @@
|
||||
, app_place_ty = #appPlaceTy#
|
||||
, app_place = #appPlace#
|
||||
, next_app_de_yn = #nextAppDeYn#
|
||||
, next_app_de = TO_DATETIME(TO_CHAR(#nextAppDe#,'YYYY-MM-DD HH24:MI'))
|
||||
<isEqual property="nextAppDeYn" compareValue="Y">
|
||||
, next_app_de = TO_DATETIME(TO_CHAR(#nextAppDe#,'YYYY-MM-DD HH24:MI'))
|
||||
</isEqual>
|
||||
, prtcl_cn = #prtclCn#
|
||||
, sbmt_yn = #sbmtYn#
|
||||
, appr_yn = #apprYn#
|
||||
|
||||
@ -7,18 +7,18 @@
|
||||
<application generated-by="eclipse" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.zeroturnaround.com" xsi:schemaLocation="http://www.zeroturnaround.com http://update.zeroturnaround.com/jrebel/rebel-2_1.xsd">
|
||||
|
||||
<classpath>
|
||||
<dir name="${rebel.workspace.path}/kcc_adr_advc_git/target/classes">
|
||||
<dir name="D:/Development/git_repository/kcc_adr_advc_git/target/classes">
|
||||
</dir>
|
||||
</classpath>
|
||||
|
||||
<web>
|
||||
<link target="/">
|
||||
<dir name="${rebel.workspace.path}/kcc_adr_advc_git/target/m2e-wtp/web-resources">
|
||||
<dir name="D:/Development/git_repository/kcc_adr_advc_git/target/m2e-wtp/web-resources">
|
||||
<exclude name="/"/>
|
||||
</dir>
|
||||
</link>
|
||||
<link target="/">
|
||||
<dir name="${rebel.workspace.path}/kcc_adr_advc_git/src/main/webapp">
|
||||
<dir name="D:/Development/git_repository/kcc_adr_advc_git/src/main/webapp">
|
||||
</dir>
|
||||
</link>
|
||||
</web>
|
||||
|
||||
@ -1395,7 +1395,7 @@
|
||||
<div class="area_left">
|
||||
</div>
|
||||
<div class="area_right">
|
||||
<button type="button" class="btnType06" onclick="fn_adjReqMgr_insert(); return false;">기본정보 저장 ></button>
|
||||
<button type="button" class="btnType06" onclick="fn_adjReqMgr_insert(); return false;">다음단계 저장 ></button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //btn_wrap -->
|
||||
|
||||
@ -0,0 +1,530 @@
|
||||
<!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="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 : 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(){
|
||||
|
||||
});
|
||||
|
||||
//단일 첨부파일 버튼
|
||||
$(function() {
|
||||
$('#filebutton').click(function(e) {
|
||||
e.preventDefault();
|
||||
$('#file_temp').click();
|
||||
});
|
||||
});
|
||||
|
||||
//등록 버튼
|
||||
function fncReg() {
|
||||
var f = document.getElementById("listForm");
|
||||
var data = new FormData(f);
|
||||
_fileForm2.forEach(function(obj, idx) {
|
||||
if (obj)
|
||||
data.append("file" + idx, obj.fileObj);
|
||||
});
|
||||
|
||||
if (validation()) {
|
||||
if(confirm("사건문서를 등록 하시겠습니까?")){
|
||||
|
||||
$.ajax({
|
||||
type : "POST",
|
||||
enctype : 'multipart/form-data',
|
||||
url : "/kccadr/adjPgrMgr/apm/docRegPopAjax.do",
|
||||
data : data,
|
||||
dataType : 'json',
|
||||
async : false,
|
||||
processData : false,
|
||||
contentType : false,
|
||||
cache : false,
|
||||
success : function(returnData, status) {
|
||||
if (returnData.result == 'success') {
|
||||
alert("사건문서 제출이 완료되었습니다.");
|
||||
opener.location.reload(true);
|
||||
self.close();
|
||||
} else {
|
||||
alert(returnData.message);
|
||||
}
|
||||
|
||||
},
|
||||
error : function(e) {
|
||||
alert("사건문서 제출에 실패하였습니다.");
|
||||
console.log("ERROR : ", e);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function validation() {
|
||||
|
||||
if (isEmpty($('#adrDocCn1').val())) {
|
||||
alert('답변내용을 입력해 주세요.');
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($('#tbody_fiielist tr').length * 1 <= 0) {
|
||||
alert("첨부서류를 등록해 주세요");
|
||||
return false;
|
||||
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
//문서구분에 따른 신청인 피신청인 선택값 show/hide
|
||||
function docTypeDiv(divVal){
|
||||
//답변서
|
||||
if(divVal == '10'){
|
||||
//신청인
|
||||
$('#rpplSeq').find('option[name=10]').prop('disabled', true);
|
||||
$('#rpplSeq').find('option[name=10]').prop('selected', false);
|
||||
//피신청인
|
||||
$('#rpplSeq').find('option[name=20]').each(function(){
|
||||
$(this).prop('disabled', false);
|
||||
$(this).eq(0).prop('selected', true);
|
||||
});
|
||||
//조정조사관
|
||||
$('#rpplSeq').find('option[name=30]').prop('disabled', true);
|
||||
$('#rpplSeq').find('option[name=30]').prop('selected', false);
|
||||
}
|
||||
//준비서면
|
||||
else if(divVal == '20'){
|
||||
//신청인
|
||||
$('#rpplSeq').find('option[name=10]').prop('disabled', false);
|
||||
$('#rpplSeq').find('option[name=10]').prop('selected', true);
|
||||
//피신청인
|
||||
$('#rpplSeq').find('option[name=20]').each(function(){
|
||||
$(this).prop('disabled', true);
|
||||
$(this).prop('selected', false);
|
||||
});
|
||||
//조정조사관
|
||||
$('#rpplSeq').find('option[name=30]').prop('disabled', true);
|
||||
$('#rpplSeq').find('option[name=30]').prop('selected', false);
|
||||
}
|
||||
//취하신청서
|
||||
else if(divVal == '30'){
|
||||
$('#rpplSeq').find('option[name=10]').prop('disabled', false);
|
||||
$('#rpplSeq').find('option[name=10]').prop('selected', true);
|
||||
//피신청인
|
||||
$('#rpplSeq').find('option[name=20]').each(function(){
|
||||
$(this).prop('disabled', true);
|
||||
$(this).prop('selected', false);
|
||||
});
|
||||
//조정조사관
|
||||
$('#rpplSeq').find('option[name=30]').prop('disabled', true);
|
||||
$('#rpplSeq').find('option[name=30]').prop('selected', false);
|
||||
}
|
||||
//피신청인 경정신청서
|
||||
else if(divVal == '40'){
|
||||
$('#rpplSeq').find('option[name=10]').prop('disabled', false);
|
||||
$('#rpplSeq').find('option[name=10]').prop('selected', true);
|
||||
//피신청인
|
||||
$('#rpplSeq').find('option[name=20]').each(function(){
|
||||
$(this).prop('disabled', true);
|
||||
$(this).prop('selected', false);
|
||||
});
|
||||
//조정조사관
|
||||
$('#rpplSeq').find('option[name=30]').prop('disabled', true);
|
||||
$('#rpplSeq').find('option[name=30]').prop('selected', false);
|
||||
}
|
||||
//조정기일 연장동의서
|
||||
else if(divVal == '50'){
|
||||
$('#rpplSeq').find('option[name=10]').prop('disabled', false);
|
||||
$('#rpplSeq').find('option[name=10]').prop('selected', true);
|
||||
//피신청인
|
||||
$('#rpplSeq').find('option[name=20]').each(function(){
|
||||
$(this).prop('disabled', false);
|
||||
$(this).prop('selected', false);
|
||||
});
|
||||
//조정조사관
|
||||
$('#rpplSeq').find('option[name=30]').prop('disabled', true);
|
||||
$('#rpplSeq').find('option[name=30]').prop('selected', false);
|
||||
}
|
||||
//우편발송 배달증명서
|
||||
else if(divVal == '60'){
|
||||
$('#rpplSeq').find('option[name=10]').prop('disabled', false);
|
||||
$('#rpplSeq').find('option[name=10]').prop('selected', true);
|
||||
//피신청인
|
||||
$('#rpplSeq').find('option[name=20]').each(function(){
|
||||
$(this).prop('disabled', false);
|
||||
$(this).prop('selected', false);
|
||||
});
|
||||
//조정조사관
|
||||
$('#rpplSeq').find('option[name=30]').prop('disabled', true);
|
||||
$('#rpplSeq').find('option[name=30]').prop('selected', false);
|
||||
}
|
||||
//관련 문서 전체
|
||||
else if(divVal == '70'){
|
||||
//신청인
|
||||
$('#rpplSeq').find('option[name=10]').prop('disabled', true);
|
||||
$('#rpplSeq').find('option[name=10]').prop('selected', false);
|
||||
//피신청인
|
||||
$('#rpplSeq').find('option[name=20]').each(function(){
|
||||
$(this).prop('disabled', true);
|
||||
$(this).prop('selected', false);
|
||||
});
|
||||
//조정조사관
|
||||
$('#rpplSeq').find('option[name=30]').prop('disabled', false);
|
||||
$('#rpplSeq').find('option[name=30]').prop('selected', true);
|
||||
}
|
||||
//조정기일변경신청서
|
||||
else if(divVal == '80'){
|
||||
//신청인
|
||||
$('#rpplSeq').find('option[name=10]').prop('disabled', false);
|
||||
$('#rpplSeq').find('option[name=10]').prop('selected', true);
|
||||
//피신청인
|
||||
$('#rpplSeq').find('option[name=20]').each(function(){
|
||||
$(this).prop('disabled', false);
|
||||
$(this).prop('selected', false);
|
||||
});
|
||||
//조정조사관
|
||||
$('#rpplSeq').find('option[name=30]').prop('disabled', true);
|
||||
$('#rpplSeq').find('option[name=30]').prop('selected', false);
|
||||
}
|
||||
//직권조정 이의신청서
|
||||
else if(divVal == '90'){
|
||||
//신청인
|
||||
$('#rpplSeq').find('option[name=10]').prop('disabled', false);
|
||||
$('#rpplSeq').find('option[name=10]').prop('selected', true);
|
||||
//피신청인
|
||||
$('#rpplSeq').find('option[name=20]').each(function(){
|
||||
$(this).prop('disabled', false);
|
||||
$(this).prop('selected', false);
|
||||
});
|
||||
//조정조사관
|
||||
$('#rpplSeq').find('option[name=30]').prop('disabled', true);
|
||||
$('#rpplSeq').find('option[name=30]').prop('selected', false);
|
||||
}
|
||||
}
|
||||
|
||||
//더하기 버튼 alert
|
||||
function fn_testPageAlert(){
|
||||
alert("사건관련 문서 추가 시 작동하는 버튼입니다. \n 첨부파일 솔루션 도입 후 적용 예정");
|
||||
}
|
||||
|
||||
</script>
|
||||
<title>사건관련문서 등록</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<form id="popPageForm" name="popPageForm" method="post">
|
||||
<!-- <input type="hidden" id="prtclSeq" name="prtclSeq" value="" /> -->
|
||||
<input type="hidden" id="adrSeq" name="adrSeq" value="<c:out value="${adjReqMgrPastVO.adrSeq}" />" />
|
||||
<%-- <input type="hidden" id="adrSn" name="adrSn" value="<c:out value="${info.adrSn}" />" /> --%>
|
||||
<%-- <input type="hidden" id="adrNo" name="adrNo" value="<c:out value="${info.adrNo}" />" /> --%>
|
||||
<!-- <input type="hidden" id="rpplTy" name="rpplTy" /> -->
|
||||
<%-- <input type="hidden" id="adrEndDeDay" name="adrEndDeDay" value="<c:out value="${info.adrEndDeDay}" />" /> --%>
|
||||
<%-- <input type="hidden" id="appSeq" name="appSeq" value="<c:out value="${info.appSeq}" />" /> --%>
|
||||
<!-- <input type="hidden" id="closeDocTy" name="closeDocTy" /> -->
|
||||
<%-- <input type="hidden" id="adrAvoidSeq" name="adrAvoidSeq" value="<c:out value="${info.adrAvoidSeq}" />" /> --%>
|
||||
<%-- <input type="hidden" id="agntSeq" name="agntSeq" value="<c:out value="${info.agntSeq}" />" /> --%>
|
||||
<%-- <input type="hidden" id="adrMaxSn" name="adrMaxSn" value="<c:out value="${adrMaxSn}" />" /> --%>
|
||||
<input type="hidden" id="rpplSeq" name="rpplSeq" value=""/>
|
||||
</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">
|
||||
<!-- list_top -->
|
||||
<div class="list_top">
|
||||
<%-- <p>총 진행 회차 : <span><c:out value="${fn:length(adjReqMgrPastListVO) }"/></span>건</p> --%>
|
||||
<button class="btnType06 btn_edit" type="button" onclick="fn_testPageAlert(); return false;">+</button>
|
||||
</div>
|
||||
<!-- //list_top -->
|
||||
<!-- list -->
|
||||
<div class="list tbType01">
|
||||
<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="CC044" id="adrDocTy" name="adrDocTy" onChange="docTypeDiv(this.value);"/>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<p>사건문서 등록인 구분</p>
|
||||
</th>
|
||||
<td>
|
||||
<p>
|
||||
<select name="rpplSeq" id="rpplSeq" class="subSearch">
|
||||
<c:forEach var="info" items="${rpplList}" varStatus="status">
|
||||
<option name="${info.assPstUsrTy}" value="${info.assPstSeq}" <c:if test="${status.count==2}">selected="selected"</c:if>>${info.assPstUsrNm} (<kc:code codeId="CC005" code="${info.assPstUsrTy}"/>)</option>
|
||||
</c:forEach>
|
||||
<option name="30" value="${adrAdminInfo.adrAdmId}">${adrAdminInfo.adrAdmNm} (조정조사관)</option>
|
||||
</select>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" class="req_text">
|
||||
<p>내용</p>
|
||||
</th>
|
||||
<td>
|
||||
<label for="adrDocCn1" class="label">답변내용 입력</label>
|
||||
<textarea name="adrDocCn1" id="adrDocCn1" cols="30" rows="5" cssClass="purpose_text" cssStyle="resize: none;"><c:out value='${info.adrDocCn1}' /></textarea>
|
||||
</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" style="display: none" />
|
||||
<button type="button" id="filebutton" class="btnType01 btn_add_file">파일찾기</button>
|
||||
<p style="font-size: 16px; float: right; margin-top: 16px; color: #666;">* 첨부파일을 등록해 주세요. (최대3개)</p>
|
||||
<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 scope="col">파일 명</th>
|
||||
<th scope="col">종류</th>
|
||||
<th scope="col">크기</th>
|
||||
<th scope="col">삭제</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 scope="col">파일 명</th>
|
||||
<th scope="col">종류</th>
|
||||
<th scope="col">크기</th>
|
||||
<th scope="col">삭제</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="<c:out value='${fileList.fileSize}' />">
|
||||
<input type="hidden" name="limitcount" value="3" />
|
||||
<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="파일${status.count} 삭제">
|
||||
<i></i>
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
<p>상대방공개여부</p>
|
||||
</th>
|
||||
<td>
|
||||
<div class="radio_wrap">
|
||||
<span>
|
||||
<input value="Y" type="radio" name="openYn" id="openYn_Y" checked="checked">
|
||||
<label for="openYn_Y">공개</label>
|
||||
</span>
|
||||
<span>
|
||||
<input value="N" type="radio" name="openYn" id="openYn_N" onclick="notiOpenYn()">
|
||||
<label for="openYn_N">제한공개</label>
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- 하단 버튼 -->
|
||||
<div class="btn_wrap btn_layout04">
|
||||
<button class="btnType06 btn_edit" onclick="fncReg();">등록</button>
|
||||
<button class="btnType06 btn_list" onclick="fncClose();">취소</button>
|
||||
</div>
|
||||
<!-- //하단 버튼 -->
|
||||
</div>
|
||||
<!-- //list -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //cont -->
|
||||
<!-- //cont -->
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<%-- <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">
|
||||
<p>총 진행 회차 : <span><c:out value="${fn:length(adjReqMgrPastListVO) }"/></span>건</p>
|
||||
</div>
|
||||
<!-- //list_top -->
|
||||
<!-- list -->
|
||||
<div class="list tbType01">
|
||||
<table>
|
||||
<colgroup>
|
||||
<col style="width: 10%">
|
||||
<col style="width: auto">
|
||||
<col style="width: 10%">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>회차</th>
|
||||
<th>결과</th>
|
||||
<th>등록/수정</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
1
|
||||
</td>
|
||||
<td>
|
||||
해당 차수의 정보를 등록해 주세요
|
||||
</td>
|
||||
<td>
|
||||
<button class="btn_search regBtn">등록</button>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- //list -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //cont -->
|
||||
<!-- //cont --> --%>
|
||||
@ -96,6 +96,14 @@ $(document).ready(function(){
|
||||
|
||||
});
|
||||
|
||||
function fn_nextGoPageForm(){
|
||||
|
||||
if (confirm('다음 단계로 이동하시겠습니까?')) {
|
||||
$('#nextGoPageForm').submit();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
<title>사건진행정보</title>
|
||||
@ -190,19 +198,20 @@ $(document).ready(function(){
|
||||
</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> -->
|
||||
<div class="btn_wrap btn_layout01">
|
||||
<div class="area_left">
|
||||
</div>
|
||||
<div class="area_right">
|
||||
<button type="button" class="btnType06" onclick="fn_nextGoPageForm(); return false;">다음 단계 ></button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- //page -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<form id="nextGoPageForm" action="<c:url value='/kccadr/adjReqMgOff/adjReqMgrPastFileRegist.do' />">
|
||||
<input id="adrSeq" name="adrSeq" value="${adjReqMgrPastVO.adrSeq }">
|
||||
</form>
|
||||
<!-- //cont -->
|
||||
<!-- //cont -->
|
||||
|
||||
|
||||
@ -116,19 +116,15 @@
|
||||
processData : false,
|
||||
contentType : false,
|
||||
cache : false,
|
||||
success : function(returnData, status) {
|
||||
if (returnData.result == 'success') {
|
||||
if(isEmpty(p_param)){
|
||||
alert("기일조서이 등록 되었습니다.");
|
||||
fncGoList(); //상세
|
||||
}else{
|
||||
fnc_aprvl_step_1(p_param);
|
||||
}
|
||||
} else {
|
||||
alert(returnData.message);
|
||||
success : function(returnData) {
|
||||
console.log('returnData : ', returnData);
|
||||
|
||||
alert(returnData.data);
|
||||
if(returnData.status == 'OK')
|
||||
{
|
||||
opener.location.reload();
|
||||
fncClose();
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
error : function(e) {
|
||||
alert("기일조서에 실패하였습니다.");
|
||||
@ -208,37 +204,6 @@
|
||||
return true;
|
||||
}
|
||||
|
||||
//결재 처리 1단계
|
||||
function fnc_aprvl_step_1(p_param){
|
||||
|
||||
//adr_seq, adr_sn + 하기 sbmtTy, sbmtTyCd 값 4개 필수입니다.
|
||||
var data = new FormData(document.getElementById("approval"));
|
||||
data.append("sbmtTy" ,p_param);
|
||||
data.append("sbmtTyCd" ,p_param);
|
||||
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/kccadr/adjReqMgOff/checkNInsertAprvlPastAjax.do",
|
||||
data: data,
|
||||
dataType:'json',
|
||||
async: false,
|
||||
processData: false,
|
||||
contentType: false,
|
||||
cache: false,
|
||||
success: function (returnData, status) {
|
||||
console.log(returnData.result);
|
||||
//alert(returnData.result);
|
||||
if(returnData.result == 'SUCCESS'){
|
||||
alert('성공적으로 승인요청하였습니다.');
|
||||
fncGoList(); //상세
|
||||
}else{
|
||||
alert(returnData.message);
|
||||
}
|
||||
},
|
||||
error: function (e) { alert("요청에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||
});
|
||||
}
|
||||
|
||||
function srcAss(idx) {
|
||||
$('#assIdx').val(idx);
|
||||
@ -257,6 +222,10 @@
|
||||
$('#addChgYn' + assIdx).val('Y');
|
||||
}
|
||||
|
||||
function fncClose(){
|
||||
window.close();
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
@ -538,7 +507,7 @@
|
||||
<div class="area_right">
|
||||
<!-- <button type="button" class="btnType02" onclick="fncReg('302010');">기일조서 승인 요청</button> -->
|
||||
<button type="button" class="btnType06" onclick="fncReg()">등록</button>
|
||||
<button type="button" class="btnType04" onclick="fncGoList()">취소</button>
|
||||
<button type="button" class="btnType04" onclick="fncClose()">취소</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -119,13 +119,12 @@
|
||||
contentType : false,
|
||||
cache : false,
|
||||
success : function(returnData) {
|
||||
if (returnData.result == 'success') {
|
||||
alert(returnData);
|
||||
} else {
|
||||
alert(returnData.message);
|
||||
alert(returnData.data);
|
||||
|
||||
if(returnData.status == 'OK')
|
||||
{
|
||||
fncClose();
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
error : function(e) {
|
||||
alert("기일조서에 실패하였습니다.");
|
||||
@ -204,7 +203,10 @@
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
function fncClose(){
|
||||
window.close();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -468,8 +470,8 @@
|
||||
<c:forEach var="assInfo" items="${assInfoList }">
|
||||
<c:if test="${assInfo.assPstUsrTy eq 02}">
|
||||
<c:if test="${assInfo.assPstUsrNm != assPstUsrNm1}" >
|
||||
<c:set var="assPstSeq2" value="${assInfo.assPstSeq2 }" />
|
||||
<c:set var="assPstUsrNm2" value="${assInfo.assPstUsrNm2 }" />
|
||||
<c:set var="assPstSeq2" value="${assInfo.assPstSeq }" />
|
||||
<c:set var="assPstUsrNm2" value="${assInfo.assPstUsrNm }" />
|
||||
</c:if>
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
@ -491,7 +493,7 @@
|
||||
<div class="area_left"></div>
|
||||
<div class="area_right">
|
||||
<button type="button" class="btnType06" onclick="fncUpdt()">수정</button>
|
||||
<button type="button" class="btnType04" onclick="fncGoList()">취소</button>
|
||||
<button type="button" class="btnType04" onclick="fncClose()">취소</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user