feat:[대국민]답변서 예문 팝업
This commit is contained in:
parent
13b8f42591
commit
78d717adae
@ -259,8 +259,6 @@ public class AdjstReqWebController {
|
||||
|
||||
@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 exmp = adjstReqService.selectAdjstReqOpenExamplePopCn(adjstReqVO);
|
||||
|
||||
// if (exmp != null && StringUtils.isNotBlank(exmp.getAtchFileId())) {
|
||||
@ -272,8 +270,15 @@ public class AdjstReqWebController {
|
||||
return ResponseEntity.ok().body(new RestResponse(HttpStatus.OK, exmp.getExmpCn(), LocalDateTime.now()));
|
||||
}
|
||||
|
||||
/**
|
||||
* 조정신청 구분선택 - 안내화면
|
||||
/**
|
||||
* @methodName : adjstReqOpenAnswerExamplePop
|
||||
* @author : 이호영
|
||||
* @date : 2022.10.14
|
||||
* @description : 답변서 예문
|
||||
* @param adjstReqVO
|
||||
* @param model
|
||||
* @return
|
||||
* @throws Exception
|
||||
*/
|
||||
@RequestMapping("/web/kccadr/adjst/popup/adjstReqOpenAnswerExamplePop.do")
|
||||
public String adjstReqOpenAnswerExamplePop(@ModelAttribute("adjstReqVO") AdjstReqVO adjstReqVO, ModelMap model) throws Exception {
|
||||
@ -287,7 +292,7 @@ public class AdjstReqWebController {
|
||||
model.addAttribute("exmp", exmp);
|
||||
return "/web/kccadr/adjst/popup/adjstReqOpenAnswerExamplePop";
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 조정신청 구분선택 - 안내화면
|
||||
|
||||
@ -179,7 +179,7 @@ public class AdjstExpDetailController {
|
||||
* 조정신청 구분선택 - 안내화면
|
||||
*/
|
||||
@RequestMapping("/web/kccadr/adjstExpDetail/popup/openExpExamplePop.do")
|
||||
public String adjstReqOpenAnswerExamplePop(@ModelAttribute("adjDeputyReqVO") AdjstDeputyReqVO adjDeputyReqVO, ModelMap model) throws Exception {
|
||||
public String openExpExamplePop(@ModelAttribute("adjDeputyReqVO") AdjstDeputyReqVO adjDeputyReqVO, ModelMap model) throws Exception {
|
||||
|
||||
String returnUrl = "/web/kccadr/adjstExpDetail/";
|
||||
|
||||
|
||||
@ -190,11 +190,11 @@
|
||||
<th scope="row">
|
||||
<p class="req_text"><span>필수입력 항목</span>*</p>
|
||||
<p>답변내용</p>
|
||||
<button class="btnType01 btn_adr_search examBtn" data-tooltip="fee_info_popup" onclick="AdjstReq.openAnswerExamplePop('CC003'); return false;" title="예문 팝업 열림">예문</button>
|
||||
<button class="btnType01 btn_adr_search examBtn" data-tooltip="fee_info_popup" onclick="AdjstReq.openExamplePop('04'); return false;" title="예문 팝업 열림">예문</button>
|
||||
</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>
|
||||
<textarea name="adrDocCn1" id="reqCn4" cols="30" rows="5" cssClass="purpose_text" cssStyle="resize: none;"><c:out value='${info.adrDocCn1}' /></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@ -21,16 +21,14 @@ $(document).ready(function(){
|
||||
// 레이어팝업 포커싱 이동 수정
|
||||
var popupTit = $(".cont_tit03").text();
|
||||
|
||||
$(".tooltip-close").click(function(){
|
||||
var activeTarget = $('[data-tooltip-con="fee_info_popup"]');
|
||||
activeTarget.hide();
|
||||
$('[data-tooltip="fee_info_popup"]').eq(0).focus();
|
||||
});
|
||||
$(".tooltip-close").click(function(){
|
||||
var activeTarget = $('[data-tooltip-con="fee_info_popup"]');
|
||||
activeTarget.hide();
|
||||
$('[data-tooltip="fee_info_popup"]').eq(0).focus();
|
||||
});
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* init
|
||||
* json으로 데이터 받아오기
|
||||
*/
|
||||
var data = new FormData(document.getElementById("selectForm"));
|
||||
$.ajax({
|
||||
type:"POST",
|
||||
@ -51,7 +49,9 @@ $(document).ready(function(){
|
||||
}
|
||||
});
|
||||
|
||||
s /*
|
||||
|
||||
|
||||
/*
|
||||
* 저작물 변경 event
|
||||
*/
|
||||
$('#selectId').on('change', function(){
|
||||
@ -113,6 +113,7 @@ s /*
|
||||
</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>
|
||||
|
||||
@ -1224,8 +1224,14 @@ var AdjstReq = {
|
||||
);
|
||||
},
|
||||
openExamplePop : function(exmpCd){
|
||||
/*
|
||||
- 01 : 신청취지
|
||||
- 02 : 신청원인
|
||||
- 04 : 답변서
|
||||
- 05 : 사건진행도움말
|
||||
*/
|
||||
var uri = '';
|
||||
if(exmpCd == '01')
|
||||
if(exmpCd == '01' || exmpCd == '04')
|
||||
{
|
||||
uri = "adjstReqOpenExamplePop.do";
|
||||
}
|
||||
@ -1254,16 +1260,16 @@ var AdjstReq = {
|
||||
, "openExpExamplePop"
|
||||
);
|
||||
},
|
||||
openAnswerExamplePop : function(codeId){
|
||||
commonPopLayeropen(
|
||||
"/web/kccadr/adjst/popup/adjstReqOpenAnswerExamplePop.do"
|
||||
, 1100
|
||||
, 600
|
||||
, {codeId : codeId}
|
||||
, "N"
|
||||
, "openExamplePop"
|
||||
);
|
||||
},
|
||||
// openAnswerExamplePop : function(exmpCd){
|
||||
// commonPopLayeropen(
|
||||
// "/web/kccadr/adjst/popup/adjstReqOpenAnswerExamplePop.do"
|
||||
// , 1100
|
||||
// , 600
|
||||
// , {exmpCd : exmpCd}
|
||||
// , "N"
|
||||
// , "openExamplePop"
|
||||
// );
|
||||
// },
|
||||
adjstReqDataChoice : function(adrSeq){
|
||||
$("#copyAdrSeq").val(adrSeq);
|
||||
this.fncGoRefresh();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user