|
|
|
@ -1,139 +1,140 @@
|
|
|
|
|
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
|
|
|
|
|
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
|
|
|
|
|
|
|
|
|
|
<c:set var="prefixName" scope="request">공시송달 상세</c:set>
|
|
|
|
|
|
|
|
|
|
<!-- inner page html -->
|
|
|
|
|
<div class="content-wrapper">
|
|
|
|
|
<div class="wrapper-pop">
|
|
|
|
|
<!-- Content -->
|
|
|
|
|
<div class="container flex-grow-1 px-0">
|
|
|
|
|
<c:set var="prefixName" scope="request">공시송달 상세</c:set>
|
|
|
|
|
|
|
|
|
|
<!-- Page Body -->
|
|
|
|
|
<div class="card">
|
|
|
|
|
<div class="wrapper-pop">
|
|
|
|
|
<!-- 입력 영역 -->
|
|
|
|
|
<form id="frmEdit--${pageName}" name="frmEdit">
|
|
|
|
|
<input type="hidden" id="svbtcId--${pageName}" name="svbtcId" />
|
|
|
|
|
</form> <!-- /입력 영역 -->
|
|
|
|
|
|
|
|
|
|
<!-- 업무 버튼 및 건수 표시 -->
|
|
|
|
|
<div>
|
|
|
|
|
<span class="container-page-btn">
|
|
|
|
|
<!-- 건수, 페이지 표시 -->
|
|
|
|
|
<div class="d-flex flex-row justify-content-between">
|
|
|
|
|
<span class="dataTables_info" id="paging--${pageName}PagingInfo" role="status" aria-live="polite"></span>
|
|
|
|
|
<ul class="pagination pagination-primary" id="paging--${pageName}">
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
|
<!-- 업무 버튼 -->
|
|
|
|
|
<button type="button" class="btn btn-excel w-px-120" id="btnExcel--${pageName}" title="엑셀">
|
|
|
|
|
엑셀
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" id="btnHwpSvbtc--${pageName}" title="한글파일 출력">
|
|
|
|
|
한글파일 출력
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" id="btnRemoveSvbtc--${pageName}" title="공시송달 삭제">
|
|
|
|
|
공시송달 삭제
|
|
|
|
|
</button>
|
|
|
|
|
</span>
|
|
|
|
|
</span>
|
|
|
|
|
</div> <!-- / 업무 버튼 및 건수 표시 -->
|
|
|
|
|
|
|
|
|
|
<!-- DataTables(그리드) -->
|
|
|
|
|
<div class="card-datatable text-nowrap">
|
|
|
|
|
<div class="dataTables_wrapper dt-bootstrap5 no-footer" id="DataTables_Table_0_wrapper--${pageName}">
|
|
|
|
|
<div class="table-responsive ox-scroll oy-scroll h-px-400" id="table-responsive--${pageName}">
|
|
|
|
|
<table class="table-layout-fixed dataTable datatables-ajax table table-bordered no-footer" id="DataTables_Table_0--${pageName}" aria-describedby="DataTables_Table_0_info">
|
|
|
|
|
<thead class="sticky-thead">
|
|
|
|
|
<tr id="theadTr--${pageName}"
|
|
|
|
|
data-by="by--${pageName}" data-by-output="byOutput--${pageName}" data-main-option="mainOption--${pageName}" data-sub-option="subOption--${pageName}">
|
|
|
|
|
<th class="cmn" style="width: 56px;"><input type="checkbox" class="form-check-input" onchange="pageObject['${pageName}'].control.select(this.checked);" /></th>
|
|
|
|
|
<th class="cmn" style="width: 120px;">발송상태</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;">공시송달일자</th>
|
|
|
|
|
<th class="cmn" style="width: 160px;">등기번호</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;">발송일자</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;">발송종료일자</th>
|
|
|
|
|
<th class="cmn" style="width: 200px;">성명</th>
|
|
|
|
|
<th class="cmn" style="width: 100px;">우편번호</th>
|
|
|
|
|
<th class="cmn" style="width: 280px;">주소</th>
|
|
|
|
|
<th class="cmn" style="width: 320px;">상세주소</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;">배달일자</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;">배달시각</th>
|
|
|
|
|
<th class="cmn" style="width: 200px;">미배달사유</th>
|
|
|
|
|
<th class="cmn" style="width: 200px;">수령인</th>
|
|
|
|
|
<th class="cmn" style="width: 200px;">수령인관계</th>
|
|
|
|
|
<th class="cmn" style="width: 180px;">단속일시</th>
|
|
|
|
|
<th class="cmn" style="width: 140px;">차량번호</th>
|
|
|
|
|
<th class="cmn" style="width: 160px;">법정동</th>
|
|
|
|
|
<th class="cmn" style="width: 280px;">단속장소</th>
|
|
|
|
|
<th class="cmn" style="width: 100px;">회계연도</th>
|
|
|
|
|
<th class="cmn" style="width: 100px;">부과번호</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;">부과일자</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;">납기일자</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;">과태료금액</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;">본세</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;">가산금</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;">미납금액</th>
|
|
|
|
|
<th class="cmn" style="width: 180px;">등록일시</th>
|
|
|
|
|
<th class="cmn" style="width: 140px;">등록사용자</th>
|
|
|
|
|
<th class="cmn" style="width: 180px;">수정일시</th>
|
|
|
|
|
<th class="cmn" style="width: 140px;">수정사용자</th>
|
|
|
|
|
<th class="cmn dummy-th"></th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody id="tbody--${pageName}">
|
|
|
|
|
</tbody>
|
|
|
|
|
<template id="${infoPrefix}Row--${pageName}">
|
|
|
|
|
<tr data-key="{SNDNG_DTL_ID}">
|
|
|
|
|
<td class="cmn text-center"><input type="checkbox" class="form-check-input" name="gridCheckbox" value="{SNDNG_DTL_ID}" onchange="pageObject['${pageName}'].control.select('{SNDNG_DTL_ID}', this.checked);"></td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{SNDNG_DTL_STTS_NM}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{SVBTC_YMD}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RG_NO}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{SNDNG_YMD}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{SNDNG_END_YMD}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RCPN_NM}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RCPN_ZIP}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RCPN_ADDR}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RCPN_DTL_ADDR}</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}">{ACTL_RCPN_NM}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RCPN_REL_NM}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_DT}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{VHRNO}</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-center" onclick="{onclick}" ondblclick="{ondblclick}">{FYR}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{LEVY_NO}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{LEVY_YMD}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DUDT_YMD}</td>
|
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{FFNLG_AMT}</td>
|
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{PCPTAX}</td>
|
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{ADAMT}</td>
|
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{SUM_AMT}</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>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{MDFR_NM}</td>
|
|
|
|
|
<td class="cmn dummy-td"></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</template>
|
|
|
|
|
<template id="${infoPrefix}NotFound--${pageName}">
|
|
|
|
|
<tr class="odd">
|
|
|
|
|
<td valign="top" colspan="32" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</template>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 입력 영역 -->
|
|
|
|
|
<form id="frmEdit--${pageName}" name="frmEdit">
|
|
|
|
|
<input type="hidden" id="svbtcId--${pageName}" name="svbtcId" />
|
|
|
|
|
</form>
|
|
|
|
|
<!-- 입력 영역 -->
|
|
|
|
|
|
|
|
|
|
<!-- 업무 버튼 및 건수 표시 -->
|
|
|
|
|
<div>
|
|
|
|
|
<span class="container-page-btn">
|
|
|
|
|
<!-- 건수, 페이지 표시 -->
|
|
|
|
|
<div class="d-flex flex-row justify-content-between">
|
|
|
|
|
<span class="dataTables_info" id="paging--${pageName}PagingInfo" role="status" aria-live="polite"></span>
|
|
|
|
|
<ul class="pagination pagination-primary" id="paging--${pageName}">
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div> <!-- / DataTables(그리드) -->
|
|
|
|
|
|
|
|
|
|
</div> <!-- <div class="wrapper-list"> -->
|
|
|
|
|
<!-- 업무 버튼 -->
|
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
|
<button type="button" class="btn btn-excel w-px-120" id="btnExcel--${pageName}" title="엑셀">
|
|
|
|
|
엑셀
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" id="btnPrintHwp--${pageName}" title="한글파일 출력">
|
|
|
|
|
한글파일 출력
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" id="btnRemove--${pageName}" title="공시송달 삭제">
|
|
|
|
|
공시송달 삭제
|
|
|
|
|
</button>
|
|
|
|
|
</span>
|
|
|
|
|
</span>
|
|
|
|
|
</div> <!-- 업무 버튼 및 건수 표시 -->
|
|
|
|
|
|
|
|
|
|
<!-- DataTables(그리드) -->
|
|
|
|
|
<div class="card-datatable text-nowrap">
|
|
|
|
|
<div class="dataTables_wrapper dt-bootstrap5 no-footer" id="DataTables_Table_0_wrapper--${pageName}">
|
|
|
|
|
<div class="table-responsive ox-scroll oy-scroll h-px-400" id="table-responsive--${pageName}">
|
|
|
|
|
<table class="table-layout-fixed dataTable datatables-ajax table table-bordered no-footer" id="DataTables_Table_0--${pageName}" aria-describedby="DataTables_Table_0_info">
|
|
|
|
|
<thead class="sticky-thead">
|
|
|
|
|
<tr id="theadTr--${pageName}"
|
|
|
|
|
data-by="by--${pageName}" data-by-output="byOutput--${pageName}" data-main-option="mainOption--${pageName}" data-sub-option="subOption--${pageName}">
|
|
|
|
|
<th class="cmn" style="width: 56px;"><input type="checkbox" class="form-check-input" onchange="pageObject['${pageName}'].control.select(this.checked);" /></th>
|
|
|
|
|
<th class="cmn" style="width: 120px;">발송상태</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;">공시송달일자</th>
|
|
|
|
|
<th class="cmn" style="width: 160px;">등기번호</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;">발송일자</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;">발송종료일자</th>
|
|
|
|
|
<th class="cmn" style="width: 200px;">성명</th>
|
|
|
|
|
<th class="cmn" style="width: 100px;">우편번호</th>
|
|
|
|
|
<th class="cmn" style="width: 280px;">주소</th>
|
|
|
|
|
<th class="cmn" style="width: 320px;">상세주소</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;">배달일자</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;">배달시각</th>
|
|
|
|
|
<th class="cmn" style="width: 200px;">미배달사유</th>
|
|
|
|
|
<th class="cmn" style="width: 200px;">수령인</th>
|
|
|
|
|
<th class="cmn" style="width: 200px;">수령인관계</th>
|
|
|
|
|
<th class="cmn" style="width: 180px;">단속일시</th>
|
|
|
|
|
<th class="cmn" style="width: 140px;">차량번호</th>
|
|
|
|
|
<th class="cmn" style="width: 160px;">법정동</th>
|
|
|
|
|
<th class="cmn" style="width: 280px;">단속장소</th>
|
|
|
|
|
<th class="cmn" style="width: 100px;">회계연도</th>
|
|
|
|
|
<th class="cmn" style="width: 100px;">부과번호</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;">부과일자</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;">납기일자</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;">과태료금액</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;">본세</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;">가산금</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;">미납금액</th>
|
|
|
|
|
<th class="cmn" style="width: 180px;">등록일시</th>
|
|
|
|
|
<th class="cmn" style="width: 140px;">등록사용자</th>
|
|
|
|
|
<th class="cmn" style="width: 180px;">수정일시</th>
|
|
|
|
|
<th class="cmn" style="width: 140px;">수정사용자</th>
|
|
|
|
|
<th class="cmn dummy-th"></th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody id="tbody--${pageName}">
|
|
|
|
|
</tbody>
|
|
|
|
|
<template id="${infoPrefix}Row--${pageName}">
|
|
|
|
|
<tr data-key="{SNDNG_DTL_ID}">
|
|
|
|
|
<td class="cmn text-center"><input type="checkbox" class="form-check-input" name="gridCheckbox" value="{SNDNG_DTL_ID}" onchange="pageObject['${pageName}'].control.select('{SNDNG_DTL_ID}', this.checked);"></td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{SNDNG_DTL_STTS_NM}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{SVBTC_YMD}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RG_NO}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{SNDNG_YMD}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{SNDNG_END_YMD}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RCPN_NM}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RCPN_ZIP}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RCPN_ADDR}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RCPN_DTL_ADDR}</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}">{ACTL_RCPN_NM}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RCPN_REL_NM}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_DT}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{VHRNO}</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-center" onclick="{onclick}" ondblclick="{ondblclick}">{FYR}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{LEVY_NO}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{LEVY_YMD}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DUDT_YMD}</td>
|
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{FFNLG_AMT}</td>
|
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{PCPTAX}</td>
|
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{ADAMT}</td>
|
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{SUM_AMT}</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>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{MDFR_NM}</td>
|
|
|
|
|
<td class="cmn dummy-td"></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</template>
|
|
|
|
|
<template id="${infoPrefix}NotFound--${pageName}">
|
|
|
|
|
<tr class="odd">
|
|
|
|
|
<td valign="top" colspan="32" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</template>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div> <!-- DataTables(그리드) -->
|
|
|
|
|
</div> <!-- <div class="card"> -->
|
|
|
|
|
<!-- Page Body -->
|
|
|
|
|
|
|
|
|
|
<span id="tempArea--${pageName}" hidden></span>
|
|
|
|
|
</div> <!-- / Content <div class="container flex-grow-1 px-0"> -->
|
|
|
|
|
<!-- Content -->
|
|
|
|
|
</div>
|
|
|
|
|
<!-- / inner page html <div class="content-wrapper"> -->
|
|
|
|
|
|
|
|
|
@ -148,10 +149,8 @@
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
// pageObject
|
|
|
|
|
var $P = pageObject["${pageName}"];
|
|
|
|
|
let $P = pageObject["${pageName}"];
|
|
|
|
|
|
|
|
|
|
// URL
|
|
|
|
|
$P.PrefixUrl = "/sndb/sndb01";
|
|
|
|
|
// infoDialog 호출 용도(view 조회(편집불가), create 등록, update 수정)
|
|
|
|
|
$P.callPurpose = "${callPurpose}";
|
|
|
|
|
// FormFields
|
|
|
|
@ -163,30 +162,30 @@
|
|
|
|
|
* DatasetControl
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
$P.control = new DatasetControl({
|
|
|
|
|
prefix : "svbtcDtl"
|
|
|
|
|
, prefixName : "공시송달 상세 정보"
|
|
|
|
|
, keymapper : info => info ? info.SNDNG_DTL_ID : ""
|
|
|
|
|
, dataGetter : obj => obj.svbtcDtlList
|
|
|
|
|
, appendData : true
|
|
|
|
|
, formats : {
|
|
|
|
|
SVBTC_YMD : dateFormat
|
|
|
|
|
, SNDNG_YMD : dateFormat
|
|
|
|
|
, SNDNG_END_YMD : dateFormat
|
|
|
|
|
, DLVR_YMD : dateFormat
|
|
|
|
|
, LEVY_YMD : dateFormat
|
|
|
|
|
, DUDT_YMD : dateFormat
|
|
|
|
|
, PCPTAX : numberFormat
|
|
|
|
|
, ADAMT : numberFormat
|
|
|
|
|
, SUM_AMT : numberFormat
|
|
|
|
|
, REG_DT : datetimeFormat
|
|
|
|
|
, MDFCN_DT : datetimeFormat
|
|
|
|
|
prefix: "svbtcDtl"
|
|
|
|
|
, prefixName: "공시송달 상세 정보"
|
|
|
|
|
, keymapper: info => info ? info.SNDNG_DTL_ID : ""
|
|
|
|
|
, dataGetter: obj => obj.${infoPrefix}List
|
|
|
|
|
, appendData: true
|
|
|
|
|
, formats: {
|
|
|
|
|
SVBTC_YMD: dateFormat
|
|
|
|
|
, SNDNG_YMD: dateFormat
|
|
|
|
|
, SNDNG_END_YMD: dateFormat
|
|
|
|
|
, DLVR_YMD: dateFormat
|
|
|
|
|
, LEVY_YMD: dateFormat
|
|
|
|
|
, DUDT_YMD: dateFormat
|
|
|
|
|
, PCPTAX: numberFormat
|
|
|
|
|
, ADAMT: numberFormat
|
|
|
|
|
, SUM_AMT: numberFormat
|
|
|
|
|
, REG_DT: datetimeFormat
|
|
|
|
|
, MDFCN_DT: datetimeFormat
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
// $P.control 설정
|
|
|
|
|
$P.control.defaultFetchSize = FETCH_XS; // 1 페이지당 조회되는 자료 건수 index.jsp에서 확인 FETCH_XS = 30
|
|
|
|
|
$P.control.untilPageNum = 0; // 현재 페이지 번호
|
|
|
|
|
$P.control.tableRenderComplete = false; // dataTables 에 자료 추가 완료 여부
|
|
|
|
|
$P.control.defaultFetchSize = FETCH_XS; // 1 페이지당 조회되는 자료 건수 index.jsp에서 확인 FETCH_XS = 30
|
|
|
|
|
$P.control.untilPageNum = 0; // 현재 페이지 번호
|
|
|
|
|
$P.control.beforeCurrent = null;
|
|
|
|
|
$P.control.tableRenderComplete = false; // dataTables 에 자료 추가 완료 여부
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
* DatasetControl 이벤트
|
|
|
|
@ -196,15 +195,15 @@
|
|
|
|
|
$P.renderList(obj.${infoPrefix}Total);
|
|
|
|
|
|
|
|
|
|
$("#paging--${pageName}").setPagingInfo({
|
|
|
|
|
list : $P.control.dataset
|
|
|
|
|
, prefix : "paging--${pageName}"
|
|
|
|
|
, start : obj.${infoPrefix}Start
|
|
|
|
|
, totalSize : obj.${infoPrefix}Total
|
|
|
|
|
, fetchSize : obj.${infoPrefix}Fetch
|
|
|
|
|
, func : "pageObject['${pageName}'].control.load({index})"
|
|
|
|
|
list: $P.control.dataset
|
|
|
|
|
, prefix: "paging--${pageName}"
|
|
|
|
|
, start: obj.${infoPrefix}Start
|
|
|
|
|
, totalSize: obj.${infoPrefix}Total
|
|
|
|
|
, fetchSize: obj.${infoPrefix}Fetch
|
|
|
|
|
, func: "pageObject['${pageName}'].control.load({index})"
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$P.control.tableRenderComplete = true; // dataTables 에 자료 추가 완료
|
|
|
|
|
$P.control.tableRenderComplete = true; // dataTables 에 자료 추가 완료
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// 현재 선택 자료 변경 이벤트
|
|
|
|
@ -223,37 +222,35 @@
|
|
|
|
|
|
|
|
|
|
$("#tbody--${pageName} input[type='checkbox']").each(function() {
|
|
|
|
|
let checkbox = $(this);
|
|
|
|
|
|
|
|
|
|
checkbox.prop("checked", keys.includes(checkbox.val()));
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
// 선택 대상 등록 버튼
|
|
|
|
|
$("#btnRemoveSvbtc--${pageName}").prop("disabled", keys.length < 1);
|
|
|
|
|
$("#btnRemove--${pageName}").prop("disabled", keys.length < 1);
|
|
|
|
|
|
|
|
|
|
// DataTables(그리드) 전체 선택(checkbox)
|
|
|
|
|
if (keys.length < 1) {
|
|
|
|
|
$("th input[type='checkbox']").prop("checked", false); // 체크 해제
|
|
|
|
|
$("th input[type='checkbox']").prop("checked", false); // 체크 해제
|
|
|
|
|
} else if (keys.length == ${infoPrefix}List.length) {
|
|
|
|
|
$("th input[type='checkbox']").prop("checked", true); // 체크 설정
|
|
|
|
|
$("th input[type='checkbox']").prop("checked", true); // 체크 설정
|
|
|
|
|
} else {
|
|
|
|
|
$("th input[type='checkbox']").prop("checked", false); // 체크 해제
|
|
|
|
|
$("th input[type='checkbox']").prop("checked", false); // 체크 해제
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// 삭제 callback
|
|
|
|
|
$P.control.onRemove = (resp) => {
|
|
|
|
|
let btnTitle = $("#btnRemoveSvbtc--${pageName}").attr("title");
|
|
|
|
|
let btnTitle = $("#btnRemove--${pageName}").attr("title");
|
|
|
|
|
let showMessage = resp.rtnMsg.replace(/[S]|[F]/g, btnTitle);
|
|
|
|
|
|
|
|
|
|
// 메시지 출력
|
|
|
|
|
dialog.alert({
|
|
|
|
|
content : showMessage
|
|
|
|
|
, onOK : () => { }
|
|
|
|
|
content: showMessage
|
|
|
|
|
, init: () => { setDialogZindex(); }
|
|
|
|
|
, onOK: () => { }
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
if (resp.saved) {
|
|
|
|
|
$P.refreshList(); // 자료 재조회
|
|
|
|
|
}
|
|
|
|
|
if (resp.saved) { $P.fnRefreshList(); } // 자료 재조회
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 삭제
|
|
|
|
@ -261,9 +258,9 @@
|
|
|
|
|
if (!params) return;
|
|
|
|
|
|
|
|
|
|
ajax.post({
|
|
|
|
|
url : $P.control.urls.remove
|
|
|
|
|
, data : params
|
|
|
|
|
, success : resp => $P.control.onRemove(resp)
|
|
|
|
|
url: wctx.url("/" + params.taskSeCd + "${infoPrefixUrl}" + "/250/remove.do")
|
|
|
|
|
, data: params || {}
|
|
|
|
|
, success: resp => $P.control.onRemove(resp)
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -274,6 +271,7 @@
|
|
|
|
|
$P.renderList = (totalSize) => {
|
|
|
|
|
let ${infoPrefix}List = $P.control.dataset;
|
|
|
|
|
let empty = ${infoPrefix}List.empty;
|
|
|
|
|
let clsForTask = $("input[name=taskSeCd]:checked").val()
|
|
|
|
|
|
|
|
|
|
let trs = empty ?
|
|
|
|
|
[document.getElementById("${infoPrefix}NotFound--${pageName}").innerHTML] : <%-- from template#${infoPrefix}NotFound --%>
|
|
|
|
@ -295,89 +293,93 @@
|
|
|
|
|
$P.control.untilPageNum = 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// checkbox 체크 해제
|
|
|
|
|
$("th input[type='checkbox']").prop("checked", false);
|
|
|
|
|
|
|
|
|
|
//보안모드
|
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// DataTables에 스크롤이 맨 밑으로 이동했을 때 이벤트
|
|
|
|
|
$P.scrollDataList = () => {
|
|
|
|
|
$P.control.tableRenderComplete = false; // dataTables 에 자료 추가 false
|
|
|
|
|
$P.control.tableRenderComplete = false; // dataTables 에 자료 추가 false
|
|
|
|
|
|
|
|
|
|
$P.control.load($P.control.query.pageNum + 1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
* 사용자 함수(function)
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
// 개별총정보 dialog
|
|
|
|
|
// DataTables에 더블 클릭시 개별총정보 dialog
|
|
|
|
|
$P.getTotalInfo = (crdnId) => {
|
|
|
|
|
if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return;
|
|
|
|
|
|
|
|
|
|
let params = {
|
|
|
|
|
callControlName : "pageObject['${pageName}'].control"
|
|
|
|
|
, callPurpose : "view"
|
|
|
|
|
, crdnId : crdnId
|
|
|
|
|
, sggCd : $P.control.dataset.getValue("SGG_CD")
|
|
|
|
|
, taskSeCd : $P.control.dataset.getValue("TASK_SE_CD")
|
|
|
|
|
callControlName: "pageObject['${pageName}'].control"
|
|
|
|
|
, sggCd: $P.control.dataset.getValue("SGG_CD")
|
|
|
|
|
, taskSeCd: $P.control.dataset.getValue("TASK_SE_CD")
|
|
|
|
|
, crdnId: crdnId
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
|
url : wctx.url("/" + params.taskSeCd + "/sprt/sprt02/010/main.do")
|
|
|
|
|
, data : params
|
|
|
|
|
, success : resp => {
|
|
|
|
|
url: wctx.url("/" + params.taskSeCd + "/sprt/sprt02/010/main.do")
|
|
|
|
|
, data: params
|
|
|
|
|
, success: resp => {
|
|
|
|
|
dialog.open({
|
|
|
|
|
id : "totalInfoMainDialog"
|
|
|
|
|
, title : "개별총정보"
|
|
|
|
|
, content : resp
|
|
|
|
|
, size : "xxl"
|
|
|
|
|
id: "totalInfoMainDialog"
|
|
|
|
|
, title: "개별총정보"
|
|
|
|
|
, content: resp
|
|
|
|
|
, size: "xxl"
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 한글파일 출력
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
* 사용자 함수(function)
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
// 검색 자료 재조회
|
|
|
|
|
$P.fnRefreshList = () => {
|
|
|
|
|
$P.control.untilPageNum = $P.control.query.pageNum;
|
|
|
|
|
$P.control.query.fetchSize = $P.control.defaultFetchSize * $P.control.query.pageNum;
|
|
|
|
|
|
|
|
|
|
$P.control.load(1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 한글파일 출력 callback
|
|
|
|
|
$P.callbackDocNoTtl = (obj) => {
|
|
|
|
|
let selected = $P.control.dataset.getKeys("selected");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 서버에 전송할 data(파라미터) 생성
|
|
|
|
|
let params = {
|
|
|
|
|
sggCd : $P.control.dataset.getValue("SGG_CD") // 시군구 코드
|
|
|
|
|
, taskSeCd : $P.control.dataset.getValue("TASK_SE_CD") // 업무 구분 코드
|
|
|
|
|
, svbtcId : $P.control.dataset.getValue("SVBTC_ID") // 반송 ID
|
|
|
|
|
sggCd: $P.control.dataset.getValue("SGG_CD") // 시군구 코드
|
|
|
|
|
, taskSeCd: $P.control.dataset.getValue("TASK_SE_CD") // 업무 구분 코드
|
|
|
|
|
, svbtcId: $P.control.dataset.getValue("SVBTC_ID") // 반송 ID
|
|
|
|
|
, sndngSeCd: $P.control.dataset.getValue("SNDNG_SE_CD") // 발송 구분 코드
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
params.sndngDtlIds = selected.join(","); // 발송 상세 Ids
|
|
|
|
|
params.printDocNo = obj.docNo; // 문서 번호
|
|
|
|
|
params.printTtlNm = obj.ttlNm; // 제목
|
|
|
|
|
params.printSvbtcDate = obj.textDate; // 공고 기한
|
|
|
|
|
params.sndngDtlIds = selected.join(","); // 발송 상세 Ids
|
|
|
|
|
params.printDocNo = obj.docNo; // 문서 번호
|
|
|
|
|
params.printTtlNm = obj.ttlNm; // 제목
|
|
|
|
|
params.printSvbtcDate = obj.textDate; // 공고 기한
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let url = wctx.url("/" + params.taskSeCd + $P.PrefixUrl + "/240/makeSvbtcHwp.do");
|
|
|
|
|
let url = wctx.url("/" + params.taskSeCd + "${infoPrefixUrl}" + "/240/makeSvbtcHwp.do");
|
|
|
|
|
|
|
|
|
|
let parameter = toQuery(params);
|
|
|
|
|
|
|
|
|
|
document.location.href = url + "?" + parameter;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 삭제 사유 callback
|
|
|
|
|
// 삭제사유 callback
|
|
|
|
|
$P.callbackRsn = (obj) => {
|
|
|
|
|
let selected = $P.control.dataset.getKeys("selected");
|
|
|
|
|
|
|
|
|
|
// 서버에 전송할 data(파라미터) 생성
|
|
|
|
|
let params = {};
|
|
|
|
|
params.sndngDtlIds = selected.join(","); // 발송 상세 IDs
|
|
|
|
|
params.delRsn = obj.reason; // 삭제 사유
|
|
|
|
|
|
|
|
|
|
$P.control.remove(params);
|
|
|
|
|
}
|
|
|
|
|
let selected = $P.control.dataset.getKeys("selected");
|
|
|
|
|
|
|
|
|
|
// 검색 자료 재조회
|
|
|
|
|
$P.refreshList = () => {
|
|
|
|
|
$P.control.untilPageNum = $P.control.query.pageNum;
|
|
|
|
|
$P.control.query.fetchSize = $P.control.defaultFetchSize * $P.control.query.pageNum;
|
|
|
|
|
params.sggCd = $P.mainQuery.sggCd; // 시군구 코드
|
|
|
|
|
params.taskSeCd = $P.mainQuery.taskSeCd; // 업무 구분 코드
|
|
|
|
|
params.svbtcId = $P.mainQuery.svbtcId // 공시송달 ID
|
|
|
|
|
params.sndngDtlIds = selected.join(","); // 발송 상세 IDs
|
|
|
|
|
params.delRsn = obj.reason; // 삭제 사유
|
|
|
|
|
|
|
|
|
|
$P.control.load(1);
|
|
|
|
|
$P.control.remove(params);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
@ -387,10 +389,9 @@
|
|
|
|
|
$P.fnExcel = () => {
|
|
|
|
|
if ($P.control.dataset.empty) {
|
|
|
|
|
dialog.alert({
|
|
|
|
|
content : "검색된 자료가 없습니다."
|
|
|
|
|
, onOK : () => { }
|
|
|
|
|
content: "검색된 자료가 없습니다."
|
|
|
|
|
, onOK: () => { }
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -403,63 +404,75 @@
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 한글파일 출력 버튼 이벤트
|
|
|
|
|
$P.fnHwpSvbtc = async(title) => {
|
|
|
|
|
$P.fnPrintHwp = async(title) => {
|
|
|
|
|
if ($P.control.dataset.empty) {
|
|
|
|
|
dialog.alert({
|
|
|
|
|
content: "검색된 자료가 없습니다."
|
|
|
|
|
, onOK: () => { }
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 문서번호, 제목, 공고기한 입력
|
|
|
|
|
let docNo = $P.control.dataset.getValue("DOC_NO");
|
|
|
|
|
let ttlNm = $P.control.dataset.getValue("TASK_SE_NM") + " 과태료 처분에 대한 " + $P.control.dataset.getValue("TTL_NM");
|
|
|
|
|
let textDate = DateUtil.getDateDay(0).date + " ~ " + DateUtil.getDateDay(15).date + " (15일간)";
|
|
|
|
|
|
|
|
|
|
// 문서번호, 제목, 공고기한 입력
|
|
|
|
|
var resp = await fetch(wctx.url("/resources/html/inputDocNoTtlDialog.html"));
|
|
|
|
|
var template = await resp.text();
|
|
|
|
|
let resp = await fetch(wctx.url("/resources/html/inputDocNoTtlDialog.html"));
|
|
|
|
|
let template = await resp.text();
|
|
|
|
|
|
|
|
|
|
dialog.open({
|
|
|
|
|
id : "inputDocNoTtlDialog",
|
|
|
|
|
title: title,
|
|
|
|
|
size : "lg",
|
|
|
|
|
content: template,
|
|
|
|
|
init : () => {
|
|
|
|
|
id: "inputDocNoTtlDialog"
|
|
|
|
|
, title: title
|
|
|
|
|
, size: "lg"
|
|
|
|
|
, content: template
|
|
|
|
|
, init: () => {
|
|
|
|
|
setDialogZindex();
|
|
|
|
|
|
|
|
|
|
$("#docNo").val(docNo);
|
|
|
|
|
$("#ttlNm").val(ttlNm);
|
|
|
|
|
$("#textDate").val(textDate);
|
|
|
|
|
},
|
|
|
|
|
onOK : () => {
|
|
|
|
|
$P.callbackDocNoTtl({
|
|
|
|
|
"docNo" : $("#docNo").val(),
|
|
|
|
|
"ttlNm" : $("#ttlNm").val(),
|
|
|
|
|
"textDate" : $("#textDate").val()
|
|
|
|
|
}
|
|
|
|
|
, onOK: () => {
|
|
|
|
|
$P.callbackDocNoTtl({
|
|
|
|
|
"docNo": $("#docNo").val()
|
|
|
|
|
, "ttlNm": $("#ttlNm").val()
|
|
|
|
|
, "textDate": $("#textDate").val()
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 삭제 버튼 이벤트
|
|
|
|
|
$P.fnRemoveSvbtc = (title) => {
|
|
|
|
|
$P.fnRemove = (title) => {
|
|
|
|
|
// 선택 자료
|
|
|
|
|
let selected = $P.control.dataset.getKeys("selected");
|
|
|
|
|
|
|
|
|
|
if (selected.length < 1) return;
|
|
|
|
|
if (selected.length < 1) {
|
|
|
|
|
dialog.alert({
|
|
|
|
|
content: "선택하신 " + $P.control.prefixName + " 정보가 없습니다."
|
|
|
|
|
, onOK: () => { }
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 삭제 메세지 확인
|
|
|
|
|
dialog.alert({
|
|
|
|
|
content : "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?"
|
|
|
|
|
, onOK : async() => {
|
|
|
|
|
content: "선택하신 " + selected.length + "건의 " + $P.control.prefixName + " 정보를 삭제하시겠습니까?"
|
|
|
|
|
, onOK: async() => {
|
|
|
|
|
// 삭제 사유 입력
|
|
|
|
|
var resp = await fetch(wctx.url("/resources/html/inputRsnDialog.html"));
|
|
|
|
|
var template = await resp.text();
|
|
|
|
|
let resp = await fetch(wctx.url("/resources/html/inputRsnDialog.html"));
|
|
|
|
|
let template = await resp.text();
|
|
|
|
|
|
|
|
|
|
dialog.open({
|
|
|
|
|
id : "inputDelRsnDialog",
|
|
|
|
|
title: title,
|
|
|
|
|
size : "lg",
|
|
|
|
|
content: template,
|
|
|
|
|
init : () => {
|
|
|
|
|
setDialogZindex();
|
|
|
|
|
},
|
|
|
|
|
onOK : () => {
|
|
|
|
|
$P.callbackRsn({ reason : $("#reason").val() });
|
|
|
|
|
id: "inputDelRsnDialog"
|
|
|
|
|
, title: title
|
|
|
|
|
, size: "lg"
|
|
|
|
|
, content: template
|
|
|
|
|
, init: () => { setDialogZindex(); }
|
|
|
|
|
, onOK: () => {
|
|
|
|
|
$P.callbackRsn({ reason: $("#reason").val() });
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
@ -472,15 +485,14 @@
|
|
|
|
|
// 이벤트
|
|
|
|
|
$P.setEvent = () => {
|
|
|
|
|
// 기본 버튼 이벤트
|
|
|
|
|
$("#btnExcel--${pageName}").on("click", () => $P.fnExcel()); // 엑셀
|
|
|
|
|
$("#btnExcel--${pageName}").on("click", () => $P.fnExcel()); // 엑셀
|
|
|
|
|
|
|
|
|
|
// 한글파일 출력 버튼 이벤트
|
|
|
|
|
$("#btnHwpSvbtc--${pageName}").on("click", function() {
|
|
|
|
|
$P.fnHwpSvbtc($(this).attr("title"));
|
|
|
|
|
// 업무 버튼 이벤트
|
|
|
|
|
$("#btnPrintHwp--${pageName}").on("click", function() {
|
|
|
|
|
$P.fnPrintHwp($(this).attr("title")); // 한글파일 출력
|
|
|
|
|
});
|
|
|
|
|
// 공시송달 삭제 버튼 이벤트
|
|
|
|
|
$("#btnRemoveSvbtc--${pageName}").on("click", function() {
|
|
|
|
|
$P.fnRemoveSvbtc($(this).attr("title"));
|
|
|
|
|
$("#btnRemove--${pageName}").on("click", function() {
|
|
|
|
|
$P.fnRemove($(this).attr("title")); // 공시송달 삭제
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
// DataTables width 변경 조정
|
|
|
|
@ -490,12 +502,12 @@
|
|
|
|
|
fnMakeScrollableTable($("#table-responsive--${pageName}")[0], $P.scrollDataList);
|
|
|
|
|
|
|
|
|
|
// DataTables 스크롤을 위해서 다이얼로그 화면이 생성된 후 Dataset을 설정한다.
|
|
|
|
|
$("#${infoPrefix}Dialog").on("shown.bs.modal", function (e) {
|
|
|
|
|
$("#${infoPrefix}Dialog--${openerPageName}").on("shown.bs.modal", function (e) {
|
|
|
|
|
$P.control.setData({
|
|
|
|
|
${infoPrefix}List : ${svbtcDtlList}
|
|
|
|
|
, ${infoPrefix}Start : ${svbtcDtlStart}
|
|
|
|
|
, ${infoPrefix}Fetch : ${svbtcDtlFetch}
|
|
|
|
|
, ${infoPrefix}Total : ${svbtcDtlTotal}
|
|
|
|
|
${infoPrefix}List: ${svbtcDtlList}
|
|
|
|
|
, ${infoPrefix}Start: ${svbtcDtlStart}
|
|
|
|
|
, ${infoPrefix}Fetch: ${svbtcDtlFetch}
|
|
|
|
|
, ${infoPrefix}Total: ${svbtcDtlTotal}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
// 초기 데이터 설정
|
|
|
|
@ -515,16 +527,11 @@
|
|
|
|
|
$("#svbtcId--${pageName}").val($P.control.dataset.getValue("SVBTC_ID"));
|
|
|
|
|
|
|
|
|
|
// 검색 조건 설정
|
|
|
|
|
$P.control.defaultFetchSize = $P.mainQuery.fetchSize;
|
|
|
|
|
$P.control.query = $P.mainQuery;
|
|
|
|
|
|
|
|
|
|
// URL 설정
|
|
|
|
|
$P.setURL($P.mainQuery.taskSeCd);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 업무구분에 따른 URL 설정
|
|
|
|
|
$P.setURL = (taskSeCd) => {
|
|
|
|
|
$P.control.urls.load = wctx.url("/" + taskSeCd + $P.PrefixUrl + "/250/list.do"); // 조회
|
|
|
|
|
$P.control.urls.remove = wctx.url("/" + taskSeCd + $P.PrefixUrl + "/250/remove.do"); // 삭제
|
|
|
|
|
// 업무구분에 따른 URL 설정
|
|
|
|
|
$P.control.urls.load = wctx.url("/" + $P.mainQuery.taskSeCd + "${infoPrefixUrl}" + "/250/list.do"); // 조회
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|