|
|
|
@ -98,6 +98,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
<form id="productList--${pageName}" name="productList">
|
|
|
|
|
<div class="table-responsive ox-scroll oy-scroll h-px-300" id="table-responsive-1--${pageName}">
|
|
|
|
|
<table class="table-layout-fixed dataTable datatables-ajax table table-bordered no-footer" id="DataTables_Table_0--productList" aria-describedby="DataTables_Table_0_info">
|
|
|
|
|
<thead class="sticky-thead">
|
|
|
|
|
<tr id="theadTr--productList"
|
|
|
|
@ -141,6 +142,7 @@
|
|
|
|
|
</tr>
|
|
|
|
|
</template>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div> <!-- <div class="card"> -->
|
|
|
|
|
<!-- 업무 버튼 표시 -->
|
|
|
|
@ -309,7 +311,7 @@
|
|
|
|
|
let trs = empty ? [document.getElementById("$productListNotFound--productList").content.outerHTML]
|
|
|
|
|
: $P.productList.inStrings(foundTr.outerHTML, replacer);
|
|
|
|
|
|
|
|
|
|
$("#table-responsive--${pageName}")[0].changeContent(trs.join(), true, true);
|
|
|
|
|
$("#table-responsive--${pageName}")[0].changeContent(trs.join(), initScroll, noMore);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
@ -319,6 +321,13 @@
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
* 사용자 함수(function)
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
// 검색 자료 재조회
|
|
|
|
|
$P.fnRefreshList = () => {
|
|
|
|
|
$P.control.untilPageNum = $P.control.query.pageNum;
|
|
|
|
|
$P.control.query.fetchSize = $P.control.defaultFetchSize * $P.control.query.pageNum;
|
|
|
|
|
$P.control.load(1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 업무구분에 따른 URL 설정
|
|
|
|
|
$P.fnSetURL = (taskSeCd) => {
|
|
|
|
|
// $P.control.urls.create = wctx.url("/" + taskSeCd + "${infoPrefixUrl}" + "/040/create.do"); // 등록
|
|
|
|
@ -394,6 +403,7 @@
|
|
|
|
|
|
|
|
|
|
// 초기 화면 설정
|
|
|
|
|
$P.initForm = () => {
|
|
|
|
|
fnMakeScrollableTable($("#table-responsive--${pageName}")[0], $P.scrollDataList);
|
|
|
|
|
// Dialog 마우스로 드래그 할 수 있도록 설정.
|
|
|
|
|
//fnMakeDraggableDialog(document.getElementById($P.control.prefix + "Dialog"));
|
|
|
|
|
}
|
|
|
|
|