|
|
@ -19,16 +19,12 @@
|
|
|
|
<span class="container-page-btn">
|
|
|
|
<span class="container-page-btn">
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
<!-- 업무 버튼 -->
|
|
|
|
<!-- 업무 버튼 -->
|
|
|
|
<button type="button" class="btn btn-excel w-px-120" id="btnExcel--${pageName}" title="엑셀 저장" onclick="fnExcel${pageName}();">
|
|
|
|
|
|
|
|
엑셀 저장
|
|
|
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" id="btnPrint--${pageName}" title="계고장 출력" onclick="fnPrint${pageName}();">
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" id="btnPrint--${pageName}" title="계고장 출력" onclick="fnPrint${pageName}();">
|
|
|
|
계고장 출력
|
|
|
|
계고장 출력
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div> <!-- / 업무 버튼 및 건수 표시 -->
|
|
|
|
<!-- / 업무 버튼 및 건수 표시 -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- DataTables(그리드) -->
|
|
|
|
<!-- DataTables(그리드) -->
|
|
|
|
<div class="card-datatable text-nowrap">
|
|
|
|
<div class="card-datatable text-nowrap">
|
|
|
@ -38,22 +34,26 @@
|
|
|
|
<thead class="sticky-thead">
|
|
|
|
<thead class="sticky-thead">
|
|
|
|
<tr id="theadTr--${pageName}"
|
|
|
|
<tr id="theadTr--${pageName}"
|
|
|
|
data-by="by--${pageName}" data-by-output="byOutput--${pageName}" data-main-option="mainOption--${pageName}" data-sub-option="subOption--${pageName}">
|
|
|
|
data-by="by--${pageName}" data-by-output="byOutput--${pageName}" data-main-option="mainOption--${pageName}" data-sub-option="subOption--${pageName}">
|
|
|
|
<th class="cmn hidden" style="width: 56px;">
|
|
|
|
|
|
|
|
<input type="checkbox" class="form-check-input" onchange="${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: 160px;">등기번호</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: 200px;">납부자명</th>
|
|
|
|
<th class="cmn" style="width: 200px;">납부자명</th>
|
|
|
|
<th class="cmn" style="width: 120px;">납부자번호</th>
|
|
|
|
<th class="cmn" style="width: 120px;">납부자생일</th>
|
|
|
|
<th class="cmn" style="width: 100px;">우편번호</th>
|
|
|
|
<th class="cmn" style="width: 100px;">우편번호</th>
|
|
|
|
<th class="cmn" style="width: 280px;">주소</th>
|
|
|
|
<th class="cmn" style="width: 280px;">주소</th>
|
|
|
|
<th class="cmn" style="width: 320px;">상세주소</th>
|
|
|
|
<th class="cmn" style="width: 320px;">상세주소</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 200px;">등기번호</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: 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: 280px;">단속장소</th>
|
|
|
|
<th class="cmn" style="width: 280px;">단속장소</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: 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" style="width: 180px;">수정일시</th>
|
|
|
@ -65,9 +65,6 @@
|
|
|
|
</tbody>
|
|
|
|
</tbody>
|
|
|
|
<template id="${infoPrefix}Row--${pageName}">
|
|
|
|
<template id="${infoPrefix}Row--${pageName}">
|
|
|
|
<tr data-key="{SNDNG_DTL_ID}">
|
|
|
|
<tr data-key="{SNDNG_DTL_ID}">
|
|
|
|
<td class="cmn text-center hidden">
|
|
|
|
|
|
|
|
<input type="checkbox" class="form-check-input" value="{SNDNG_DTL_ID}" onchange="${pageName}Control.select('{SNDNG_DTL_ID}', this.checked);">
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{SNDNG_DTL_STTS_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{SNDNG_DTL_STTS_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RG_NO}</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_YMD}</td>
|
|
|
@ -77,8 +74,15 @@
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_ZIP}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_ZIP}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_ADDR}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_ADDR}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_DTL_ADDR}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_DTL_ADDR}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RG_NO}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DLVR_YMD}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DLVR_TM}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{UNDLVR_RSN_NM}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RCPN_NM}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-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-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}">{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-start" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_PLC}</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-center" onclick="{onclick}" ondblclick="{ondblclick}">{REG_DT}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{REG_DT}</td>
|
|
|
@ -90,7 +94,7 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<template id="${infoPrefix}NotFound--${pageName}">
|
|
|
|
<template id="${infoPrefix}NotFound--${pageName}">
|
|
|
|
<tr class="odd">
|
|
|
|
<tr class="odd">
|
|
|
|
<td valign="top" colspan="19" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
|
|
|
|
<td valign="top" colspan="25" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</table>
|
|
|
|
</table>
|
|
|
@ -110,22 +114,21 @@
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
// URL
|
|
|
|
// URL
|
|
|
|
var ${pageName}PrefixUrl = "/sndb/sndb01";
|
|
|
|
var ${pageName}PrefixUrl = "/sndb/sndb01";
|
|
|
|
|
|
|
|
// infoDialog 호출 용도(view 조회(편집불가), create 등록, update 수정)
|
|
|
|
|
|
|
|
var ${pageName}CallPurpose = "${callPurpose}";
|
|
|
|
// FormFields
|
|
|
|
// FormFields
|
|
|
|
var ${pageName}Fields = new FimsFormFields("#frmEdit--${pageName}");
|
|
|
|
var ${pageName}Fields = new FimsFormFields("#frmEdit--${pageName}");
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|
* DatasetControl
|
|
|
|
* DatasetControl
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
var ${pageName}Control = new DatasetControl({
|
|
|
|
var ${pageName}Control = new DatasetControl({
|
|
|
|
prefix : "wrngSndngDtl"
|
|
|
|
prefix : "wrngSndngDtl"
|
|
|
|
, prefixName : "계고장 발송 상세 정보"
|
|
|
|
, prefixName : "계고장 발송 상세"
|
|
|
|
, keymapper : info => info ? info.SNDNG_DTL_ID : ""
|
|
|
|
, keymapper : info => info ? info.SNDNG_DTL_ID : ""
|
|
|
|
, dataGetter : obj => obj.wrngSndngDtlList
|
|
|
|
, dataGetter : obj => obj.wrngSndngDtlList
|
|
|
|
, appendData : true
|
|
|
|
, appendData : true
|
|
|
|
, tableRenderComplete : false // dataTables 에 자료 추가 완료 여부
|
|
|
|
, tableRenderComplete : false // dataTables 에 자료 추가 완료 여부
|
|
|
|
, urls : {
|
|
|
|
|
|
|
|
getInfo : wctx.url("/sprt/sprt02/010/main.do") // 개별총정보
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
, formats : {
|
|
|
|
, formats : {
|
|
|
|
SNDNG_YMD : dateFormat
|
|
|
|
SNDNG_YMD : dateFormat
|
|
|
|
, DUDT_YMD : dateFormat
|
|
|
|
, DUDT_YMD : dateFormat
|
|
|
@ -142,12 +145,7 @@
|
|
|
|
${pageName}Control.onDatasetChange = obj => {
|
|
|
|
${pageName}Control.onDatasetChange = obj => {
|
|
|
|
renderList${pageName}();
|
|
|
|
renderList${pageName}();
|
|
|
|
|
|
|
|
|
|
|
|
${pageName}Control.select(true); // 전체 선택 되도록..
|
|
|
|
${pageName}Control.tableRenderComplete = true; // dataTables 에 자료 추가 완료
|
|
|
|
|
|
|
|
|
|
|
|
if (obj.length > 0) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
${pageName}Control.tableRenderComplete = true; // dataTables 에 자료 추가 완료
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// 현재 선택 자료 변경 이벤트
|
|
|
|
// 현재 선택 자료 변경 이벤트
|
|
|
@ -171,18 +169,47 @@
|
|
|
|
});
|
|
|
|
});
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
|
|
|
* DataTables 이벤트
|
|
|
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
|
|
|
// DataTables에 click, dbclick 이벤트
|
|
|
|
|
|
|
|
renderList${pageName} = () => {
|
|
|
|
|
|
|
|
let ${infoPrefix}List = ${pageName}Control.dataset;
|
|
|
|
|
|
|
|
let empty = ${infoPrefix}List.empty;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let trs = empty ?
|
|
|
|
|
|
|
|
[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
|
|
|
|
|
|
|
|
.replace(/{onclick}/gi, "${pageName}Control.setCurrent('" + dataItem.getValue("SNDNG_DTL_ID") + "');")
|
|
|
|
|
|
|
|
.replace(/{ondblclick}/gi, "getTotalInfo${pageName}('" + dataItem.getValue("CRDN_ID") + "');")
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("#tbody--${pageName}").html(trs.join());
|
|
|
|
|
|
|
|
$("th input[type='checkbox']").prop("checked", false);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//보안모드
|
|
|
|
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
|
|
|
* 사용자 함수(function)
|
|
|
|
|
|
|
|
**************************************************************************/
|
|
|
|
// 개별총정보 dialog
|
|
|
|
// 개별총정보 dialog
|
|
|
|
${pageName}Control.getInfo = (crdnId) => {
|
|
|
|
getTotalInfo${pageName} = (crdnId) => {
|
|
|
|
if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return;
|
|
|
|
if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return;
|
|
|
|
|
|
|
|
|
|
|
|
let params = {
|
|
|
|
let params = {
|
|
|
|
callControlName : "${pageName}Control"
|
|
|
|
callControlName : "${pageName}Control"
|
|
|
|
, callPurpose : "view"
|
|
|
|
, callPurpose : "view"
|
|
|
|
|
|
|
|
, sggCd : $("#sggCd--${pageName}").val()
|
|
|
|
|
|
|
|
, taskSeCd : $("#taskSeCd--${pageName}").val()
|
|
|
|
, crdnId : crdnId
|
|
|
|
, crdnId : crdnId
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
ajax.get({
|
|
|
|
url : ${pageName}Control.urls.getInfo
|
|
|
|
url : wctx.url(params.taskSeCd + "/sprt/sprt02/010/main.do")
|
|
|
|
, data : params
|
|
|
|
, data : params
|
|
|
|
, success : resp => {
|
|
|
|
, success : resp => {
|
|
|
|
dialog.open({
|
|
|
|
dialog.open({
|
|
|
@ -195,28 +222,33 @@
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
// 출력
|
|
|
|
*
|
|
|
|
printWrng${pageName} = (info) => {
|
|
|
|
**************************************************************************/
|
|
|
|
if (!info) return;
|
|
|
|
// DataTables에 click, dbclick 이벤트
|
|
|
|
|
|
|
|
renderList${pageName} = () => {
|
|
|
|
|
|
|
|
let ${infoPrefix}List = ${pageName}Control.dataset;
|
|
|
|
|
|
|
|
let empty = ${infoPrefix}List.empty;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let trs = empty ?
|
|
|
|
info.delYN = "N"; // 삭제 여부
|
|
|
|
[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
|
|
|
|
|
|
|
|
.replace(/{onclick}/gi, "${pageName}Control.setCurrent('" + dataItem.getValue("SNDNG_DTL_ID") + "');")
|
|
|
|
|
|
|
|
.replace(/{ondblclick}/gi, "${pageName}Control.getInfo('" + dataItem.getValue("CRDN_ID") + "');")
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("#tbody--${pageName}").html(trs.join());
|
|
|
|
// ajax.post({
|
|
|
|
$("th input[type='checkbox']").prop("checked", false);
|
|
|
|
// url : !create ? ${pageName}Control.urls.update : ${pageName}Control.urls.create
|
|
|
|
|
|
|
|
// , data : params
|
|
|
|
|
|
|
|
// , success : resp => ${pageName}Control.onSave(resp)
|
|
|
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//보안모드
|
|
|
|
/**************************************************************************
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|
* 버튼 clickEvent
|
|
|
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
|
|
|
// 계고장 출력
|
|
|
|
|
|
|
|
fnPrint${pageName} = () => {
|
|
|
|
|
|
|
|
// validate 확인
|
|
|
|
|
|
|
|
if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dialog.alert({
|
|
|
|
|
|
|
|
content : ${pageName}Control.prefixName + " 정보를 출력하시겠습니까?"
|
|
|
|
|
|
|
|
, onOK : () => {
|
|
|
|
|
|
|
|
printWrng${pageName}(${pageName}Fields.get());
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
@ -241,43 +273,49 @@
|
|
|
|
$("#DataTables_Table_0--${pageName}").find("th").resizable( {handles : "e"} );
|
|
|
|
$("#DataTables_Table_0--${pageName}").find("th").resizable( {handles : "e"} );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
// 화면 초기 설정
|
|
|
|
* 버튼 clickEvent
|
|
|
|
initForm${pageName} = () => {
|
|
|
|
**************************************************************************/
|
|
|
|
// 화면 초기화
|
|
|
|
// 엑셀
|
|
|
|
$("#frmEdit--${pageName}")[0].reset();
|
|
|
|
fnExcel${pageName} = () => {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
// 달력 초기화
|
|
|
|
|
|
|
|
initDatepicker("frmEdit--${pageName}");
|
|
|
|
|
|
|
|
|
|
|
|
// 계고장 출력
|
|
|
|
}
|
|
|
|
fnPrint${pageName} = () => {
|
|
|
|
|
|
|
|
let params = ${pageName}Fields.get();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 선택된 자료의 발송 상세 ID 추가
|
|
|
|
|
|
|
|
let selected = ${pageName}Control.dataset.getKeys("selected");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (selected.length < 1) return;
|
|
|
|
// 기본 데이터 설정
|
|
|
|
|
|
|
|
setFormData${pageName} = () => {
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
$("#sggCd--${pageName}").val(${sggCd}); // 시군구 코드
|
|
|
|
|
|
|
|
$("#taskSeCd--${pageName}").val(${taskSeCd}); // 업무 구분 코드
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
params.sndngDtlIDs = selected.join(","); // 발송 상세 IDs
|
|
|
|
// 업무구분에 따른 url 설정
|
|
|
|
params.delYn = "N"; // 삭제 여부
|
|
|
|
setURL${pageName} = (taskSeCd) => {
|
|
|
|
|
|
|
|
//
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|
* script 진입
|
|
|
|
* script 진입
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
$(document).ready(function() {
|
|
|
|
$(document).ready(function() {
|
|
|
|
// 기본 데이터
|
|
|
|
|
|
|
|
$("#sggCd--${pageName}").val("${sggCd}"); // 시군구 코드
|
|
|
|
|
|
|
|
$("#taskSeCd--${pageName}").val("${taskSeCd}"); // 업무 구분 코드
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 보안모드
|
|
|
|
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 이벤트 설정
|
|
|
|
// 이벤트 설정
|
|
|
|
setEvent${pageName}();
|
|
|
|
setEvent${pageName}();
|
|
|
|
|
|
|
|
|
|
|
|
// Dataset 셋팅 - 화면이 열리면서 조회하는 경우 addData 하여 자료를 추가
|
|
|
|
// 화면 초기화
|
|
|
|
|
|
|
|
initForm${pageName}();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Dataset 설정
|
|
|
|
${pageName}Control.addData(${wrngSndngDtl});
|
|
|
|
${pageName}Control.addData(${wrngSndngDtl});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 기본 데이터 설정
|
|
|
|
|
|
|
|
setFormData${pageName}();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// URL 설정
|
|
|
|
|
|
|
|
setURL${pageName}(${taskSeCd});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 보안모드
|
|
|
|
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|