|
|
|
@ -5,7 +5,7 @@
|
|
|
|
|
<div class="content-wrapper">
|
|
|
|
|
<!-- Content -->
|
|
|
|
|
<div class="container-xxl flex-grow-1 px-0">
|
|
|
|
|
<c:set var="prefixName" scope="request">우편통합 안내문 관리</c:set>
|
|
|
|
|
<c:set var="prefixName" scope="request">우편통합 발송 상태</c:set>
|
|
|
|
|
|
|
|
|
|
<!-- Page Body -->
|
|
|
|
|
<div class="card">
|
|
|
|
@ -48,6 +48,32 @@
|
|
|
|
|
</c:forEach>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 발송 일자 -->
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
<label class="form-label fw-bold form-search-title text-end">발송일자</label>
|
|
|
|
|
<span class="form-search-linebox">
|
|
|
|
|
<input type="text" class="form-control form-date" id="schSendDateFrom--${pageName}" name="schSendDateFrom"
|
|
|
|
|
data-fmt-type="day" autocomplete="off" title="시작 날짜 선택" />
|
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
|
~
|
|
|
|
|
<input type="text" class="form-control form-date" id="schSendDateTo--${pageName}" name="schSendDateTo"
|
|
|
|
|
data-fmt-type="day" autocomplete="off" title="종료 날짜 선택" />
|
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 접수 일자 -->
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
<label class="form-label fw-bold form-search-title text-end">접수일자</label>
|
|
|
|
|
<span class="form-search-linebox">
|
|
|
|
|
<input type="text" class="form-control form-date" id="schRceptYmdFrom--${pageName}" name="schRceptYmdFrom"
|
|
|
|
|
data-fmt-type="day" autocomplete="off" title="시작 날짜 선택" />
|
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
|
~
|
|
|
|
|
<input type="text" class="form-control form-date" id="schRceptYmdTo--${pageName}" name="schRceptYmdTo"
|
|
|
|
|
data-fmt-type="day" autocomplete="off" title="종료 날짜 선택" />
|
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- -->
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
</div>
|
|
|
|
@ -110,22 +136,90 @@
|
|
|
|
|
</div>
|
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
|
<!-- 업무 버튼 -->
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" id="btnCreate--${pageName}" title="안내문 등록" onclick="fnCreate${pageName}();">
|
|
|
|
|
안내문 등록
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" id="btnUpdate--${pageName}" title="발송 취소" onclick="fnUpdate${pageName}();">
|
|
|
|
|
발송 취소
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" id="btnUpdate--${pageName}" title="안내문 수정" onclick="fnUpdate${pageName}();">
|
|
|
|
|
안내문 수정
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" id="btnRemove--${pageName}" title="안내문 삭제" onclick="fnRemove${pageName}();">
|
|
|
|
|
안내문 삭제
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" id="btnRemove--${pageName}" title="발송 삭제" onclick="fnRemove${pageName}();">
|
|
|
|
|
발송 삭제
|
|
|
|
|
</button>
|
|
|
|
|
</span>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- / 업무 버튼 및 건수 표시 -->
|
|
|
|
|
|
|
|
|
|
<div class="nav-align-top">
|
|
|
|
|
<ul class="nav nav-tabs" id="tabs--${pageName}" role="tablist">
|
|
|
|
|
<li class="nav-item">
|
|
|
|
|
<button type="button" class="nav-link w-px-160 h-100 active" role="tab" data-bs-toggle="tab" data-bs-target="#tabEpostRcpt0"
|
|
|
|
|
aria-controls="tabEpostRcpt0" aria-selected="true" onClick="fnTabEpostRcpt0${pageName}();">
|
|
|
|
|
전체
|
|
|
|
|
</button>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="nav-item">
|
|
|
|
|
<button type="button" class="nav-link w-px-160 h-100" role="tab" data-bs-toggle="tab" data-bs-target="#tabEpostRcpt1"
|
|
|
|
|
aria-controls="tabEpostRcpt1" aria-selected="false" onClick="fnTabEpostRcpt1${pageName}();">
|
|
|
|
|
발송대기
|
|
|
|
|
</button>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="nav-item">
|
|
|
|
|
<button type="button" class="nav-link w-px-160 h-100" role="tab" data-bs-toggle="tab" data-bs-target="#tabEpostRcpt2"
|
|
|
|
|
aria-controls="tabEpostRcpt2" aria-selected="false" onClick="fnTabEpostRcpt2${pageName}();">
|
|
|
|
|
발송취소
|
|
|
|
|
</button>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="nav-item">
|
|
|
|
|
<button type="button" class="nav-link w-px-160 h-100" role="tab" data-bs-toggle="tab" data-bs-target="#tabEpostRcpt3"
|
|
|
|
|
aria-controls="tabEpostRcpt3" aria-selected="false" onClick="fnTabEpostRcpt3${pageName}();">
|
|
|
|
|
전송
|
|
|
|
|
</button>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="nav-item">
|
|
|
|
|
<button type="button" class="nav-link w-px-160 h-100" role="tab" data-bs-toggle="tab" data-bs-target="#tabEpostRcpt4"
|
|
|
|
|
aria-controls="tabEpostRcpt4" aria-selected="false" onClick="fnTabEpostRcpt4${pageName}();">
|
|
|
|
|
접수
|
|
|
|
|
</button>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="nav-item">
|
|
|
|
|
<button type="button" class="nav-link w-px-160 h-100" role="tab" data-bs-toggle="tab" data-bs-target="#tabEpostRcpt5"
|
|
|
|
|
aria-controls="tabEpostRcpt5" aria-selected="false" onClick="fnTabEpostRcpt5${pageName}();">
|
|
|
|
|
제작불가
|
|
|
|
|
</button>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="nav-item">
|
|
|
|
|
<button type="button" class="nav-link w-px-160 h-100" role="tab" data-bs-toggle="tab" data-bs-target="#tabEpostRcpt6"
|
|
|
|
|
aria-controls="tabEpostRcpt6" aria-selected="false" onClick="fnTabEpostRcpt6${pageName}();">
|
|
|
|
|
제작
|
|
|
|
|
</button>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="nav-item">
|
|
|
|
|
<button type="button" class="nav-link w-px-160 h-100" role="tab" data-bs-toggle="tab" data-bs-target="#tabEpostRcpt7"
|
|
|
|
|
aria-controls="tabEpostRcpt7" aria-selected="false" onClick="fnTabEpostRcpt7${pageName}();">
|
|
|
|
|
배달중
|
|
|
|
|
</button>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="nav-item">
|
|
|
|
|
<button type="button" class="nav-link w-px-160 h-100" role="tab" data-bs-toggle="tab" data-bs-target="#tabEpostRcpt8"
|
|
|
|
|
aria-controls="tabEpostRcpt8" aria-selected="false" onClick="fnTabEpostRcpt8${pageName}();">
|
|
|
|
|
배달완료
|
|
|
|
|
</button>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
<div class="tab-content">
|
|
|
|
|
<div class="tab-pane fade show active" id="tabEpostRcpt0" role="tabpanel"></div>
|
|
|
|
|
<div class="tab-pane fade" id="tabEpostRcpt1" role="tabpanel"></div>
|
|
|
|
|
<div class="tab-pane fade" id="tabEpostRcpt2" role="tabpanel"></div>
|
|
|
|
|
<div class="tab-pane fade" id="tabEpostRcpt3" role="tabpanel"></div>
|
|
|
|
|
<div class="tab-pane fade" id="tabEpostRcpt4" role="tabpanel"></div>
|
|
|
|
|
<div class="tab-pane fade" id="tabEpostRcpt5" role="tabpanel"></div>
|
|
|
|
|
<div class="tab-pane fade" id="tabEpostRcpt6" role="tabpanel"></div>
|
|
|
|
|
<div class="tab-pane fade" id="tabEpostRcpt7" role="tabpanel"></div>
|
|
|
|
|
<div class="tab-pane fade" id="tabEpostRcpt8" role="tabpanel"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- DataTables(그리드) -->
|
|
|
|
|
<div class="card-datatable text-nowrap">
|
|
|
|
|
<div class="card-datatable text-nowrap" id="datatable--${pageName}">
|
|
|
|
|
<div class="dataTables_wrapper dt-bootstrap5 no-footer" id="DataTables_Table_0_wrapper--${pageName}">
|
|
|
|
|
<div class="table-responsive" id="table-responsive--${pageName}" style="overflow-x:scroll; height:480px; overflow-y:scroll;" >
|
|
|
|
|
<table class="table-layout-fixed dataTable datatables-ajax table table-bordered no-footer" id="DataTables_Table_0--${pageName}" aria-describedby="DataTables_Table_0_info">
|
|
|
|
@ -136,41 +230,42 @@
|
|
|
|
|
<th class="cmn" style="width: 56px;">
|
|
|
|
|
<input type="checkbox" class="form-check-input" onchange="${pageName}Control.select(this.checked);">
|
|
|
|
|
</th>
|
|
|
|
|
<th class="cmn" style="width: 160px;">업무구분</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;">발송구분</th>
|
|
|
|
|
<th class="cmn" style="width: 100px;">사용여부</th>
|
|
|
|
|
<th class="cmn" style="width: 180px;">최종사용일시</th>
|
|
|
|
|
<th class="cmn" style="width: 300px;">제목</th>
|
|
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('SEND_DATE', this.innerText, 'ymd', '');">발송일자</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('JOB_CD', this.innerText, 'match', 'part');">발송내역</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('DIV_KB', this.innerText, 'match', 'part');">등기</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('RCEPT_YMD', this.innerText, 'ymd', '');">접수일자</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('CON_KEY', this.innerText, 'match', 'part');">자료키</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('RECEV_CNT', this.innerText, 'match', 'part');">발송건수</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('POST_PRCS_STTS_CD', this.innerText, 'codeValue', 'EGP012');">우편처리상태</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="{GDCC_ID}">
|
|
|
|
|
<tr data-key="{CON_KEY}">
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ROW_NUM}</td>
|
|
|
|
|
<td class="cmn text-center">
|
|
|
|
|
<input type="checkbox" class="form-check-input" value="{GDCC_ID}" onchange="${pageName}Control.select('{GDCC_ID}', this.checked);">
|
|
|
|
|
<input type="checkbox" class="form-check-input" value="{CON_KEY}" onchange="${pageName}Control.select('{CON_KEY}', this.checked);">
|
|
|
|
|
</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{TASK_SE_NM}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{SNDNG_SE_NM}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{USE_YN_NM}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{LAST_USE_DT}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{TTL_NM}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{SEND_DATE}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{JOB_CD}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DIV_KB}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RCEPT_YMD}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CON_KEY}</td>
|
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{RECEV_CNT}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{POST_PRCS_STTS_NM}</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="10" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
|
|
|
|
|
<td valign="top" colspan="12" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</template>
|
|
|
|
|
</table>
|
|
|
|
@ -194,7 +289,7 @@
|
|
|
|
|
* Global Variable
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
// URL
|
|
|
|
|
var ${pageName}PrefixUrl = "/epst/epst02";
|
|
|
|
|
var ${pageName}PrefixUrl = "/epst/epst01";
|
|
|
|
|
// FormFields
|
|
|
|
|
var ${pageName}Fields = new FimsFormFields("#frmSearch--${pageName}");
|
|
|
|
|
// 시군구 코드(SGG_CD)
|
|
|
|
@ -204,15 +299,17 @@
|
|
|
|
|
* DatasetControl
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
var ${pageName}Control = new DatasetControl({
|
|
|
|
|
prefix : "epostGdcc"
|
|
|
|
|
, prefixName : "안내문 관리"
|
|
|
|
|
prefix : "epostRcptReg"
|
|
|
|
|
, prefixName : "발송 상태"
|
|
|
|
|
, infoSize : "md"
|
|
|
|
|
, keymapper : info => info ? info.GDCC_ID : ""
|
|
|
|
|
, dataGetter : obj => obj.epostGdccList
|
|
|
|
|
, keymapper : info => info ? info.CON_KEY : ""
|
|
|
|
|
, dataGetter : obj => obj.epostRcptRegList
|
|
|
|
|
, appendData : true
|
|
|
|
|
, tableRenderComplete : false // dataTables 에 자료 추가 완료 여부
|
|
|
|
|
, formats : {
|
|
|
|
|
LAST_USE_DT : datetimeFormat
|
|
|
|
|
SEND_DATE : dateFormat
|
|
|
|
|
, RCEPT_YMD : dateFormat
|
|
|
|
|
, RECEV_CNT : numberFormat
|
|
|
|
|
, REG_DT : datetimeFormat
|
|
|
|
|
, MDFCN_DT : datetimeFormat
|
|
|
|
|
}
|
|
|
|
@ -241,7 +338,7 @@
|
|
|
|
|
${pageName}Control.onCurrentChange = item => {
|
|
|
|
|
if (!item) return;
|
|
|
|
|
|
|
|
|
|
let key = item.data.GDCC_ID;
|
|
|
|
|
let key = item.data.CON_KEY;
|
|
|
|
|
|
|
|
|
|
$("#tbody--${pageName}").setCurrentRow(key);
|
|
|
|
|
};
|
|
|
|
@ -339,8 +436,8 @@
|
|
|
|
|
${infoPrefix}List.inStrings(
|
|
|
|
|
document.getElementById("${infoPrefix}Row--${pageName}").innerHTML, <%-- from template#${infoPrefix}Row --%>
|
|
|
|
|
(str, dataItem) => str
|
|
|
|
|
.replace(/{onclick}/gi, "${pageName}Control.setCurrent('" + dataItem.getValue("GDCC_ID") + "');")
|
|
|
|
|
.replace(/{ondblclick}/gi, "${pageName}Control.getInfo('update', '" + dataItem.getValue("GDCC_ID") + "');")
|
|
|
|
|
.replace(/{onclick}/gi, "${pageName}Control.setCurrent('" + dataItem.getValue("CON_KEY") + "');")
|
|
|
|
|
.replace(/{ondblclick}/gi, "${pageName}Control.getInfo('update', '" + dataItem.getValue("CON_KEY") + "');")
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
$("#tbody--${pageName}").html(trs.join());
|
|
|
|
@ -414,6 +511,8 @@
|
|
|
|
|
|
|
|
|
|
// 달력 초기화
|
|
|
|
|
initDatepicker("frmSearch--${pageName}");
|
|
|
|
|
$("#schSendDateFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-1365).date);
|
|
|
|
|
$("#schSendDateTo--${pageName}").datepicker("setDate", new Date());
|
|
|
|
|
|
|
|
|
|
// dataset 초기화
|
|
|
|
|
${pageName}Control.dataset.clear();
|
|
|
|
@ -428,7 +527,8 @@
|
|
|
|
|
|
|
|
|
|
// 기본 데이터 설정
|
|
|
|
|
setForm${pageName} = () => {
|
|
|
|
|
|
|
|
|
|
// 전체 탭에 datatable 설정
|
|
|
|
|
$("#tabEpostRcpt0").html($("#datatable--${pageName}"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
@ -452,12 +552,41 @@
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 검색 버튼 이벤트
|
|
|
|
|
fnSearchList${pageName} = () => {
|
|
|
|
|
fnSearchList${pageName} = (clickTab) => {
|
|
|
|
|
// 검색조건
|
|
|
|
|
${pageName}Control.query = ${pageName}Fields.get();
|
|
|
|
|
|
|
|
|
|
${pageName}Control.query.fetchSize = FETCH_XS; // 한번에 조회되는 자료 건수 FETCH_XS = 30
|
|
|
|
|
${pageName}Control.query.useYN = "Y"; // 사용 여부 - Y
|
|
|
|
|
${pageName}Control.query.delYn = "Y"; // 삭제여부 - Y
|
|
|
|
|
|
|
|
|
|
// 탭 선택에 따른 우편 처리 상태(POST_PROC_STT) 설정.
|
|
|
|
|
if (clickTab == "tab1") { // 발송대기
|
|
|
|
|
${pageName}Control.query.postPrcsSttsCdFrom = "01";
|
|
|
|
|
${pageName}Control.query.postPrcsSttsCdTo = "01";
|
|
|
|
|
} else if (clickTab == "tab2") { // 발송취소
|
|
|
|
|
${pageName}Control.query.postPrcsSttsCdFrom = "02";
|
|
|
|
|
${pageName}Control.query.postPrcsSttsCdTo = "02";
|
|
|
|
|
} else if (clickTab == "tab3") { // 전송
|
|
|
|
|
${pageName}Control.query.postPrcsSttsCdFrom = "03";
|
|
|
|
|
${pageName}Control.query.postPrcsSttsCdTo = "03";
|
|
|
|
|
} else if (clickTab == "tab4") { // 접수
|
|
|
|
|
${pageName}Control.query.postPrcsSttsCdFrom = "05";
|
|
|
|
|
${pageName}Control.query.postPrcsSttsCdTo = "05";
|
|
|
|
|
} else if (clickTab == "tab5") { // 제작불가
|
|
|
|
|
${pageName}Control.query.postPrcsSttsCdFrom = "21";
|
|
|
|
|
${pageName}Control.query.postPrcsSttsCdTo = "79";
|
|
|
|
|
} else if (clickTab == "tab6") { // 제작완료
|
|
|
|
|
${pageName}Control.query.postPrcsSttsCdFrom = "80";
|
|
|
|
|
${pageName}Control.query.postPrcsSttsCdTo = "80";
|
|
|
|
|
} else if (clickTab == "tab7") { // 배달중
|
|
|
|
|
${pageName}Control.query.postPrcsSttsCdFrom = "90";
|
|
|
|
|
${pageName}Control.query.postPrcsSttsCdTo = "90";
|
|
|
|
|
} else if (clickTab == "tab8") { // 배달완료
|
|
|
|
|
${pageName}Control.query.postPrcsSttsCdFrom = "95";
|
|
|
|
|
${pageName}Control.query.postPrcsSttsCdTo = "95";
|
|
|
|
|
} else { // 전체
|
|
|
|
|
//
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
${pageName}Control.load();
|
|
|
|
|
}
|
|
|
|
@ -472,6 +601,69 @@
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 탭0
|
|
|
|
|
fnTabEpostRcpt0${pageName} = () => {
|
|
|
|
|
$("#tabEpostRcpt0").html($("#datatable--${pageName}"));
|
|
|
|
|
|
|
|
|
|
fnSearchList${pageName}("tab0");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 탭1
|
|
|
|
|
fnTabEpostRcpt1${pageName} = () => {
|
|
|
|
|
$("#tabEpostRcpt1").html($("#datatable--${pageName}"));
|
|
|
|
|
|
|
|
|
|
fnSearchList${pageName}("tab1");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 탭2
|
|
|
|
|
fnTabEpostRcpt2${pageName} = () => {
|
|
|
|
|
$("#tabEpostRcpt2").html($("#datatable--${pageName}"));
|
|
|
|
|
|
|
|
|
|
fnSearchList${pageName}("tab2");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 탭3
|
|
|
|
|
fnTabEpostRcpt3${pageName} = () => {
|
|
|
|
|
$("#tabEpostRcpt3").html($("#datatable--${pageName}"));
|
|
|
|
|
|
|
|
|
|
fnSearchList${pageName}("tab3");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 탭4
|
|
|
|
|
fnTabEpostRcpt4${pageName} = () => {
|
|
|
|
|
$("#tabEpostRcpt4").html($("#datatable--${pageName}"));
|
|
|
|
|
|
|
|
|
|
fnSearchList${pageName}("tab4");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 탭5
|
|
|
|
|
fnTabEpostRcpt5${pageName} = () => {
|
|
|
|
|
$("#tabEpostRcpt5").html($("#datatable--${pageName}"));
|
|
|
|
|
|
|
|
|
|
fnSearchList${pageName}("tab5");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 탭6
|
|
|
|
|
fnTabEpostRcpt6${pageName} = () => {
|
|
|
|
|
$("#tabEpostRcpt6").html($("#datatable--${pageName}"));
|
|
|
|
|
|
|
|
|
|
fnSearchList${pageName}("tab6");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 탭7
|
|
|
|
|
fnTabEpostRcpt7${pageName} = () => {
|
|
|
|
|
$("#tabEpostRcpt7").html($("#datatable--${pageName}"));
|
|
|
|
|
|
|
|
|
|
fnSearchList${pageName}("tab7");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 탭8
|
|
|
|
|
fnTabEpostRcpt8${pageName} = () => {
|
|
|
|
|
$("#tabEpostRcpt8").html($("#datatable--${pageName}"));
|
|
|
|
|
|
|
|
|
|
fnSearchList${pageName}("tab8");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 전자우편 안내문 등록 버튼 이벤트
|
|
|
|
|
fnCreate${pageName} = () => {
|
|
|
|
|
${pageName}Control.getInfo("create");
|
|
|
|
@ -479,12 +671,12 @@
|
|
|
|
|
|
|
|
|
|
// 전자우편 안내문 수정 버튼 이벤트
|
|
|
|
|
fnUpdate${pageName} = () => {
|
|
|
|
|
let gdccId = ${pageName}Control.dataset.getValue("GDCC_ID");
|
|
|
|
|
let conKey = ${pageName}Control.dataset.getValue("CON_KEY");
|
|
|
|
|
|
|
|
|
|
// 전자우편 안내문 ID 가 없다면.. return
|
|
|
|
|
if (typeof gdccId == "undefined" || gdccId == null || gdccId == "") return;
|
|
|
|
|
if (typeof conKey == "undefined" || conKey == null || conKey == "") return;
|
|
|
|
|
|
|
|
|
|
${pageName}Control.getInfo("update", gdccId);
|
|
|
|
|
${pageName}Control.getInfo("update", conKey);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 전자우편 안내문 삭제 버튼 이벤트
|
|
|
|
|