|
|
|
@ -76,14 +76,14 @@
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 업무 버튼 -->
|
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-160" name="btnCreate" title="임대차계약서 등록">
|
|
|
|
|
임대계약서 등록
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" name="btnCreate" title="임대차계약서 등록">
|
|
|
|
|
계약서 등록
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-160" name="btnUpdate" title="임대차계약서 수정">
|
|
|
|
|
임대계약서 수정
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" name="btnUpdate" title="임대차계약서 수정">
|
|
|
|
|
계약서 수정
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-160" name="btnRemove" title="임대차계약서 삭제">
|
|
|
|
|
임대계약서 삭제
|
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" name="btnRemove" title="임대차계약서 삭제">
|
|
|
|
|
계약서 삭제
|
|
|
|
|
</button>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
@ -126,8 +126,7 @@
|
|
|
|
|
</thead>
|
|
|
|
|
<template name="tmpltCols">
|
|
|
|
|
<th class="cmn" style="width: 72px;">No.</th>
|
|
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 56px;"><input type="checkbox" class="form-check-input" name="gridAllCheckbox" onchange="pageObject['${pageName}'].dataTableCheckbox(this, this.checked);" /></th>
|
|
|
|
|
<th class="cmn" style="width: 56px;"><input type="checkbox" class="form-check-input" name="gridAllCheckbox" onchange="dataTableCheckbox(this, this.checked);" /></th>
|
|
|
|
|
<th class="cmn" style="width: 160px;">업무구분</th>
|
|
|
|
|
<th class="cmn" style="width: 100px;">대상여부</th>
|
|
|
|
|
<th class="cmn" style="width: 180px;" onclick="FimsSupport.searchFromGridTitle('CRDN_YMD', this.innerText, 'ymd', '');">단속일시</th>
|
|
|
|
@ -152,7 +151,7 @@
|
|
|
|
|
<template is="curly-brackets" name="tmpltRows">
|
|
|
|
|
<tr data-index="DATA-INDEX">
|
|
|
|
|
<td class="cmn text-center" onclick ondblclick>{ROW_NUM}</td>
|
|
|
|
|
<td class="cmn text-center"><input type="checkbox" class="form-check-input" name="gridCheckbox" value="DATA-INDEX" onchange="pageObject['${pageName}'].dataTableCheckbox(this, this.checked);" /></td>
|
|
|
|
|
<td class="cmn text-center"><input type="checkbox" class="form-check-input" name="gridCheckbox" value="DATA-INDEX" onchange="dataTableCheckbox(this, this.checked);" /></td>
|
|
|
|
|
<td class="cmn text-center" onclick ondblclick>{TASK_SE_NM}</td>
|
|
|
|
|
<td class="cmn text-center" onclick ondblclick>{TRGT_YN}</td>
|
|
|
|
|
<td class="cmn text-center" onclick ondblclick>{CRDN_YMD_TM}</td>
|
|
|
|
@ -194,7 +193,7 @@
|
|
|
|
|
<!-- / inner page html <div class="content-wrapper"> -->
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
LoadScript("rent02010Script",wctx.url("/webjars/js/fims/rent/rent02010.js?ver=${ver}"));
|
|
|
|
|
LoadScript("rent02010Script", wctx.url("/webjars/js/fims/rent/rent02010.js?ver=${ver}"));
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
* Global Variable
|
|
|
|
@ -205,24 +204,36 @@
|
|
|
|
|
* script 진입
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
* pageObject
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
// pageObject
|
|
|
|
|
let $P = pageObject["${pageName}"];
|
|
|
|
|
|
|
|
|
|
// datasetControl
|
|
|
|
|
$P.ctrl = newRent02010Control("${pageName}", "[data-doctx=${pageName}]");
|
|
|
|
|
|
|
|
|
|
// formFields
|
|
|
|
|
$P.formFields = new FimsFormFields($P.selectorn("frmSearch"));
|
|
|
|
|
|
|
|
|
|
// datasetControl
|
|
|
|
|
$P.ctrl = newRent02010Control("${pageName}", "[data-doctx=${pageName}]");
|
|
|
|
|
// paging
|
|
|
|
|
$P.pagingSupport = new FimsPagingSupport({
|
|
|
|
|
doq: $P
|
|
|
|
|
, linkContainer: "[name='dataPaging']"
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// DataTables에 click, dbclick 이벤트
|
|
|
|
|
$P.renderList = (obj, option) => {
|
|
|
|
|
|
|
|
|
|
// dataTables(그리드)에 페이지 표시 pagingInfo
|
|
|
|
|
$P.pagingSupport.setPagingInfo(obj);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
* 사용자 함수(function)
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
// URL 설정
|
|
|
|
|
$P.fnSetUrl = (prefixUrl) => {
|
|
|
|
|
$P.ctrl.urls.load = wctx.url(prefixUrl + "/010/list.do"); // 검색 url
|
|
|
|
|
$P.ctrl.urls.getInfo = wctx.url(prefixUrl + "/020/info.do"); // 상세 정보 url
|
|
|
|
|
$P.ctrl.urls.load = wctx.url(prefixUrl + "/010/list.do"); // 검색
|
|
|
|
|
$P.ctrl.urls.getInfo = wctx.url(prefixUrl + "/020/info.do"); // 상세 정보
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|