|
|
|
@ -48,30 +48,33 @@
|
|
|
|
|
</c:forEach>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 의견제출 접수일자 -->
|
|
|
|
|
<!-- 배달일자 -->
|
|
|
|
|
<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">
|
|
|
|
|
<input type="text" class="form-control form-date" id="schRcptYmdFrom--${pageName}" name="schRcptYmdFrom"
|
|
|
|
|
<input type="text" class="form-control form-date" id="schDlvrYmdFrom--${pageName}" name="schDlvrYmdFrom"
|
|
|
|
|
data-fmt-type="day" title="시작 날짜 선택" />
|
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
|
~
|
|
|
|
|
<input type="text" class="form-control form-date" id="schRcptYmdTo--${pageName}" name="schRcptYmdTo"
|
|
|
|
|
<input type="text" class="form-control form-date" id="schDlvrYmdTo--${pageName}" name="schDlvrYmdTo"
|
|
|
|
|
data-fmt-type="day" 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>
|
|
|
|
|
<select class="form-select" id="schVltnCd--${pageName}" name="schVltnCd">
|
|
|
|
|
<option value="">전체</option>
|
|
|
|
|
<c:forEach items="${FIM004List}" var="item">
|
|
|
|
|
<option value="${item.code}">${item.value}</option>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
</select>
|
|
|
|
|
<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="schSndngYmdFrom--${pageName}" name="schSndngYmdFrom"
|
|
|
|
|
data-fmt-type="day" title="시작 날짜 선택" />
|
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
|
~
|
|
|
|
|
<input type="text" class="form-control form-date" id="schSndngYmdTo--${pageName}" name="schSndngYmdTo"
|
|
|
|
|
data-fmt-type="day" 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>
|
|
|
|
|
<select class="form-select w-px-150" id="schSndngSeCd--${pageName}" name="schSndngSeCd">
|
|
|
|
@ -81,21 +84,26 @@
|
|
|
|
|
</c:forEach>
|
|
|
|
|
</select>
|
|
|
|
|
</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="schVhrno--${pageName}" name="schVhrno" />
|
|
|
|
|
<label class="form-label fw-bold form-search-title text-end">위반항목</label>
|
|
|
|
|
<select class="form-select" id="schVltnCd--${pageName}" name="schVltnCd">
|
|
|
|
|
<option value="">전체</option>
|
|
|
|
|
<c:forEach items="${FIM004List}" var="item">
|
|
|
|
|
<option value="${item.code}">${item.value}</option>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
</select>
|
|
|
|
|
</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" title="시작 날짜 선택" />
|
|
|
|
|
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" title="종료 날짜 선택" />
|
|
|
|
|
data-fmt-type="day" autocomplete="off" title="종료 날짜 선택" />
|
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
@ -114,6 +122,22 @@
|
|
|
|
|
</button>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 선택등기 표시 -->
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
<div class="form-check">
|
|
|
|
|
<input type="checkbox" class="form-check-input" id="schChcRgIndct--${pageName}" name="schChcRgIndct" value="" checked>
|
|
|
|
|
<label class="form-check-label" for="schChcRgIndct--${pageName}">선택등기표시</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 상세 검색조건 버튼 -->
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
<span class="flr">
|
|
|
|
|
<button type="button" class="btn btn-open-detail" data-bs-toggle="collapse" data-bs-target="#searchDetail--${pageName}">
|
|
|
|
|
<i class="bx bx-chevron-down"></i>
|
|
|
|
|
상세검색
|
|
|
|
|
</button>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- / 메인 조건 -->
|
|
|
|
@ -121,16 +145,6 @@
|
|
|
|
|
<!-- 상세 조건 -->
|
|
|
|
|
<div id="searchDetail--${pageName}" class="container-search container-search-detail collapse">
|
|
|
|
|
<div class="row g-1">
|
|
|
|
|
<!-- 진술자명 -->
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
<label class="form-label fw-bold form-search-title text-end">진술자명</label>
|
|
|
|
|
<input type="text" class="form-control w-px-150" id="schSttrNm--${pageName}" name="schSttrNm" />
|
|
|
|
|
</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-150" id="schRtpyrNm--${pageName}" name="schRtpyrNm" />
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 등록일자, 수정일자 -->
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
<select class="form-select text-center" id="schDetailRegDtOpt--${pageName}" name="schDetailRegDtOpt">
|
|
|
|
@ -172,10 +186,10 @@
|
|
|
|
|
</div>
|
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
|
<!-- 업무 버튼 -->
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" id="btnSndngLinkCreate--${pageName}" title="우편통합 발송" onclick="createSndngLink${pageName}();">
|
|
|
|
|
우편통합 발송
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" id="btnSndngLink--${pageName}" title="통합우편 발송" onclick="fnSndngLink${pageName}();">
|
|
|
|
|
통합우편 발송
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" id="btnSvbtcInfo--${pageName}" title="공시송달 등록" onclick="svbtcInfo${pageName}();">
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" id="btnSvbtcInfo--${pageName}" title="공시송달 등록" onclick="fnSvbtcInfo${pageName}();">
|
|
|
|
|
공시송달 등록
|
|
|
|
|
</button>
|
|
|
|
|
</span>
|
|
|
|
@ -196,24 +210,23 @@
|
|
|
|
|
<input type="checkbox" class="form-check-input" onchange="${pageName}Control.select(this.checked);">
|
|
|
|
|
</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('RCPT_YMD', this.innerText, 'ymd', '');">접수일자</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('RCPT_NO', this.innerText, 'match', 'part');">접수번호</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('RCPT_SE_CD', this.innerText, 'codeValue', 'FIM029');">접수구분</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('NTFCTN_SE_CD', this.innerText, 'codeValue', 'FIM030');">통보구분</th>
|
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('STTR_NM', this.innerText, 'match', 'part');">진술자명</th>
|
|
|
|
|
<th class="cmn" style="width: 140px;" onclick="searchFromGridTitle('OPNN_SBMSN_STTS_CD', this.innerText, 'codeValue', 'FIM031');">의견제출상태</th>
|
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('OPNN_SBMSN_SE_CD', this.innerText, 'codeValue', 'FIM033');">의견제출분류</th>
|
|
|
|
|
<th class="cmn" style="width: 280px;" onclick="searchFromGridTitle('OPNN_SBMSN_GIST', this.innerText, 'match', 'part');">의견제출요지</th>
|
|
|
|
|
<th class="cmn" style="width: 140px;">고지번호</th>
|
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('RG_NO', this.innerText, 'match', 'part');">등기번호</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('DLVR_YMD', this.innerText, 'ymd', '');">배달일자</th>
|
|
|
|
|
<th class="cmn" style="width: 100px;" onclick="searchFromGridTitle('DLVR_TM', this.innerText, 'time', '');">배달시간</th>
|
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('UNDLVR_RSN_NM', this.innerText, 'match', 'part');">미배달사유</th>
|
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('RCPN_NM', this.innerText, 'match', 'part');">수령인</th>
|
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('SNDNG_SE_CD', this.innerText, 'codeValue', 'FIM047');">발송구분</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('SNDNG_YMD', this.innerText, 'ymd', '');">발송일자</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('FFNLG_AMT', this.innerText, 'match', 'part');">과태료금액</th>
|
|
|
|
|
<th class="cmn" style="width: 200px;" onclick="searchFromGridTitle('RTPYR_NM', this.innerText, 'match', 'part');">성명</th>
|
|
|
|
|
<th class="cmn" style="width: 100px;" onclick="searchFromGridTitle('RTPYR_ZIP', this.innerText, 'match', 'part');">우편번호</th>
|
|
|
|
|
<th class="cmn" style="width: 280px;" onclick="searchFromGridTitle('RTPYR_ADDR', this.innerText, 'match', 'part');">주소</th>
|
|
|
|
|
<th class="cmn" style="width: 320px;" onclick="searchFromGridTitle('RTPYR_DTL_ADDR', this.innerText, 'match', 'part');">상세주소</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: 280px;" onclick="searchFromGridTitle('CRDN_PLC', this.innerText, 'match', 'part');">단속장소</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('FFNLG_AMT', 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('DOC_NO', this.innerText, 'ymd', '');">문서번호</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('ANS_YMD', this.innerText, 'ymd', '');">답변일자</th>
|
|
|
|
|
<th class="cmn" style="width: 240px;" onclick="searchFromGridTitle('ANS_CN', this.innerText, 'match', 'part');">답변내용</th>
|
|
|
|
|
<th class="cmn" style="width: 200px;" onclick="searchFromGridTitle('RTPYR_NM', this.innerText, 'match', 'part');">납부자명</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('RTPYR_BRDT', this.innerText, 'match', 'part');">납부자생일</th>
|
|
|
|
|
<th class="cmn" style="width: 180px;">등록일시</th>
|
|
|
|
|
<th class="cmn" style="width: 140px;">등록사용자</th>
|
|
|
|
|
<th class="cmn" style="width: 180px;">수정일시</th>
|
|
|
|
@ -224,30 +237,29 @@
|
|
|
|
|
<tbody id="tbody--${pageName}">
|
|
|
|
|
</tbody>
|
|
|
|
|
<template id="${infoPrefix}Row--${pageName}">
|
|
|
|
|
<tr data-key="{OPNN_ID}">
|
|
|
|
|
<tr data-key="{SNDNG_DTL_ID}">
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ROW_NUM}</td>
|
|
|
|
|
<td class="cmn text-center">
|
|
|
|
|
<input type="checkbox" class="form-check-input" value="{OPNN_ID}" onchange="${pageName}Control.select('{OPNN_ID}', this.checked);">
|
|
|
|
|
<input type="checkbox" class="form-check-input" value="{SNDNG_DTL_ID}" onchange="${pageName}Control.select('{SNDNG_DTL_ID}', this.checked);">
|
|
|
|
|
</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{TASK_SE_NM}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RCPT_YMD}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RCPT_NO}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RCPT_SE_NM}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{NTFCTN_SE_NM}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{STTR_NM}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{OPNN_SBMSN_STTS_NM}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{OPNN_SBMSN_SE_NM}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{OPNN_SBMSN_GIST}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{GOJI_NO}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RG_NO}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DLVR_YMD}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DLVR_TM}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{UNDLVR_RSN_NM}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RCPN_NM}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{SNDNG_SE_NM}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{SNDNG_YMD}</td>
|
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{FFNLG_AMT}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_NM}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_ZIP}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_ADDR}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_DTL_ADDR}</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}">{CRDN_PLC}</td>
|
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{FFNLG_AMT}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_STTS_NM}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DOC_NO}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ANS_YMD}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{ANS_CN}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_NM}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_BRDT}</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}">{MDFCN_DT}</td>
|
|
|
|
@ -257,7 +269,7 @@
|
|
|
|
|
</template>
|
|
|
|
|
<template id="${infoPrefix}NotFound--${pageName}">
|
|
|
|
|
<tr class="odd">
|
|
|
|
|
<td valign="top" colspan="26" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
|
|
|
|
|
<td valign="top" colspan="25" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</template>
|
|
|
|
|
</table>
|
|
|
|
@ -282,7 +294,7 @@
|
|
|
|
|
* Global Variable
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
// URL
|
|
|
|
|
var ${pageName}PrefixUrl = "/excl/excl02";
|
|
|
|
|
var ${pageName}PrefixUrl = "/sndb/sndb01";
|
|
|
|
|
// FormFields
|
|
|
|
|
var ${pageName}Fields = new FormFields("#frmSearch--${pageName}");
|
|
|
|
|
// 공통 코드
|
|
|
|
@ -296,19 +308,18 @@
|
|
|
|
|
* DatasetControl
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
var ${pageName}Control = new DatasetControl({
|
|
|
|
|
prefix : "opnn"
|
|
|
|
|
, prefixName : "의견제출"
|
|
|
|
|
prefix : "sndbk"
|
|
|
|
|
, prefixName : "반송"
|
|
|
|
|
, infoSize : "xl"
|
|
|
|
|
, keymapper : info => info ? info.OPNN_ID : ""
|
|
|
|
|
, dataGetter : obj => obj.opnnSbmsnList
|
|
|
|
|
, keymapper : info => info ? info.SNDNG_DTL_ID : ""
|
|
|
|
|
, dataGetter : obj => obj.sndbkList
|
|
|
|
|
, appendData : true
|
|
|
|
|
, tableRenderComplete : false // dataTables 에 자료 추가 완료 여부
|
|
|
|
|
, formats : {
|
|
|
|
|
RCPT_YMD : dateFormat
|
|
|
|
|
, ANS_YMD : dateFormat
|
|
|
|
|
, ANS_YMD_TM : datetimeFormat
|
|
|
|
|
DLVR_YMD : dateFormat
|
|
|
|
|
, DLVR_TM : timeFormat
|
|
|
|
|
, SNDNG_YMD : dateFormat
|
|
|
|
|
, CRDN_YMD_TM : datetimeFormat
|
|
|
|
|
, FFNLG_CRDN_AMT : numberFormat
|
|
|
|
|
, FFNLG_AMT : numberFormat
|
|
|
|
|
, REG_DT : datetimeFormat
|
|
|
|
|
, MDFCN_DT : datetimeFormat
|
|
|
|
@ -338,7 +349,7 @@
|
|
|
|
|
${pageName}Control.onCurrentChange = item => {
|
|
|
|
|
if (!item) return;
|
|
|
|
|
|
|
|
|
|
let key = item.data.OPNN_ID;
|
|
|
|
|
let key = item.data.SNDNG_DTL_ID;
|
|
|
|
|
|
|
|
|
|
$("#tbody--${pageName}").setCurrentRow(key);
|
|
|
|
|
};
|
|
|
|
@ -353,8 +364,6 @@
|
|
|
|
|
|
|
|
|
|
checkbox.prop("checked", keys.includes(checkbox.val()));
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$("#btn${infoPrefix}Remove--${pageName}").prop("disabled", keys.length < 1);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// 개별총정보 dialog
|
|
|
|
@ -380,18 +389,6 @@
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 삭제 callback
|
|
|
|
|
${pageName}Control.onRemove = (selected, resp) => {
|
|
|
|
|
let btnTitle = $("#btn${infoPrefix}Remove--${pageName}").attr("title");
|
|
|
|
|
let showMessage = resp.retMessage.replace(/[S]|[F]/g, btnTitle);
|
|
|
|
|
|
|
|
|
|
dialog.alert(showMessage);
|
|
|
|
|
|
|
|
|
|
if (resp.saved) {
|
|
|
|
|
${pageName}Control._load();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
*
|
|
|
|
|
**************************************************************************/
|
|
|
|
@ -405,7 +402,7 @@
|
|
|
|
|
${infoPrefix}List.inStrings(
|
|
|
|
|
document.getElementById("${infoPrefix}Row--${pageName}").innerHTML, <%-- from template#${infoPrefix}Row --%>
|
|
|
|
|
(str, dataItem) => str
|
|
|
|
|
.replace(/{onclick}/gi, "${pageName}Control.setCurrent('" + dataItem.getValue("OPNN_ID") + "');")
|
|
|
|
|
.replace(/{onclick}/gi, "${pageName}Control.setCurrent('" + dataItem.getValue("SNDNG_DTL_ID") + "');")
|
|
|
|
|
.replace(/{ondblclick}/gi, "${pageName}Control.getInfo('" + dataItem.getValue("CRDN_ID") + "');")
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
@ -416,44 +413,6 @@
|
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 수정 dialog -> callback 추가
|
|
|
|
|
getInfo${pageName} = (params) => {
|
|
|
|
|
if (!params) return;
|
|
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
|
url : wctx.url("/" + params.taskSeCd + ${pageName}PrefixUrl + "/020/info.do")
|
|
|
|
|
, data : params || {}
|
|
|
|
|
, success : resp => {
|
|
|
|
|
dialog.open({
|
|
|
|
|
id : ${pageName}Control.prefixed("Dialog")
|
|
|
|
|
, title : ${pageName}Control.prefixName + " 정보"
|
|
|
|
|
, content : resp
|
|
|
|
|
, size : ${pageName}Control.infoSize
|
|
|
|
|
, onClose : () => { ${pageName}Control.load(${pageName}Control.query.pageNum); } // callback
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 심의 dialog
|
|
|
|
|
getDlbrInfo${pageName} = (params) => {
|
|
|
|
|
if (!params) return;
|
|
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
|
url : wctx.url("/" + params.taskSeCd + ${pageName}PrefixUrl + "/030/info.do")
|
|
|
|
|
, data : params || {}
|
|
|
|
|
, success : resp => {
|
|
|
|
|
dialog.open({
|
|
|
|
|
id : ${pageName}Control.prefixed("SbmsnDialog")
|
|
|
|
|
, title : ${pageName}Control.prefixName + " 심의 처리"
|
|
|
|
|
, content : resp
|
|
|
|
|
, size : "lg"
|
|
|
|
|
, onClose : () => { ${pageName}Control.load(${pageName}Control.query.pageNum); } // callback
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
* 초기 셋팅
|
|
|
|
|
**************************************************************************/
|
|
|
|
@ -547,33 +506,13 @@
|
|
|
|
|
// 달력 초기화
|
|
|
|
|
initDatepicker("frmSearch--${pageName}");
|
|
|
|
|
|
|
|
|
|
$("#schRcptYmdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-365).date);
|
|
|
|
|
$("#schRcptYmdTo--${pageName}").datepicker("setDate", new Date());
|
|
|
|
|
|
|
|
|
|
// 업무별 조회조건
|
|
|
|
|
let clsForTask = taskSeCd.toLowerCase();
|
|
|
|
|
|
|
|
|
|
renderForTask("frmSearch--${pageName}", clsForTask);
|
|
|
|
|
|
|
|
|
|
// 업무별 그리드 th
|
|
|
|
|
$("#DataTables_Table_0--${pageName}").find("th").resizable( "destroy" );
|
|
|
|
|
|
|
|
|
|
let colContent = document.getElementById("${infoPrefix}Col--${pageName}").content;
|
|
|
|
|
let cols = $(colContent).find("." + clsForTask + ",.cmn");
|
|
|
|
|
let colsOuterHTML = "";
|
|
|
|
|
|
|
|
|
|
cols.each(function() {
|
|
|
|
|
colsOuterHTML += this.outerHTML;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$("#theadTr--${pageName}").html(colsOuterHTML);
|
|
|
|
|
$("#DataTables_Table_0--${pageName}").find("th").resizable( {handles : "e"} );
|
|
|
|
|
$("#schDlvrYmdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-365).date);
|
|
|
|
|
$("#schDlvrYmdTo--${pageName}").datepicker("setDate", new Date());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// URL 설정
|
|
|
|
|
setURL${pageName} = (taskSeCd) => {
|
|
|
|
|
${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.load = wctx.url("/" + taskSeCd + ${pageName}PrefixUrl + "/230/list.do"); // 조회
|
|
|
|
|
${pageName}Control.urls.getInfo = wctx.url("/" + taskSeCd + "/sprt/sprt02/010/main.do"); // 개별총정보
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -607,9 +546,13 @@
|
|
|
|
|
// 검색조건
|
|
|
|
|
${pageName}Control.query = ${pageName}Fields.get();
|
|
|
|
|
|
|
|
|
|
${pageName}Control.query.fetchSize = FETCH_XS; // 한번에 조회되는 자료 건수 FETCH_XS = 30
|
|
|
|
|
${pageName}Control.query.delYn = "N"; // 삭제 여부
|
|
|
|
|
${pageName}Control.query.crdnDelYn = "N"; // 단속 대장 삭제 여부
|
|
|
|
|
${pageName}Control.query.fetchSize = FETCH_XS; // 한번에 조회되는 자료 건수 FETCH_XS = 30
|
|
|
|
|
${pageName}Control.query.sndngDtlSttsCd = "05"; // FIM050 - 05 반송
|
|
|
|
|
${pageName}Control.query.rcpnRelNm1 = "무인배달"; // 13
|
|
|
|
|
${pageName}Control.query.rcpnRelNm2 = "우편수취함"; // 14
|
|
|
|
|
${pageName}Control.query.rcpnRelNm3 = "전자수취함배달"; // 15
|
|
|
|
|
${pageName}Control.query.rcpnRelNm4 = "수령희망장소배달"; // 16
|
|
|
|
|
${pageName}Control.query.delYn = "N"; // 삭제 여부
|
|
|
|
|
|
|
|
|
|
${pageName}Control.load();
|
|
|
|
|
}
|
|
|
|
@ -619,48 +562,14 @@
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 수정 버튼 이벤트
|
|
|
|
|
${infoPrefix}Info${pageName} = () => {
|
|
|
|
|
let = ${pageName}Control.dataset.getValue("OPNN_ID");
|
|
|
|
|
// 통합우편 발송 버튼 이벤트
|
|
|
|
|
fnSndngLink${pageName} = () => {
|
|
|
|
|
|
|
|
|
|
// 의견제출 ID 가 없다면.. return
|
|
|
|
|
if (!opnnId) return;
|
|
|
|
|
|
|
|
|
|
let params = {
|
|
|
|
|
callPurpose : "update"
|
|
|
|
|
, sggCd : ${pageName}Control.dataset.getValue("SGG_CD") // 시군구 코드
|
|
|
|
|
, taskSeCd : ${pageName}Control.dataset.getValue("TASK_SE_CD") // 업무 구분 코드
|
|
|
|
|
, opnnId : opnnId
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
getInfo${pageName}(params);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 심의 버튼 이벤트
|
|
|
|
|
${infoPrefix}DlbrInfo${pageName} = () => {
|
|
|
|
|
let opnnId = ${pageName}Control.dataset.getValue("OPNN_ID");
|
|
|
|
|
|
|
|
|
|
// 의견제출 ID 가 없다면.. return
|
|
|
|
|
if (!opnnId) return;
|
|
|
|
|
|
|
|
|
|
let params = {
|
|
|
|
|
callPurpose : "update"
|
|
|
|
|
, sggCd : ${pageName}Control.dataset.getValue("SGG_CD") // 시군구 코드
|
|
|
|
|
, taskSeCd : ${pageName}Control.dataset.getValue("TASK_SE_CD") // 업무 구분 코드
|
|
|
|
|
, opnnId : opnnId
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
getDlbrInfo${pageName}(params);
|
|
|
|
|
}
|
|
|
|
|
// 공시송달 등록 버튼 이벤트
|
|
|
|
|
fnSvbtcInfo${pageName} = () => {
|
|
|
|
|
|
|
|
|
|
// 삭제 버튼 이벤트
|
|
|
|
|
${infoPrefix}Remove${pageName} = () => {
|
|
|
|
|
dialog.alert({
|
|
|
|
|
content : "선택한 의견제출 정보를 삭제하시겠습니까?"
|
|
|
|
|
, onOK : () => {
|
|
|
|
|
${pageName}Control.remove();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|