feat: 단속 초기 자료 편집 기능 추가
parent
41aadec94d
commit
f8d2290b1a
@ -0,0 +1,163 @@
|
||||
<%--
|
||||
================================================================================
|
||||
File : /fims/biz/cmm/cmmEnlightDisallowPopup.jsp
|
||||
Name : 서손 / 계도 처리 팝업 - 단속관리>단속현황관리
|
||||
Auth : lim.jong.uk
|
||||
Date : 2022-02-03
|
||||
Desc : 서손 / 계도 처리 팝업
|
||||
================================================================================
|
||||
Date Author Description
|
||||
================================================================================
|
||||
================================================================================
|
||||
--%>
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ include file="/WEB-INF/jsp/framework/taglibs.jsp"%>
|
||||
|
||||
<style>
|
||||
#regltProcessSttusCode {
|
||||
width: 29%;
|
||||
color: #2a48ff;
|
||||
background-color: #d8e7ff;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#registSeCode {
|
||||
color: #2a48ff;
|
||||
background-color: #d8e7ff;
|
||||
}
|
||||
|
||||
.act_bg_color {
|
||||
background-color: #d8e7ff; !important;
|
||||
}
|
||||
.bg_red_color {
|
||||
background-color: darkred;
|
||||
}
|
||||
select[name=imageSeCode] {
|
||||
width: 68%;
|
||||
}
|
||||
select[name=vhctyAsortCode] {
|
||||
width: 30%;
|
||||
}
|
||||
select[name=payerSeCode] {
|
||||
width: 25%;
|
||||
}
|
||||
</style>
|
||||
|
||||
<c:set var="isUpdate" value="${!empty infoDTO.regltId}"/>
|
||||
|
||||
<c:set var="bizName" value="주민 신고"/>
|
||||
|
||||
|
||||
<div class="popup" style="min-width: 100px;">
|
||||
<div class="popup_inner" style="flex-direction: column">
|
||||
<p class="pop_title" id="txtTitle">${txtTitle}</p>
|
||||
<form>
|
||||
<table class="tbl03">
|
||||
<caption>위반정보 상세</caption>
|
||||
<colgroup>
|
||||
<col style="width: 20%;"/>
|
||||
<col/>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr id="t">
|
||||
<th>처리일</th>
|
||||
<td>
|
||||
<span class="cal-box">
|
||||
<input type="text" id="processDt" name="processDt" style="width: 50%" class="inputText cal" title="처리일 선택" placeholder="날짜를 선택하세요">
|
||||
<button type="button" name="processDt" class="calendar"><span class="ico far fa-calendar-alt">
|
||||
<img style="width:18px;" src="${ctx}/resources/biz/content/images/common/main/calendar.png"/><em>달력</em></span>
|
||||
</button>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>처리사유</th>
|
||||
<td>
|
||||
<code:select id="enlightResnCode" name="enlightResnCode" codeId="FIM025" defaultSelect="00" title="계도사유" cls="selectBoxTotal" alt="계도사유"/>
|
||||
<code:select id="erppSeCode" name="erppSeCode" codeId="FIM021" title="서손구분" defaultSelect="01" cls="selectBoxTotal" alt="서손구분"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="trErpp">
|
||||
<th>특기사항</th>
|
||||
<td>
|
||||
<input type="text" id='erppResnDetail' name="erppResnDetail" />
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
<div class="popup_btn">
|
||||
<div class="flr p_flr">
|
||||
<a href="#" class="btn blue" id="btnSave">처리</a>
|
||||
<a href="#" id='btnClose' class="btn lightgray">닫기</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script defer type="text/javaScript">
|
||||
|
||||
/**************************************************************************
|
||||
* Global Variable
|
||||
**************************************************************************/
|
||||
let bizDiv;
|
||||
|
||||
/* *******************************
|
||||
* Biz function
|
||||
******************************* */
|
||||
const fnPopupBiz = {
|
||||
changeTag: () => {
|
||||
if(bizDiv ==='ENLIGHT'){
|
||||
$('#enlightResnCode').show();
|
||||
$('#erppSeCode').hide();
|
||||
$('#trErpp').hide();
|
||||
}else{
|
||||
$('#enlightResnCode').hide();
|
||||
$('#erppSeCode').show();
|
||||
$('#trErpp').show();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**************************************************************************
|
||||
* event
|
||||
**************************************************************************/
|
||||
$(() => {
|
||||
|
||||
$("#btnClose").on('click', () => {
|
||||
window.close()
|
||||
});
|
||||
|
||||
$("#btnSave").on('click', () => {
|
||||
if(bizDiv ==='ENLIGHT'){
|
||||
window.opener.callbackEnlightErpp({
|
||||
bizDiv
|
||||
,processDt: $('#processDt').val().replaceAll('-','')
|
||||
,enlightResnCode: $('#enlightResnCode').val()
|
||||
,erppSeCode: ''
|
||||
,erppResnDetail: ''
|
||||
})
|
||||
}else{
|
||||
window.opener.callbackEnlightErpp({
|
||||
bizDiv
|
||||
,processDt: $('#processDt').val().replaceAll('-','')
|
||||
,enlightResnCode: ''
|
||||
,erppSeCode: $('#erppSeCode').val()
|
||||
,erppResnDetail: $('#erppResnDetail').val()
|
||||
})
|
||||
}
|
||||
window.close()
|
||||
});
|
||||
})
|
||||
|
||||
/**************************************************************************
|
||||
* initialize
|
||||
**************************************************************************/
|
||||
$(document).ready(function(){
|
||||
$('#processDt').datepicker('setDate', new Date());
|
||||
bizDiv = '${bizDiv}';
|
||||
fnPopupBiz.changeTag();
|
||||
|
||||
});
|
||||
|
||||
</script>
|
Loading…
Reference in New Issue