|
|
@ -5,7 +5,7 @@
|
|
|
|
<div class="content-wrapper">
|
|
|
|
<div class="content-wrapper">
|
|
|
|
<!-- Content -->
|
|
|
|
<!-- Content -->
|
|
|
|
<div class="container-xxl flex-grow-1 px-0">
|
|
|
|
<div class="container-xxl flex-grow-1 px-0">
|
|
|
|
<c:set var="prefixName" scope="request">민원상담 관리</c:set>
|
|
|
|
<c:set var="prefixName" scope="request">수납 관리</c:set>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Page Body -->
|
|
|
|
<!-- Page Body -->
|
|
|
|
<div class="card">
|
|
|
|
<div class="card">
|
|
|
@ -20,7 +20,7 @@
|
|
|
|
<button type="button" class="btn btn-search w-px-120" id="btnSearch--${pageName}" title="검색" onclick="fnSearchList${pageName}();">
|
|
|
|
<button type="button" class="btn btn-search w-px-120" id="btnSearch--${pageName}" title="검색" onclick="fnSearchList${pageName}();">
|
|
|
|
검색
|
|
|
|
검색
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
<button type="button" class="btn btn-excel w-px-120" id="btnExcel--${pageName}" title="엑셀 저장" onclick="fnExcel${pageName}();">
|
|
|
|
<button type="button" class="btn btn-excel w-px-120" id="btnExcel--${pageName}" title="엑셀" onclick="fnExcel${pageName}();">
|
|
|
|
엑셀
|
|
|
|
엑셀
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
@ -48,36 +48,54 @@
|
|
|
|
</c:forEach>
|
|
|
|
</c:forEach>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 상담일자 -->
|
|
|
|
<!-- 소인일자 -->
|
|
|
|
<div class="col-6">
|
|
|
|
<div class="col-6">
|
|
|
|
<label class="form-label fw-bold form-search-title text-end">상담일자</label>
|
|
|
|
<label class="form-label fw-bold form-search-title text-end">소인일자</label>
|
|
|
|
<span class="form-search-linebox">
|
|
|
|
<span class="form-search-linebox">
|
|
|
|
<input type="text" class="form-control form-date" id="schDscsnYmdFrom--${pageName}" name="schDscsnYmdFrom"
|
|
|
|
<input type="text" class="form-control form-date" id="schPstmrkYmdFrom--${pageName}" name="schPstmrkYmdFrom"
|
|
|
|
data-fmt-type="day" autocomplete="off" title="시작 날짜 선택" />
|
|
|
|
data-fmt-type="day" autocomplete="off" title="시작 날짜 선택" />
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
~
|
|
|
|
~
|
|
|
|
<input type="text" class="form-control form-date" id="schDscsnYmdTo--${pageName}" name="schDscsnYmdTo"
|
|
|
|
<input type="text" class="form-control form-date" id="schPstmrkYmdTo--${pageName}" name="schPstmrkYmdTo"
|
|
|
|
data-fmt-type="day" autocomplete="off" title="종료 날짜 선택" />
|
|
|
|
data-fmt-type="day" autocomplete="off" title="종료 날짜 선택" />
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- -->
|
|
|
|
<!-- 수납일자 -->
|
|
|
|
<div class="col-6">
|
|
|
|
<div class="col-6">
|
|
|
|
|
|
|
|
<label class="form-label fw-bold form-search-title text-end">수납일자</label>
|
|
|
|
|
|
|
|
<span class="form-search-linebox">
|
|
|
|
|
|
|
|
<input type="text" class="form-control form-date" id="schRcvmtYmdFrom--${pageName}" name="schRcvmtYmdFrom"
|
|
|
|
|
|
|
|
data-fmt-type="day" autocomplete="off" title="시작 날짜 선택" />
|
|
|
|
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
|
|
|
|
~
|
|
|
|
|
|
|
|
<input type="text" class="form-control form-date" id="schRcvmtYmdTo--${pageName}" name="schRcvmtYmdTo"
|
|
|
|
|
|
|
|
data-fmt-type="day" autocomplete="off" title="종료 날짜 선택" />
|
|
|
|
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 단속일자 -->
|
|
|
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
|
|
|
<label class="form-label fw-bold form-search-title text-end">단속일자</label>
|
|
|
|
|
|
|
|
<span class="form-search-linebox">
|
|
|
|
|
|
|
|
<input type="text" class="form-control form-date" id="schCrdnYmdFrom--${pageName}" name="schCrdnYmdFrom"
|
|
|
|
|
|
|
|
data-fmt-type="day" autocomplete="off" title="시작 날짜 선택" />
|
|
|
|
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
|
|
|
|
~
|
|
|
|
|
|
|
|
<input type="text" class="form-control form-date" id="schCrdnYmdTo--${pageName}" name="schCrdnYmdTo"
|
|
|
|
|
|
|
|
data-fmt-type="day" autocomplete="off" title="종료 날짜 선택" />
|
|
|
|
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 차량번호 -->
|
|
|
|
<!-- 차량번호 -->
|
|
|
|
<div class="col-6">
|
|
|
|
<div class="col-6">
|
|
|
|
<label class="form-label fw-bold form-search-title text-end">차량번호</label>
|
|
|
|
<label class="form-label fw-bold form-search-title text-end">차량번호</label>
|
|
|
|
<input type="text" class="form-control w-px-160" id="schVhrno--${pageName}" name="schVhrno" autocomplete="off" />
|
|
|
|
<input type="text" class="form-control w-px-160" id="schVhrno--${pageName}" name="schVhrno" autocomplete="off" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 납부자번호 -->
|
|
|
|
<!-- 납부자명 -->
|
|
|
|
<div class="col-6">
|
|
|
|
|
|
|
|
<label class="form-label fw-bold form-search-title text-end">납부자번호</label>
|
|
|
|
|
|
|
|
<input type="text" class="form-control w-px-160" id="schRtpyrNo--${pageName}" name="schRtpyrNo"autocomplete="off" />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 민원인명 -->
|
|
|
|
|
|
|
|
<div class="col-6">
|
|
|
|
<div class="col-6">
|
|
|
|
<label class="form-label fw-bold form-search-title text-end">민원인명</label>
|
|
|
|
<label class="form-label fw-bold form-search-title text-end">납부자명</label>
|
|
|
|
<input type="text" class="form-control w-px-160" id="schCvlprNm--${pageName}" name="schCvlprNm"autocomplete="off" />
|
|
|
|
<input type="text" class="form-control w-px-160" id="schRtpyrNm--${pageName}" name="schRtpyrNm"autocomplete="off" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 동적검색 -->
|
|
|
|
<!-- 동적검색 -->
|
|
|
|
<div class="col-6">
|
|
|
|
<div class="col-6">
|
|
|
@ -143,12 +161,6 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
<!-- 업무 버튼 -->
|
|
|
|
<!-- 업무 버튼 -->
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" id="btnUpdate--${pageName}" title="수정" onclick="fnUpdate${pageName}();">
|
|
|
|
|
|
|
|
수정
|
|
|
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" id="btnRemove--${pageName}" title="삭제" onclick="fnRemove${pageName}();">
|
|
|
|
|
|
|
|
삭제
|
|
|
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -166,14 +178,31 @@
|
|
|
|
<th class="cmn" style="width: 56px;">
|
|
|
|
<th class="cmn" style="width: 56px;">
|
|
|
|
<input type="checkbox" class="form-check-input" onchange="${pageName}Control.select(this.checked);">
|
|
|
|
<input type="checkbox" class="form-check-input" onchange="${pageName}Control.select(this.checked);">
|
|
|
|
</th>
|
|
|
|
</th>
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('CVLCPT_RCPT_SE_CD', this.innerText, 'codeValue', 'FIM065');">민원접수구분</th>
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('TASK_SE_CD', this.innerText, 'codeValue', 'FIM054');">업무구분</th>
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('DSCSN_YMD', this.innerText, 'ymd', '');">상담일자</th>
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('RCVMT_INPT_SE_CD', this.innerText, 'codeValue', 'FIM044');">수납입력구분</th>
|
|
|
|
<th class="cmn" style="width: 80px;" onclick="searchFromGridTitle('WEEK_NM', this.innerText, 'match', 'part');">요일</th>
|
|
|
|
<th class="cmn" style="width: 100px;" onclick="searchFromGridTitle('RCVMT_RTRCN_YN', this.innerText, 'codeValue', 'CMM005');">수납취소</th>
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('CVLPR_NM', this.innerText, 'match', 'part');">성명</th>
|
|
|
|
<th class="cmn" style="width: 100px;" onclick="searchFromGridTitle('ACNTG_YR', this.innerText, 'match', 'part');">회계연도</th>
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('CVLPR_CTTPC', this.innerText, 'match', 'part');">연락처</th>
|
|
|
|
<th class="cmn" style="width: 100px;" onclick="searchFromGridTitle('ACNTG_SE_CD', this.innerText, 'codeValue', 'FIM074');">회계구분</th>
|
|
|
|
<th class="cmn" style="width: 400px;" onclick="searchFromGridTitle('DSCSN_CN', this.innerText, 'match', 'part');">상담내용</th>
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('TXITM_CD', this.innerText, 'codeValue', 'FIM075');">세목코드</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 200px;" onclick="searchFromGridTitle('TXITM_CD', this.innerText, 'codeValue', 'FIM075');">세목명</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 100px;" onclick="searchFromGridTitle('LEVY_NO', this.innerText, 'match', 'part');">부과번호</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('RCVMT_SN', this.innerText, 'match', 'part');">수납일련번호</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('PSTMRK_YMD', this.innerText, 'ymd', '');">소인일자</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('ACNTG_YMD', this.innerText, 'ymd', '');">회계일자</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('RCVMT_YMD', this.innerText, 'ymd', '');">수납일자</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('RCVMT_PCPTAX', this.innerText, 'match', 'part');">수납본세</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('RCVMT_ADAMT', this.innerText, 'match', 'part');">수납가산금</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('RCVMT_INT', this.innerText, 'match', 'part');">수납이자</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 200px;" onclick="searchFromGridTitle('RCVMT_BANK_NM', this.innerText, 'match', 'part');">수납은행</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('PAY_MTHD_SE_CD', this.innerText, 'codeValue', 'FIM045');">납부방법</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 100px;" onclick="searchFromGridTitle('RCVMT_SE_CD', this.innerText, 'codeValue', 'FIM041');">수납구분</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('RCVMT_STTS_CD', this.innerText, 'codeValue', 'FIM020');">수납상태</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 180px;" onclick="searchFromGridTitle('CRDN_YMD', this.innerText, 'ymd', '');">단속일시</th>
|
|
|
|
<th class="cmn" style="width: 140px;" onclick="searchFromGridTitle('VHRNO', this.innerText, 'match', 'part');">차량번호</th>
|
|
|
|
<th class="cmn" style="width: 140px;" onclick="searchFromGridTitle('VHRNO', this.innerText, 'match', 'part');">차량번호</th>
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('RTPYR_NO', this.innerText, 'match', 'part');">납부자번호</th>
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('CRDN_STDG_NM', this.innerText, 'match', 'part');">법정동</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 280px;" onclick="searchFromGridTitle('CRDN_PLC', this.innerText, 'match', 'part');">단속장소</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('CRDN_STTS_CD', this.innerText, 'codeValue', 'FIM010');">처리상태</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 140px;" onclick="searchFromGridTitle('RTPYR_NM', this.innerText, 'match', 'part');">납부자명</th>
|
|
|
|
<th class="cmn" style="width: 180px;">등록일시</th>
|
|
|
|
<th class="cmn" style="width: 180px;">등록일시</th>
|
|
|
|
<th class="cmn" style="width: 140px;">등록사용자</th>
|
|
|
|
<th class="cmn" style="width: 140px;">등록사용자</th>
|
|
|
|
<th class="cmn" style="width: 180px;">수정일시</th>
|
|
|
|
<th class="cmn" style="width: 180px;">수정일시</th>
|
|
|
@ -184,19 +213,36 @@
|
|
|
|
<tbody id="tbody--${pageName}">
|
|
|
|
<tbody id="tbody--${pageName}">
|
|
|
|
</tbody>
|
|
|
|
</tbody>
|
|
|
|
<template id="${infoPrefix}Row--${pageName}">
|
|
|
|
<template id="${infoPrefix}Row--${pageName}">
|
|
|
|
<tr data-key="{CVLCPT_DSCSN_ID}">
|
|
|
|
<tr data-key="{RCVMT_ID}">
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ROW_NUM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ROW_NUM}</td>
|
|
|
|
<td class="cmn text-center">
|
|
|
|
<td class="cmn text-center">
|
|
|
|
<input type="checkbox" class="form-check-input" value="{CVLCPT_DSCSN_ID}" onchange="${pageName}Control.select('{CVLCPT_DSCSN_ID}', this.checked);">
|
|
|
|
<input type="checkbox" class="form-check-input" value="{RCVMT_ID}" onchange="${pageName}Control.select('{RCVMT_ID}', this.checked);">
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CVLCPT_RCPT_SE_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{TASK_SE_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DSCSN_YMD}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RCVMT_INPT_SE_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{WEEK_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RCVMT_RTRCN_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CVLPR_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ACNTG_YR}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CVLPR_CTTPC}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ACNTG_SE_CD}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{DSCSN_CN}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{TXITM_CD}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{TXITM_NM}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{LEVY_NO}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RCVMT_SN}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{PSTMRK_YMD}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ACNTG_YMD}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RCVMT_YMD}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{RCVMT_PCPTAX}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{RCVMT_ADAMT}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{RCVMT_INT}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RCVMT_BANK_NM}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{PAY_MTHD_SE_NM}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RCVMT_SE_NM}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RCVMT_STTS_NM}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_YMD_TM}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{VHRNO}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{VHRNO}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_NO}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_STDG_NM}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_PLC}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_STTS_NM}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{REG_DT}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{REG_DT}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RGTR_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RGTR_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{MDFCN_DT}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{MDFCN_DT}</td>
|
|
|
@ -206,7 +252,7 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<template id="${infoPrefix}NotFound--${pageName}">
|
|
|
|
<template id="${infoPrefix}NotFound--${pageName}">
|
|
|
|
<tr class="odd">
|
|
|
|
<tr class="odd">
|
|
|
|
<td valign="top" colspan="15" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
|
|
|
|
<td valign="top" colspan="32" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</table>
|
|
|
|
</table>
|
|
|
@ -230,7 +276,7 @@
|
|
|
|
* Global Variable
|
|
|
|
* Global Variable
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
// URL
|
|
|
|
// URL
|
|
|
|
var ${pageName}PrefixUrl = "/sprt/sprt04";
|
|
|
|
var ${pageName}PrefixUrl = "/rcvm/rcvm01";
|
|
|
|
// FormFields
|
|
|
|
// FormFields
|
|
|
|
var ${pageName}Fields = new FimsFormFields("#frmSearch--${pageName}");
|
|
|
|
var ${pageName}Fields = new FimsFormFields("#frmSearch--${pageName}");
|
|
|
|
|
|
|
|
|
|
|
@ -238,15 +284,24 @@
|
|
|
|
* DatasetControl
|
|
|
|
* DatasetControl
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
var ${pageName}Control = new DatasetControl({
|
|
|
|
var ${pageName}Control = new DatasetControl({
|
|
|
|
prefix : "cvlcptDscsn"
|
|
|
|
prefix : "rcvmt"
|
|
|
|
, prefixName : "민원상담내용"
|
|
|
|
, prefixName : "수납"
|
|
|
|
, infoSize : "lg"
|
|
|
|
, infoSize : "lg"
|
|
|
|
, keymapper : info => info ? info.CVLCPT_DSCSN_ID : ""
|
|
|
|
, keymapper : info => info ? info.RCVMT_ID : ""
|
|
|
|
, dataGetter : obj => obj.cvlcptDscsnList
|
|
|
|
, dataGetter : obj => obj.rcvmtList
|
|
|
|
, appendData : true
|
|
|
|
, appendData : true
|
|
|
|
, tableRenderComplete : false // dataTables 에 자료 추가 완료 여부
|
|
|
|
, tableRenderComplete : false // dataTables 에 자료 추가 완료 여부
|
|
|
|
|
|
|
|
, urls : {
|
|
|
|
|
|
|
|
getInfo : wctx.url("/sprt/sprt02/010/main.do") // 개별총정보
|
|
|
|
|
|
|
|
}
|
|
|
|
, formats : {
|
|
|
|
, formats : {
|
|
|
|
DSCSN_YMD : dateFormat
|
|
|
|
RCVMT_YMD : dateFormat
|
|
|
|
|
|
|
|
, ACNTG_YMD : dateFormat
|
|
|
|
|
|
|
|
, PSTMRK_YMD : dateFormat
|
|
|
|
|
|
|
|
, RCVMT_PCPTAX : numberFormat
|
|
|
|
|
|
|
|
, RCVMT_ADAMT : numberFormat
|
|
|
|
|
|
|
|
, RCVMT_INT : numberFormat
|
|
|
|
|
|
|
|
, CRDN_YMD_TM : datetimeFormat
|
|
|
|
, REG_DT : datetimeFormat
|
|
|
|
, REG_DT : datetimeFormat
|
|
|
|
, MDFCN_DT : datetimeFormat
|
|
|
|
, MDFCN_DT : datetimeFormat
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -268,14 +323,14 @@
|
|
|
|
, func : "${pageName}Control.load({index})"
|
|
|
|
, func : "${pageName}Control.load({index})"
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
${pageName}Control.tableRenderComplete = true; // dataTables 에 자료 추가 완료
|
|
|
|
${pageName}Control.tableRenderComplete = true; // dataTables 에 자료 추가 완료
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// 현재 선택 자료 변경 이벤트
|
|
|
|
// 현재 선택 자료 변경 이벤트
|
|
|
|
${pageName}Control.onCurrentChange = item => {
|
|
|
|
${pageName}Control.onCurrentChange = item => {
|
|
|
|
if (!item) return;
|
|
|
|
if (!item) return;
|
|
|
|
|
|
|
|
|
|
|
|
let key = item.data.CVLCPT_DSCSN_ID;
|
|
|
|
let key = item.data.RCVMT_ID;
|
|
|
|
|
|
|
|
|
|
|
|
$("#tbody--${pageName}").setCurrentRow(key);
|
|
|
|
$("#tbody--${pageName}").setCurrentRow(key);
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -291,69 +346,34 @@
|
|
|
|
checkbox.prop("checked", keys.includes(checkbox.val()));
|
|
|
|
checkbox.prop("checked", keys.includes(checkbox.val()));
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
$("#btnRemove--${pageName}").prop("disabled", keys.length < 1);
|
|
|
|
$("#btnLevyExclRemove--${pageName}").prop("disabled", keys.length < 1);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// 민원상담 dialog
|
|
|
|
// 개별총정보 dialog
|
|
|
|
${pageName}Control.getInfo = (cvlcptDscsnId) => {
|
|
|
|
${pageName}Control.getInfo = (crdnId) => {
|
|
|
|
if (typeof cvlcptDscsnId == "undefined" || cvlcptDscsnId == null || cvlcptDscsnId == "") {
|
|
|
|
if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let params = {
|
|
|
|
let params = {
|
|
|
|
callPurpose : "update"
|
|
|
|
callControlName : "${pageName}Control"
|
|
|
|
, sggCd : ${pageName}Control.dataset.getValue("SGG_CD")
|
|
|
|
, crdnId : crdnId
|
|
|
|
, taskSeCd : ${pageName}Control.dataset.getValue("TASK_SE_CD")
|
|
|
|
}
|
|
|
|
, cvlcptDscsnId : cvlcptDscsnId
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
ajax.get({
|
|
|
|
url : wctx.url(params.taskSeCd + ${pageName}PrefixUrl + "/020/info.do")
|
|
|
|
url : ${pageName}Control.urls.getInfo
|
|
|
|
, data : params || {}
|
|
|
|
, data : params
|
|
|
|
, success : resp => {
|
|
|
|
, success : resp => {
|
|
|
|
dialog.open({
|
|
|
|
dialog.open({
|
|
|
|
id : ${pageName}Control.prefixed("Dialog")
|
|
|
|
id : "totalInfoMainDialog"
|
|
|
|
, title : ${pageName}Control.prefixName + " 수정"
|
|
|
|
, title : "개별총정보"
|
|
|
|
, content : resp
|
|
|
|
, content : resp
|
|
|
|
, size : "lg"
|
|
|
|
, size : "xxl"
|
|
|
|
, init : () => { }
|
|
|
|
, init : () => { }
|
|
|
|
, onClose : () => { ${pageName}Control.load(${pageName}Control.query.pageNum); } // callback 자료 재조회
|
|
|
|
, onClose : () => { }
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 삭제 callback
|
|
|
|
|
|
|
|
${pageName}Control.onRemove = (selected, resp) => {
|
|
|
|
|
|
|
|
let btnTitle = $("#btnRemove--${pageName}").attr("title");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let showMessage = resp.retMessage.replace(/[S]|[F]/g, btnTitle);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dialog.alert(showMessage);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (resp.saved) {
|
|
|
|
|
|
|
|
${pageName}Control._load();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 삭제
|
|
|
|
|
|
|
|
${pageName}Control.remove = (params) => {
|
|
|
|
|
|
|
|
let selected = ${pageName}Control.dataset.getKeys("selected");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (selected.length < 1) return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!params) {
|
|
|
|
|
|
|
|
params = {};
|
|
|
|
|
|
|
|
params[${pageName}Control.prefixed("IDs")] = selected.join(",");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ajax.post({
|
|
|
|
|
|
|
|
url : ${pageName}Control.urls.remove
|
|
|
|
|
|
|
|
, data : params
|
|
|
|
|
|
|
|
, success : resp => ${pageName}Control.onRemove(selected, resp)
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|
*
|
|
|
|
*
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
@ -367,8 +387,8 @@
|
|
|
|
${infoPrefix}List.inStrings(
|
|
|
|
${infoPrefix}List.inStrings(
|
|
|
|
document.getElementById("${infoPrefix}Row--${pageName}").innerHTML, <%-- from template#${infoPrefix}Row --%>
|
|
|
|
document.getElementById("${infoPrefix}Row--${pageName}").innerHTML, <%-- from template#${infoPrefix}Row --%>
|
|
|
|
(str, dataItem) => str
|
|
|
|
(str, dataItem) => str
|
|
|
|
.replace(/{onclick}/gi, "${pageName}Control.setCurrent('" + dataItem.getValue("CVLCPT_DSCSN_ID") + "');")
|
|
|
|
.replace(/{onclick}/gi, "${pageName}Control.setCurrent('" + dataItem.getValue("RCVMT_ID") + "');")
|
|
|
|
.replace(/{ondblclick}/gi, "${pageName}Control.getInfo('" + dataItem.getValue("CVLCPT_DSCSN_ID") + "');")
|
|
|
|
.replace(/{ondblclick}/gi, "${pageName}Control.getInfo('" + dataItem.getValue("CRDN_ID") + "');")
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
$("#tbody--${pageName}").html(trs.join());
|
|
|
|
$("#tbody--${pageName}").html(trs.join());
|
|
|
@ -381,6 +401,15 @@
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|
* 초기 셋팅
|
|
|
|
* 초기 셋팅
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
|
|
|
|
// 초기화
|
|
|
|
|
|
|
|
initForm${pageName} = () => {
|
|
|
|
|
|
|
|
// 화면 초기화
|
|
|
|
|
|
|
|
$("#frmSearch--${pageName}")[0].reset();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// dataset 초기화
|
|
|
|
|
|
|
|
${pageName}Control.dataset.clear();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 이벤트
|
|
|
|
// 이벤트
|
|
|
|
setEvent${pageName} = () => {
|
|
|
|
setEvent${pageName} = () => {
|
|
|
|
// form-date 항목에서 키보드로 입력시 날짜 포맷팅 적용
|
|
|
|
// form-date 항목에서 키보드로 입력시 날짜 포맷팅 적용
|
|
|
@ -396,6 +425,9 @@
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// DataTables width 변경 조정 업무별 그리드가 존재 한다면.. crdn06010-main.jsp 참고
|
|
|
|
|
|
|
|
$("#DataTables_Table_0--${pageName}").find("th").resizable( {handles : "e"} );
|
|
|
|
|
|
|
|
|
|
|
|
// DataTables 스크롤 이벤트
|
|
|
|
// DataTables 스크롤 이벤트
|
|
|
|
$("#table-responsive--${pageName}").scroll(function() {
|
|
|
|
$("#table-responsive--${pageName}").scroll(function() {
|
|
|
|
let el = $(this);
|
|
|
|
let el = $(this);
|
|
|
@ -408,7 +440,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
let itemsCnt = ${pageName}Control.dataset._items.length;
|
|
|
|
let itemsCnt = ${pageName}Control.dataset._items.length;
|
|
|
|
let totCnt = ${pageName}Control.dataset.getValue("TOT_CNT");
|
|
|
|
let totCnt = ${pageName}Control.dataset.getValue("TOT_CNT"); // let totCnt = ${pageName}Control.dataset.getCurrent("item").data.TOT_CNT;
|
|
|
|
|
|
|
|
|
|
|
|
if (itemsCnt >= totCnt) {
|
|
|
|
if (itemsCnt >= totCnt) {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
@ -435,23 +467,36 @@
|
|
|
|
// 달력 초기화
|
|
|
|
// 달력 초기화
|
|
|
|
initDatepicker("frmSearch--${pageName}");
|
|
|
|
initDatepicker("frmSearch--${pageName}");
|
|
|
|
|
|
|
|
|
|
|
|
$("#schDscsnYmdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-1).date);
|
|
|
|
$("#schPstmrkYmdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-365).date);
|
|
|
|
$("#schDscsnYmdTo--${pageName}").datepicker("setDate", new Date());
|
|
|
|
$("#schPstmrkYmdTo--${pageName}").datepicker("setDate", new Date());
|
|
|
|
|
|
|
|
|
|
|
|
// DataTables width 변경 조정
|
|
|
|
|
|
|
|
$("#DataTables_Table_0--${pageName}").find("th").resizable( {handles : "e"} );
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// URL 설정
|
|
|
|
// URL 설정
|
|
|
|
setURL${pageName} = (taskSeCd) => {
|
|
|
|
setURL${pageName} = (taskSeCd) => {
|
|
|
|
${pageName}Control.urls.load = wctx.url("/" + taskSeCd + ${pageName}PrefixUrl + "/010/list.do"); // 조회
|
|
|
|
${pageName}Control.urls.load = wctx.url("/" + taskSeCd + ${pageName}PrefixUrl + "/010/list.do"); // 조회
|
|
|
|
${pageName}Control.urls.remove = wctx.url("/" + taskSeCd + ${pageName}PrefixUrl + "/010/removes.do"); // 삭제
|
|
|
|
|
|
|
|
${pageName}Control.urls.getInfo = wctx.url("/" + taskSeCd + "/sprt/sprt02/010/main.do"); // 개별총정보
|
|
|
|
${pageName}Control.urls.getInfo = wctx.url("/" + taskSeCd + "/sprt/sprt02/010/main.do"); // 개별총정보
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|
* 버튼 clickEvent
|
|
|
|
* 버튼 clickEvent
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
|
|
|
|
// 업무 구분 변경
|
|
|
|
|
|
|
|
fnResetAndChangeBiz${pageName} = (taskSeCd) => {
|
|
|
|
|
|
|
|
// 초기화
|
|
|
|
|
|
|
|
initForm${pageName}();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 업무 구분 코드
|
|
|
|
|
|
|
|
if (typeof taskSeCd == "undefined" || taskSeCd == null || taskSeCd == "") {
|
|
|
|
|
|
|
|
taskSeCd = $("#layout-navbar input[name='taskSeCd']:checked").val();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 화면 초기값 설정
|
|
|
|
|
|
|
|
setForm${pageName}(taskSeCd);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// URL 설정
|
|
|
|
|
|
|
|
setURL${pageName}(taskSeCd);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 초기화 버튼 이벤트
|
|
|
|
// 초기화 버튼 이벤트
|
|
|
|
fnReset${pageName} = () => {
|
|
|
|
fnReset${pageName} = () => {
|
|
|
|
fnResetAndChangeBiz${pageName}();
|
|
|
|
fnResetAndChangeBiz${pageName}();
|
|
|
@ -462,8 +507,9 @@
|
|
|
|
// 검색조건
|
|
|
|
// 검색조건
|
|
|
|
${pageName}Control.query = ${pageName}Fields.get();
|
|
|
|
${pageName}Control.query = ${pageName}Fields.get();
|
|
|
|
|
|
|
|
|
|
|
|
${pageName}Control.query.fetchSize = FETCH_XS; // 한번에 조회되는 자료 건수 FETCH_XS = 30
|
|
|
|
${pageName}Control.query.fetchSize = FETCH_XS; // 한번에 조회되는 자료 건수 FETCH_XS = 30
|
|
|
|
${pageName}Control.query.delYn = "N"; // 삭제 여부
|
|
|
|
${pageName}Control.query.delYn = "N"; // 삭제 여부
|
|
|
|
|
|
|
|
${pageName}Control.query.crdnDelYn = "N"; // 단속 대장 삭제 여부
|
|
|
|
|
|
|
|
|
|
|
|
${pageName}Control.load();
|
|
|
|
${pageName}Control.load();
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -473,61 +519,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 업무 구분 변경
|
|
|
|
|
|
|
|
fnResetAndChangeBiz${pageName} = (taskSeCd) => {
|
|
|
|
|
|
|
|
// 화면 초기화
|
|
|
|
|
|
|
|
$("#frmSearch--${pageName}")[0].reset();
|
|
|
|
|
|
|
|
// dataset 초기화
|
|
|
|
|
|
|
|
${pageName}Control.dataset.clear();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 업무 구분 코드
|
|
|
|
|
|
|
|
if (typeof taskSeCd == "undefined" || taskSeCd == null || taskSeCd == "") {
|
|
|
|
|
|
|
|
taskSeCd = $("#layout-navbar input[name='taskSeCd']:checked").val();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 화면 초기값 설정
|
|
|
|
|
|
|
|
setForm${pageName}(taskSeCd);
|
|
|
|
|
|
|
|
// URL 설정
|
|
|
|
|
|
|
|
setURL${pageName}(taskSeCd);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 사용자 조회 버튼 이벤트
|
|
|
|
// 사용자 조회 버튼 이벤트
|
|
|
|
fnUser${pageName} = () => {
|
|
|
|
fnUser${pageName} = () => {
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 수정 버튼 이벤트
|
|
|
|
|
|
|
|
fnUpdate${pageName} = () => {
|
|
|
|
|
|
|
|
${pageName}Control.getInfo(${pageName}Control.dataset.getValue("CVLCPT_DSCSN_ID"));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 삭제 버튼 이벤트
|
|
|
|
|
|
|
|
fnRemove${pageName} = () => {
|
|
|
|
|
|
|
|
dialog.alert({
|
|
|
|
|
|
|
|
content : "선택한 부과제외 정보를 삭제하시겠습니까?"
|
|
|
|
|
|
|
|
, onOK : () => {
|
|
|
|
|
|
|
|
${pageName}Control.remove();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|
* script 진입
|
|
|
|
* script 진입
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
$(document).ready(function() {
|
|
|
|
$(document).ready(function() {
|
|
|
|
// 보안모드
|
|
|
|
// 기본 데이터 설정
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|
$("#sggCd--${pageName}").val("${sggCd}"); // 시군구 코드
|
|
|
|
|
|
|
|
|
|
|
|
// 이벤트 설정
|
|
|
|
// 이벤트 설정
|
|
|
|
setEvent${pageName}();
|
|
|
|
setEvent${pageName}();
|
|
|
|
|
|
|
|
|
|
|
|
// 시군구 코드 설정
|
|
|
|
// 보안모드
|
|
|
|
$("#sggCd--${pageName}").val("${sggCd}");
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|
|
|
|
|
|
|
|
|
// 업무 구분 설정
|
|
|
|
// 업무 구분 설정
|
|
|
|
let defaultBizValue = $("#layout-navbar input[name='taskSeCd']:checked").val();
|
|
|
|
let defaultBizValue = $("#layout-navbar input[name='taskSeCd']:checked").val();
|
|
|
|
$("#frmSearch--${pageName} input[name='taskSeCd'][value='" + defaultBizValue + "']").prop("checked", true);
|
|
|
|
$("#frmSearch--${pageName} input[name='taskSeCd'][value='" + defaultBizValue + "']").prop("checked", true);
|
|
|
|
|
|
|
|
|
|
|
|
// 업무 구분 및 화면 초기 설정
|
|
|
|
// 화면 초기 설정 및 업무 구분 변경
|
|
|
|
fnResetAndChangeBiz${pageName}(defaultBizValue);
|
|
|
|
fnResetAndChangeBiz${pageName}(defaultBizValue);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|