Merge branch 'hylee'
Conflicts: src/main/java/kcc/kccadr/adjst/web/AdjstReqWebController.java
This commit is contained in:
commit
189dbf8599
@ -619,13 +619,11 @@ public class ApmController {
|
|||||||
*/
|
*/
|
||||||
@RequestMapping(value = "popup/adjstReqOpenExamplePop.do")
|
@RequestMapping(value = "popup/adjstReqOpenExamplePop.do")
|
||||||
public String adjstReqOpenExamplePop(@ModelAttribute("adjstReqVO") AdjstReqVO adjstReqVO, ModelMap model) throws Exception {
|
public String adjstReqOpenExamplePop(@ModelAttribute("adjstReqVO") AdjstReqVO adjstReqVO, ModelMap model) throws Exception {
|
||||||
|
|
||||||
AdjstReqVO expm = adjstReqService.selectAdjstReqOpenExamplePop(adjstReqVO);
|
model.addAttribute("ccTy", adjstReqVO.getCcTy());
|
||||||
|
model.addAttribute("exmpCd", adjstReqVO.getExmpCd());
|
||||||
// apmVO.setSrchRpplTy(apmVO.getRpplTy());
|
System.out.println("adjstReqVO.getExmpCd() : "+ adjstReqVO.getExmpCd());
|
||||||
// model.addAttribute("rppList", apmService.selectAdrRpplList(apmVO));
|
|
||||||
|
|
||||||
model.addAttribute("expm", expm);
|
|
||||||
|
|
||||||
return "/kccadr/adjPgrMgr/apm/popup/adjstReqOpenExamplePop";
|
return "/kccadr/adjPgrMgr/apm/popup/adjstReqOpenExamplePop";
|
||||||
}
|
}
|
||||||
|
|||||||
@ -51,7 +51,7 @@ public interface AdjstReqService {
|
|||||||
// 조정사건 정보 불러오기
|
// 조정사건 정보 불러오기
|
||||||
public AdjstReqVO selectAdjsMgrMaster(AdjstReqVO adjstReqVO) throws Exception;
|
public AdjstReqVO selectAdjsMgrMaster(AdjstReqVO adjstReqVO) throws Exception;
|
||||||
|
|
||||||
public AdjstReqVO selectAdjstReqOpenExamplePop(AdjstReqVO adjstReqVO) throws Exception;
|
public AdjstReqVO selectAdjstReqOpenExamplePopCn(AdjstReqVO adjstReqVO) throws Exception;
|
||||||
|
|
||||||
// 조정사건 대리인/신청인/피신청인 정보 불러오기
|
// 조정사건 대리인/신청인/피신청인 정보 불러오기
|
||||||
public List<AdjstReqVO> selectAdjsReqUserListByadjSeq(AdjstReqVO adjstReqVO) throws Exception;
|
public List<AdjstReqVO> selectAdjsReqUserListByadjSeq(AdjstReqVO adjstReqVO) throws Exception;
|
||||||
|
|||||||
@ -826,35 +826,35 @@ public class AdjstReqVO extends ComDefaultVO implements Serializable {
|
|||||||
this.edtStatus = edtStatus;
|
this.edtStatus = edtStatus;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getExpmCd() {
|
public String getExmpCd() {
|
||||||
return exmpCd;
|
return exmpCd;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setExpmCd(String exmpCd) {
|
public void setExmpCd(String exmpCd) {
|
||||||
this.exmpCd = exmpCd;
|
this.exmpCd = exmpCd;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getExpmCn() {
|
public String getExmpCn() {
|
||||||
return exmpCn;
|
return exmpCn;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setExpmCn(String exmpCn) {
|
public void setExmpCn(String exmpCn) {
|
||||||
this.exmpCn = exmpCn;
|
this.exmpCn = exmpCn;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getExpmTit() {
|
public String getExmpTit() {
|
||||||
return exmpTit;
|
return exmpTit;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setExpmTit(String exmpTit) {
|
public void setExmpTit(String exmpTit) {
|
||||||
this.exmpTit = exmpTit;
|
this.exmpTit = exmpTit;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getExpmCcTy() {
|
public String getExmpCcTy() {
|
||||||
return exmpCcTy;
|
return exmpCcTy;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setExpmCcTy(String exmpCcTy) {
|
public void setExmpCcTy(String exmpCcTy) {
|
||||||
this.exmpCcTy = exmpCcTy;
|
this.exmpCcTy = exmpCcTy;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -166,9 +166,9 @@ public class AdjstReqDAO extends EgovAbstractDAO {
|
|||||||
public int updateAdrMgrEditInfo(AdjstReqVO adjstReqVO) throws Exception {
|
public int updateAdrMgrEditInfo(AdjstReqVO adjstReqVO) throws Exception {
|
||||||
return (Integer) update("AdjstReqDAO.updateAdrMgrEditInfo", adjstReqVO);
|
return (Integer) update("AdjstReqDAO.updateAdrMgrEditInfo", adjstReqVO);
|
||||||
}
|
}
|
||||||
|
|
||||||
public AdjstReqVO selectAdjstReqOpenExamplePop(AdjstReqVO adjstReqVO) throws Exception {
|
public AdjstReqVO selectAdjstReqOpenExamplePopCn(AdjstReqVO adjstReqVO) throws Exception {
|
||||||
return (AdjstReqVO) select("AdjstReqDAO.selectAdjstReqOpenExamplePop",adjstReqVO);
|
return (AdjstReqVO) select("AdjstReqDAO.selectAdjstReqOpenExamplePopCn",adjstReqVO);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -882,10 +882,10 @@ public class AdjstReqServiceImpl extends EgovAbstractServiceImpl implements Adj
|
|||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public AdjstReqVO selectAdjstReqOpenExamplePop(AdjstReqVO adjstReqVO) throws Exception {
|
public AdjstReqVO selectAdjstReqOpenExamplePopCn(AdjstReqVO adjstReqVO) throws Exception {
|
||||||
return adjstReqDAO.selectAdjstReqOpenExamplePop(adjstReqVO);
|
return adjstReqDAO.selectAdjstReqOpenExamplePopCn(adjstReqVO);
|
||||||
}
|
}
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
package kcc.kccadr.adjst.web;
|
package kcc.kccadr.adjst.web;
|
||||||
|
|
||||||
import java.text.SimpleDateFormat;
|
import java.text.SimpleDateFormat;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@ -17,6 +18,8 @@ import org.json.simple.JSONArray;
|
|||||||
import org.json.simple.JSONObject;
|
import org.json.simple.JSONObject;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
import org.springframework.core.env.SystemEnvironmentPropertySource;
|
||||||
|
import org.springframework.http.HttpStatus;
|
||||||
import org.springframework.http.ResponseEntity;
|
import org.springframework.http.ResponseEntity;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
import org.springframework.ui.ModelMap;
|
import org.springframework.ui.ModelMap;
|
||||||
@ -46,6 +49,7 @@ import kcc.com.cmm.util.StringUtil;
|
|||||||
import kcc.com.utl.fcc.service.EgovStringUtil;
|
import kcc.com.utl.fcc.service.EgovStringUtil;
|
||||||
import kcc.com.utl.user.service.CheckAdrProcessUtil;
|
import kcc.com.utl.user.service.CheckAdrProcessUtil;
|
||||||
import kcc.kccadr.accdnt.crtfc.service.CrtfcService;
|
import kcc.kccadr.accdnt.crtfc.service.CrtfcService;
|
||||||
|
import kcc.kccadr.adjPgrMgr.exmp.cmm.ExmpManageVO;
|
||||||
import kcc.kccadr.adjst.service.AdjstReqService;
|
import kcc.kccadr.adjst.service.AdjstReqService;
|
||||||
import kcc.kccadr.adjst.service.AdjstReqVO;
|
import kcc.kccadr.adjst.service.AdjstReqVO;
|
||||||
import kcc.kccadr.cmm.KccadrConstants;
|
import kcc.kccadr.cmm.KccadrConstants;
|
||||||
@ -199,17 +203,26 @@ public class AdjstReqWebController {
|
|||||||
*/
|
*/
|
||||||
@RequestMapping("/web/kccadr/adjst/popup/adjstReqOpenExamplePop.do")
|
@RequestMapping("/web/kccadr/adjst/popup/adjstReqOpenExamplePop.do")
|
||||||
public String adjstReqOpenExamplePop(@ModelAttribute("adjstReqVO") AdjstReqVO adjstReqVO, ModelMap model) throws Exception {
|
public String adjstReqOpenExamplePop(@ModelAttribute("adjstReqVO") AdjstReqVO adjstReqVO, ModelMap model) throws Exception {
|
||||||
AdjstReqVO expm = adjstReqService.selectAdjstReqOpenExamplePop(adjstReqVO);
|
model.addAttribute("ccTy", adjstReqVO.getCcTy());
|
||||||
if (expm != null && StringUtils.isNotBlank(expm.getAtchFileId())) {
|
model.addAttribute("exmpCd", adjstReqVO.getExmpCd());
|
||||||
FileVO fileVO = new FileVO();
|
|
||||||
fileVO.setAtchFileId(expm.getAtchFileId());
|
|
||||||
List<FileVO> fileList = fileService.selectFileInfs(fileVO);
|
|
||||||
model.addAttribute("fileList", fileList);
|
|
||||||
}
|
|
||||||
model.addAttribute("expm", expm);
|
|
||||||
return "/web/kccadr/adjst/popup/adjstReqOpenExamplePop";
|
return "/web/kccadr/adjst/popup/adjstReqOpenExamplePop";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@RequestMapping("/web/kccadr/adjst/popup/adjstReqOpenExamplePopCn.do")
|
||||||
|
public ResponseEntity<RestResponse> adjstReqOpenExamplePopCn(@RequestBody AdjstReqVO adjstReqVO) throws Exception {
|
||||||
|
System.out.println("adjstReqVO.getExmpCd() :: "+ adjstReqVO.getExmpCd());
|
||||||
|
System.out.println("adjstReqVO.getExmpCcTy() :: "+ adjstReqVO.getExmpCcTy());
|
||||||
|
AdjstReqVO expm = adjstReqService.selectAdjstReqOpenExamplePopCn(adjstReqVO);
|
||||||
|
|
||||||
|
// if (expm != null && StringUtils.isNotBlank(expm.getAtchFileId())) {
|
||||||
|
// FileVO fileVO = new FileVO();
|
||||||
|
// fileVO.setAtchFileId(expm.getAtchFileId());
|
||||||
|
// List<FileVO> fileList = fileService.selectFileInfs(fileVO);
|
||||||
|
// model.addAttribute("fileList", fileList);
|
||||||
|
// }
|
||||||
|
return ResponseEntity.ok().body(new RestResponse(HttpStatus.OK, expm.getExmpCn(), LocalDateTime.now()));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 조정신청 구분선택 - 안내화면
|
* 조정신청 구분선택 - 안내화면
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -66,12 +66,12 @@ public class RestResponse {
|
|||||||
this.status = status;
|
this.status = status;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getMessage() {
|
public String getData() {
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setMessage(String message) {
|
public void setData(String data) {
|
||||||
this.data = message;
|
this.data = data;
|
||||||
}
|
}
|
||||||
|
|
||||||
public LocalDateTime getTimestamp() {
|
public LocalDateTime getTimestamp() {
|
||||||
|
|||||||
@ -859,7 +859,8 @@
|
|||||||
AND EDT_SN = #edtSn#
|
AND EDT_SN = #edtSn#
|
||||||
AND EDT_TY = #edtTy#
|
AND EDT_TY = #edtTy#
|
||||||
</update>
|
</update>
|
||||||
<select id="AdjstReqDAO.selectAdjstReqOpenExamplePop" parameterClass="AdjstReqVO" resultClass="AdjstReqVO">
|
|
||||||
|
<select id="AdjstReqDAO.selectAdjstReqOpenExamplePopCn" parameterClass="AdjstReqVO" resultClass="AdjstReqVO">
|
||||||
SELECT
|
SELECT
|
||||||
T1.EXMP_TIT AS exmpTit
|
T1.EXMP_TIT AS exmpTit
|
||||||
,T1.ATCH_FILE_ID AS atchFileId
|
,T1.ATCH_FILE_ID AS atchFileId
|
||||||
@ -871,8 +872,8 @@
|
|||||||
INNER JOIN ADR_EXMP_DTL T2
|
INNER JOIN ADR_EXMP_DTL T2
|
||||||
ON T1.EXMP_CC_TY = T2.EXMP_CC_TY
|
ON T1.EXMP_CC_TY = T2.EXMP_CC_TY
|
||||||
WHERE 1=1
|
WHERE 1=1
|
||||||
AND T1.EXMP_CC_TY = #ccTy#
|
AND T1.EXMP_CC_TY = #exmpCcTy# <!-- 저작물 종류-->
|
||||||
AND T2.EXMP_CD = #exmpCd#
|
AND T2.EXMP_CD = #exmpCd# <!-- 01:신청취지, 02:신청원인 -->
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 답변서 예문 select -->
|
<!-- 답변서 예문 select -->
|
||||||
|
|||||||
@ -34,45 +34,93 @@
|
|||||||
//$('#oldDe').text(moment('<c:out value="${info.adrEndDeDay}" />').format('YYYY-MM-DD'));
|
//$('#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'));
|
//$('#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).text($('#exmpCn').text());
|
||||||
|
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 fncClose() {
|
|
||||||
window.close();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<form:form id="p" name="p" method="post" onsubmit="return false;">
|
<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="area_popup case_change" style="width: 550px;">
|
||||||
<div class="cont_popup">
|
<div class="cont_popup">
|
||||||
<p class="tb_tit"><kc:code codeId="CC040" code="${expm.expmCd}"/></p>
|
<p class="tb_tit"><kc:code codeId="CC040" code="${exmpCd}"/></p>
|
||||||
<table class="pop_tbType01">
|
<table class="popup_tbType01 t_center">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col style="width: 50%;">
|
<col style="width: 20%;">
|
||||||
<col style="width: auto;">
|
<col style="width: 80%;">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">
|
<td style="line-height: 30px; text-align: left;">
|
||||||
<p>
|
<kc:code codeId="CC040" code="${exmpCd}"/>
|
||||||
<c:choose>
|
</td>
|
||||||
<c:when test="${not empty expm.expmCn}">
|
<td style="line-height: 30px; text-align: left;">
|
||||||
<c:out value="${fn:replace(expm.expmCn, crlf , '<br/>')}" escapeXml="false" />
|
<kc:select codeId="CC002" id="exmpCcTy" selectedValue="${ccTy}"/>
|
||||||
</c:when>
|
</td>
|
||||||
<c:otherwise>
|
</tr>
|
||||||
등록된 내용이 없습니다.
|
<tr>
|
||||||
</c:otherwise>
|
<td style="line-height: 30px; text-align: left;">
|
||||||
</c:choose>
|
내용
|
||||||
</p>
|
</td>
|
||||||
</td>
|
<td id="exmpCn" style="line-height: 30px; text-align: left;" >
|
||||||
</tr>
|
</td>
|
||||||
</tbody>
|
</tr>
|
||||||
</table>
|
</tbody>
|
||||||
|
</table>
|
||||||
<div class="btn_wrap btn_layout04">
|
<div class="btn_wrap btn_layout04">
|
||||||
<button class="btnType06" onclick="fncClose()">확인</button>
|
<button class="btnType06" id="redBtn">등록</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -38,13 +38,13 @@
|
|||||||
<validator:javascript formName="model" staticJavascript="false" xhtml="true" cdata="false"/>
|
<validator:javascript formName="model" staticJavascript="false" xhtml="true" cdata="false"/>
|
||||||
<script type="text/javaScript" language="javascript">
|
<script type="text/javaScript" language="javascript">
|
||||||
|
|
||||||
function openExampleAdminPop(expmCd) {
|
function openExampleAdminPop(exmpCd) {
|
||||||
|
|
||||||
var pop = document.pop;
|
var pop = document.pop;
|
||||||
pop.ccTy.value = $('#ccTy').val();
|
pop.ccTy.value = $('#ccTy').val();
|
||||||
pop.expmCd.value = expmCd;
|
pop.exmpCd.value = exmpCd;
|
||||||
|
|
||||||
commonPopWindowopenForm("/kccadr/adjPgrMgr/apm/popup/adjstReqOpenExamplePop.do", '600', '400', "openExampleAdminPop", $('#pop'));
|
commonPopWindowopenForm("/kccadr/adjPgrMgr/apm/popup/adjstReqOpenExamplePop.do", '500', '400', "openExampleAdminPop", $('#pop'));
|
||||||
}
|
}
|
||||||
|
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
@ -1603,7 +1603,7 @@ function openExampleAdminPop(expmCd) {
|
|||||||
<input type="hidden" id="adrAvoidSeq" name="adrAvoidSeq" value="">
|
<input type="hidden" id="adrAvoidSeq" name="adrAvoidSeq" value="">
|
||||||
<input type="hidden" id="agntSeq" name="agntSeq" value=""> -->
|
<input type="hidden" id="agntSeq" name="agntSeq" value=""> -->
|
||||||
<input type="hidden" name="ccTy" value="">
|
<input type="hidden" name="ccTy" value="">
|
||||||
<input type="hidden" id="expmCd" name="expmCd" value="">
|
<input type="hidden" id="exmpCd" name="exmpCd" value="">
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<form:form commandName="adrVO" name="adrVO" method="post" enctype="multipart/form-data">
|
<form:form commandName="adrVO" name="adrVO" method="post" enctype="multipart/form-data">
|
||||||
|
|||||||
@ -1,75 +1,127 @@
|
|||||||
<%@ page contentType="text/html; charset=utf-8"%>
|
<%@ page contentType="text/html; charset=utf-8"%>
|
||||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||||
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
|
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
|
||||||
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
|
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
|
||||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
||||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||||
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||||
<%pageContext.setAttribute("crlf", "\r\n"); %>
|
<%pageContext.setAttribute("crlf", "\r\n"); %>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="ko">
|
<html lang="ko">
|
||||||
<head>
|
<head>
|
||||||
<title>조정신청 예문보기</title>
|
<title>조정신청 예문보기</title>
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
<script type="text/javascript" src="/kccadrPb/usr/script/popup.js"></script>
|
<script type="text/javascript" src="/kccadrPb/usr/script/popup.js"></script>
|
||||||
<script type="text/javaScript" language="javascript">
|
<script type="text/javaScript" language="javascript">
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
|
|
||||||
// 레이어팝업 포커싱 이동 수정
|
// 레이어팝업 포커싱 이동 수정
|
||||||
var popupTit = $(".cont_tit03").text();
|
var popupTit = $(".cont_tit03").text();
|
||||||
|
|
||||||
if(popupTit.trim() == "* 신청취지"){
|
if(popupTit.trim() == "* 신청취지"){
|
||||||
$(".tooltip-close").click(function(){
|
$(".tooltip-close").click(function(){
|
||||||
var activeTarget = $('[data-tooltip-con="fee_info_popup"]');
|
var activeTarget = $('[data-tooltip-con="fee_info_popup"]');
|
||||||
activeTarget.hide();
|
activeTarget.hide();
|
||||||
$('[data-tooltip="fee_info_popup"]').eq(0).focus();
|
$('[data-tooltip="fee_info_popup"]').eq(0).focus();
|
||||||
});
|
});
|
||||||
}else{
|
}else{
|
||||||
$(".tooltip-close").click(function(){
|
$(".tooltip-close").click(function(){
|
||||||
var activeTarget = $('[data-tooltip-con="fee_info_popup"]');
|
var activeTarget = $('[data-tooltip-con="fee_info_popup"]');
|
||||||
activeTarget.hide();
|
activeTarget.hide();
|
||||||
$('[data-tooltip="fee_info_popup"]').eq(1).focus();
|
$('[data-tooltip="fee_info_popup"]').eq(1).focus();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
})
|
|
||||||
</script>
|
/*
|
||||||
</head>
|
* 저작물 변경 event
|
||||||
<body>
|
*/
|
||||||
<div class="popup_wrap fee_info_popup" style="max-width: 580px;" tabindex="0" data-tooltip-con="fee_info_popup" data-focus="fee_info_popup" data-focus-prev="fee_info_popup_close">
|
$('#exmpCcTy').on('change', function(){
|
||||||
<div class="popup_tit">
|
fn_selectCn();
|
||||||
<p>조정신청 예문</p> <button class="btn_popup_close tooltip-close" data-focus="fee_info_popup_close" title="팝업 닫기"><i></i></button>
|
});
|
||||||
</div>
|
|
||||||
<div class="popup_cont">
|
/*
|
||||||
<c:if test="${not empty expm.expmCd}">
|
* 등록버튼 event
|
||||||
<div class="cont_tit03">
|
*/
|
||||||
* <kc:code codeId="CC040" code="${expm.expmCd}"/>
|
$('#redBtn').on('click', function(){
|
||||||
</div>
|
var exmpCd = $("#exmpCd").val();
|
||||||
</c:if>
|
console.log(exmpCd.replace(/(^0+)/, ""));
|
||||||
<table class="popup_tbType01 t_center">
|
var perId = '#reqCn'+exmpCd.replace(/(^0+)/, "");
|
||||||
<colgroup>
|
$(perId).text($('#exmpCn').text());
|
||||||
<col style="width: 60%;">
|
});
|
||||||
<col style="width: 40%;">
|
|
||||||
</colgroup>
|
/*
|
||||||
<tbody>
|
* 상세내용 select
|
||||||
<tr>
|
*/
|
||||||
<td colspan="2" style="line-height: 30px; text-align: left;">
|
function fn_selectCn(){
|
||||||
<c:choose>
|
$.ajax({
|
||||||
<c:when test="${not empty expm.expmCn}">
|
type: "POST",
|
||||||
<c:out value="${fn:replace(expm.expmCn, crlf , '<br/>')}" escapeXml="false" />
|
url: "/web/kccadr/adjst/popup/adjstReqOpenExamplePopCn.do",
|
||||||
</c:when>
|
data: JSON.stringify({exmpCd : $("#exmpCd").val()
|
||||||
<c:otherwise>
|
, exmpCcTy : $("#exmpCcTy").val() }),
|
||||||
등록된 내용이 없습니다.
|
dataType:'json',
|
||||||
</c:otherwise>
|
async: false,
|
||||||
</c:choose>
|
processData: false,
|
||||||
</td>
|
contentType: "application/json",
|
||||||
</tr>
|
cache: false,
|
||||||
</tbody>
|
success: function (data) {
|
||||||
</table>
|
if(data.status == "OK"){
|
||||||
<div class="btn_wrap">
|
console.log('data : ', data);
|
||||||
<button class="btnType01 tooltip-close" data-focus="fee_info_popup_close" data-focus-next="fee_info_popup">닫기</button>
|
$('#exmpCn').text(data.data);
|
||||||
</div>
|
}else{
|
||||||
</div>
|
return false;
|
||||||
</div>
|
}
|
||||||
</body>
|
},
|
||||||
</html>
|
error: function (e) { alert("조회에 실패하였습니다."); console.log("ERROR : ", e); }
|
||||||
|
});
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
fn_selectCn();
|
||||||
|
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="popup_wrap fee_info_popup" style="max-width: 580px;" tabindex="0" data-tooltip-con="fee_info_popup" data-focus="fee_info_popup" data-focus-prev="fee_info_popup_close">
|
||||||
|
<input type="hidden" id="exmpCd" name="exmpCd" value="${exmpCd }"/>
|
||||||
|
<div class="popup_tit">
|
||||||
|
<p>조정신청 예문</p> <button class="btn_popup_close tooltip-close" data-focus="fee_info_popup_close" title="팝업 닫기"><i></i></button>
|
||||||
|
</div>
|
||||||
|
<div class="popup_cont">
|
||||||
|
<c:if test="${not empty exmpCd}">
|
||||||
|
<div class="cont_tit03">
|
||||||
|
* <kc:code codeId="CC040" code="${exmpCd}"/>
|
||||||
|
</div>
|
||||||
|
</c:if>
|
||||||
|
<table class="popup_tbType01 t_center">
|
||||||
|
<colgroup>
|
||||||
|
<col style="width: 20%;">
|
||||||
|
<col style="width: 80%;">
|
||||||
|
</colgroup>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td style="line-height: 30px; text-align: left;">
|
||||||
|
<kc:code codeId="CC040" code="${exmpCd}"/>
|
||||||
|
</td>
|
||||||
|
<td style="line-height: 30px; text-align: left;">
|
||||||
|
<kc:select codeId="CC002" name="exmpCcTy" id="exmpCcTy" selectedValue="${ccTy}"/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="line-height: 30px; text-align: left;">
|
||||||
|
내용
|
||||||
|
</td>
|
||||||
|
<td id="exmpCn" style="line-height: 30px; text-align: left;" >
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<div class="btn_wrap">
|
||||||
|
<!-- <button class="btnType01 tooltip-close" data-focus="fee_info_popup_close" data-focus-next="fee_info_popup">닫기</button> -->
|
||||||
|
<button class="btnType01 tooltip-close" id="redBtn">등록</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|||||||
@ -1059,12 +1059,12 @@ var AdjstReq = {
|
|||||||
, "adjstHostoryPop"
|
, "adjstHostoryPop"
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
openExamplePop : function(expmCd){
|
openExamplePop : function(exmpCd){
|
||||||
commonPopLayeropen(
|
commonPopLayeropen(
|
||||||
"/web/kccadr/adjst/popup/adjstReqOpenExamplePop.do"
|
"/web/kccadr/adjst/popup/adjstReqOpenExamplePop.do"
|
||||||
, 1100
|
, 1100
|
||||||
, 600
|
, 600
|
||||||
, {ccTy : $("#ccTy").val(), expmCd : expmCd}
|
, {ccTy : $("#ccTy").val(), exmpCd : exmpCd}
|
||||||
, "N"
|
, "N"
|
||||||
, "openExamplePop"
|
, "openExamplePop"
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user