|
|
|
@ -69,19 +69,13 @@
|
|
|
|
<!-- 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">
|
|
|
|
<div class="table-responsive ox-scroll oy-scroll h-px-300" name="tableRspns">
|
|
|
|
<div class="table-responsive h-px-300" name="tableRspns">
|
|
|
|
<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" aria-describedby="DataTables_Table_0_info">
|
|
|
|
<thead class="sticky-thead">
|
|
|
|
<thead class="sticky-thead">
|
|
|
|
<tr name="theadTr" data-search-target="[data-doctx='${pageName}']">
|
|
|
|
<tr name="theadTr" data-search-target="[data-doctx='${pageName}']">
|
|
|
|
<th class="cmn" style="width: 72px;">No.</th>
|
|
|
|
<th class="cmn" style="width: 72px;">No.</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: 160px;">계도사유</th>
|
|
|
|
<%--
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 180px;">민원신청번호</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 180px;">민원접수번호</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 120px;">민원접수일자</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 200px;">민원처리결과</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: 160px;">위반항목</th>
|
|
|
|
<th class="cmn" style="width: 160px;">위반항목</th>
|
|
|
|
@ -105,15 +99,9 @@
|
|
|
|
</tbody>
|
|
|
|
</tbody>
|
|
|
|
<template is="curly-brackets" name="tmpltRows">
|
|
|
|
<template is="curly-brackets" name="tmpltRows">
|
|
|
|
<tr data-index="{data-index}">
|
|
|
|
<tr data-index="{data-index}">
|
|
|
|
<td class="cmn text-center" onclick ondblclick>{ROW_NUM}</td>
|
|
|
|
<td class="cmn text-center" onclick ondblclick>{data-no}</td>
|
|
|
|
<td class="cmn text-center" onclick ondblclick>{LEVY_EXCL_YMD}</td>
|
|
|
|
<td class="cmn text-center" onclick ondblclick>{LEVY_EXCL_YMD}</td>
|
|
|
|
<td class="cmn text-center" onclick ondblclick>{LEVY_EXCL_RSN_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick ondblclick>{LEVY_EXCL_RSN_NM}</td>
|
|
|
|
<%--
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick ondblclick>{CVLCPT_APLY_NO}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick ondblclick>{CVLCPT_RCPT_NO}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick ondblclick>{CVLCPT_RCPT_YMD}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick ondblclick>{CVLCPT_PRCS_NM}</td>
|
|
|
|
|
|
|
|
--%>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick ondblclick>{CRDN_YMD_TM}</td>
|
|
|
|
<td class="cmn text-center" onclick ondblclick>{CRDN_YMD_TM}</td>
|
|
|
|
<td class="cmn text-start" onclick ondblclick>{VHRNO}</td>
|
|
|
|
<td class="cmn text-start" onclick ondblclick>{VHRNO}</td>
|
|
|
|
<td class="cmn text-center" onclick ondblclick>{VLTN_ARTCL}</td>
|
|
|
|
<td class="cmn text-center" onclick ondblclick>{VLTN_ARTCL}</td>
|
|
|
|
@ -225,6 +213,20 @@
|
|
|
|
$P.fnSave = () => {
|
|
|
|
$P.fnSave = () => {
|
|
|
|
// validate 확인
|
|
|
|
// validate 확인
|
|
|
|
if (!AppSupport.customValidate($P.$findn("frmEdit").find("input,select,textarea"))) return;
|
|
|
|
if (!AppSupport.customValidate($P.$findn("frmEdit").find("input,select,textarea"))) return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let invalid = $P.ctrl.getDataset("item")
|
|
|
|
|
|
|
|
.filter(item =>
|
|
|
|
|
|
|
|
isEmpty(item.data.ADDR) ||
|
|
|
|
|
|
|
|
isEmpty(item.data.DTL_ADDR) ||
|
|
|
|
|
|
|
|
isEmpty(item.data.ZIP)
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
.map(item => "[" + item.no + "] " + item.data.VHRNO);
|
|
|
|
|
|
|
|
if (invalid.length > 0) {
|
|
|
|
|
|
|
|
return dialog.alert({
|
|
|
|
|
|
|
|
content: "다음 차량의 주소정보를 확인하십시오.<br />" + invalid.join("<br />"),
|
|
|
|
|
|
|
|
onOK: () => {}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
dialog.alert({
|
|
|
|
dialog.alert({
|
|
|
|
content: "현재 " + $P.ctrl.prefixName + " 정보를 저장하시겠습니까?"
|
|
|
|
content: "현재 " + $P.ctrl.prefixName + " 정보를 저장하시겠습니까?"
|
|
|
|
@ -256,7 +258,8 @@
|
|
|
|
$("#" + modalId).on("shown.bs.modal", function (e) {
|
|
|
|
$("#" + modalId).on("shown.bs.modal", function (e) {
|
|
|
|
$P.ctrl.setData( {List: ${List}, Paging :${Paging}} );
|
|
|
|
$P.ctrl.setData( {List: ${List}, Paging :${Paging}} );
|
|
|
|
|
|
|
|
|
|
|
|
$P.$findn("tnocs").val($P.ctrl.getValue("TOT_CNT")); // 총건수
|
|
|
|
$P.$findn("tnocs").val($P.ctrl.dataset.length); // 총건수
|
|
|
|
|
|
|
|
<%-- $P.$findn("tnocs").val($P.ctrl.getValue("TOT_CNT")); // 총건수 --%>
|
|
|
|
$P.$findn("gramt").val($P.ctrl.getValue("GRAMT")); // 총금액
|
|
|
|
$P.$findn("gramt").val($P.ctrl.getValue("GRAMT")); // 총금액
|
|
|
|
$P.$findn("sndngYmd").datepicker("setDate", TODAY()); // 발송 일자
|
|
|
|
$P.$findn("sndngYmd").datepicker("setDate", TODAY()); // 발송 일자
|
|
|
|
// 발송 종료 일자
|
|
|
|
// 발송 종료 일자
|
|
|
|
@ -312,5 +315,5 @@
|
|
|
|
// 3. 보안모드
|
|
|
|
// 3. 보안모드
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
//# sourceURL=sndb01020-info.jsp
|
|
|
|
</script>
|
|
|
|
</script>
|