refactor:법원연계조정등록 - 소요일/보고월 자동화 완료
This commit is contained in:
parent
46a2800bdd
commit
f43a6a3d5c
@ -28,6 +28,7 @@ public class AdjCourtCnctnVO extends ComDefaultVO implements Serializable {
|
||||
private String rprtMonth = "";
|
||||
private String processDay = "";
|
||||
private String courtFld = "";
|
||||
private String accdntCn = "";
|
||||
private String reqInfo = "";
|
||||
private String aplcnInfo = "";
|
||||
private String rspndInfo = "";
|
||||
@ -127,6 +128,12 @@ public class AdjCourtCnctnVO extends ComDefaultVO implements Serializable {
|
||||
public void setCourtFld(String courtFld) {
|
||||
this.courtFld = courtFld;
|
||||
}
|
||||
public String getAccdntCn() {
|
||||
return accdntCn;
|
||||
}
|
||||
public void setAccdntCn(String accdntCn) {
|
||||
this.accdntCn = accdntCn;
|
||||
}
|
||||
public String getReqInfo() {
|
||||
return reqInfo;
|
||||
}
|
||||
|
||||
@ -21,6 +21,7 @@
|
||||
, RPRT_MONTH
|
||||
, PROCESS_DAY
|
||||
, COURT_FLD
|
||||
, ACCDNT_CN
|
||||
, APLCN_INFO
|
||||
, RSPND_INFO
|
||||
, APLCN_DPTY
|
||||
@ -50,6 +51,7 @@
|
||||
, #rprtMonth#
|
||||
, #processDay#
|
||||
, #courtFld#
|
||||
, #accdntCn#
|
||||
, #aplcnInfo#
|
||||
, #rspndInfo#
|
||||
, #aplcnDpty#
|
||||
@ -62,7 +64,7 @@
|
||||
, #pymntDay#
|
||||
, #extns#
|
||||
, #rmrks#
|
||||
, #useYn#
|
||||
, 'Y'
|
||||
,NOW()
|
||||
,#frstRegisterId#
|
||||
)
|
||||
|
||||
@ -7,18 +7,18 @@
|
||||
<application generated-by="eclipse" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.zeroturnaround.com" xsi:schemaLocation="http://www.zeroturnaround.com http://update.zeroturnaround.com/jrebel/rebel-2_1.xsd">
|
||||
|
||||
<classpath>
|
||||
<dir name="${rebel.workspace.path}/kcc_adr_advc_git/target/classes">
|
||||
<dir name="D:/Development/git_repository/kcc_adr_advc_git/target/classes">
|
||||
</dir>
|
||||
</classpath>
|
||||
|
||||
<web>
|
||||
<link target="/">
|
||||
<dir name="${rebel.workspace.path}/kcc_adr_advc_git/target/m2e-wtp/web-resources">
|
||||
<dir name="D:/Development/git_repository/kcc_adr_advc_git/target/m2e-wtp/web-resources">
|
||||
<exclude name="/"/>
|
||||
</dir>
|
||||
</link>
|
||||
<link target="/">
|
||||
<dir name="${rebel.workspace.path}/kcc_adr_advc_git/src/main/webapp">
|
||||
<dir name="D:/Development/git_repository/kcc_adr_advc_git/src/main/webapp">
|
||||
</dir>
|
||||
</link>
|
||||
</web>
|
||||
|
||||
@ -17,9 +17,35 @@
|
||||
|
||||
$(document).ready(function(){
|
||||
|
||||
$('#alctnDe, #rprtDe').change(function(){
|
||||
// 배당일자, 보고일자 선택하면 발동되는 event
|
||||
// 소요일 계산
|
||||
$('#alctnDe, #rprtDe').on('focusin',function(){
|
||||
|
||||
console.log($(this).val());
|
||||
var alctnVal = $('#alctnDe').val();
|
||||
var rprtVal = $('#rprtDe').val();
|
||||
|
||||
if(alctnVal && rprtVal)
|
||||
{
|
||||
var returnVal = 0;
|
||||
|
||||
alctnVal = alctnVal.replaceAll("-", "");
|
||||
rprtVal = rprtVal.replaceAll("-", "");
|
||||
|
||||
returnVal = Number(rprtVal) - Number(alctnVal);
|
||||
|
||||
$('#processDay').val(returnVal);
|
||||
|
||||
}
|
||||
|
||||
|
||||
// 보고월
|
||||
if($(this).attr('id') === 'rprtDe')
|
||||
{
|
||||
var month = $(this).val().split('-')[1].replace(/(^0+)/, "");
|
||||
|
||||
$('#rprtMonth').val(month+'월');
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
@ -63,11 +89,6 @@ function fn_regist(){
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// 목록 이동
|
||||
function fn_GoList(){
|
||||
var goListForm = document.goListForm ;
|
||||
@ -82,7 +103,6 @@ function fn_GoList(){
|
||||
</head>
|
||||
<body>
|
||||
<form id="goListForm" name="goListForm" method="post" >
|
||||
|
||||
<input type="hidden" name="searchKeyword" value=""/>
|
||||
<input type="hidden" name="pageIndex" value="<c:out value='${adjCourtCnctnVO.pageIndex}'/>"/>
|
||||
<input type="hidden" name="searchSortCnd" value="<c:out value="${adjCourtCnctnVO.searchSortCnd}" />" />
|
||||
@ -161,7 +181,7 @@ function fn_GoList(){
|
||||
<th>배당일자</th>
|
||||
<td>
|
||||
<div id="sel_date" class="sel_date">
|
||||
<input readonly="readonly" type="text" class="alctnDe inp" title="배당일자" id="alctnDe" name="alctnDe" value="" data-datecontrol="true">
|
||||
<input readonly="readonly" type="text" class="alctnDe inp" title="배당일자" id="alctnDe" name="alctnDe" value="" data-datecontrol="true" onchange="test(this);">
|
||||
<div class="calendar_in" id="calendarName_endDate" style="z-index: 9;">
|
||||
<button type="button" value="달력 팝업 열기" onclick="return calendarOpen('alctnDe-lry','',this)" class="btn_cal" ></button>
|
||||
<div id="alctnDe-lry" class="calendarPop" style="display: none;">
|
||||
@ -209,18 +229,19 @@ function fn_GoList(){
|
||||
</td>
|
||||
<th>보고월</th>
|
||||
<td>
|
||||
<select id="rprtMonth" name="rprtMonth">
|
||||
<option value="">선택</option>
|
||||
<c:forEach var="i" begin="1" end="12" step="1">
|
||||
<option value="${i}">${i}월</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
<!-- <select id="rprtMonth" name="rprtMonth"> -->
|
||||
<!-- <option value="">선택</option> -->
|
||||
<%-- <c:forEach var="i" begin="1" end="12" step="1"> --%>
|
||||
<%-- <option value="${i}">${i}월</option> --%>
|
||||
<%-- </c:forEach> --%>
|
||||
<!-- </select> -->
|
||||
<input type="text" id="rprtMonth" name="rprtMonth" placeholder="보고일자 선택" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>소요일</th>
|
||||
<td>
|
||||
<input type="text" id="processDay" name="processDay" />
|
||||
<input readonly="readonly" type="text" id="processDay" name="processDay" placeholder=""/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -233,6 +254,12 @@ function fn_GoList(){
|
||||
<input type="text" id="courtNo" name="courtNo" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>분야</th>
|
||||
<td>
|
||||
<input type="text" id="courtFld" name="courtFld" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>신청인 정보</th>
|
||||
<td colspan="3">
|
||||
@ -257,6 +284,12 @@ function fn_GoList(){
|
||||
<textarea name="rspndDpty" id="rspndDpty" cols="30" rows="3"> </textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>사건내용</th>
|
||||
<td colspan="3">
|
||||
<textarea name="accdntCn" id="accdntCn" cols="30" rows="3"> </textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>결과</th>
|
||||
<td>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user