1. 계고장 발송 현황 수정.

2. 계고장 삭제 수정.
main
JoJH 2 days ago
parent e1f4e11c12
commit 160b2f8fed

@ -181,7 +181,7 @@
<!-- DataTables(그리드) --> <!-- DataTables(그리드) -->
</div> <!-- <div class="card wrapper-list"> --> </div> <!-- <div class="card wrapper-list"> -->
</div> <!-- <div class="container-xxl flex-grow-1 px-0"> --> </div> <!-- <div class="container-xxl flex-grow-1 px-0"> -->
<!-- Content --> <!-- / Content -->
<div class="content-backdrop fade"></div> <div class="content-backdrop fade"></div>
</div> </div>

@ -3,7 +3,7 @@
<c:set var="prefixName" scope="request">부과제외</c:set> <c:set var="prefixName" scope="request">부과제외</c:set>
<!-- inner page html --> <!-- Inner page html -->
<div class="content-wrapper" data-doctx="${pageName}"> <div class="content-wrapper" data-doctx="${pageName}">
<!-- Content --> <!-- Content -->
<div class="container-xxl flex-grow-1 px-0"> <div class="container-xxl flex-grow-1 px-0">
@ -279,11 +279,11 @@
<!-- DataTables(그리드) --> <!-- DataTables(그리드) -->
</div> <!-- <div class="card wrapper-list"> --> </div> <!-- <div class="card wrapper-list"> -->
</div> <!-- <div class="container-xxl flex-grow-1 px-0"> --> </div> <!-- <div class="container-xxl flex-grow-1 px-0"> -->
<!-- Content --> <!-- / Content -->
<div class="content-backdrop fade"></div> <div class="content-backdrop fade"></div>
</div> </div>
<!-- / inner page html <div class="content-wrapper"> --> <!-- / Inner page html -->
<script> <script>
LoadScript("excl01010Script", wctx.url("/webjars/js/fims/excl/excl01010.js?ver=${ver}")); LoadScript("excl01010Script", wctx.url("/webjars/js/fims/excl/excl01010.js?ver=${ver}"));
@ -498,7 +498,7 @@
$P.ctrl.download(); $P.ctrl.download();
} }
// 부과 제외 수정 버튼 클릭 이벤트 // 수정 버튼 클릭 이벤트
$P.fnUpdate = (btnTitle) => { $P.fnUpdate = (btnTitle) => {
// 부과 제외 ID 가 없다면.. return // 부과 제외 ID 가 없다면.. return
let levyExclId = $P.ctrl.getValue("LEVY_EXCL_ID"); let levyExclId = $P.ctrl.getValue("LEVY_EXCL_ID");
@ -516,7 +516,7 @@
$P.ctrl.getInfo(params); $P.ctrl.getInfo(params);
} }
// 부과 제외 삭제 버튼 클릭 이벤트 // 삭제 버튼 클릭 이벤트
$P.fnRemove = (btnTitle) => { $P.fnRemove = (btnTitle) => {
let selected = $P.ctrl.getDataset("selected"); // 선택 자료 let selected = $P.ctrl.getDataset("selected"); // 선택 자료

@ -3,7 +3,7 @@
<c:set var="prefixName" scope="request">의견제출 관리</c:set> <c:set var="prefixName" scope="request">의견제출 관리</c:set>
<!-- inner page html --> <!-- Inner page html -->
<div class="content-wrapper" data-doctx="${pageName}"> <div class="content-wrapper" data-doctx="${pageName}">
<!-- Content --> <!-- Content -->
<div class="container-xxl flex-grow-1 px-0"> <div class="container-xxl flex-grow-1 px-0">
@ -333,11 +333,11 @@
<!-- DataTables(그리드) --> <!-- DataTables(그리드) -->
</div> <!-- <div class="card wrapper-list"> --> </div> <!-- <div class="card wrapper-list"> -->
</div> <!-- <div class="container-xxl flex-grow-1 px-0"> --> </div> <!-- <div class="container-xxl flex-grow-1 px-0"> -->
<!-- Content --> <!-- / Content -->
<div class="content-backdrop fade"></div> <div class="content-backdrop fade"></div>
</div> </div>
<!-- / inner page html <div class="content-wrapper"> --> <!-- / Inner page html -->
<script> <script>
LoadScript("excl02010Script", wctx.url("/webjars/js/fims/excl/excl02010.js?ver=${ver}")); LoadScript("excl02010Script", wctx.url("/webjars/js/fims/excl/excl02010.js?ver=${ver}"));

@ -3,7 +3,7 @@
<c:set var="prefixName" scope="request">단속 재등록</c:set> <c:set var="prefixName" scope="request">단속 재등록</c:set>
<!-- inner page html --> <!-- Inner page html -->
<div class="content-wrapper" data-doctx="${pageName}"> <div class="content-wrapper" data-doctx="${pageName}">
<!-- Content --> <!-- Content -->
<div class="container-xxl flex-grow-1 px-0"> <div class="container-xxl flex-grow-1 px-0">
@ -244,11 +244,11 @@
<!-- DataTables(그리드) --> <!-- DataTables(그리드) -->
</div> <!-- <div class="card wrapper-list"> --> </div> <!-- <div class="card wrapper-list"> -->
</div> <!-- <div class="container-xxl flex-grow-1 px-0"> --> </div> <!-- <div class="container-xxl flex-grow-1 px-0"> -->
<!-- Content --> <!-- / Content -->
<div class="content-backdrop fade"></div> <div class="content-backdrop fade"></div>
</div> </div>
<!-- / inner page html <div class="content-wrapper"> --> <!-- / Inner page html -->
<script> <script>
LoadScript("excl03010Script", wctx.url("/webjars/js/fims/excl/excl03010.js?ver=${ver}")); LoadScript("excl03010Script", wctx.url("/webjars/js/fims/excl/excl03010.js?ver=${ver}"));

@ -3,7 +3,7 @@
<c:set var="prefixName" scope="request">계고장 발송 대상</c:set> <c:set var="prefixName" scope="request">계고장 발송 대상</c:set>
<!-- inner page html --> <!-- Inner page html -->
<div class="content-wrapper" data-doctx="${pageName}"> <div class="content-wrapper" data-doctx="${pageName}">
<!-- Content --> <!-- Content -->
<div class="container-xxl flex-grow-1 px-0"> <div class="container-xxl flex-grow-1 px-0">
@ -150,18 +150,17 @@
<button type="button" class="btn btn-primary w-px-120" name="btnUpdateWrng" title="계고 수정"> <button type="button" class="btn btn-primary w-px-120" name="btnUpdateWrng" title="계고 수정">
계고 수정 계고 수정
</button> </button>
<button type="button" class="btn btn-primary w-px-120" name="btnCreateSlctnTrgtInfo" title="선택 발송대상 등록"> <button type="button" class="btn btn-primary w-px-120" name="btnCreateSlctnTrgtInfo" title="선택 계고장 발송 대상">
선택 대상 등록 선택 등록
</button> </button>
<button type="button" class="btn btn-primary w-px-120" name="btnCreateWholTrgtInfo" title="전체 발송대상 등록"> <button type="button" class="btn btn-primary w-px-120" name="btnCreateWholTrgtInfo" title="전체 계고장 발송 대상">
전체 대상 등록 전체 등록
</button> </button>
</span> </span>
</span> </span>
</div> </div>
<!-- 업무 버튼 및 건수 표시 --> <!-- 업무 버튼 및 건수 표시 -->
<!-- DataTables(그리드) -->
<!-- DataTables(그리드) --> <!-- DataTables(그리드) -->
<div class="card-datatable text-nowrap"> <div class="card-datatable text-nowrap">
<div class="dataTables_wrapper dt-bootstrap5 no-footer"> <div class="dataTables_wrapper dt-bootstrap5 no-footer">
@ -275,11 +274,11 @@
<!-- DataTables(그리드) --> <!-- DataTables(그리드) -->
</div> <!-- <div class="card wrapper-list"> --> </div> <!-- <div class="card wrapper-list"> -->
</div> <!-- <div class="container-xxl flex-grow-1 px-0"> --> </div> <!-- <div class="container-xxl flex-grow-1 px-0"> -->
<!-- Content --> <!-- / Content -->
<div class="content-backdrop fade"></div> <div class="content-backdrop fade"></div>
</div> </div>
<!-- / inner page html <div class="content-wrapper"> --> <!-- / Inner page html -->
<script> <script>
LoadScript("sndb01010Script", wctx.url("/webjars/js/fims/sndb/sndb01010.js?ver=${ver}")); LoadScript("sndb01010Script", wctx.url("/webjars/js/fims/sndb/sndb01010.js?ver=${ver}"));

File diff suppressed because it is too large Load Diff

@ -3,370 +3,302 @@
<c:set var="prefixName" scope="request">계고장 발송 현황 상세 정보</c:set> <c:set var="prefixName" scope="request">계고장 발송 현황 상세 정보</c:set>
<!-- inner page html --> <!-- Inner page html -->
<div class="wrapper-pop"> <div class="content-wrapper" data-doctx="${pageName}">
<!-- Content --> <!-- Content -->
<div class="container flex-grow-1 px-0"> <div class="container flex-grow-1 px-0">
<!-- Page Body -->
<!-- Page Body --> <div class="card wrapper-pop">
<div class="card"> <!-- 입력 영역 -->
<!-- 입력 영역 --> <form name="frmEdit">
<form id="frmEdit--${pageName}" name="frmEdit"> <input type="hidden" name="sggCd" />
<input type="hidden" id="sggCd--${pageName}" name="sggCd" /> <input type="hidden" name="taskSeCd" />
<input type="hidden" id="taskSeCd--${pageName}" name="taskSeCd" /> <input type="hidden" name="sndngId" />
<input type="hidden" id="sndngId--${pageName}" name=sndngId /> </form>
</form> <!-- 입력 영역 -->
<!-- 입력 영역 -->
<!-- 업무 버튼 및 건수 표시 -->
<!-- 업무 버튼 및 건수 표시 --> <div>
<div> <span class="container-page-btn" name="gridButtonArea">
<span class="container-page-btn"> <!-- 건수, 페이지 표시 -->
<!-- 건수, 페이지 표시 --> <div class="d-flex flex-row justify-content-between">
<div class="d-flex flex-row justify-content-between"> <span is="paging-info" class="dataTables_info" name="dataPagingInfo" role="status" aria-live="polite"></span>
<span class="dataTables_info" id="paging--${pageName}PagingInfo" role="status" aria-live="polite"></span> <ul class="pagination pagination-primary" name="dataPaging">
<ul class="pagination pagination-primary" id="paging--${pageName}"> </ul>
</ul> </div>
</div> <!-- 업무 버튼 -->
<!-- 업무 버튼 --> <span class="container-window-btn-right">
<span class="container-window-btn-right"> <button type="button" class="btn btn-excel w-px-120" name="btnExcel" title="엑셀">
<button type="button" class="btn btn-excel w-px-120" id="btnExcel--${pageName}" title="엑셀"> 엑셀
엑셀 </button>
</button> <button type="button" class="btn btn-primary w-px-120" name="btnPrintWrng" title="계고장 출력">
<button type="button" class="btn btn-primary w-px-120" id="btnPrintWrng--${pageName}" title="계고장 출력"> 계고장 출력
계고장 출력 </button>
</button> </span>
</span> </span>
</span> </div> <!-- 업무 버튼 및 건수 표시 -->
</div> <!-- 업무 버튼 및 건수 표시 -->
<!-- DataTables(그리드) -->
<!-- DataTables(그리드) --> <div class="card-datatable text-nowrap">
<div class="card-datatable text-nowrap"> <div class="dataTables_wrapper dt-bootstrap5 no-footer">
<div class="dataTables_wrapper dt-bootstrap5 no-footer" id="DataTables_Table_0_wrapper--${pageName}"> <div class="table-responsive ox-scroll oy-scroll h-px-300" name="tableRspns">
<div class="table-responsive ox-scroll oy-scroll h-px-500" id="table-responsive--${pageName}"> <table class="table-layout-fixed dataTable datatables-ajax table table-bordered no-footer" aria-describedby="DataTables_Table_0_info">
<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">
<thead class="sticky-thead"> <tr name="theadTr" data-search-target="[data-doctx='${pageName}']">
<tr id="theadTr--${pageName}" <th class="cmn" style="width: 72px;">No.</th>
data-by="by--${pageName}" data-by-output="byOutput--${pageName}" data-main-option="mainOption--${pageName}" data-sub-option="subOption--${pageName}"> <th class="cmn" style="width: 120px;">발송상태</th>
<th class="cmn" style="width: 72px;">No.</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: 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: 120px;">납기일자</th> <th class="cmn" style="width: 100px;">우편번호</th>
<th class="cmn" style="width: 200px;">성명</th> <th class="cmn" style="width: 280px;">주소</th>
<th class="cmn" style="width: 100px;">우편번호</th> <th class="cmn" style="width: 320px;">상세주소</th>
<th class="cmn" style="width: 280px;">주소</th> <th class="cmn" style="width: 120px;">배달일자</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: 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: 200px;">수령인</th> <th class="cmn" style="width: 180px;">단속일시</th>
<th class="cmn" style="width: 200px;">수령인관계</th> <th class="cmn" style="width: 140px;">차량번호</th>
<th class="cmn" style="width: 180px;">단속일시</th> <th class="cmn" style="width: 160px;">단속법정동</th>
<th class="cmn" style="width: 140px;">차량번호</th> <th class="cmn" style="width: 280px;">단속장소</th>
<th class="cmn" style="width: 160px;">단속법정동</th> <th class="cmn" style="width: 120px;">과태료금액</th>
<th class="cmn" style="width: 280px;">단속장소</th> <th class="cmn" style="width: 180px;">등록일시</th>
<th class="cmn" style="width: 120px;">과태료금액</th> <th class="cmn" style="width: 140px;">등록사용자</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 dummy-th"></th>
<th class="cmn" style="width: 140px;">수정사용자</th> </tr>
<th class="cmn dummy-th"></th> </thead>
</tr> <tbody name="tbodyList">
</thead> </tbody>
<tbody id="tbody--${pageName}"> <template is="curly-brackets" name="tmpltRows">
</tbody> <tr data-index="{data-index}">
<template id="${infoPrefix}Row--${pageName}"> <td class="cmn text-center" onclick ondblclick">{ROW_NUM}</td>
<tr data-key="{SNDNG_DTL_ID}"> <td class="cmn text-center" onclick ondblclick">{SNDNG_DTL_STTS_NM}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ROW_NUM}</td> <td class="cmn text-center" onclick ondblclick">{RG_NO}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{SNDNG_DTL_STTS_NM}</td> <td class="cmn text-center" onclick ondblclick">{SNDNG_YMD}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RG_NO}</td> <td class="cmn text-center" onclick ondblclick">{DUDT_YMD}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{SNDNG_YMD}</td> <td class="cmn text-start" onclick ondblclick">{RCPN_NM}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DUDT_YMD}</td> <td class="cmn text-center" onclick ondblclick">{RCPN_ZIP}</td>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RCPN_NM}</td> <td class="cmn text-start" onclick ondblclick">{RCPN_ADDR}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RCPN_ZIP}</td> <td class="cmn text-start" onclick ondblclick">{RCPN_DTL_ADDR}</td>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RCPN_ADDR}</td> <td class="cmn text-center" onclick ondblclick">{DLVR_YMD}</td>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RCPN_DTL_ADDR}</td> <td class="cmn text-center" onclick ondblclick">{DLVR_TM}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DLVR_YMD}</td> <td class="cmn text-start" onclick ondblclick">{UNDLVR_RSN_NM}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DLVR_TM}</td> <td class="cmn text-start" onclick ondblclick">{ACTL_RCPN_NM}</td>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{UNDLVR_RSN_NM}</td> <td class="cmn text-start" onclick ondblclick">{RCPN_REL_NM}</td>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{ACTL_RCPN_NM}</td> <td class="cmn text-center" onclick ondblclick">{CRDN_DT}</td>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RCPN_REL_NM}</td> <td class="cmn text-start" onclick ondblclick">{VHRNO}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_DT}</td> <td class="cmn text-start" onclick ondblclick">{CRDN_STDG_NM}</td>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{VHRNO}</td> <td class="cmn text-start" onclick ondblclick">{CRDN_PLC}</td>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_STDG_NM}</td> <td class="cmn text-end" onclick ondblclick">{FFNLG_AMT}</td>
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_PLC}</td> <td class="cmn text-center" onclick ondblclick">{REG_DT}</td>
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{FFNLG_AMT}</td> <td class="cmn text-center" onclick ondblclick">{RGTR_NM}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{REG_DT}</td> <td class="cmn text-center" onclick ondblclick">{MDFCN_DT}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RGTR_NM}</td> <td class="cmn text-center" onclick ondblclick">{MDFR_NM}</td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{MDFCN_DT}</td> <td class="cmn dummy-td"></td>
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{MDFR_NM}</td> </tr>
<td class="cmn dummy-td"></td> </template>
</tr> <template name="tmpltNotFound">
</template> <tr class="odd">
<template id="${infoPrefix}NotFound--${pageName}"> <td valign="top" colspan="24" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
<tr class="odd"> </tr>
<td valign="top" colspan="24" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td> </template>
</tr> </table>
</template> </div>
</table> </div>
</div> </div> <!-- DataTables(그리드) -->
</div> </div> <!-- <div class="card"> -->
</div> <!-- DataTables(그리드) --> <!-- Page Body -->
</div> <!-- <div class="card"> --> </div> <!-- <div class="container flex-grow-1 px-0"> -->
<!-- Page Body --> <!-- / Content -->
</div> <!-- <div class="container flex-grow-1 px-0"> -->
<!-- Content -->
</div> </div>
<!-- / inner page html <div class="wrapper-pop"> --> <!-- / Inner page html -->
<script> <script>
/************************************************************************** LoadScript("sndb01040Script", wctx.url("/webjars/js/fims/sndb/sndb01040.js?ver=${ver}"));
* Global Variable
**************************************************************************/ /**************************************************************************
pageObject["${pageName}"] = {}; * Global Variable
**************************************************************************/
/************************************************************************** pageObject["${pageName}"] = newDoctxFinder("${pageName}");
* script 진입
**************************************************************************/ /**************************************************************************
$(document).ready(function() { * script 진입
// pageObject **************************************************************************/
let $P = pageObject["${pageName}"]; $(document).ready(function() {
// pageObject
// infoDialog 호출 용도(view 조회(편집불가), create 등록, update 수정) let $P = pageObject["${pageName}"];
$P.callPurpose = "${callPurpose}";
// FormFields // URL
$P.formFields = new FimsFormFields("#frmEdit--${pageName}"); $P.prefixUrl = "${prefixUrl}";
// infoDialog 호출 용도(view 조회(편집불가), create 등록, update 수정)
/************************************************************************** $P.callPurpose = "${callPurpose}";
* DatasetControl // datasetControl
**************************************************************************/ $P.ctrl = newSndb01040Control("${pageName}", "[data-doctx=${pageName}]");
$P.control = new DatasetControl({
prefix: "wrngSndngDtl" /**************************************************************************
, prefixName: "계고장 발송 상세" * DataTables 이벤트
, keymapper: info => info ? info.SNDNG_DTL_ID : "" **************************************************************************/
, dataGetter: obj => obj.${infoPrefix}List // dataTable 클릭 이벤트
, appendData: true $P.dataTableClick = (dataIndex) => {
, formats: { if (!dataIndex) return;
SNDNG_YMD: dateFormat
, DUDT_YMD: dateFormat $P.$findn("tbodyList").setCurrentRow(dataIndex);
, FFNLG_AMT: numberFormat
, REG_DT: datetimeFormat Apply.toDataset.current($P.ctrl.dataset, dataIndex);
, MDFCN_DT: datetimeFormat }
}
}); // dataTable 더블 클릭 이벤트 - 개별총정보 dialog
// $P.control 설정 $P.dataTableDblClick = (dataIndex) => {
$P.control.defaultFetchSize = FETCH_XS; // 1 페이지당 조회되는 자료 건수 index.jsp에서 확인 FETCH_XS = 30 if (!dataIndex) return;
$P.control.query = { pageNum : 1, fetchSize : $P.control.defaultFetchSize };
$P.control.beforeCurrent = null; // 단속 ID
let crdnId = $P.ctrl.getValue("CRDN_ID");
/************************************************************************** if (!crdnId) return;
* DatasetControl 이벤트
**************************************************************************/ let params = {
// Dataset 변경 이벤트 callPageName: "${pageName}"
$P.control.onDatasetChange = (obj, option) => { , callPurpose: "view"
$P.renderList(obj.${infoPrefix}Total, option); , sggCd: $P.ctrl.getValue("SGG_CD")
, taskSeCd: $P.ctrl.getValue("TASK_SE_CD")
$("#paging--${pageName}").setPagingInfo({ , crdnId: $P.ctrl.getValue("CRDN_ID")
list: $P.control.dataset }
, prefix: "paging--${pageName}"
, start: obj.${infoPrefix}Start ajax.get({
, totalSize: obj.${infoPrefix}Total url: wctx.url("/sprt/sprt02/010/main.do")
, fetchSize: obj.${infoPrefix}Fetch , data: params || {}
, func: "pageObject['${pageName}'].control.load({index})" , success: (resp) => {
}); let dialogName = "totalInfoMainDialog";
let dialogId = dialogName + "-" + uuid();
}; dialog.open({
id: dialogId
// 현재 선택 자료 변경 이벤트 , title: "개별총정보"
$P.control.onCurrentChange = (item) => { , size: "xxl"
if (!item) return; , content: resp
, init: () => {
let key = item.data.SNDNG_DTL_ID; $("#" + dialogId).attr("name", dialogName);
$("#" + dialogId).attr("data-ref-doctx", "${pageName}");
$("#tbody--${pageName}").setCurrentRow(key);
}; AppSupport.setDialogZindex();
}
/************************************************************************** , onClose: () => { }
* DataTables 이벤트 });
**************************************************************************/ }
// DataTables에 click, dbclick 이벤트 });
$P.renderList = (totalSize, option) => { }
let ${infoPrefix}List = $P.control.dataset;
let empty = ${infoPrefix}List.empty; // DataTables에 스크롤이 맨 밑으로 이동했을 때 이벤트
$P.scrollDataList = () => {
let trs = empty ? $P.ctrl.load($P.ctrl.query.pageNum + 1);
[document.getElementById("${infoPrefix}NotFound--${pageName}").innerHTML] : <%-- from template#${infoPrefix}NotFound --%> }
${infoPrefix}List.inStrings(
document.getElementById("${infoPrefix}Row--${pageName}").innerHTML, <%-- from template#${infoPrefix}Row --%> /**************************************************************************
(str, dataItem) => str * 사용자 함수(function)
.replace(/{onclick}/gi, "pageObject['${pageName}'].control.setCurrent('" + dataItem.getValue("SNDNG_DTL_ID") + "');") **************************************************************************/
.replace(/{ondblclick}/gi, "pageObject['${pageName}'].getTotalInfo('" + dataItem.getValue("CRDN_ID") + "');") // 출력
); $P.print = (params) => {
if (!params) return;
let noMore = (${infoPrefix}List.length >= totalSize);
let initScroll = ($P.control.query.pageNum < 2); dialog.alert({
if(option != null && option.reloaded){ content: "작업중입니다"
initScroll = false; , onOK: () => {
} }
});
$("#table-responsive--${pageName}")[0].changeContent(trs.join(), initScroll, noMore); }
/**************************************************************************
//보안모드 * 버튼 clickEvent
fn_securityModeToggle($("#securityMode--top").is(":checked")); **************************************************************************/
} // 엑셀 버튼 클릭 이벤트
$P.fnExcel = () => {
// DataTables에 스크롤이 맨 밑으로 이동했을 때 이벤트 if ($P.ctrl.dataset.empty) {
$P.scrollDataList = () => { dialog.alert({
content: "검색된 자료가 없습니다."
, init: () => { AppSupport.setDialogZindex(); }
$P.control.load($P.control.query.pageNum + 1); , onOK: () => { }
} });
return;
// DataTables에 더블 클릭시 개별총정보 dialog }
$P.getTotalInfo = (crdnId) => {
if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return; // DataTables(그리드)
$P.ctrl.query.cellDefs =
let params = { AppSupport.getCellDefs($P.$findn("theadTr").find("th").not(".dummy-th").not(":eq(0)")
callControlName: "pageObject['${pageName}'].control" , $($P.findn("tmpltRows").content).find("td").not(".dummy-td").not(":eq(0)")
, sggCd: $P.control.dataset.getValue("SGG_CD") , FimsSupport.getCellDefsForPrivacyCell);
, taskSeCd: $P.control.dataset.getValue("TASK_SE_CD")
, crdnId: crdnId $P.ctrl.download();
} }
ajax.get({ // 계고장출력 버튼 이벤트
url: wctx.url("/sprt/sprt02/010/main.do") $P.fnPrint = () => {
, data: params // validate 확인
, success: resp => { if (!AppSupport.customValidate($P.$findn("frmEdit").find("input,select,textarea"))) return;
dialog.open({
id: "totalInfoMainDialog" dialog.alert({
, title: "개별총정보" content: "현재 " + $P.ctrl.prefixName + " 정보를 출력하시겠습니까?"
, content: resp , init: () => { AppSupport.setDialogZindex(); }
, size: "xxl" , onOK: () => {
}); let params = new FimsFormFields($P.selectorn("frmEdit")).get(); // formFields
}
}); $P.print(params);
} }
});
/************************************************************************** }
* 사용자 함수(function)
**************************************************************************/ /**************************************************************************
// 출력 * 초기 셋팅
$P.print = (params) => { **************************************************************************/
if (!params) return; // 이벤트 설정
$P.setEvent = () => {
dialog.alert({ // 기본 버튼 이벤트
content: "작업중입니다" $P.$findn("btnExcel").on("click", () => $P.fnExcel()); // 엑셀
, onOK: () => {
} // 버튼 이벤트
}); $P.$findn("btnPrintWrng").on("click", function() {
} $P.fnPrint($P.$findn("btnPrintWrng").attr("title")); // 출력
});
/**************************************************************************
* 버튼 clickEvent // DataTables 스크롤을 위해서 다이얼로그 화면이 생성된 후 Dataset을 설정한다.
**************************************************************************/ let modalId = $(document.querySelector("[data-doctx='${pageName}']")).parents(".modal")[0].id;
// 엑셀 버튼 이벤트 $("#" + modalId).on("shown.bs.modal", function (e) {
$P.fnExcel = () => { $P.ctrl.setData( {List: ${List}, Paging :${Paging}} );
if ($P.control.dataset.empty) { });
dialog.alert({
content: "검색된 자료가 없습니다." // DataTables width 변경 조정
, init: () => { AppSupport.setDialogZindex(); } Componentization.fnMakeResizableTable($P.findn("tableRspns"));
, onOK: () => { } // DataTables 스크롤 이벤트 생성
}); Componentization.fnMakeScrollableTable($P.findn("tableRspns"), $P.scrollDataList);
return; }
}
// 초기화 이벤트
// 검색조건 $P.fnReset = (taskSeCd) => {
$P.control.query = $P.formFields.get(); // 검색 조건 // 초기화
$P.control.query.fetchSize = $P.control.defaultFetchSize; // 한번에 조회되는 자료 건수 $P.findn("frmSearch").reset(); // 화면 초기화
$P.control.query.delYn = "N"; // 삭제 여부
// 기본 데이터 설정
// DataTables(그리드) $P.$findn("sggCd").val("${sggCd}"); // 시군구 코드
let cellDefs = AppSupport.getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") $P.$findn("taskSeCd").val("${taskSeCd}"); // 업무 구분 코드
, $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") $P.$findn("sndngId").val("${sndngId}"); // 발송 ID
, FimsSupport.getCellDefsForPrivacyCell);
// 업무 구분에 따른 URL 설정
$P.control.query.cellDefs = cellDefs; $P.ctrl.urls.create = wctx.url("/" + "${taskSeCd}" + $P.prefixUrl + "/040/list.do"); // 조회
}
$P.control.download();
} /**************************************************************************
* 최초 실행 함수
// 계고장출력 버튼 이벤트 **************************************************************************/
$P.fnPrint = () => { // 1. 이벤트 설정
// validate 확인 $P.setEvent();
if (!AppSupport.customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return;
// 2. 초기 화면 설정
dialog.alert({ $P.fnReset();
content: $P.control.prefixName + " 정보를 출력하시겠습니까?"
, onOK: () => { // 3. 보안모드
$P.print($P.formFields.get()); fn_securityModeToggle($("#securityMode--top").is(":checked"));
} });
});
}
/**************************************************************************
* 초기 셋팅
**************************************************************************/
// 이벤트 설정
$P.setEvent = () => {
// 기본 버튼 이벤트
$("#btnExcel--${pageName}").on("click", () => $P.fnExcel()); // 엑셀
// 업무 버튼 이벤트
$("#btnPrintWrng--${pageName}").on("click", function() {
$P.fnPrint($(this).attr("title")); // 계고장 출력
});
// DataTables width 변경 조정
Componentization.fnMakeResizableTable($("#table-responsive--${pageName}")[0]);
// DataTables 스크롤 이벤트 생성
Componentization.fnMakeScrollableTable($("#table-responsive--${pageName}")[0], $P.scrollDataList);
// DataTables 스크롤을 위해서 다이얼로그 화면이 생성된 후 Dataset을 설정한다.
$("#${infoPrefix}Dialog--${openerPageName}").on("shown.bs.modal", function (e) {
$P.control.setData({
${infoPrefix}List: ${wrngSndngDtlList}
, ${infoPrefix}Start: ${wrngSndngDtlStart}
, ${infoPrefix}Fetch: ${wrngSndngDtlFetch}
, ${infoPrefix}Total: ${wrngSndngDtlTotal}
});
});
}
// 초기 화면 설정
$P.initForm = () => {
// 화면 초기화
$("#frmEdit--${pageName}")[0].reset();
// 기본 데이터 설정
$("#sggCd--${pageName}").val("${sggCd}"); // 시군구 코드
$("#taskSeCd--${pageName}").val("${taskSeCd}"); // 업무 구분 코드
$("#sndngId--${pageName}").val("${sndngId}"); // 발송 ID
// 업무 구분별 설정
$P.setTask("${taskSeCd}");
}
// 업무 구분별 설정
$P.setTask = (taskSeCd) => {
// 업무구분에 따른 URL 설정
$P.control.urls.load = wctx.url("/" + taskSeCd + "${infoPrefixUrl}" + "/040/list.do"); // 조회
}
/**************************************************************************
* 최초 실행 함수
**************************************************************************/
// 1. 이벤트 설정
$P.setEvent();
// 2. 초기 화면 설정
$P.initForm();
// 3. 보안모드
fn_securityModeToggle($("#securityMode--top").is(":checked"));
});
</script> </script>

