|
|
|
@ -10,211 +10,211 @@
|
|
|
|
|
<!-- Page Body -->
|
|
|
|
|
<div class="card">
|
|
|
|
|
<div class="wrapper-list">
|
|
|
|
|
<div>
|
|
|
|
|
<!-- 상단 버튼 -->
|
|
|
|
|
<div class="container-page-btn">
|
|
|
|
|
<button type="button" class="btn btn-outline-dark w-px-120" id="btnReset--${pageName}" title="초기화" onclick="fnResetAndChangeBiz${pageName}();">
|
|
|
|
|
초기화
|
|
|
|
|
|
|
|
|
|
<!-- 상단 버튼 -->
|
|
|
|
|
<div class="container-page-btn">
|
|
|
|
|
<button type="button" class="btn btn-outline-dark w-px-120" id="btnReset--${pageName}" title="초기화" onclick="fnResetAndChangeBiz${pageName}();">
|
|
|
|
|
초기화
|
|
|
|
|
</button>
|
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
|
<button type="button" class="btn btn-search w-px-120" id="btnSearch--${pageName}" title="검색" onclick="fnSearchList${pageName}();">
|
|
|
|
|
검색
|
|
|
|
|
</button>
|
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
|
<button type="button" class="btn btn-search w-px-120" id="btnSearch--${pageName}" title="검색" onclick="fnSearchList${pageName}();">
|
|
|
|
|
검색
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" class="btn btn-excel w-px-120" id="btnExcel--${pageName}" title="엑셀" onclick="fnExcel${pageName}();">
|
|
|
|
|
엑셀
|
|
|
|
|
</button>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- / 상단 버튼 -->
|
|
|
|
|
|
|
|
|
|
<!-- 검색 조건 영역 -->
|
|
|
|
|
<form id="frmSearch--${pageName}" name="frmSearch">
|
|
|
|
|
<!-- hidden -->
|
|
|
|
|
<input type="hidden" id="sggCd--${pageName}" name="sggCd" data-map="SGG_CD" />
|
|
|
|
|
|
|
|
|
|
<!-- 메인 조건 -->
|
|
|
|
|
<div class="container-search">
|
|
|
|
|
<div class="row g-1">
|
|
|
|
|
<!-- 업무구분 -->
|
|
|
|
|
<div class="col-12">
|
|
|
|
|
<label class="form-label fw-bold form-search-title text-end">업무구분</label>
|
|
|
|
|
<span class="form-search-linebox">
|
|
|
|
|
<c:forEach items="${taskListForSgg}" var="item">
|
|
|
|
|
<label>
|
|
|
|
|
<input type="radio" class="form-check-input" name="taskSeCd" alt="업무구분"
|
|
|
|
|
value="${item.code}" onchange="fnResetAndChangeBiz${pageName}(this.value);">
|
|
|
|
|
${item.value}
|
|
|
|
|
</label>
|
|
|
|
|
</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="schSvbtcYmdFrom--${pageName}" name="schSvbtcYmdFrom"
|
|
|
|
|
data-fmt-type="day" title="시작 날짜 선택" />
|
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
|
~
|
|
|
|
|
<input type="text" class="form-control form-date" id="schSvbtcYmdTo--${pageName}" name="schSvbtcYmdTo"
|
|
|
|
|
data-fmt-type="day" 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>
|
|
|
|
|
<select class="form-select w-px-150" id="schSndngSeCd--${pageName}" name="schSndngSeCd">
|
|
|
|
|
<option value="">전체</option>
|
|
|
|
|
<c:forEach items="${FIM047List}" var="item">
|
|
|
|
|
<option value="${item.code}">${item.value}</option>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 문서 번호 -->
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
<label class="form-label fw-bold form-search-title text-end">문서번호</label>
|
|
|
|
|
<input type="text" class="form-control w-px-160" id="schDocNo--${pageName}" name="schDocNo" autocomplete="off" />
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 동적검색 -->
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
<input type="hidden" id="by--${pageName}" name="by" />
|
|
|
|
|
<input type="text" class="form-control" id="byOutput--${pageName}" value="동적 검색" readonly />
|
|
|
|
|
<input type="hidden" id="mainOption--${pageName}" name="mainOption" />
|
|
|
|
|
<input type="hidden" id="subOption--${pageName}" name="subOption" />
|
|
|
|
|
<input type="text" class="form-control w-px-300" id="term--${pageName}" name="term" />
|
|
|
|
|
<!-- 상세 검색조건 버튼 -->
|
|
|
|
|
<span class="flr">
|
|
|
|
|
<button type="button" class="btn btn-open-detail" data-bs-toggle="collapse" data-bs-target="#searchDetail--${pageName}">
|
|
|
|
|
<i class="bx bx-chevron-down"></i>
|
|
|
|
|
상세검색
|
|
|
|
|
</button>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<button type="button" class="btn btn-excel w-px-120" id="btnExcel--${pageName}" title="엑셀" onclick="fnExcel${pageName}();">
|
|
|
|
|
엑셀
|
|
|
|
|
</button>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- / 상단 버튼 -->
|
|
|
|
|
|
|
|
|
|
<!-- 검색 조건 영역 -->
|
|
|
|
|
<form id="frmSearch--${pageName}" name="frmSearch">
|
|
|
|
|
<!-- hidden -->
|
|
|
|
|
<input type="hidden" id="sggCd--${pageName}" name="sggCd" data-map="SGG_CD" />
|
|
|
|
|
|
|
|
|
|
<!-- 메인 조건 -->
|
|
|
|
|
<div class="container-search">
|
|
|
|
|
<div class="row g-1">
|
|
|
|
|
<!-- 업무구분 -->
|
|
|
|
|
<div class="col-12">
|
|
|
|
|
<label class="form-label fw-bold form-search-title text-end">업무구분</label>
|
|
|
|
|
<span class="form-search-linebox">
|
|
|
|
|
<c:forEach items="${taskListForSgg}" var="item">
|
|
|
|
|
<label>
|
|
|
|
|
<input type="radio" class="form-check-input" name="taskSeCd" alt="업무구분"
|
|
|
|
|
value="${item.code}" onchange="fnResetAndChangeBiz${pageName}(this.value);">
|
|
|
|
|
${item.value}
|
|
|
|
|
</label>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- / 메인 조건 -->
|
|
|
|
|
|
|
|
|
|
<!-- 상세 조건 -->
|
|
|
|
|
<div id="searchDetail--${pageName}" class="container-search container-search-detail collapse">
|
|
|
|
|
<div class="row g-1">
|
|
|
|
|
<!-- 등록일자, 수정일자 -->
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
<select class="form-select text-center" id="schRegDateOpt--${pageName}" name="schRegDateOpt">
|
|
|
|
|
<option value="regDt">등록일자</option>
|
|
|
|
|
<option value="mdfcnDt">수정일자</option>
|
|
|
|
|
</select>
|
|
|
|
|
<span class="form-search-linebox">
|
|
|
|
|
<input type="text" class="form-control form-date" id="schRegDateFrom--${pageName}" name="schRegDateFrom"
|
|
|
|
|
data-fmt-type="day" title="시작 날짜 선택" />
|
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
|
~
|
|
|
|
|
<input type="text" class="form-control form-date" id="schRegDateTo--${pageName}" name="schRegDateTo"
|
|
|
|
|
data-fmt-type="day" title="종료 날짜 선택">
|
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 등록자명, 수정자명 -->
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
<select class="form-select text-center" id="schRgtrOpt--${pageName}" name="schRgtrOpt">
|
|
|
|
|
<option value="rgtr">등록자</option>
|
|
|
|
|
<option value="mdfr">수정자</option>
|
|
|
|
|
</select>
|
|
|
|
|
<input type="hidden" id="schRgtrCd--${pageName}" name="schRgtrCd" />
|
|
|
|
|
<input type="text" class="form-control" id="schRgtrNm--${pageName}" name="schRgtrNm" />
|
|
|
|
|
<button type="button" class="btn btn-sm btn-outline-dark" id="btnFindUser--${pageName}" title="사용자 검색" onclick="fnFindUser${pageName}();">
|
|
|
|
|
검색
|
|
|
|
|
<!-- 공시송달 일자 -->
|
|
|
|
|
<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="schSvbtcYmdFrom--${pageName}" name="schSvbtcYmdFrom"
|
|
|
|
|
data-fmt-type="day" title="시작 날짜 선택" />
|
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
|
~
|
|
|
|
|
<input type="text" class="form-control form-date" id="schSvbtcYmdTo--${pageName}" name="schSvbtcYmdTo"
|
|
|
|
|
data-fmt-type="day" 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>
|
|
|
|
|
<select class="form-select w-px-150" id="schSndngSeCd--${pageName}" name="schSndngSeCd">
|
|
|
|
|
<option value="">전체</option>
|
|
|
|
|
<c:forEach items="${FIM047List}" var="item">
|
|
|
|
|
<option value="${item.code}">${item.value}</option>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 문서 번호 -->
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
<label class="form-label fw-bold form-search-title text-end">문서번호</label>
|
|
|
|
|
<input type="text" class="form-control w-px-160" id="schDocNo--${pageName}" name="schDocNo" autocomplete="off" />
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 동적검색 -->
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
<input type="hidden" id="by--${pageName}" name="by" />
|
|
|
|
|
<input type="text" class="form-control" id="byOutput--${pageName}" value="동적 검색" readonly />
|
|
|
|
|
<input type="hidden" id="mainOption--${pageName}" name="mainOption" />
|
|
|
|
|
<input type="hidden" id="subOption--${pageName}" name="subOption" />
|
|
|
|
|
<input type="text" class="form-control w-px-300" id="term--${pageName}" name="term" />
|
|
|
|
|
<!-- 상세 검색조건 버튼 -->
|
|
|
|
|
<span class="flr">
|
|
|
|
|
<button type="button" class="btn btn-open-detail" data-bs-toggle="collapse" data-bs-target="#searchDetail--${pageName}">
|
|
|
|
|
<i class="bx bx-chevron-down"></i>
|
|
|
|
|
상세검색
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div> <!-- / 상세 조건 -->
|
|
|
|
|
</form>
|
|
|
|
|
<!-- / 검색 조건 영역 -->
|
|
|
|
|
|
|
|
|
|
<!-- 업무 버튼 및 건수 표시 -->
|
|
|
|
|
<div>
|
|
|
|
|
<span class="container-page-btn">
|
|
|
|
|
<!-- 건수, 페이지 표시 -->
|
|
|
|
|
<div class="d-flex flex-row justify-content-between">
|
|
|
|
|
<label class="dataTables_info" id="paging--${pageName}PagingInfo" role="status" aria-live="polite"></label>
|
|
|
|
|
<ul class="pagination pagination-primary" id="paging--${pageName}">
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- / 메인 조건 -->
|
|
|
|
|
|
|
|
|
|
<!-- 상세 조건 -->
|
|
|
|
|
<div id="searchDetail--${pageName}" class="container-search container-search-detail collapse">
|
|
|
|
|
<div class="row g-1">
|
|
|
|
|
<!-- 등록일자, 수정일자 -->
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
<select class="form-select text-center" id="schRegDateOpt--${pageName}" name="schRegDateOpt">
|
|
|
|
|
<option value="regDt">등록일자</option>
|
|
|
|
|
<option value="mdfcnDt">수정일자</option>
|
|
|
|
|
</select>
|
|
|
|
|
<span class="form-search-linebox">
|
|
|
|
|
<input type="text" class="form-control form-date" id="schRegDateFrom--${pageName}" name="schRegDateFrom"
|
|
|
|
|
data-fmt-type="day" title="시작 날짜 선택" />
|
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
|
~
|
|
|
|
|
<input type="text" class="form-control form-date" id="schRegDateTo--${pageName}" name="schRegDateTo"
|
|
|
|
|
data-fmt-type="day" title="종료 날짜 선택">
|
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
|
<!-- 업무 버튼 -->
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" id="btnHwpPrint--${pageName}" title="한글파일 출력" onclick="fnHwpPrint${pageName}();">
|
|
|
|
|
한글파일 출력
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" id="btnUpdateSvbtc--${pageName}" title="공시송달 수정" onclick="fnUpdateSvbtc${pageName}();">
|
|
|
|
|
공시송달 수정
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" id="btnRemoveSvbtc--${pageName}" title="공시송달 삭제" onclick="fnRemoveSvbtc${pageName}();">
|
|
|
|
|
공시송달 삭제
|
|
|
|
|
<!-- 등록자명, 수정자명 -->
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
<select class="form-select text-center" id="schRgtrOpt--${pageName}" name="schRgtrOpt">
|
|
|
|
|
<option value="rgtr">등록자</option>
|
|
|
|
|
<option value="mdfr">수정자</option>
|
|
|
|
|
</select>
|
|
|
|
|
<input type="hidden" id="schRgtrCd--${pageName}" name="schRgtrCd" />
|
|
|
|
|
<input type="text" class="form-control" id="schRgtrNm--${pageName}" name="schRgtrNm" />
|
|
|
|
|
<button type="button" class="btn btn-sm btn-outline-dark" id="btnFindUser--${pageName}" title="사용자 검색" onclick="fnFindUser${pageName}();">
|
|
|
|
|
검색
|
|
|
|
|
</button>
|
|
|
|
|
</span>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- / 업무 버튼 및 건수 표시 -->
|
|
|
|
|
|
|
|
|
|
<!-- DataTables(그리드) -->
|
|
|
|
|
<div class="card-datatable text-nowrap">
|
|
|
|
|
<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:400px; 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">
|
|
|
|
|
<thead class="sticky-thead">
|
|
|
|
|
<tr id="theadTr--${pageName}"
|
|
|
|
|
data-by="by--${pageName}" data-by-output="byOutput--${pageName}" data-main-option="mainOption--${pageName}" data-sub-option="subOption--${pageName}">
|
|
|
|
|
<th class="cmn" style="width: 72px;">NO.</th>
|
|
|
|
|
<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: 160px;" onclick="searchFromGridTitle('SNDNG_SE_CD', this.innerText, 'codeValue', 'FIM047');">발송구분</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('SVBTC_YMD', this.innerText, 'ymd', '');">공시송달일자</th>
|
|
|
|
|
<th class="cmn" style="width: 100px;" onclick="searchFromGridTitle('TNOCS', this.innerText, 'match', 'part');">총건수</th>
|
|
|
|
|
<th class="cmn" style="width: 200px;" onclick="searchFromGridTitle('DOC_NO', this.innerText, 'match', 'part');">문서번호</th>
|
|
|
|
|
<th class="cmn" style="width: 320px;" onclick="searchFromGridTitle('TTL_NM', this.innerText, 'match', 'part');">제목</th>
|
|
|
|
|
<th class="cmn" style="width: 320px;" onclick="searchFromGridTitle('ETC_CN', this.innerText, 'match', 'part');">기타내용</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="{SVBTC_ID}">
|
|
|
|
|
<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="{SVBTC_ID}" onchange="${pageName}Control.select('{SVBTC_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}">{SNDNG_SE_NM}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{SVBTC_YMD}</td>
|
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{TNOCS}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{DOC_NO}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{TTL_NM}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{ETC_CN}</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="13" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</template>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- / DataTables(그리드) -->
|
|
|
|
|
</div> <!-- / 상세 조건 -->
|
|
|
|
|
</form>
|
|
|
|
|
<!-- / 검색 조건 영역 -->
|
|
|
|
|
|
|
|
|
|
<!-- 업무 버튼 및 건수 표시 -->
|
|
|
|
|
<div>
|
|
|
|
|
<span class="container-page-btn">
|
|
|
|
|
<!-- 건수, 페이지 표시 -->
|
|
|
|
|
<div class="d-flex flex-row justify-content-between">
|
|
|
|
|
<label class="dataTables_info" id="paging--${pageName}PagingInfo" role="status" aria-live="polite"></label>
|
|
|
|
|
<ul class="pagination pagination-primary" id="paging--${pageName}">
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
|
<!-- 업무 버튼 -->
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" id="btnHwpSvbtc--${pageName}" title="한글파일 출력" onclick="fnHwpSvbtc${pageName}();">
|
|
|
|
|
한글파일 출력
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" id="btnUpdateSvbtc--${pageName}" title="공시송달 수정" onclick="fnUpdateSvbtc${pageName}();">
|
|
|
|
|
공시송달 수정
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" id="btnRemoveSvbtc--${pageName}" title="공시송달 삭제" onclick="fnRemoveSvbtc${pageName}();">
|
|
|
|
|
공시송달 삭제
|
|
|
|
|
</button>
|
|
|
|
|
</span>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- / 업무 버튼 및 건수 표시 -->
|
|
|
|
|
|
|
|
|
|
<!-- DataTables(그리드) -->
|
|
|
|
|
<div class="card-datatable text-nowrap">
|
|
|
|
|
<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:400px; 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">
|
|
|
|
|
<thead class="sticky-thead">
|
|
|
|
|
<tr id="theadTr--${pageName}"
|
|
|
|
|
data-by="by--${pageName}" data-by-output="byOutput--${pageName}" data-main-option="mainOption--${pageName}" data-sub-option="subOption--${pageName}">
|
|
|
|
|
<th class="cmn" style="width: 72px;">NO.</th>
|
|
|
|
|
<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: 160px;" onclick="searchFromGridTitle('SNDNG_SE_CD', this.innerText, 'codeValue', 'FIM047');">발송구분</th>
|
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('SVBTC_YMD', this.innerText, 'ymd', '');">공시송달일자</th>
|
|
|
|
|
<th class="cmn" style="width: 100px;" onclick="searchFromGridTitle('TNOCS', this.innerText, 'match', 'part');">총건수</th>
|
|
|
|
|
<th class="cmn" style="width: 200px;" onclick="searchFromGridTitle('DOC_NO', this.innerText, 'match', 'part');">문서번호</th>
|
|
|
|
|
<th class="cmn" style="width: 320px;" onclick="searchFromGridTitle('TTL_NM', this.innerText, 'match', 'part');">제목</th>
|
|
|
|
|
<th class="cmn" style="width: 320px;" onclick="searchFromGridTitle('ETC_CN', this.innerText, 'match', 'part');">기타내용</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="{SVBTC_ID}">
|
|
|
|
|
<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="{SVBTC_ID}" onchange="${pageName}Control.select('{SVBTC_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}">{SNDNG_SE_NM}</td>
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{SVBTC_YMD}</td>
|
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{TNOCS}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{DOC_NO}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{TTL_NM}</td>
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{ETC_CN}</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="13" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</template>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div> <!-- / DataTables(그리드) -->
|
|
|
|
|
|
|
|
|
|
</div> <!-- / Wrapper-list -->
|
|
|
|
|
</div> <!-- / Card -->
|
|
|
|
|
</div>
|
|
|
|
|
<!-- / Content -->
|
|
|
|
|
|
|
|
|
|
<span id="tempArea--${pageName}" hidden></span>
|
|
|
|
|
</div> <!-- / Content -->
|
|
|
|
|
|
|
|
|
|
<jsp:include page="/WEB-INF/jsp/include/bottom.jsp" />
|
|
|
|
|
|
|
|
|
@ -437,6 +437,37 @@
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 한글파일 출력
|
|
|
|
|
makeHwpFileSvbtc${pageName} = (params) => {
|
|
|
|
|
let selected = ${pageName}Control.dataset.getKeys("selected");
|
|
|
|
|
|
|
|
|
|
if (selected.length < 1) return;
|
|
|
|
|
|
|
|
|
|
if (!params) {
|
|
|
|
|
params = {};
|
|
|
|
|
params["svbtcIDs"] = selected.join(",");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
let taskSeCd = $("#frmSearch--${pageName} input[name='taskSeCd']:checked").val();
|
|
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
|
url : wctx.url("/" + taskSeCd + "/sndb/sndb01/240/makeSvbtcHwp.do")
|
|
|
|
|
, data : params || {}
|
|
|
|
|
, success : resp => {
|
|
|
|
|
if (resp.filePath != null && resp.filePath != "") {
|
|
|
|
|
let a = document.createElement("a");
|
|
|
|
|
|
|
|
|
|
a.href = resp.filePath;
|
|
|
|
|
a.download = resp.fileName;
|
|
|
|
|
|
|
|
|
|
document.getElementById("tempArea--${pageName}").appendChild(a);
|
|
|
|
|
a.click();
|
|
|
|
|
document.getElementById("tempArea--${pageName}").removeChild(a);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 공시송달 수정
|
|
|
|
|
getSvbtcInfo${pageName} = (params) => {
|
|
|
|
|
if (!params) return;
|
|
|
|
@ -543,6 +574,11 @@
|
|
|
|
|
getFindUser${pageName}();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 한글파일 출력 버튼 이벤트
|
|
|
|
|
fnHwpSvbtc${pageName} = () => {
|
|
|
|
|
makeHwpFileSvbtc${pageName}();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 수정 버튼 이벤트
|
|
|
|
|
fnUpdateSvbtc${pageName} = () => {
|
|
|
|
|
let svbtcId = ${pageName}Control.dataset.getValue("SVBTC_ID");
|
|
|
|
|