|
|
@ -145,27 +145,28 @@
|
|
|
|
<div class="row g-1">
|
|
|
|
<div class="row g-1">
|
|
|
|
<!-- 등록일자, 수정일자 -->
|
|
|
|
<!-- 등록일자, 수정일자 -->
|
|
|
|
<div class="col-6">
|
|
|
|
<div class="col-6">
|
|
|
|
<select class="form-select text-center" id="schDetailRegDtOpt--${pageName}" name="schDetailRegDtOpt">
|
|
|
|
<select class="form-select text-center" id="schRegDateOpt--${pageName}" name="schRegDateOpt">
|
|
|
|
<option value="regDt">등록일자</option>
|
|
|
|
<option value="regDt">등록일자</option>
|
|
|
|
<option value="mdfcnDt">수정일자</option>
|
|
|
|
<option value="mdfcnDt">수정일자</option>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<span class="form-search-linebox">
|
|
|
|
<span class="form-search-linebox">
|
|
|
|
<input type="text" class="form-control form-date" id="schDetailRegDtFrom--${pageName}" name="schDetailRegDtFrom"
|
|
|
|
<input type="text" class="form-control form-date" id="schRegDateFrom--${pageName}" name="schRegDateFrom"
|
|
|
|
data-fmt-type="day" title="시작 날짜 선택" />
|
|
|
|
data-fmt-type="day" title="시작 날짜 선택" />
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
~
|
|
|
|
~
|
|
|
|
<input type="text" class="form-control form-date" id="schDetailRegDtTo--${pageName}" name="schDetailRegDtTo"
|
|
|
|
<input type="text" class="form-control form-date" id="schRegDateTo--${pageName}" name="schRegDateTo"
|
|
|
|
data-fmt-type="day" title="종료 날짜 선택">
|
|
|
|
data-fmt-type="day" title="종료 날짜 선택">
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 등록자명, 수정자명 -->
|
|
|
|
<!-- 등록자명, 수정자명 -->
|
|
|
|
<div class="col-6">
|
|
|
|
<div class="col-6">
|
|
|
|
<select class="form-select text-center" id="schDetailRgtrOpt--${pageName}" name="schDetailRgtrOpt">
|
|
|
|
<select class="form-select text-center" id="schRgtrOpt--${pageName}" name="schRgtrOpt">
|
|
|
|
<option value="rgtr">등록자</option>
|
|
|
|
<option value="rgtr">등록자</option>
|
|
|
|
<option value="mdfr">수정자</option>
|
|
|
|
<option value="mdfr">수정자</option>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<input type="text" class="form-control" id="schDetailRgtrNm--${pageName}" name="schDetailRgtrNm" />
|
|
|
|
<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 type="button" class="btn btn-sm btn-outline-dark" id="btnFindUser--${pageName}" title="사용자 검색" onclick="fnFindUser${pageName}();">
|
|
|
|
검색
|
|
|
|
검색
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
@ -187,7 +188,6 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
<!-- 업무 버튼 -->
|
|
|
|
<!-- 업무 버튼 -->
|
|
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -202,9 +202,7 @@
|
|
|
|
<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" style="width: 72px;">NO.</th>
|
|
|
|
<th class="cmn" style="width: 72px;">NO.</th>
|
|
|
|
<th class="cmn" style="width: 56px;">
|
|
|
|
<th class="cmn" style="width: 56px;"><input type="checkbox" class="form-check-input" onchange="${pageName}Control.select(this.checked);"></th>
|
|
|
|
<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;">업무구분</th>
|
|
|
|
<th class="cmn" style="width: 100px;" onclick="searchFromGridTitle('FYR', this.innerText, 'match', 'part');">회계연도</th>
|
|
|
|
<th class="cmn" style="width: 100px;" onclick="searchFromGridTitle('FYR', this.innerText, 'match', 'part');">회계연도</th>
|
|
|
|
<th class="cmn" style="width: 100px;" onclick="searchFromGridTitle('ACNTG_SE_CD', this.innerText, 'codeValue', 'FIM074');">회계코드</th>
|
|
|
|
<th class="cmn" style="width: 100px;" onclick="searchFromGridTitle('ACNTG_SE_CD', this.innerText, 'codeValue', 'FIM074');">회계코드</th>
|
|
|
@ -234,25 +232,26 @@
|
|
|
|
<th class="cmn" style="width: 200px;" onclick="searchFromGridTitle('SZR_THING', this.innerText, 'match', 'part');">압류물건</th>
|
|
|
|
<th class="cmn" style="width: 200px;" onclick="searchFromGridTitle('SZR_THING', this.innerText, 'match', 'part');">압류물건</th>
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('RPM_SZR_VHRNO', this.innerText, 'match', 'part');">대체압류차량</th>
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('RPM_SZR_VHRNO', this.innerText, 'match', 'part');">대체압류차량</th>
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('SZR_RMV_YMD', this.innerText, 'match', 'part');">압류해제일자</th>
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('SZR_RMV_YMD', this.innerText, 'match', 'part');">압류해제일자</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 240px;" onclick="searchFromGridTitle('EPAYNO', this.innerText, 'match', 'part');">전자납부번호</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('BANK_NM', this.innerText, 'match', 'part');">은행명</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 200px;" onclick="searchFromGridTitle('VR_ACTNO', this.innerText, 'match', 'part');">가상계좌번호</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('BANK_NM2', this.innerText, 'match', 'part');">은행명2</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 200px;" onclick="searchFromGridTitle('VR_ACTNO2', this.innerText, 'match', 'part');">가상계좌번호2</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('BANK_NM3', this.innerText, 'match', 'part');">은행명3</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 200px;" onclick="searchFromGridTitle('VR_ACTNO3', this.innerText, 'match', 'part');">가상계좌번호3</th>
|
|
|
|
<th class="cmn" style="width: 180px;" onclick="searchFromGridTitle('CRDN_YMD', this.innerText, 'ymd', '');">단속일시</th>
|
|
|
|
<th class="cmn" style="width: 180px;" onclick="searchFromGridTitle('CRDN_YMD', this.innerText, 'ymd', '');">단속일시</th>
|
|
|
|
<th class="cmn" style="width: 140px;" onclick="searchFromGridTitle('VHRNO', this.innerText, 'match', 'part');">차량번호</th>
|
|
|
|
<th class="cmn" style="width: 140px;" onclick="searchFromGridTitle('VHRNO', this.innerText, 'match', 'part');">차량번호</th>
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('CRDN_STDG_NM', this.innerText, 'match', 'part');">법정동</th>
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('CRDN_STDG_NM', this.innerText, 'match', 'part');">법정동</th>
|
|
|
|
<th class="cmn" style="width: 280px;" onclick="searchFromGridTitle('CRDN_PLC', this.innerText, 'match', 'part');">단속장소</th>
|
|
|
|
<th class="cmn" style="width: 280px;" onclick="searchFromGridTitle('CRDN_PLC', this.innerText, 'match', 'part');">단속장소</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('VLTN_ARTCL', this.innerText, 'match', 'part');">위반항목</th>
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('FFNLG_AMT', this.innerText, 'match', 'part');">최초금액</th>
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('FFNLG_AMT', this.innerText, 'match', 'part');">최초금액</th>
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('CRDN_STTS_CD', this.innerText, 'codeValue', 'FIM010');">처리상태</th>
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('CRDN_STTS_CD', this.innerText, 'codeValue', 'FIM010');">처리상태</th>
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('RTPYR_SE_CD', this.innerText, 'codeValue', 'FIM011');">납부자구분</th>
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('RTPYR_SE_CD', this.innerText, 'codeValue', 'FIM011');">납부자구분</th>
|
|
|
|
<th class="cmn" style="width: 200px;" onclick="searchFromGridTitle('RTPYR_NM', this.innerText, 'match', 'part');">납부자명</th>
|
|
|
|
<th class="cmn" style="width: 200px;" onclick="searchFromGridTitle('RTPYR_NM', this.innerText, 'match', 'part');">납부자명</th>
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('RTPYR_BRDT', this.innerText, 'match', 'part');">납부자생일</th>
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('RTPYR_BRDT', this.innerText, 'ymd', '');">납부자생일</th>
|
|
|
|
<th class="cmn" style="width: 100px;" onclick="searchFromGridTitle('ZIP', this.innerText, 'match', 'part');">우편번호</th>
|
|
|
|
<th class="cmn" style="width: 100px;" onclick="searchFromGridTitle('ZIP', this.innerText, 'match', 'part');">우편번호</th>
|
|
|
|
<th class="cmn" style="width: 240px;" onclick="searchFromGridTitle('ADDR', this.innerText, 'match', 'part');">주소</th>
|
|
|
|
<th class="cmn" style="width: 240px;" onclick="searchFromGridTitle('ADDR', this.innerText, 'match', 'part');">주소</th>
|
|
|
|
<th class="cmn" style="width: 340px;" onclick="searchFromGridTitle('DTL_ADDR', this.innerText, 'match', 'part');">상세주소</th>
|
|
|
|
<th class="cmn" style="width: 340px;" onclick="searchFromGridTitle('DTL_ADDR', this.innerText, 'match', 'part');">상세주소</th>
|
|
|
|
<th class="cmn" style="width: 240px;" onclick="searchFromGridTitle('EPAYNO', this.innerText, 'match', 'part');">전자납부번호</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('BANK_NM', this.innerText, 'match', 'part');">은행명</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 200px;" onclick="searchFromGridTitle('VR_ACTNO', this.innerText, 'match', 'part');">가상계좌번호</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('BANK_NM2', this.innerText, 'match', 'part');">은행명2</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 200px;" onclick="searchFromGridTitle('VR_ACTNO2', this.innerText, 'match', 'part');">가상계좌번호2</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('BANK_NM3', this.innerText, 'match', 'part');">은행명3</th>
|
|
|
|
|
|
|
|
<th class="cmn" style="width: 200px;" onclick="searchFromGridTitle('VR_ACTNO3', this.innerText, 'match', 'part');">가상계좌번호3</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>
|
|
|
@ -265,9 +264,7 @@
|
|
|
|
<template id="${infoPrefix}Row--${pageName}">
|
|
|
|
<template id="${infoPrefix}Row--${pageName}">
|
|
|
|
<tr data-key="{LEVY_ID}">
|
|
|
|
<tr data-key="{LEVY_ID}">
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ROW_NUM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ROW_NUM}</td>
|
|
|
|
<td class="cmn text-center">
|
|
|
|
<td class="cmn text-center"><input type="checkbox" class="form-check-input" value="{LEVY_ID}" onchange="${pageName}Control.select('{LEVY_ID}', this.checked);"></td>
|
|
|
|
<input type="checkbox" class="form-check-input" value="{LEVY_ID}" onchange="${pageName}Control.select('{LEVY_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}">{TASK_SE_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{FYR}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{FYR}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ACNTG_SE_CD}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ACNTG_SE_CD}</td>
|
|
|
@ -297,25 +294,26 @@
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{SZR_THING}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{SZR_THING}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RPM_SZR_VHRNO}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RPM_SZR_VHRNO}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{SZR_RMV_YMD}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{SZR_RMV_YMD}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{EPAYNO_MASK}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{BANK_NM}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{VR_ACTNO}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{BANK_NM2}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{VR_ACTNO2}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{BANK_NM3}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{VR_ACTNO3}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_YMD_TM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_YMD_TM}</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_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-start" onclick="{onclick}" ondblclick="{ondblclick}">{VLTN_ARTCL}</td>
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{FFNLG_CRDN_AMT}</td>
|
|
|
|
<td class="cmn text-end" onclick="{onclick}" ondblclick="{ondblclick}">{FFNLG_CRDN_AMT}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_STTS_NM}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_STTS_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_SE_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_SE_NM}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_NM}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_BRDT}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_BRDT_MASK}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ZIP}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ZIP}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{ADDR}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{ADDR}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{DTL_ADDR}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{DTL_ADDR}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{EPAYNO_MASK}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{BANK_NM}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{VR_ACTNO}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{BANK_NM2}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{VR_ACTNO2}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{BANK_NM3}</td>
|
|
|
|
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{VR_ACTNO3}</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>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RGTR_NM}</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}">{MDFCN_DT}</td>
|
|
|
@ -489,6 +487,32 @@
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|
* 사용자 함수(function)
|
|
|
|
* 사용자 함수(function)
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
|
|
|
|
// callback 사용자 검색
|
|
|
|
|
|
|
|
callbackFindUser${pageName} = (userId, userNm) => {
|
|
|
|
|
|
|
|
$("#schRgtrCd--${pageName}").val(userId); // 사용자 ID
|
|
|
|
|
|
|
|
$("#schRgtrNm--${pageName}").val(userNm); // 사용자 명
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 사용자 검색
|
|
|
|
|
|
|
|
getFindUser${pageName} = () => {
|
|
|
|
|
|
|
|
let params = {
|
|
|
|
|
|
|
|
callbackFuncName : "callbackFindUser${pageName}"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
|
|
|
|
url : wctx.url("/user/user02/010/main.do")
|
|
|
|
|
|
|
|
, data : params || {}
|
|
|
|
|
|
|
|
, success : resp => {
|
|
|
|
|
|
|
|
dialog.open({
|
|
|
|
|
|
|
|
id : "userDialog"
|
|
|
|
|
|
|
|
, title : "사용자 검색"
|
|
|
|
|
|
|
|
, content : resp
|
|
|
|
|
|
|
|
, size : "lg"
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 개별총정보 dialog
|
|
|
|
// 개별총정보 dialog
|
|
|
|
getTotalInfo${pageName} = (crdnId) => {
|
|
|
|
getTotalInfo${pageName} = (crdnId) => {
|
|
|
|
if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return;
|
|
|
|
if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return;
|
|
|
@ -509,8 +533,6 @@
|
|
|
|
, title : "개별총정보"
|
|
|
|
, title : "개별총정보"
|
|
|
|
, content : resp
|
|
|
|
, content : resp
|
|
|
|
, size : "xxl"
|
|
|
|
, size : "xxl"
|
|
|
|
, init : () => { }
|
|
|
|
|
|
|
|
, onClose : () => { }
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -535,13 +557,13 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 초기 기본 설정
|
|
|
|
// 초기 기본 설정
|
|
|
|
initForm${pageName}(taskSeCd);
|
|
|
|
initForm${pageName}();
|
|
|
|
|
|
|
|
|
|
|
|
// URL 설정
|
|
|
|
// URL 설정
|
|
|
|
setURL${pageName}(taskSeCd);
|
|
|
|
setURL${pageName}(taskSeCd);
|
|
|
|
|
|
|
|
|
|
|
|
// 기본 데이터 설정
|
|
|
|
// 기본 데이터 설정
|
|
|
|
setFormData${pageName}();
|
|
|
|
setFormData${pageName}(taskSeCd);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 검색 버튼 이벤트
|
|
|
|
// 검색 버튼 이벤트
|
|
|
@ -557,12 +579,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
// 엑셀 버튼 이벤트
|
|
|
|
// 엑셀 버튼 이벤트
|
|
|
|
fnExcel${pageName} = () => {
|
|
|
|
fnExcel${pageName} = () => {
|
|
|
|
|
|
|
|
if (${pageName}Control.dataset.empty) {
|
|
|
|
|
|
|
|
dialog.alert({
|
|
|
|
|
|
|
|
content : "검색된 자료가 없습니다."
|
|
|
|
|
|
|
|
, onOK : () => { }
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let headerInfo = $("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)").getHeaderInfo();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
${pageName}Control.query.excelTitle = headerInfo.excelTitle;
|
|
|
|
|
|
|
|
${pageName}Control.query.excelTitleWidth = headerInfo.excelTitleWidth;
|
|
|
|
|
|
|
|
${pageName}Control.download();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 사용자 조회 버튼 이벤트
|
|
|
|
// 사용자 조회 버튼 이벤트
|
|
|
|
fnFindUser${pageName} = () => {
|
|
|
|
fnFindUser${pageName} = () => {
|
|
|
|
|
|
|
|
getFindUser${pageName}();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
@ -598,12 +632,10 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 화면 초기 설정
|
|
|
|
// 화면 초기 설정
|
|
|
|
initForm${pageName} = (taskSeCd) => {
|
|
|
|
initForm${pageName} = () => {
|
|
|
|
// 화면 초기화
|
|
|
|
// 화면 초기화
|
|
|
|
$("#frmSearch--${pageName}")[0].reset();
|
|
|
|
$("#frmSearch--${pageName}")[0].reset();
|
|
|
|
|
|
|
|
|
|
|
|
// 업무 구분 코드
|
|
|
|
|
|
|
|
$("#frmSearch--${pageName} input[name='taskSeCd'][value='" + taskSeCd + "']").prop("checked", true);
|
|
|
|
|
|
|
|
// 최고 관리자 경우 업무구분을 선택할 수 있도록 하자.
|
|
|
|
// 최고 관리자 경우 업무구분을 선택할 수 있도록 하자.
|
|
|
|
$("#frmSearch--${pageName} input[name='taskSeCd']").each(function(i) {
|
|
|
|
$("#frmSearch--${pageName} input[name='taskSeCd']").each(function(i) {
|
|
|
|
$(this).prop("disabled", "true");
|
|
|
|
$(this).prop("disabled", "true");
|
|
|
@ -617,6 +649,12 @@
|
|
|
|
initDatepicker("frmSearch--${pageName}");
|
|
|
|
initDatepicker("frmSearch--${pageName}");
|
|
|
|
// $("#schLevyYmdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-365).date);
|
|
|
|
// $("#schLevyYmdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-365).date);
|
|
|
|
// $("#schLevyYmdTo--${pageName}").datepicker("setDate", new Date());
|
|
|
|
// $("#schLevyYmdTo--${pageName}").datepicker("setDate", new Date());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 사용자 이름
|
|
|
|
|
|
|
|
$("#schRgtrNm--${pageName}").prop("readonly", true);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// dataset 초기화
|
|
|
|
|
|
|
|
${pageName}Control.dataset.clear();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// URL 설정
|
|
|
|
// URL 설정
|
|
|
@ -625,9 +663,13 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 기본 데이터 설정
|
|
|
|
// 기본 데이터 설정
|
|
|
|
setFormData${pageName} = () => {
|
|
|
|
setFormData${pageName} = (taskSeCd) => {
|
|
|
|
|
|
|
|
// 화면 데이터 설정
|
|
|
|
|
|
|
|
$("#sggCd--${pageName}").val("${sggCd}"); // 시군구 코드
|
|
|
|
|
|
|
|
$("#frmSearch--${pageName} input[name='taskSeCd'][value='" + taskSeCd + "']").prop("checked", true); // 업무 구분
|
|
|
|
|
|
|
|
|
|
|
|
// ${pageName}Control 설정
|
|
|
|
// ${pageName}Control 설정
|
|
|
|
${pageName}Control.defaultFetchSize = FETCH_XS; // 1 페이지당 조회되는 자료 건수 index.jsp에서 확인 FETCH_XS = 30
|
|
|
|
${pageName}Control.defaultFetchSize = FETCH_XS; // 1 페이지당 조회되는 자료 건수 index.jsp에서 확인 FETCH_XS = 30
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
@ -637,18 +679,11 @@
|
|
|
|
// 이벤트 설정
|
|
|
|
// 이벤트 설정
|
|
|
|
setEvent${pageName}();
|
|
|
|
setEvent${pageName}();
|
|
|
|
|
|
|
|
|
|
|
|
// 시군구 코드 설정
|
|
|
|
|
|
|
|
$("#sggCd--${pageName}").val("${sggCd}");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 업무 구분 설정
|
|
|
|
|
|
|
|
let defaultBizValue = $("#layout-navbar input[name='taskSeCd']:checked").val();
|
|
|
|
|
|
|
|
$("#frmSearch--${pageName} input[name='taskSeCd'][value='" + defaultBizValue + "']").prop("checked", true);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 보안모드
|
|
|
|
// 보안모드
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|
|
|
|
|
|
|
|
|
// 화면 초기 설정 및 업무 구분 변경
|
|
|
|
// 화면 초기 설정 및 업무 구분 변경
|
|
|
|
fnResetAndChangeBiz${pageName}(defaultBizValue);
|
|
|
|
fnResetAndChangeBiz${pageName}($("#layout-navbar input[name='taskSeCd']:checked").val());
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|