|
|
@ -138,7 +138,6 @@
|
|
|
|
</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" id="DataTables_Table_0_wrapper--${pageName}">
|
|
|
|
<div class="dataTables_wrapper dt-bootstrap5 no-footer" id="DataTables_Table_0_wrapper--${pageName}">
|
|
|
@ -167,7 +166,7 @@
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('CRDN_STDG_NM', this.innerText, 'match', 'part');">단속법정동</th>
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('CRDN_STDG_NM', this.innerText, 'match', 'part');">단속법정동</th>
|
|
|
|
<th class="cmn" style="width: 280px;" onclick="searchFromGridTitle('CRDN_PLC', this.innerText, 'match', 'part');">단속장소</th>
|
|
|
|
<th class="cmn" style="width: 280px;" onclick="searchFromGridTitle('CRDN_PLC', this.innerText, 'match', 'part');">단속장소</th>
|
|
|
|
<th class="bpv" style="width: 280px;" onclick="searchFromGridTitle('DTL_CRDN_PLC', this.innerText, 'match', 'part');">상세단속장소</th>
|
|
|
|
<th class="bpv" style="width: 280px;" onclick="searchFromGridTitle('DTL_CRDN_PLC', this.innerText, 'match', 'part');">상세단속장소</th>
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('FFNLG_CRDN_AMT', this.innerText, 'match', 'perfect');">단속금액</th>
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('FFNLG_CRDN_AMT', this.innerText, 'match', 'perfect');">단속원금</th>
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('RDUCT_AMT', this.innerText, 'match', 'perfect');">감경금액</th>
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('RDUCT_AMT', this.innerText, 'match', 'perfect');">감경금액</th>
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('FFNLG_AMT', this.innerText, 'match', 'perfect');">과태료금액</th>
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('FFNLG_AMT', this.innerText, 'match', 'perfect');">과태료금액</th>
|
|
|
|
<th class="cmn text-orange" style="width: 120px;">미납금액</th>
|
|
|
|
<th class="cmn text-orange" style="width: 120px;">미납금액</th>
|
|
|
@ -183,32 +182,32 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<template id="${infoPrefix}Row--${pageName}">
|
|
|
|
<template id="${infoPrefix}Row--${pageName}">
|
|
|
|
<tr data-key="{RDUCT_ID}">
|
|
|
|
<tr data-key="{RDUCT_ID}">
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{ROW_NUM}</td>
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{ROW_NUM}</td>
|
|
|
|
<td class="cmn text-center"><input type="checkbox" class="form-check-input" value="{RDUCT_ID}" onchange="pageObject['${pageName}'].control.select('{RDUCT_ID}', this.checked);" /></td>
|
|
|
|
<td class="cmn text-center"><input type="checkbox" class="form-check-input" value="{RDUCT_ID}" onchange="pageObject['${pageName}'].control.select('{RDUCT_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}">{TASK_SE_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RDUCT_YMD}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RDUCT_YMD}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RDUCT_RSN_NM}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RDUCT_RSN_NM}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{ETC_CN}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{ETC_CN}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_YMD_TM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_YMD_TM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{VHRNO}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{VHRNO}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_SE_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_SE_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_NO}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_NO}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_NM}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_STDG_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_STDG_NM}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_PLC}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_PLC}</td>
|
|
|
|
<td class="bpv text-start" onclick="{onclick}" ondblclick="{ondblclick}">{DTL_CRDN_PLC}</td>
|
|
|
|
<td class="bpv text-start" onclick="{onclick}" ondblclick="{ondblclick}">{DTL_CRDN_PLC}</td>
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{FFNLG_CRDN_AMT}</td>
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{FFNLG_CRDN_AMT}</td>
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{RDUCT_AMT}</td>
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{RDUCT_AMT}</td>
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{FFNLG_AMT}</td>
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{FFNLG_AMT}</td>
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{SUM_AMT}</td>
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{SUM_AMT}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_STTS_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_STTS_NM}</td>
|
|
|
|
<td class="pvs text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_SPAREA_NM}</td>
|
|
|
|
<td class="pvs text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_SPAREA_NM}</td>
|
|
|
|
<td class="eca text-center" onclick="{onclick}" ondblclick="{ondblclick}">{USE_FUEL_NM}</td>
|
|
|
|
<td class="eca text-center" onclick="{onclick}" ondblclick="{ondblclick}">{USE_FUEL_NM}</td>
|
|
|
|
<td class="dpv text-center" onclick="{onclick}" ondblclick="{ondblclick}">{PARKNG_PSBLTY_RSLT_NM}</td>
|
|
|
|
<td class="dpv text-center" onclick="{onclick}" ondblclick="{ondblclick}">{PARKNG_PSBLTY_RSLT_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{REG_DT}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{REG_DT}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RGTR_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RGTR_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{MDFCN_DT}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{MDFCN_DT}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{MDFR_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{MDFR_NM}</td>
|
|
|
|
<td class="cmn dummy-td"></td>
|
|
|
|
<td class="cmn dummy-td"></td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
@ -270,12 +269,12 @@
|
|
|
|
, dataGetter : obj => obj.${infoPrefix}List
|
|
|
|
, dataGetter : obj => obj.${infoPrefix}List
|
|
|
|
, appendData : true
|
|
|
|
, appendData : true
|
|
|
|
, formats: {
|
|
|
|
, formats: {
|
|
|
|
RDUCT_YMD : dateFormat,
|
|
|
|
RDUCT_YMD : dateFormat,
|
|
|
|
CRDN_YMD_TM : datetimeFormat,
|
|
|
|
CRDN_YMD_TM : datetimeFormat,
|
|
|
|
FFNLG_CRDN_AMT : numberFormat,
|
|
|
|
FFNLG_CRDN_AMT : numberFormat,
|
|
|
|
RDUCT_AMT : numberFormat,
|
|
|
|
RDUCT_AMT : numberFormat,
|
|
|
|
FFNLG_AMT : numberFormat,
|
|
|
|
FFNLG_AMT : numberFormat,
|
|
|
|
SUM_AMT : numberFormat
|
|
|
|
SUM_AMT : numberFormat
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
$P.control.defaultFetchSize = FETCH_XS;
|
|
|
|
$P.control.defaultFetchSize = FETCH_XS;
|
|
|
@ -321,7 +320,7 @@
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
// 삭제 버튼
|
|
|
|
// 삭제 버튼
|
|
|
|
$("#btnRemove--${pageName}").prop("disabled", keys.length < 1);
|
|
|
|
$("#btnRemoveRduct--${pageName}").prop("disabled", keys.length < 1);
|
|
|
|
|
|
|
|
|
|
|
|
// DataTables(그리드) 전체 선택(checkbox)
|
|
|
|
// DataTables(그리드) 전체 선택(checkbox)
|
|
|
|
if (keys.length < 1) {
|
|
|
|
if (keys.length < 1) {
|
|
|
@ -354,7 +353,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
// 삭제 callback
|
|
|
|
// 삭제 callback
|
|
|
|
$P.control.onRemove = (resp) => {
|
|
|
|
$P.control.onRemove = (resp) => {
|
|
|
|
let btnTitle = $("#btnRemove--${pageName}").attr("title");
|
|
|
|
let btnTitle = $("#btnRemoveRduct--${pageName}").attr("title");
|
|
|
|
let showMessage = resp.rtnMsg.replace(/[S]|[F]/g, btnTitle);
|
|
|
|
let showMessage = resp.rtnMsg.replace(/[S]|[F]/g, btnTitle);
|
|
|
|
|
|
|
|
|
|
|
|
// 메시지 출력
|
|
|
|
// 메시지 출력
|
|
|
@ -489,7 +488,7 @@
|
|
|
|
$P.callbackRsn = (obj) => {
|
|
|
|
$P.callbackRsn = (obj) => {
|
|
|
|
// 서버에 전송할 data(파라미터) 생성
|
|
|
|
// 서버에 전송할 data(파라미터) 생성
|
|
|
|
let params = {};
|
|
|
|
let params = {};
|
|
|
|
params[$P.control.prefixed("IDs")] = selected.join(","); // IDs
|
|
|
|
params[$P.control.prefixed("Ids")] = selected.join(","); // Ids
|
|
|
|
params.delRsn = obj.reason; // 삭제 사유
|
|
|
|
params.delRsn = obj.reason; // 삭제 사유
|
|
|
|
|
|
|
|
|
|
|
|
$P.control.remove(params);
|
|
|
|
$P.control.remove(params);
|
|
|
@ -559,15 +558,15 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 감경 수정 버튼 이벤트
|
|
|
|
// 감경 수정 버튼 이벤트
|
|
|
|
$P.fnUpdateRduct = () => {
|
|
|
|
$P.fnUpdateRduct = (title) => {
|
|
|
|
// 감경 ID
|
|
|
|
// 감경 ID
|
|
|
|
let rductId = $P.control.dataset.getValue("RDUCT_ID");
|
|
|
|
let rductId = $P.control.dataset.getValue("RDUCT_ID");
|
|
|
|
// 감경 ID 가 없다면.. return
|
|
|
|
// 감경 ID 가 없다면.. return
|
|
|
|
if (typeof rductId == "undefined" || rductId == null || rductId == "") return;
|
|
|
|
if (typeof rductId == "undefined" || rductId == null || rductId == "") return;
|
|
|
|
|
|
|
|
|
|
|
|
let params = {
|
|
|
|
let params = {
|
|
|
|
title : title
|
|
|
|
callPurpose : "update"
|
|
|
|
, callPurpose : "update"
|
|
|
|
, title : title
|
|
|
|
, sggCd : $P.control.dataset.getValue("SGG_CD") // 시군구 코드
|
|
|
|
, sggCd : $P.control.dataset.getValue("SGG_CD") // 시군구 코드
|
|
|
|
, taskSeCd : $P.control.dataset.getValue("TASK_SE_CD") // 업무 구분 코드
|
|
|
|
, taskSeCd : $P.control.dataset.getValue("TASK_SE_CD") // 업무 구분 코드
|
|
|
|
, rductId : rductId // 감경 ID
|
|
|
|
, rductId : rductId // 감경 ID
|
|
|
@ -577,7 +576,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 감경 삭제 버튼 이벤트
|
|
|
|
// 감경 삭제 버튼 이벤트
|
|
|
|
$P.fnRemoveRduct = () => {
|
|
|
|
$P.fnRemoveRduct = (title) => {
|
|
|
|
// 선택 자료
|
|
|
|
// 선택 자료
|
|
|
|
let selected = $P.control.dataset.getKeys("selected");
|
|
|
|
let selected = $P.control.dataset.getKeys("selected");
|
|
|
|
|
|
|
|
|
|
|
@ -712,7 +711,7 @@
|
|
|
|
colsOuterHTML += this.outerHTML;
|
|
|
|
colsOuterHTML += this.outerHTML;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
$("#table-responsive--${pageName}")[0].changeColumn(colsOuterHTML);
|
|
|
|
$("#table-responsive--${pageName}")[0].changeColumn(colsOuterHTML);
|
|
|
|
|
|
|
|
|
|
|
|
// URL 설정
|
|
|
|
// URL 설정
|
|
|
|
$P.setURL(taskSeCd);
|
|
|
|
$P.setURL(taskSeCd);
|
|
|
|
}
|
|
|
|
}
|
|
|
|