feat:[대국민]답변서 예문 팝업
This commit is contained in:
parent
13b8f42591
commit
78d717adae
@ -259,8 +259,6 @@ public class AdjstReqWebController {
|
|||||||
|
|
||||||
@RequestMapping("/web/kccadr/adjst/popup/adjstReqOpenExamplePopCn.do")
|
@RequestMapping("/web/kccadr/adjst/popup/adjstReqOpenExamplePopCn.do")
|
||||||
public ResponseEntity<RestResponse> adjstReqOpenExamplePopCn(@RequestBody AdjstReqVO adjstReqVO) throws Exception {
|
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);
|
AdjstReqVO exmp = adjstReqService.selectAdjstReqOpenExamplePopCn(adjstReqVO);
|
||||||
|
|
||||||
// if (exmp != null && StringUtils.isNotBlank(exmp.getAtchFileId())) {
|
// if (exmp != null && StringUtils.isNotBlank(exmp.getAtchFileId())) {
|
||||||
@ -273,7 +271,14 @@ public class AdjstReqWebController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 조정신청 구분선택 - 안내화면
|
* @methodName : adjstReqOpenAnswerExamplePop
|
||||||
|
* @author : 이호영
|
||||||
|
* @date : 2022.10.14
|
||||||
|
* @description : 답변서 예문
|
||||||
|
* @param adjstReqVO
|
||||||
|
* @param model
|
||||||
|
* @return
|
||||||
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
@RequestMapping("/web/kccadr/adjst/popup/adjstReqOpenAnswerExamplePop.do")
|
@RequestMapping("/web/kccadr/adjst/popup/adjstReqOpenAnswerExamplePop.do")
|
||||||
public String adjstReqOpenAnswerExamplePop(@ModelAttribute("adjstReqVO") AdjstReqVO adjstReqVO, ModelMap model) throws Exception {
|
public String adjstReqOpenAnswerExamplePop(@ModelAttribute("adjstReqVO") AdjstReqVO adjstReqVO, ModelMap model) throws Exception {
|
||||||
|
|||||||
@ -179,7 +179,7 @@ public class AdjstExpDetailController {
|
|||||||
* 조정신청 구분선택 - 안내화면
|
* 조정신청 구분선택 - 안내화면
|
||||||
*/
|
*/
|
||||||
@RequestMapping("/web/kccadr/adjstExpDetail/popup/openExpExamplePop.do")
|
@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/";
|
String returnUrl = "/web/kccadr/adjstExpDetail/";
|
||||||
|
|
||||||
|
|||||||
@ -190,11 +190,11 @@
|
|||||||
<th scope="row">
|
<th scope="row">
|
||||||
<p class="req_text"><span>필수입력 항목</span>*</p>
|
<p class="req_text"><span>필수입력 항목</span>*</p>
|
||||||
<p>답변내용</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>
|
</th>
|
||||||
<td>
|
<td>
|
||||||
<label for="adrDocCn1" class="label">답변내용 입력</label>
|
<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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@ -27,10 +27,8 @@ $(document).ready(function(){
|
|||||||
$('[data-tooltip="fee_info_popup"]').eq(0).focus();
|
$('[data-tooltip="fee_info_popup"]').eq(0).focus();
|
||||||
});
|
});
|
||||||
|
|
||||||
/*
|
|
||||||
* init
|
|
||||||
* json으로 데이터 받아오기
|
|
||||||
*/
|
|
||||||
var data = new FormData(document.getElementById("selectForm"));
|
var data = new FormData(document.getElementById("selectForm"));
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type:"POST",
|
type:"POST",
|
||||||
@ -51,7 +49,9 @@ $(document).ready(function(){
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
s /*
|
|
||||||
|
|
||||||
|
/*
|
||||||
* 저작물 변경 event
|
* 저작물 변경 event
|
||||||
*/
|
*/
|
||||||
$('#selectId').on('change', function(){
|
$('#selectId').on('change', function(){
|
||||||
@ -113,6 +113,7 @@ s /*
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<div class="btn_wrap">
|
<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>
|
<button class="btnType01 tooltip-close" id="redBtn">등록</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1224,8 +1224,14 @@ var AdjstReq = {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
openExamplePop : function(exmpCd){
|
openExamplePop : function(exmpCd){
|
||||||
|
/*
|
||||||
|
- 01 : 신청취지
|
||||||
|
- 02 : 신청원인
|
||||||
|
- 04 : 답변서
|
||||||
|
- 05 : 사건진행도움말
|
||||||
|
*/
|
||||||
var uri = '';
|
var uri = '';
|
||||||
if(exmpCd == '01')
|
if(exmpCd == '01' || exmpCd == '04')
|
||||||
{
|
{
|
||||||
uri = "adjstReqOpenExamplePop.do";
|
uri = "adjstReqOpenExamplePop.do";
|
||||||
}
|
}
|
||||||
@ -1254,16 +1260,16 @@ var AdjstReq = {
|
|||||||
, "openExpExamplePop"
|
, "openExpExamplePop"
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
openAnswerExamplePop : function(codeId){
|
// openAnswerExamplePop : function(exmpCd){
|
||||||
commonPopLayeropen(
|
// commonPopLayeropen(
|
||||||
"/web/kccadr/adjst/popup/adjstReqOpenAnswerExamplePop.do"
|
// "/web/kccadr/adjst/popup/adjstReqOpenAnswerExamplePop.do"
|
||||||
, 1100
|
// , 1100
|
||||||
, 600
|
// , 600
|
||||||
, {codeId : codeId}
|
// , {exmpCd : exmpCd}
|
||||||
, "N"
|
// , "N"
|
||||||
, "openExamplePop"
|
// , "openExamplePop"
|
||||||
);
|
// );
|
||||||
},
|
// },
|
||||||
adjstReqDataChoice : function(adrSeq){
|
adjstReqDataChoice : function(adrSeq){
|
||||||
$("#copyAdrSeq").val(adrSeq);
|
$("#copyAdrSeq").val(adrSeq);
|
||||||
this.fncGoRefresh();
|
this.fncGoRefresh();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user