@ -133,6 +133,12 @@
<!-- 업무 버튼 --> <!-- 업무 버튼 -->
<div class="container-page-btn"> <div class="container-page-btn">
<label class="col-form-label bg-label-danger pe-2 w-px-120 text-sm-center">처리 상태 이력</label> <label class="col-form-label bg-label-danger pe-2 w-px-120 text-sm-center">처리 상태 이력</label>
<!-- 버튼 우측 정렬 -->
<span class="container-window-btn-right">
<label>
<input type="checkbox" name="unusedInq" class="form-check-input" onchange="pageObject['${pageName}'].fnRefresh(this.checked);"/>미사용조회
</label>
</span>
</div> </div>
<!-- DataTables(그리드) --> <!-- DataTables(그리드) -->
<div class="card-datatable text-nowrap"> <div class="card-datatable text-nowrap">
@ -143,9 +149,11 @@
<tr name="theadTrCrdnSttsHstry" data-search-target="[data-doctx='${pageName}']"> <tr name="theadTrCrdnSttsHstry" data-search-target="[data-doctx='${pageName}']">
<th class="cmn sorting" style="width: 180px;" data-field="REG_DT">등록일시</th> <th class="cmn sorting" style="width: 180px;" data-field="REG_DT">등록일시</th>
<th class="cmn sorting" style="width: 120px;" data-field="RGTR_NM">등록사용자</th> <th class="cmn sorting" style="width: 120px;" data-field="RGTR_NM">등록사용자</th>
<th class="cmn sorting" style="width: 100px;" data-field="USE_YN_NM">사용여부</th>
<th class="cmn sorting" style="width: 160px;" data-field="CRDN_STTS_NM">단속상태</th> <th class="cmn sorting" style="width: 160px;" data-field="CRDN_STTS_NM">단속상태</th>
<th class="cmn sorting" style="width: 280px;" data-field="ETC_CN">기타내용</th> <th class="cmn sorting" style="width: 280px;" data-field="ETC_CN">기타내용</th>
<th class="cmn sorting" style="width: 100px;" data-field="USE_YN_NM">사용여부</th> <th class="cmn sorting" style="width: 180px;" data-field="MDFCN_DT">수정일시</th>
<th class="cmn sorting" style="width: 120px;" data-field="MDFR_NM">수정사용자</th>
<th class="cmn dummy-th"></th> <th class="cmn dummy-th"></th>
</tr> </tr>
</thead> </thead>
@ -155,15 +163,17 @@
<tr data-key="{data-index}"> <tr data-key="{data-index}">
<td class="cmn text-center" onclick="{onclick}">{REG_DT}</td> <td class="cmn text-center" onclick="{onclick}">{REG_DT}</td>
<td class="cmn text-center" onclick="{onclick}">{RGTR_NM}</td> <td class="cmn text-center" onclick="{onclick}">{RGTR_NM}</td>
<td class="cmn text-center" onclick="{onclick}">{USE_YN_NM}</td>
<td class="cmn text-center" onclick="{onclick}">{CRDN_STTS_NM}</td> <td class="cmn text-center" onclick="{onclick}">{CRDN_STTS_NM}</td>
<td class="cmn text-start" onclick="{onclick}">{ETC_CN}</td> <td class="cmn text-start" onclick="{onclick}">{ETC_CN}</td>
<td class="cmn text-center" onclick="{onclick}">{USE_YN_NM}</td> <td class="cmn text-center" onclick="{onclick}">{MDFCN_DT}</td>
<td class="cmn text-center" onclick="{onclick}">{MDFR_NM}</td>
<td class="cmn dummy-td"></td> <td class="cmn dummy-td"></td>
</tr> </tr>
</template> </template>
<template name="tmpltNotFoundCrdnSttsHstry"> <template name="tmpltNotFoundCrdnSttsHstry">
<tr class="odd"> <tr class="odd">
<td valign="top" colspan="6" class="dataTables_empty text-center">처리상태 이력 정보를 찾지 못했습니다.</td> <td valign="top" colspan="8" class="dataTables_empty text-center">처리상태 이력 정보를 찾지 못했습니다.</td>
</tr> </tr>
</template> </template>
</table> </table>
@ -267,7 +277,7 @@
// 서버에 전송할 data(파라미터) 생성 // 서버에 전송할 data(파라미터) 생성
let params = { let params = {
callPurpose: "remove" callPurpose: "remove"
, sggCd: $P.ctrlLevyExcl.getValue("SGG_CD") // 시군구 코드 , sggCd: $P.ctrlLevyExcl.getValue("SGG_CD") // 시군구 코드
, taskSeCd: $P.ctrlLevyExcl.getValue("TASK_SE_CD") // 업무 구분 코드 , taskSeCd: $P.ctrlLevyExcl.getValue("TASK_SE_CD") // 업무 구분 코드
, levyExclId: $P.ctrlLevyExcl.getValue("LEVY_EXCL_ID") // 부과제외 ID , levyExclId: $P.ctrlLevyExcl.getValue("LEVY_EXCL_ID") // 부과제외 ID
, btnTitle: obj.btnTitle // 버튼 title , btnTitle: obj.btnTitle // 버튼 title
@ -278,18 +288,24 @@
} }
// 정보 새로고침 // 정보 새로고침
$P.fnRefresh = () => { $P.fnRefresh = (crdnSttsHstryUseYn) => {
let ctrlMain = pageObject["${pageNameMain}"].ctrlMain; let ctrlMain = pageObject["${pageNameMain}"].ctrlMain;
// 단속 ID 가 없다면.. return // 단속 ID 가 없다면.. return
let crdnId = ctrlMain.getValue("CRDN_ID"); // 단속 ID let crdnId = ctrlMain.getValue("CRDN_ID"); // 단속 ID
if (!crdnId) return; if (!crdnId) return;
let unusedInq = "N";
if (crdnSttsHstryUseYn == true) {
unusedInq = "Y";
}
let params = { let params = {
callPurpose: "refresh" callPurpose: "refresh"
, sggCd: ctrlMain.getValue("SGG_CD") , sggCd: ctrlMain.getValue("SGG_CD")
, taskSeCd: ctrlMain.getValue("TASK_SE_CD") , taskSeCd: ctrlMain.getValue("TASK_SE_CD")
, crdnId: ctrlMain.getValue("CRDN_ID") , crdnId: ctrlMain.getValue("CRDN_ID")
, unusedInq: unusedInq
, delYn: "N" , delYn: "N"
}; };

@ -10,8 +10,6 @@ function newExcl01010Control(pageName, doctx="[data-doctx='excl01010']") {
, urls: { , urls: {
load: "/list.do" load: "/list.do"
, getInfo: "/info.do" , getInfo: "/info.do"
, create: "/create.do"
, update: "/update.do"
, remove: "/remove.do" , remove: "/remove.do"
} }
, formats: { , formats: {

@ -6,11 +6,8 @@ function newExcl01020Control(pageName, doctx="[data-doctx='excl01020']") {
, dataGetter: obj => obj["Info"] , dataGetter: obj => obj["Info"]
, keys: ["LEVY_EXCL_ID"] , keys: ["LEVY_EXCL_ID"]
, urls: { , urls: {
load: "/list.do" create: "/create.do"
, getInfo: "/info.do"
, create: "/create.do"
, update: "/update.do" , update: "/update.do"
, remove: "/remove.do"
} }
}); });

@ -0,0 +1,149 @@
function newSndb01030Control(pageName, doctx="[data-doctx='sndb01030']") {
let ctrl = new DatasetControl({
doctx: doctx
, prefix: "wrngSndng"
, prefixName: "계고장 발송 현황"
, dataGetter: obj => obj["List"]
, keys: ["SNDNG_ID"]
, appendData: true
, infoSize: "xxl"
, urls: {
load: "/list.do"
, getInfo: "/info.do"
, remove: "/remove.do"
}
, formats: {
SNDNG_YMD: dateFormat
, SNDNG_END_YMD: dateFormat
, TNOCS: numberFormat
, GRAMT: numberFormat
, REG_DT: datetimeFormat
, MDFCN_DT: datetimeFormat
}
});
// 검색 조건
ctrl.query = { pageNum: 1, fetchSize: DEFAULT_FETCH_SIZE }; // 1 페이지당 자료 건수 index.jsp에서 확인
// paging
ctrl.pagingSupport = new FimsPagingSupport({
ctrl: ctrl // DatasetControl
, ignoreCtrlPrefix: true // ctrl.prefix 가 있더라도 무시
, linkContainer: "[name='dataPaging']" // <ul class="pagination pagination-primary" name="dataPaging">
});
/**************************************************************************
* DatasetControl Events
**************************************************************************/
// Dataset 변경 이벤트
ctrl.onDatasetChange = (obj, option) => {
// 데이터 셋
let dataList = ctrl.dataset;
let empty = dataList.empty;
let clsForTask = $(ctrl.find("[name='frmSearch']")).find("[name='taskSeCd']:checked").val().toLowerCase();
// 업무별 dataTables(그리드) tr, td
let foundContent = ctrl.find("[name='tmpltRows']").content;
let foundTr = $(foundContent).find("tr")[0].cloneNode(false);
let foundTds = $(foundContent).find("." + clsForTask + ",.cmn");
foundTds.each(function() {
foundTr.appendChild(this.cloneNode(true));
});
let replacer = (str, dataItem) => str
.replace(/{onclick}/gi, "pageObject['" + pageName + "'].dataTableClick('{data-index}');")
.replace(/{ondblclick}/gi, "pageObject['" + pageName + "'].dataTableDblClick('{data-index}');");
let trs = empty ?
[ctrl.find("[name='tmpltNotFound']").content.querySelector("." + clsForTask + ",.cmn").outerHTML]
: dataList.inStrings(foundTr.outerHTML, replacer);
let noMore = (dataList.length >= obj["Paging"]?.totalSize); // 전체 건수
let initScroll = (ctrl.query.pageNum < 2);
if (option != null && option.reloaded) {
initScroll = false;
}
// dataTables(그리드)에 자료 표시 td
ctrl.find("[name='tableRspns']").changeContent(trs.join(), initScroll, noMore);
// checkbox 체크 해제
$(ctrl.find("[name='gridAllCheckbox']")).prop("checked", false);
// dataTables(그리드)에 페이지 표시 pagingInfo
ctrl.pagingSupport.setPagingInfo(obj);
// 보안모드
fn_securityModeToggle($("#securityMode--top").is(":checked"));
};
// 현재 선택 자료 변경 이벤트
ctrl.onCurrentChange = (item) => {
Apply.fromDataset.currentRow(ctrl.dataset, item, ctrl.find("[name='tbodyList']"));
};
// 선택(체크) 변경 이벤트
ctrl.onSelectionChange = (selectedArr) => {
// gridCheckbox
Apply.fromDataset.gridCheckbox(ctrl.dataset, ctrl.find("[name='tbodyList']"), 1, selectedArr);
// gridButton
Apply.fromDataset.gridButton(ctrl.dataset, ctrl.find("[name='btnRemove']"), selectedArr); // 삭제 버튼
};
// 상세 정보 dialog
ctrl.getInfo = (params) => {
if (!params) return;
ajax.get({
url: ctrl.urls.getInfo
, data: params || {}
, success: (resp) => {
let dialogName = ctrl.prefixed("Dialog");
let dialogId = dialogName + "-" + uuid();
dialog.open({
id: dialogId
, title: params.btnTitle
, size: ctrl.infoSize
, content: resp
, init: () => {
$("#" + dialogId).attr("name", dialogName);
$("#" + dialogId).attr("data-ref-doctx", pageName);
AppSupport.setDialogZindex();
}
, onClose: () => { ctrl.reload({all : true}); } // 자료 재조회
});
}
});
}
// 삭제 callback
ctrl.onRemove = (params, resp) => {
let showMessage = resp.rtnMsg.replace(/[S]|[F]/g, params.btnTitle);
// 메시지 출력
dialog.alert({
content: showMessage
, init: () => { AppSupport.setDialogZindex(); }
, onOK: () => { }
, onClose: () => {
if (resp.saved) { ctrl.reload({ all: true }); } // 자료 재조회
}
});
}
// 삭제
ctrl.remove = (params) => {
if (!params) return;
ajax.post({
url: ctrl.urls.remove
, data: params || {}
, success: (resp) => { ctrl.onRemove(params, resp); }
});
}
return ctrl;
}

@ -0,0 +1,96 @@
function newSndb01040Control(pageName, doctx="[data-doctx='sndb01040']") {
let ctrl = new DatasetControl({
doctx: doctx
, prefix: "wrngSndng"
, prefixName: "계고장 발송 현황"
, dataGetter: obj => obj["List"]
, keys: ["SNDNG_DTL_ID"]
, appendData: true
, urls: {
load: "/list.do"
}
, formats: {
SNDNG_YMD: dateFormat
, DUDT_YMD: dateFormat
, FFNLG_AMT: numberFormat
, REG_DT: datetimeFormat
, MDFCN_DT: datetimeFormat
}
});
// 검색 조건
ctrl.query = { pageNum: 1, fetchSize: DEFAULT_FETCH_SIZE }; // 1 페이지당 자료 건수 index.jsp에서 확인
// paging
ctrl.pagingSupport = new FimsPagingSupport({
ctrl: ctrl // DatasetControl
, ignoreCtrlPrefix: true // ctrl.prefix 가 있더라도 무시
, linkContainer: "[name='dataPaging']" // <ul class="pagination pagination-primary" name="dataPaging">
});
/**************************************************************************
* DatasetControl Events
**************************************************************************/
ctrl.onDatasetChange = (obj, option) => {
// 데이터 셋
let dataList = ctrl.dataset;
let empty = dataList.empty;
let replacer = (str, dataItem) => str
.replace(/{onclick}/gi, "pageObject['" + pageName + "'].dataTableClick('{data-index}');");
let trs = empty ?
[ctrl.find("[name='tmpltNotFound']").innerHTML]
: dataList.inStrings(ctrl.find("[name='tmpltRows']").innerHTML, replacer);
let noMore = (dataList.length >= obj["Paging"]?.totalSize); // 전체 건수
let initScroll = (ctrl.query.pageNum < 2);
if (option != null && option.reloaded) {
initScroll = false;
}
// dataTables(그리드)에 자료 표시 td
ctrl.find("[name='tableRspns']").changeContent(trs.join(), initScroll, noMore);
// dataTables(그리드)에 페이지 표시 pagingInfo
ctrl.pagingSupport.setPagingInfo(obj);
// 보안모드
fn_securityModeToggle($("#securityMode--top").is(":checked"));
};
// 현재 선택 자료 변경 이벤트
ctrl.onCurrentChange = (item) => {
Apply.fromDataset.currentRow(ctrl.dataset, item, ctrl.find("[name='tbodyList']"));
};
// 저장 callback
ctrl.onSave = (params, resp) => {
let modalId = $(document.querySelector(doctx)).parents(".modal")[0].id;
let dialogTitle = $("#" + modalId).find("h5.modal-title").html();
let showMessage = resp.rtnMsg.replace(/[S]|[F]/g, dialogTitle);
// 메시지 출력
dialog.alert({
content: showMessage
, init: () => { AppSupport.setDialogZindex(); }
, onOK: () => { }
, onClose: () => {
if (resp.saved) { dialog.close(modalId); }
}
});
}
// 저장
ctrl.save = (params) => {
if (!params) return;
ajax.post({
url: ctrl.urls.create
, data: params || {}
, success: (resp) => { ctrl.onSave(params, resp); }
});
}
return ctrl;
}

@ -190,7 +190,8 @@ function newSprt02050ControlCSH(pageName, doctx="[data-doctx='sprt02050']", main
, getInfo: "/info.do" , getInfo: "/info.do"
} }
, formats: { , formats: {
REG_DT: datetimeFormat REG_DT: datetimeFormat
, MDFCN_DT: datetimeFormat
} }
}); });

Loading…
Cancel
Save