Merge branch 'master' of http://yongjoon.cho@vcs.iten.co.kr:9999/hylee/kcc_adr_advc_git
This commit is contained in:
commit
fb4bd274ad
@ -10,4 +10,6 @@ public interface AnsService {
|
||||
, String p_adrHstryMgrSeq
|
||||
) throws Exception;
|
||||
|
||||
AnsVO selectAnsDocCn1(AnsVO ansVO);
|
||||
|
||||
}
|
||||
|
||||
@ -19,4 +19,8 @@ public class AnsDAO extends EgovAbstractDAO {
|
||||
public void ansSubmitAjax_setp2(AnsVO ansVO) throws Exception {
|
||||
insert("ansDAO.ansSubmitAjax_setp2", ansVO);
|
||||
}
|
||||
|
||||
public AnsVO selectAnsDocCn1(AnsVO ansVO) {
|
||||
return (AnsVO) select("ansDAO.selectAnsDocCn1", ansVO);
|
||||
}
|
||||
}
|
||||
|
||||
@ -129,4 +129,9 @@ public class AnsServiceImpl implements AnsService {
|
||||
);
|
||||
//adr_hstry_mgr에 값 넣기 - 끝
|
||||
}
|
||||
|
||||
@Override
|
||||
public AnsVO selectAnsDocCn1(AnsVO ansVO) {
|
||||
return ansDAO.selectAnsDocCn1(ansVO);
|
||||
}
|
||||
}
|
||||
|
||||
@ -113,7 +113,6 @@ public class ApmController {
|
||||
@Resource(name = "AdjstReqService")
|
||||
private AdjstReqService adjstReqService;
|
||||
|
||||
|
||||
@Resource(name="adjstReqStatusService")
|
||||
private AdjstReqStatusService adjstReqStatusService;
|
||||
|
||||
@ -1842,6 +1841,26 @@ public class ApmController {
|
||||
return "/kccadr/adjPgrMgr/apm/apmDetail";
|
||||
}
|
||||
|
||||
/**
|
||||
* 예문 팝업 상세
|
||||
*
|
||||
* @param dlvinfoVO
|
||||
* @param model
|
||||
* @return
|
||||
* @throws Exception
|
||||
*/
|
||||
@RequestMapping(value = "popup/apmAnsDetail.do")
|
||||
public String apmAnsDetail(@ModelAttribute("ansVO") AnsVO ansVO, ModelMap model) throws Exception {
|
||||
|
||||
AnsVO ansResultVO = ansService.selectAnsDocCn1(ansVO);
|
||||
|
||||
model.addAttribute("ansResultVO", ansResultVO);
|
||||
|
||||
|
||||
return "/kccadr/adjPgrMgr/apm/popup/adjstReqAnsPop";
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 조정진행정보 경정신청 목록
|
||||
|
||||
@ -117,4 +117,15 @@
|
||||
)
|
||||
</insert>
|
||||
|
||||
<select id="ansDAO.selectAnsDocCn1" resultClass="AnsVO" parameterClass="AnsVO">
|
||||
|
||||
SELECT
|
||||
ADR_DOC_CN1 as adrDocCn1
|
||||
FROM
|
||||
ADR_RPPL_DOC
|
||||
WHERE
|
||||
ATCH_FILE_ID = #atchFileId#
|
||||
|
||||
|
||||
</select>
|
||||
</sqlMap>
|
||||
|
||||
@ -107,9 +107,40 @@
|
||||
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>
|
||||
|
||||
|
||||
@ -248,14 +279,18 @@
|
||||
</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>
|
||||
|
||||
</p></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>
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,91 @@
|
||||
<!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>
|
||||
Loading…
Reference in New Issue
Block a user