feat:체험하기 진행중

This commit is contained in:
hylee 2022-09-11 14:24:47 +09:00
parent c3d1e01c8a
commit dc328297bc
12 changed files with 619 additions and 40 deletions

View File

@ -78,6 +78,7 @@ public class AdjstDeputyReqVO extends ComDefaultVO implements Serializable {
private String resPonDentNms;
private String ccTy;
private String rejectCn;
private String expCode;
public int getRowNumber() {
return rowNumber;
@ -391,4 +392,12 @@ public class AdjstDeputyReqVO extends ComDefaultVO implements Serializable {
this.rejectCn = rejectCn;
}
public String getExpCode() {
return expCode;
}
public void setExpCode(String expCode) {
this.expCode = expCode;
}
}

View File

@ -29,9 +29,11 @@ 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.adr.service.AdjstDeputyReqVO;
import kcc.kccadr.accdnt.ai.service.AdjstIncidentVO;
import kcc.kccadr.accdnt.ars.service.AdjstReqStatusVO;
import kcc.kccadr.accdnt.crtfc.service.CrtfcService;
import kcc.kccadr.adjclsmgr.service.AdjClsMgrVO;
import kcc.kccadr.adjst.service.AdjstReqService;
import kcc.kccadr.adjst.service.AdjstReqVO;
import kcc.kccadr.adjstExp.service.AdjstExpService;
@ -158,7 +160,7 @@ public class AdjstExpDetailController {
* 조정신청 구분선택 - 안내화면
*/
@RequestMapping("/web/kccadr/adjstExpDetail/popup/openExpExamplePop.do")
public String adjstReqOpenAnswerExamplePop(@ModelAttribute("adjstReqStatusVO") AdjstReqStatusVO adjstReqStatusVO, ModelMap model) throws Exception {
public String adjstReqOpenAnswerExamplePop(@ModelAttribute("adjDeputyReqVO") AdjstDeputyReqVO adjDeputyReqVO, ModelMap model) throws Exception {
String returnUrl = "/web/kccadr/adjstExpDetail/";
@ -179,7 +181,7 @@ public class AdjstExpDetailController {
*/
switch (adjstReqStatusVO.getExpCode()) {
switch (adjDeputyReqVO.getExpCode()) {
case "01": returnUrl += "expAnsSubmit";
break;
case "02": returnUrl += "expAdjstDeputyReqList";
@ -187,14 +189,27 @@ public class AdjstExpDetailController {
default: returnUrl += "expAnsSubmit";
break;
}
System.out.println("returnUrl : "+ returnUrl);
return returnUrl;
}
// 기록열람, 조정조서 발급 요청 팝업
@RequestMapping(value = "/web/kccadr/adjstExpDetail/popup/docIssReqViewPop.do")
public String docIssReqViewPop(@ModelAttribute("adjClsMgrVO") AdjClsMgrVO adjClsMgrVO, ModelMap model) throws Exception {
// model.addAttribute("security", adjReqMgrService.selectAdjstReqSecurityInfo(param));
return "/web/kccadr/adjstExpDetail/docIssReqViewPop";
}
/**
* 조정대리신청 화면
*/
@RequestMapping("/web/kccadr/adjstExpDetail/popup/adjstDeputyReqCreate.do")
public String adjstDeputyReqCreate(@ModelAttribute("adjDeputyReqVO") AdjstDeputyReqVO adjDeputyReqVO, ModelMap model) throws Exception {
return "/web/kccadr/adjstExpDetail/adjstDeputyReqCreate";
}

View File

@ -13,7 +13,7 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<script type="text/javaScript" language="javascript">
function fncGoCreate() {
$("#listForm").attr("action","/web/kccadr/accdnt/adr/adjstDeputyReqCreate.do").submit();
$("#listForm").attr("action","/web/kccadr/adjstExpDetail/popup/adjstDeputyReqCreate.do").submit();
}
function fncGoDetail(adrSeq, adrSn, agntSeq){

View File

@ -66,9 +66,11 @@
// 레이어팝업 포커싱 이동 수정
var adrSeqNum = $("#adrSeq").val();
$(".tooltip-close").click(function(){
$(".btn_popup_close").click(function(){
// $('.tooltip-wrap').hide()
//var activeTarget = $('[data-tooltip-con="sch_' + adrSeqNum + '_popup"]');
var activeTarget = $('[data-tooltip-con="securityPop"]');
// var activeTarget = $('[data-tooltip-con="securityPop"]');
var activeTarget = $('#securityPop');
activeTarget.hide();
//$('[data-tooltip="sch_' + adrSeqNum + '_popup"]').focus();
$('[data-tooltip="securityPop"]').focus();

View File

@ -82,6 +82,9 @@ function fnGoCrtfc(){
<div class="icon_box"><i></i></div>
<div class="text_area">
<ul>
<li>
<p class="cf_text">체험하기 시스템 입니다.</p>
</li>
<li>
<p>시스템 이용을 위해 필요한 사항 : 신청 수수료 결제를 위한 인터넷뱅킹 가능 결제계좌</p>
</li>

View File

@ -153,7 +153,7 @@ function fn_adjstReq_preview() {
</tr>
<tr>
<th scope="row">
<p class="req_text"><span>필수입력 항목</span>*</p>
<!-- <p class="req_text"><span>필수입력 항목</span>*</p> -->
<p>첨부파일</p>
</th>
<td id="uploadWarp" class="upload_area">

View File

@ -0,0 +1,420 @@
<%@ 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/jquery-3.5.0.js"></script>
<style>
input:disabled {
background-color: #f9f9f9 !important;
}
input:read-only {
background-color: #f9f9f9 !important;
}
#agntNm, #agntBrthDt, #agntPhone, #agntCelnum{width: calc(100% - 15px);}
@media all and (max-width: 1024px){
.tbType01 colgroup{display: none;}
}
</style>
<script type="text/javaScript" language="javascript">
$( document ).ready(function(){
$("input[name=rpplRltnTy]").on("click",function(){
if($(this).is(":checked")){
$("input[name=rpplRltnTy]").prop("checked" , false);
$(this).closest("td").find("input[type=text]").prop("disabled", true);
$(this).closest("td").find("input[type=text]").val("");
$(this).prop("checked" , true);
$(this).next().next().prop("disabled", false);
}else{
$(this).next().next().val("");
$(this).next().next().prop("disabled", true);
}
});
$(".btn_add_file").on('click', function(){
$("#file_temp").click();
});
});
function fncSave(type){
$("#mode").val(type);
var data = new FormData(document.getElementById("createForm"));
_fileForm2.forEach(function(obj, idx) {
if (obj) data.append("file"+idx, obj.fileObj);
});
if(confirm("대리인정보를 저장하시겠습니까?")){
if(validationForm(data)){
$.ajax({
type: "POST",
enctype: 'multipart/form-data',
url: "/web/kccadr/accdnt/adr/adjstDeputyReqSave.do",
data: data,
dataType:'json',
async: false,
processData: false,
contentType: false,
cache: false,
success: function (returnData, status) {
if(status == 'success'){
$("#detailForm > input[name=agntSeq]").val(returnData.rsVO.agntSeq);
alert("저장 되었습니다.");
fncGoDetail();
} else if(status== 'fail'){
alert("저장에 실패하였습니다.");
}
},
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
});
}
}
}
function validationForm(data){
if($('#agntNm').val() == ""){
alert("이름은 필수입력입니다.");
$("#agntNm").focus();
return false;
}
if($('#agntBrthDt').val() == ""){
alert("생년월일 필수입력입니다.");
$("#agntBrthDt").focus();
return false;
}
if($('#agntAddr').val() == ""){
alert("주소는 필수입력입니다.");
$("#agntAddr").focus();
return false;
}
if($('#agntAddrDtl').val() == ""){
alert("상세주소는 필수입력입니다.");
$("#agntAddrDtl").focus();
return false;
}
if($('#agntPhone').val() == ""){
alert("자택(사무소)는 필수입력입니다.");
$("#agntPhone").focus();
return false;
}
if($('#agntCelnum').val() == ""){
alert("휴대전화는 필수입력입니다.");
$("#agntCelnum").focus();
return false;
}
//위임과의 관계 체크 박스 값
var rpplRltnTy = $("input:checkbox[name='rpplRltnTy']:checked").val();
if(rpplRltnTy == "" || rpplRltnTy == null ){
alert("위임인과의 관계는 필수입력입니다.");
$("#agntCelnum").focus();
return false;
}else{
var desc = $("input[name=rpplRltnTy][value="+ rpplRltnTy +"]").next().next().val();
if(desc == ""){
alert("위임인과의 관계 내용은 필수입력입니다.");
$("input[name=rpplRltnTy][value="+ rpplRltnTy +"]").next().next().focus();
return false;
}
}
if($(".uploaded_obj").length <= 0 ) {
alert("파일첨부는 필수입력입니다.");
return false;
}
return true;
}
function fncCancle(){
if(confirm("조정대리 신청을 취소하시겠습니까?")){
fncGoList();
}
}
function fncGoDetail(){
var varFrom = document.getElementById("detailForm");
varFrom.action = "<c:url value='/web/kccadr/accdnt/adr/adjstDeputyReqDetail.do'/>";
varFrom.submit();
}
function fncGoList(){
var varFrom = document.getElementById("listForm");
varFrom.action = "<c:url value='/web/kccadr/accdnt/adr/adjstDeputyReqList.do'/>";
varFrom.submit();
}
</script>
<link rel="stylesheet" href="/kccadrPb/usr/css/reset.css">
<link rel="stylesheet" href="/kccadrPb/usr/css/font.css">
<link rel="stylesheet" href="/kccadrPb/usr/css/common.css">
<link rel="stylesheet" href="/kccadrPb/usr/css/popup.css">
<link rel="stylesheet" href="/kccadrPb/usr/css/content.css">
</head>
<body>
<form id="detailForm" name="detailForm" method="post">
<input type="hidden" name="adrSeq" value="${adjDeputyReqVO.adrSeq}"/><!-- 조정일련번호 -->
<input type="hidden" name="adrSn" value="${adjDeputyReqVO.adrSn}" /><!-- 조정회차 -->
<input type="hidden" name="agntSeq" value="${info.agntSeq}" /><!-- 조정대리인 일련번호 -->
</form>
<form id="listForm" name="listForm" method="post">
<input type="hidden" name="searchCondition" value="<c:out value='${adjDeputyReqVO.searchCondition}'/>"/>
<input type="hidden" name="searchKeyword" value="<c:out value='${adjDeputyReqVO.searchKeyword}'/>"/>
<input type="hidden" name="pageIndex" value="<c:out value='${adjDeputyReqVO.pageIndex}'/>"/>
<input type="hidden" name="adrSeq" value="${adjDeputyReqVO.adrSeq}"/><!-- 조정일련번호 -->
<input type="hidden" name="adrSn" value="${adjDeputyReqVO.adrSn}" /><!-- 조정회차 -->
</form>
<form:form id="createForm" name="createForm" commandName="adjDeputyReqVO" onsubmit="return false;">
<input type="hidden" name="atchFileId" value="${info.atchFileId}"/>
<input type="hidden" name="adrSeq" value="${adjDeputyReqVO.adrSeq}"/><!-- 조정일련번호 -->
<input type="hidden" name="adrSn" value="${adjDeputyReqVO.adrSn}" /><!-- 조정회차 -->
<input type="hidden" name="agntSeq" value="${info.agntSeq}" /><!-- 조정대리인 일련번호 -->
<input type="hidden" name="mode" value="${not empty info ? 'U' : 'I'}" /><!-- 조정대리인 일련번호 -->
<!-- cont -->
<div class="cont_wrap sub02_1" id="sub">
<div class="inner">
<div class="cont_tit">
<h2>조정대리신청</h2>
</div>
<c:import url="/web/kccadr/kccadrCom/adjstBasicInfo.do">
<c:param name="searchViewType" value="D"></c:param>
<c:param name="searchNm" value="adjstDeputyReqCreate"></c:param>
</c:import>
<!-- 피신청인 정보 -->
<div class="tb_wrap">
<div class="tb_top">
<p>조정대리 정보</p>
<%--<button class="btnType05 btn_add">피신청인 추가</button>--%>
</div>
<table class="tbType01 tb_offeree">
<caption>조정대리 정보 : 이름, 생년월일, 주소, 자택(사무소), 휴대전화등의 정보 입력</caption>
<colgroup>
<col style="width: 250px;">
<col style="width: auto;">
<col style="width: 250px;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th scope="row">
<p class="req_text"><span>필수입력 항목</span>*</p>
<p>이름</p>
</th>
<td>
<label for="agntNm" class="label">이름 입력</label><input type="text" name="agntNm" id="agntNm" value="${info.agntNm}" maxLength="20">
</td>
<th scope="row">
<p class="req_text"><span>필수입력 항목</span>*</p>
<p>생년월일</p>
</th>
<td>
<label for="agntBrthDt" class="label">생년월일 입력</label><input type="text" name="agntBrthDt" id="agntBrthDt" maxlength="6" placeholder="예) 951028" value="${info.agntBrthDt}"
oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*)\./g, '$1');"
>
</td>
</tr>
<tr class="scb_adr">
<th scope="row">
<p class="req_text"><span>필수입력 항목</span>*</p>
<p>주소</p>
</th>
<td colspan="3">
<label for="agntPost" class="label">우편번호 입력</label>
<input type="text" size="20" name="agntPost" id="agntPost" class="adr_input" readonly style="background-color: #eee;" value="${info.agntPost}">
<button class="btnType01 btn_adr_search" onclick="fn_postCode(this); return false;" title="새창팝업 열림">우편번호 검색</button>
<div class="detail_address">
<label for="agntAddr" class="label">주소 입력</label>
<input type="text" size="45" name="agntAddr" id="agntAddr" class="searchResultAddr" value="${info.agntAddr}" readonly>
<label for="agntAddrDtl" class="label">나머지 주소 입력</label>
<input type="text" size="20" name="agntAddrDtl" id="agntAddrDtl" class="usrInsertAddr" value="${info.agntAddrDtl}" maxLength="100">
</div>
</td>
</tr>
<tr>
<th scope="row">
<p class="req_text"><span>필수입력 항목</span>*</p>
<p>자택(사무소)</p>
</th>
<td>
<label for="agntPhone" class="label">자택(사무소)번호 입력</label>
<input type="text" name="agntPhone" id="agntPhone" value="${info.agntPhone}" placeholder="- 없이 입력"
oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*)\./g, '$1');" maxLength="20"
>
</td>
<th scope="row">
<p class="req_text"><span>필수입력 항목</span>*</p>
<p>휴대전화</p>
</th>
<td>
<label for="agntCelnum" class="label">휴대전화 입력</label>
<input type="text" name="agntCelnum" id="agntCelnum" value="${info.agntCelnum}" placeholder="- 없이 입력"
oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*)\./g, '$1');" maxLength="20"
>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tb_wrap">
<table class="tbType01 tb_offeree">
<caption>위임인과의 관계, 첨부서류, 조정위임 사항등의 정보 입력</caption>
<colgroup>
<col style="width: 250px;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th scope="row">
<p class="req_text"><span>필수입력 항목</span>*</p>
<p>위임인과의 관계</p>
</th>
<td>
<div class="check_wrap">
<span><input type="checkbox" value="01" id="employee" name="rpplRltnTy" <c:if test="${info.rpplRltnTy eq '01'}"> checked</c:if> ><label for="employee">직원</label>
<input type="text" name="rpplRltnCn" title="위임인과의 관계 직원 입력" size="15" ${info.rpplRltnTy eq '01' ? '' : 'disabled'} value="${info.rpplRltnTy eq '01' ? info.rpplRltnCn : ''}"></span>
<span><input type="checkbox" value="02" id="family" name="rpplRltnTy" <c:if test="${info.rpplRltnTy eq '02'}"> checked</c:if> ><label for="family">가족</label>
<input type="text" name="rpplRltnCn" title="위임인과의 관계 가족 입력" size="15" ${info.rpplRltnTy eq '02' ? '' : 'disabled'} value="${info.rpplRltnTy eq '02' ? info.rpplRltnCn : ''}"></span>
<span><input type="checkbox" value="03" id="etc" name="rpplRltnTy" <c:if test="${info.rpplRltnTy eq '03'}"> checked</c:if>><label for="etc">기타</label>
<input type="text" name="rpplRltnCn" title="위임인과의 관계 기타 입력" size="15" ${info.rpplRltnTy eq '03' ? '' : 'disabled'} value="${info.rpplRltnTy eq '03' ? info.rpplRltnCn : ''}"></span>
</div>
</td>
</tr>
<tr>
<th scope="row">
<p class="req_text"><span>필수입력 항목</span>*</p>
<p>첨부서류</p>
</th>
<td>
<label for="fileNm" class="label">첨부파일 선택</label>
<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"/>
<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 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>
<input type="checkbox" id="all_check"><label for="all_check"></label>
</th> -->
<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_${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_size_text" value="<c:out value="${fileList.fileExtsn}"/>"></span>
</td>
<td class="td_filesize">
<span class="file_size_text" value="<c:out value="${fileList.fileSize}"/>"></span>
</td>
<td>
<input type="button" class="delBtn" onclick="delAtchFile('${fileList.atchFileId}', '${fileList.fileSn}'); return false;" title="파일${status.count} 삭제">
</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
</td>
</tr>
<tr>
<th scope="row">
<p class="req_text"><span>필수입력 항목</span>*</p>
<p>조정위임 사항</p>
</th>
<td style="line-height: 20px;">
<p>
1. 저작권 분쟁조정에 관한 일체의 조정행위 및 합의 행위 <br>
2. 조정의 취하 <br>
3. 기타
</p>
</td>
</tr>
</tbody>
</table>
</div>
<!-- 하단 버튼 -->
<div class="btn_wrap btn_layout03">
<div class="btn_left"></div>
<div class="btn_right">
<c:choose>
<c:when test="${not empty info}">
<button class="btnType09 btn_edit" onclick="fncSave('U'); return false;">수정</button>
</c:when>
<c:otherwise>
<button class="btnType09 btn_edit" onclick="fncSave('I'); return false;">등록</button>
</c:otherwise>
</c:choose>
<button class="btnType11 btn_list" onclick="fncCancle(); return false;">취소</button>
</div>
</div>
<!-- //하단 버튼 -->
</div>
</div>
<!-- //cont -->
</form:form>
</body>
</html>

View File

@ -217,17 +217,10 @@ resInfo--%>
<td>
<p><c:out value='${reqInfo.rpplNm}' /></p>
</td>
<%-- <th scope="row">
<p>주소</p>
</th>
<td>
<p>(<c:out value='${reqInfo.rpplPost}' />) <c:out value='${reqInfo.rpplAddr}' /> <c:out value='${reqInfo.rpplAddrDtl}' /></p>
</td> --%>
<th scope="row">
<p>신청인 분류</p>
</th>
<td>
<%-- <p><c:out value='${reqInfo.rpplUsrTyNm}'/></p> --%>
<p><c:out value='개인'/></p>
</td>

View File

@ -18,7 +18,7 @@
//function fncSecurityPop2(adrSeq,edtTy,edtSn) {
function fncSecurityPop2(docuReqCd) {
commonPopLayeropen(
"/web/kccadr/accdnt/ars/tab/docIssReqViewPop.do"
"/web/kccadr/adjstExpDetail/popup/docIssReqViewPop.do"
, 800
, 600
, {docuReqCd : docuReqCd, adrSeq : $("#adrSeq").val()}
@ -86,15 +86,15 @@ $(document).ready(function() {
</div>
<div class="btn_wrap btn_layout03">
<div class="btn_left">
<div class="closeBtn">
<!-- <div class="closeBtn"> -->
<%-- <c:if test="${list.statCd == '309050' || list.statCd == '310050' || list.statCd == '311050'}"> --%>
<button type="button" class="btnType07" onclick="fncSecurityPop2('10');">기록열람 요청</button>
<button type="button" class="btnType07" onclick="fncSecurityPop2('20');">조정조서 발급요청</button>
<%-- </c:if> --%>
</div>
<!-- </div> -->
</div>
<div class="btn_right">
<button class="btnType11 btn_list" onclick="fncGoList(); return false;">목록</button>
<button class="btnType11 btn_list" onclick="alert('체험하기 기능입니다.'); return false;">목록</button>
</div>
</div>
</body>

View File

@ -0,0 +1,134 @@
<%@ 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 type="text/javaScript" language="javascript">
function fncEdit(step){
var varFrom = document.getElementById("popCreateForm");
varFrom.action = "/web/kccadr/adjst/adjstReqRegistStep"+step+".do";
varFrom.submit();
}
function insertReq() {
}
$(document).ready(function(){
var docuReqCd = "<c:out value='${adjClsMgrVO.docuReqCd}' />";
console.log(docuReqCd);
var popTitTxt = "";
if (docuReqCd == "10") {
popTitTxt = "기록 열람 요청";
} else if (docuReqCd == "20") {
popTitTxt = "조정조서 발급요청";
}
$("#popTitTxt").text(popTitTxt);
// 레이어팝업 포커싱 이동 수정
var adrSeqNum = $("#adrSeq").val();
$(".btn_popup_close").click(function(){
// $('.tooltip-wrap').hide()
//var activeTarget = $('[data-tooltip-con="sch_' + adrSeqNum + '_popup"]');
// var activeTarget = $('[data-tooltip-con="securityPop"]');
var activeTarget = $('#securityPop');
activeTarget.hide();
//$('[data-tooltip="sch_' + adrSeqNum + '_popup"]').focus();
$('[data-tooltip="securityPop"]').focus();
});
})
</script>
</head>
<body>
<!-- 일정 상세 -->
<form:form commandName="adjstIncidentVO" id="popCreateForm" name="popCreateForm" method="post" onsubmit="return false;">
<input type="hidden" name="adrSeq" id="adrSeq" value="<c:out value='${adjClsMgrVO.adrSeq}'/>"/>
<input type="hidden" name="docuReqCd" id="docuReqCd" value="<c:out value='${adjClsMgrVO.docuReqCd}' />"/>
<c:set var="tit" value="${security.edtTy eq 'S' ? '보완' : '수정'}"/>
<div class="popup_wrap sch_${security.adrSeq}_popup" style="max-width: 550px;" tabindex="0" data-tooltip-con="sch_${security.adrSeq}_popup" data-focus="sch_${security.adrSeq}_popup" data-focus-prev="sch_${security.adrSeq}_popup_close">
<div class="popup_tit">
<p id="popTitTxt"></p>
<button class="btn_popup_close tooltip-close" data-focus="sch_${security.adrSeq}_popup_close" title="팝업 닫기"><i></i></button>
</div>
<div class="popup_cont">
<table class="popup_tbType01">
<caption>${tit}요청항목, ${tit}요청내용 선택 및 입력</caption>
<colgroup>
<col style="width: 120px;">
<col style="width: auto;">
</colgroup>
<tbody>
<%-- <tr>
<th scope="row">${tit}요청항목</th>
<td>
<div class="check_wrap">
<!-- <p class="sch_tit"> -->
<span><input type="checkbox" disabled value="Y" ${security.reqInfYn eq 'Y' ? 'checked' : ''} id="reqInfYn" name="reqInfYn"><label for="reqInfYn">신청인정보</label></span>
<span><input type="checkbox" disabled value="Y" ${security.resInfYn eq 'Y' ? 'checked' : ''} id="resInfYn" name="resInfYn"><label for="resInfYn">피신청인정보</label></span>
<span><input type="checkbox" disabled value="Y" ${security.reqPpsYn eq 'Y' ? 'checked' : ''} id="reqPpsYn" name="reqPpsYn"><label for="reqPpsYn">신청취지</label></span>
<span><input type="checkbox" disabled value="Y" ${security.reqRsnYn eq 'Y' ? 'checked' : ''} id="reqRsnYn" name="reqRsnYn"><label for="reqRsnYn">신청원인</label></span>
<span><input type="checkbox" disabled value="Y" ${security.attchFileYn eq 'Y' ? 'checked' : ''} id="attchFileYn" name="attchFileYn"><label for="reqRsnYn">첨부파일</label></span>
<!-- </p> -->
</div>
</td>
</tr> --%>
<tr>
<th scope="row">발급사유</th>
<td><textarea name="docuReqCn" id="docuReqCn" cols="30" rows="5" cssClass="purpose_text" cssStyle="resize: none;"></textarea></td>
</tr>
</tbody>
</table>
<%-- <c:if test="${security.edtTy eq 'E'}">
<div class="btm_box">
<p>승인여부 : <span class="t_bold">${security.apprYn eq 'Y' ? '승인' : '미승인'}</span></p>
</div>
</c:if>
<div class="btn_wrap">
<c:choose>
<c:when test="${security.apprYn eq 'Y'}">
<button class="btnType09 btn_edit" onclick="fncEdit('1');" data-focus-next="sch_${security.adrSeq}_popup">신청서수정</button>
</c:when>
<c:otherwise>
<button class="btnType01 tooltip-close" data-focus="list_popup_close">닫기</button>
</c:otherwise>
</c:choose>
</div> --%>
<button class="btnType09 btn_edit" onclick="alert('체험하기 기능입니다.'); return false;" data-focus-next="securityPop">신청</button>
<!-- 하단 버튼 -->
<%--<div class="btn_wrap btn_layout03">
<div class="btn_left"></div>
<div class="btn_right">
<c:choose>
<c:when test="${security.apprYn eq 'Y'}">
<button class="btnType09 btn_edit" onclick="fncAprooval();" data-focus-next="sch_popup">신청서수정</button>
</c:when>
<c:otherwise>
</c:otherwise>
</c:choose>
</div>
</div>--%>
<!-- //하단 버튼 -->
</div>
</div>
</form:form>
</body>
</html>

View File

@ -11,21 +11,19 @@
<head>
<title>조정대리신청 목록</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<script src="/kccadrPb/usr/script/jquery-3.5.0.js"></script>
<script type="text/javaScript" language="javascript">
function fncGoCreate() {
$("#listForm").attr("action","/web/kccadr/accdnt/adr/adjstDeputyReqCreate.do").submit();
$("#listForm").attr("action","/web/kccadr/adjstExpDetail/popup/adjstDeputyReqCreate.do").submit();
}
function fncGoDetail(adrSeq, adrSn, agntSeq){
$("#adrSeq").val(adrSeq);
$("#adrSn").val(adrSn);
$("#agntSeq").val(agntSeq);
$("#listForm").attr("action","/web/kccadr/accdnt/adr/adjstDeputyReqDetail.do").submit();
}
// function fncGoDetail(adrSeq, adrSn, agntSeq){
// $("#adrSeq").val(adrSeq);
// $("#adrSn").val(adrSn);
// $("#agntSeq").val(agntSeq);
// $("#listForm").attr("action","/web/kccadr/accdnt/adr/adjstDeputyReqDetail.do").submit();
// }
function goReqStatus(){
$("#listForm").attr("action","/web/kccadr/accdnt/ars/adjstReqStatusDetail.do").submit();
}
</script>
<link rel="stylesheet" href="/kccadrPb/usr/css/reset.css">
@ -35,11 +33,11 @@
<link rel="stylesheet" href="/kccadrPb/usr/css/content.css">
</head>
<body>
<%-- <form:form id="listForm" name="listForm" commandName="adjDeputyReqVO"> --%>
<%-- <form:hidden path="adrSeq"/> --%>
<%-- <form:hidden path="adrSn"/> --%>
<%-- <form:hidden path="agntSeq"/> --%>
<%-- </form:form> --%>
<form:form id="listForm" name="listForm" commandName="adjDeputyReqVO">
<form:hidden path="adrSeq"/>
<form:hidden path="adrSn"/>
<form:hidden path="agntSeq"/>
</form:form>
<!-- cont -->
<div class="cont_wrap sub02_1" id="sub" style="margin-top:30px;">
@ -96,8 +94,8 @@
<!-- //list -->
<!-- 하단 버튼 -->
<div class="btn_wrap btn_layout01">
<button class="btnType09" disabled onclick="goReqStatus();">조정진행</button>
<button class="btnType09" disabled onclick="fncGoCreate(); return false;">조정대리 신청</button>
<button class="btnType09" onclick="fncGoCreate(); return false;">조정대리 신청</button>
<button class="btnType11 btn_list" onclick="window.close();">닫기</button>
</div>
<!-- //하단 버튼 -->
</div>

View File

@ -816,9 +816,14 @@ var AdjstReq = {
return false;
}
if($(".uploaded_obj").length <= 0 ) {
alert("파일첨부는 필수입력입니다.");
return false;
if(this.STEP == "${KccadrConstants.STEP9}"){
alert("조정신청에서 첨부파일은 필수입력입니다.");
}else{
alert("파일첨부는 필수입력입니다.");
return false;
}
}
return true;