|
|
@ -1,11 +1,11 @@
|
|
|
|
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
|
|
|
|
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
|
|
|
|
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
|
|
|
|
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
|
|
|
|
|
|
|
|
|
|
|
|
<c:set var="prefixName" scope="request">민원상담</c:set>
|
|
|
|
<!-- inner page html -->
|
|
|
|
<div class="content-wrapper">
|
|
|
|
<div class="content-wrapper">
|
|
|
|
<!-- Content -->
|
|
|
|
<!-- Content -->
|
|
|
|
<div class="container-xxl flex-grow-1 px-0">
|
|
|
|
<div class="container-xxl flex-grow-1 px-0">
|
|
|
|
|
|
|
|
<c:set var="prefixName" scope="request">민원상담 관리</c:set>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Page Body -->
|
|
|
|
<!-- Page Body -->
|
|
|
|
<div class="card">
|
|
|
|
<div class="card">
|
|
|
@ -17,10 +17,10 @@
|
|
|
|
초기화
|
|
|
|
초기화
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
<button type="button" class="btn btn-search" id="btnSearch--${pageName}" title="검색" onclick="fnSearchList${pageName}();">
|
|
|
|
<button type="button" class="btn btn-search w-px-120" id="btnSearch--${pageName}" title="검색" onclick="fnSearchList${pageName}();">
|
|
|
|
검색
|
|
|
|
검색
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
<button type="button" class="btn btn-search" id="btnExcel--${pageName}" title="엑셀" onclick="fnExcel${pageName}();">
|
|
|
|
<button type="button" class="btn btn-excel w-px-120" id="btnExcel--${pageName}" title="엑셀 저장" onclick="fnExcel${pageName}();">
|
|
|
|
엑셀
|
|
|
|
엑셀
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
@ -29,12 +29,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 검색 조건 영역 -->
|
|
|
|
<!-- 검색 조건 영역 -->
|
|
|
|
<form id="frmSearch--${pageName}" name="frmSearch">
|
|
|
|
<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="container-search">
|
|
|
|
<div class="row g-1">
|
|
|
|
<div class="row g-1">
|
|
|
|
<!-- 업무구분 -->
|
|
|
|
<!-- 업무구분 -->
|
|
|
|
<div class="col-12">
|
|
|
|
<div class="col-12">
|
|
|
|
<label class="form-label fw-bold form-search-title">업무구분</label>
|
|
|
|
<label class="form-label fw-bold form-search-title text-end">업무구분</label>
|
|
|
|
<span class="form-search-linebox">
|
|
|
|
<span class="form-search-linebox">
|
|
|
|
<c:forEach items="${FIM054List}" var="item">
|
|
|
|
<c:forEach items="${FIM054List}" var="item">
|
|
|
|
<label>
|
|
|
|
<label>
|
|
|
@ -45,68 +48,33 @@
|
|
|
|
</c:forEach>
|
|
|
|
</c:forEach>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 부과제외일자 -->
|
|
|
|
<!-- 상담일자 -->
|
|
|
|
<div class="col-6">
|
|
|
|
<div class="col-6">
|
|
|
|
<label class="form-label fw-bold form-search-title">부과제외일자</label>
|
|
|
|
<label class="form-label fw-bold form-search-title text-end">상담일자</label>
|
|
|
|
<span class="form-search-linebox">
|
|
|
|
<span class="form-search-linebox">
|
|
|
|
<input type="text" class="form-control form-date" id="schLevyExclYmdFrom--${pageName}" name="schLevyExclYmdFrom"
|
|
|
|
<input type="text" class="form-control form-date" id="schDscsnYmdFrom--${pageName}" name="schDscsnYmdFrom"
|
|
|
|
data-fmt-type="day" title="시작 날짜 선택" />
|
|
|
|
data-fmt-type="day" autocomplete="off" 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="schLevyExclYmdTo--${pageName}" name="schLevyExclYmdTo"
|
|
|
|
<input type="text" class="form-control form-date" id="schDscsnYmdTo--${pageName}" name="schDscsnYmdTo"
|
|
|
|
data-fmt-type="day" title="종료 날짜 선택" />
|
|
|
|
data-fmt-type="day" autocomplete="off" 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-1 text-end"> -->
|
|
|
|
|
|
|
|
<%-- <select class="form-select text-end" id="schDateOpt--${pageName}" name="schDateOpt"> --%>
|
|
|
|
|
|
|
|
<!-- <option value="levyExclYmd">부과제외일자</option> -->
|
|
|
|
|
|
|
|
<!-- <option value="crdnYmd">단속일자</option> -->
|
|
|
|
|
|
|
|
<!-- </select> -->
|
|
|
|
|
|
|
|
<!-- </div> -->
|
|
|
|
|
|
|
|
<!-- <div class="col-5"> -->
|
|
|
|
|
|
|
|
<!-- <span class="form-search-linebox"> -->
|
|
|
|
|
|
|
|
<%-- <input type="text" class="form-control form-date" id="schDateFrom--${pageName}" name="schDateFrom" --%>
|
|
|
|
|
|
|
|
<!-- 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="schDateTo--${pageName}" name="schDateTo" --%>
|
|
|
|
|
|
|
|
<!-- 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">부과제외구분</label>
|
|
|
|
|
|
|
|
<select class="form-select w-px-150" id="schLevyExclSeCd--${pageName}" name="schLevyExclSeCd">
|
|
|
|
|
|
|
|
<option value="">전체</option>
|
|
|
|
|
|
|
|
<c:forEach items="${FIM021List}" var="item">
|
|
|
|
|
|
|
|
<option value="${item.code}">${item.value}</option>
|
|
|
|
|
|
|
|
</c:forEach>
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 차량번호 -->
|
|
|
|
<!-- 차량번호 -->
|
|
|
|
<div class="col-6">
|
|
|
|
<div class="col-6">
|
|
|
|
<label class="form-label fw-bold form-search-title">차량번호</label>
|
|
|
|
<label class="form-label fw-bold form-search-title text-end">차량번호</label>
|
|
|
|
<input type="text" class="form-control w-px-150" id="schVhrno--${pageName}" name="schVhrno" />
|
|
|
|
<input type="text" class="form-control w-px-160" id="schVhrno--${pageName}" name="schVhrno" autocomplete="off" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 납부자명 -->
|
|
|
|
<!-- 납부자번호 -->
|
|
|
|
<div class="col-6">
|
|
|
|
<div class="col-6">
|
|
|
|
<label class="form-label fw-bold form-search-title">납부자명</label>
|
|
|
|
<label class="form-label fw-bold form-search-title text-end">납부자번호</label>
|
|
|
|
<input type="text" class="form-control w-px-150" id="schRtpyrNm--${pageName}" name="schRtpyrNm" />
|
|
|
|
<input type="text" class="form-control w-px-160" id="schRtpyrNo--${pageName}" name="schRtpyrNo"autocomplete="off" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 단속일자 -->
|
|
|
|
<!-- 민원인명 -->
|
|
|
|
<div class="col-6">
|
|
|
|
<div class="col-6">
|
|
|
|
<label class="form-label fw-bold form-search-title">단속일자</label>
|
|
|
|
<label class="form-label fw-bold form-search-title text-end">상담민원인</label>
|
|
|
|
<span class="form-search-linebox">
|
|
|
|
<input type="text" class="form-control w-px-160" id="schCvlprNm--${pageName}" name="schCvlprNm"autocomplete="off" />
|
|
|
|
<input type="text" class="form-control form-date" id="schCrdnYmdFrom--${pageName}" name="schCrdnYmdFrom"
|
|
|
|
|
|
|
|
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="schCrdnYmdTo--${pageName}" name="schCrdnYmdTo"
|
|
|
|
|
|
|
|
data-fmt-type="day" title="종료 날짜 선택" />
|
|
|
|
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 동적검색 -->
|
|
|
|
<!-- 동적검색 -->
|
|
|
|
<div class="col-6">
|
|
|
|
<div class="col-6">
|
|
|
@ -114,7 +82,7 @@
|
|
|
|
<input type="text" class="form-control" id="byOutput--${pageName}" value="동적 검색" readonly />
|
|
|
|
<input type="text" class="form-control" id="byOutput--${pageName}" value="동적 검색" readonly />
|
|
|
|
<input type="hidden" id="mainOption--${pageName}" name="mainOption" />
|
|
|
|
<input type="hidden" id="mainOption--${pageName}" name="mainOption" />
|
|
|
|
<input type="hidden" id="subOption--${pageName}" name="subOption" />
|
|
|
|
<input type="hidden" id="subOption--${pageName}" name="subOption" />
|
|
|
|
<input type="text" class="form-control w-px-300" id="term--${pageName}" name="term" />
|
|
|
|
<input type="text" class="form-control w-px-300" id="term--${pageName}" name="term" autocomplete="off" />
|
|
|
|
<!-- 상세 검색조건 버튼 -->
|
|
|
|
<!-- 상세 검색조건 버튼 -->
|
|
|
|
<span class="flr">
|
|
|
|
<span class="flr">
|
|
|
|
<button type="button" class="btn btn-open-detail" data-bs-toggle="collapse" data-bs-target="#searchDetail--${pageName}">
|
|
|
|
<button type="button" class="btn btn-open-detail" data-bs-toggle="collapse" data-bs-target="#searchDetail--${pageName}">
|
|
|
@ -124,35 +92,36 @@
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div> <!-- / 메인 조건 -->
|
|
|
|
<!-- / 메인 조건 -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 상세 조건 -->
|
|
|
|
<!-- 상세 조건 -->
|
|
|
|
<div id="searchDetail--${pageName}" class="container-search container-search-detail collapse">
|
|
|
|
<div id="searchDetail--${pageName}" class="container-search container-search-detail collapse">
|
|
|
|
<div class="row g-1">
|
|
|
|
<div class="row g-1">
|
|
|
|
<!-- 등록일자 -->
|
|
|
|
<!-- 등록일자, 수정일자 -->
|
|
|
|
<div class="col-6">
|
|
|
|
<div class="col-6">
|
|
|
|
<select class="form-select" id="schRegDateOpt--${pageName}" name="schRegDateOpt">
|
|
|
|
<select class="form-select text-center" id="schDetailRegDtOpt--${pageName}" name="schDetailRegDtOpt">
|
|
|
|
<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="schRegDateFrom--${pageName}" name="schRegDateFrom"
|
|
|
|
<input type="text" class="form-control form-date" id="schDetailRegDtFrom--${pageName}" name="schDetailRegDtFrom"
|
|
|
|
data-fmt-type="day" title="시작 날짜 선택" />
|
|
|
|
data-fmt-type="day" autocomplete="off" 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="schRegDateTo--${pageName}" name="schRegDateTo"
|
|
|
|
<input type="text" class="form-control form-date" id="schDetailRegDtTo--${pageName}" name="schDetailRegDtTo"
|
|
|
|
data-fmt-type="day" title="종료 날짜 선택">
|
|
|
|
data-fmt-type="day" autocomplete="off" 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" id="schDetailUserOpt--${pageName}" name="schDetailUserOpt">
|
|
|
|
<select class="form-select text-center" id="schDetailRgtrOpt--${pageName}" name="schDetailRgtrOpt">
|
|
|
|
<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="schDetailUserNm--${pageName}" name="schDetailUserNm" />
|
|
|
|
<input type="text" class="form-control w-px-160" id="schDetailRgtrNm--${pageName}" name="schDetailRgtrNm" autocomplete="off" />
|
|
|
|
|
|
|
|
<button type="button" class="btn btn-sm btn-outline-dark" id="btnUser--${pageName}" title="사용자 검색" onclick="fnUser${pageName}();">
|
|
|
|
|
|
|
|
검색
|
|
|
|
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -171,10 +140,10 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
<!-- 업무 버튼 -->
|
|
|
|
<!-- 업무 버튼 -->
|
|
|
|
<button type="button" class="btn btn-primary" id="btnUpdate--${pageName}" title="수정" onclick="fnBtnUpdate${pageName}();">
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" id="btnUpdate--${pageName}" title="수정" onclick="fnUpdate${pageName}();">
|
|
|
|
수정
|
|
|
|
수정
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
<button type="button" class="btn btn-primary" id="btnRemove--${pageName}" title="삭제" onclick="fnBtnRemove${pageName}();">
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" id="btnRemove--${pageName}" title="삭제" onclick="fnRemove${pageName}();">
|
|
|
|
삭제
|
|
|
|
삭제
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
@ -184,71 +153,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
<!-- DataTables(그리드) -->
|
|
|
|
<!-- DataTables(그리드) -->
|
|
|
|
<div class="card-datatable text-nowrap">
|
|
|
|
<div class="card-datatable text-nowrap">
|
|
|
|
<div id="DataTables_Table_0_wrapper--${pageName}" class="dataTables_wrapper dt-bootstrap5 no-footer">
|
|
|
|
<div class="dataTables_wrapper dt-bootstrap5 no-footer" id="DataTables_Table_0_wrapper--${pageName}">
|
|
|
|
<div id="table-responsive--${pageName}" class="table-responsive" style="overflow-x:scroll; height:400px; overflow-y:scroll;" >
|
|
|
|
<div class="table-responsive" id="table-responsive--${pageName}" style="overflow-x:scroll; height:480px; overflow-y:scroll;" >
|
|
|
|
<table class="dataTable datatables-ajax table table-bordered no-footer" id="DataTables_Table_0--${pageName}" aria-describedby="DataTables_Table_0_info">
|
|
|
|
<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>
|
|
|
|
<thead class="sticky-thead">
|
|
|
|
<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="sorting" style="width: 24px;">NO.</th>
|
|
|
|
<th class="cmn" style="width: 72px;">NO.</th>
|
|
|
|
<th class="sorting" style="width: 24px;">
|
|
|
|
<th class="cmn" style="width: 56px;">
|
|
|
|
<input type="checkbox" class="form-check-input" onchange="${pageName}Control.select(this.checked);">
|
|
|
|
<input type="checkbox" class="form-check-input" onchange="${pageName}Control.select(this.checked);">
|
|
|
|
</th>
|
|
|
|
</th>
|
|
|
|
<th onclick="searchFromGridTitle('LEVY_EXCL_YMD', this.innerText, 'ymd', '');">부과제외일자</th>
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('CVLCPT_RCPT_SE_CD', this.innerText, 'codeValue', 'FIM065');">민원접수구분</th>
|
|
|
|
<th onclick="searchFromGridTitle('LEVY_EXCL_SE_NM', this.innerText, 'codeValue', 'FIM021');">부과제외구분명</th>
|
|
|
|
<th class="cmn" style="width: 120px;" onclick="searchFromGridTitle('DSCSN_YMD', this.innerText, 'ymd', '');">상담일자</th>
|
|
|
|
<th onclick="searchFromGridTitle('LEVY_EXCL_RSN_NM', this.innerText, 'codeValue', 'FIM022');">부과제외사유</th>
|
|
|
|
<th class="cmn" style="width: 80px;" onclick="searchFromGridTitle('WEEK_NM', this.innerText, 'match', 'part');">요일</th>
|
|
|
|
<th onclick="searchFromGridTitle('ETC_CN', this.innerText, 'match', 'part');">기타내용</th>
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('CVLPR_NM', this.innerText, 'match', 'part');">성명</th>
|
|
|
|
<th onclick="searchFromGridTitle('CVLCPT_RCPT_NO', this.innerText, 'match', 'part');">민원접수번호</th>
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('CVLPR_CTTPC', this.innerText, 'match', 'part');">연락처</th>
|
|
|
|
<th onclick="searchFromGridTitle('CVLCPT_RCPT_YMD', this.innerText, 'ymd', '');">민원접수일자</th>
|
|
|
|
<th class="cmn" style="width: 400px;" onclick="searchFromGridTitle('DSCSN_CN', this.innerText, 'match', 'part');">상담내용</th>
|
|
|
|
<th onclick="searchFromGridTitle('CRDN_YMD', this.innerText, 'ymd', '');">단속일시</th>
|
|
|
|
<th class="cmn" style="width: 140px;" onclick="searchFromGridTitle('VHRNO', this.innerText, 'match', 'part');">차량번호</th>
|
|
|
|
<th onclick="searchFromGridTitle('VHRNO', this.innerText, 'match', 'part');">차량번호</th>
|
|
|
|
<th class="cmn" style="width: 160px;" onclick="searchFromGridTitle('RTPYR_NO', this.innerText, 'match', 'part');">납부자번호</th>
|
|
|
|
<th onclick="searchFromGridTitle('CRDN_STDG_NM', this.innerText, 'match', 'part');">법정동</th>
|
|
|
|
<th class="cmn" style="width: 180px;">등록일시</th>
|
|
|
|
<th onclick="searchFromGridTitle('CRDN_PLC', this.innerText, 'match', 'part');">단속장소</th>
|
|
|
|
<th class="cmn" style="width: 140px;">등록사용자</th>
|
|
|
|
<th onclick="searchFromGridTitle('CRDN_STTS_NM', this.innerText, 'codeValue', 'FIM010');">처리상태명</th>
|
|
|
|
<th class="cmn" style="width: 180px;">수정일시</th>
|
|
|
|
<th onclick="searchFromGridTitle('RTPYR_NM', this.innerText, 'match', 'part');">납부자명</th>
|
|
|
|
<th class="cmn" style="width: 140px;">수정사용자</th>
|
|
|
|
<th onclick="searchFromGridTitle('RTPYR_BRDT', this.innerText, 'ymd', '');">납부자생일</th>
|
|
|
|
<th class="cmn dummy-th"></th>
|
|
|
|
<th>등록일시</th>
|
|
|
|
|
|
|
|
<th>등록사용자</th>
|
|
|
|
|
|
|
|
<th>수정일시</th>
|
|
|
|
|
|
|
|
<th>수정사용자</th>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
</thead>
|
|
|
|
<tbody id="tbody--${pageName}">
|
|
|
|
<tbody id="tbody--${pageName}">
|
|
|
|
</tbody>
|
|
|
|
</tbody>
|
|
|
|
<template id="${infoPrefix}Row--${pageName}">
|
|
|
|
<template id="${infoPrefix}Row--${pageName}">
|
|
|
|
<tr data-key="{LEVY_EXCL_ID}">
|
|
|
|
<tr data-key="{CVLCPT_DSCSN_ID}">
|
|
|
|
<td class="text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ROW_NUM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{ROW_NUM}</td>
|
|
|
|
<td class="text-center">
|
|
|
|
<td class="cmn text-center">
|
|
|
|
<input type="checkbox" class="form-check-input" value="{LEVY_EXCL_ID}" onchange="${pageName}Control.select('{LEVY_EXCL_ID}', this.checked);">
|
|
|
|
<input type="checkbox" class="form-check-input" value="{CVLCPT_DSCSN_ID}" onchange="${pageName}Control.select('{CVLCPT_DSCSN_ID}', this.checked);">
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td class="text-center" onclick="{onclick}" ondblclick="{ondblclick}">{LEVY_EXCL_YMD}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CVLCPT_RCPT_SE_NM}</td>
|
|
|
|
<td class="text-center" onclick="{onclick}" ondblclick="{ondblclick}">{LEVY_EXCL_SE_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{DSCSN_YMD}</td>
|
|
|
|
<td class="text-center" onclick="{onclick}" ondblclick="{ondblclick}">{LEVY_EXCL_RSN_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{WEEK_NM}</td>
|
|
|
|
<td class="text-start" onclick="{onclick}" ondblclick="{ondblclick}">{ETC_CN}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CVLPR_NM}</td>
|
|
|
|
<td class="text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CVLCPT_RCPT_NO}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CVLPR_CTTPC}</td>
|
|
|
|
<td class="text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CVLCPT_RCPT_YMD}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{DSCSN_CN}</td>
|
|
|
|
<td class="text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_YMD_TM}</td>
|
|
|
|
<td class="cmn text-start" onclick="{onclick}" ondblclick="{ondblclick}">{VHRNO}</td>
|
|
|
|
<td class="text-start" onclick="{onclick}" ondblclick="{ondblclick}">{VHRNO}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_NO}</td>
|
|
|
|
<td class="text-start" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_STDG_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{REG_DT}</td>
|
|
|
|
<td class="text-start" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_PLC}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RGTR_NM}</td>
|
|
|
|
<td class="text-center" onclick="{onclick}" ondblclick="{ondblclick}">{CRDN_STTS_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{MDFCN_DT}</td>
|
|
|
|
<td class="text-start" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_NM}</td>
|
|
|
|
<td class="cmn text-center" onclick="{onclick}" ondblclick="{ondblclick}">{MDFR_NM}</td>
|
|
|
|
<td class="text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RTPYR_BRDT_FORMAT}</td>
|
|
|
|
<td class="cmn dummy-td"></td>
|
|
|
|
<td class="text-center" onclick="{onclick}" ondblclick="{ondblclick}">{REG_DT}</td>
|
|
|
|
|
|
|
|
<td class="text-center" onclick="{onclick}" ondblclick="{ondblclick}">{RGTR_NM}</td>
|
|
|
|
|
|
|
|
<td class="text-center" onclick="{onclick}" ondblclick="{ondblclick}">{MDFCN_DT}</td>
|
|
|
|
|
|
|
|
<td class="text-center" onclick="{onclick}" ondblclick="{ondblclick}">{MDFR_NM}</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<template id="${infoPrefix}NotFound--${pageName}">
|
|
|
|
<template id="${infoPrefix}NotFound--${pageName}">
|
|
|
|
<tr class="odd">
|
|
|
|
<tr class="odd">
|
|
|
|
<td valign="top" colspan="19" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
|
|
|
|
<td valign="top" colspan="15" class="dataTables_empty text-center">${prefixName} 정보를 찾지 못했습니다.</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</table>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div> <!-- / DataTables(그리드) -->
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- / DataTables(그리드) -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div> <!-- <div class="wrapper-list"> -->
|
|
|
|
</div> <!-- <div class="wrapper-list"> -->
|
|
|
|
</div> <!-- <div class="card"> -->
|
|
|
|
</div> <!-- <div class="card"> -->
|
|
|
@ -265,30 +227,23 @@
|
|
|
|
* Global Variable
|
|
|
|
* Global Variable
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
// URL
|
|
|
|
// URL
|
|
|
|
var ${pageName}PrefixUrl = "/excl/excl01";
|
|
|
|
var ${pageName}PrefixUrl = "/sprt/sprt04";
|
|
|
|
// 공통 코드
|
|
|
|
// FormFields
|
|
|
|
// var FIM021 = new CommonCodes(${FIM021}, true);
|
|
|
|
var ${pageName}Fields = new FormFields("#frmSearch--${pageName}");
|
|
|
|
// var FIM022 = new CommonCodes(${FIM022}, true);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|
* DatasetControl
|
|
|
|
* DatasetControl
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
var ${pageName}Control = new DatasetControl({
|
|
|
|
var ${pageName}Control = new DatasetControl({
|
|
|
|
prefix : "levyExcl"
|
|
|
|
prefix : "cvlcptDscsn"
|
|
|
|
, prefixName : "부과제외"
|
|
|
|
, prefixName : "민원상담내용"
|
|
|
|
, infoSize : "lg"
|
|
|
|
, infoSize : "lg"
|
|
|
|
, keymapper : info => info ? info.LEVY_EXCL_ID : ""
|
|
|
|
, keymapper : info => info ? info.CVLCPT_DSCSN_ID : ""
|
|
|
|
, dataGetter : obj => obj.levyExclList
|
|
|
|
, dataGetter : obj => obj.cvlcptDscsnList
|
|
|
|
, appendData : true
|
|
|
|
, appendData : true
|
|
|
|
// , urls : {
|
|
|
|
, tableRenderComplete : false // dataTables 에 자료 추가 완료 여부
|
|
|
|
// load : wctx.url(${pageName}PrefixUrl + "/010/list.do") // 검색
|
|
|
|
|
|
|
|
// , remove : wctx.url(${pageName}PrefixUrl + "/010/removes.do") // 선택(체크) 자료 삭제
|
|
|
|
|
|
|
|
// , getInfo : wctx.url("/sprt/sprt02/010/main.do") // 개별총정보
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
, formats : {
|
|
|
|
, formats : {
|
|
|
|
LEVY_EXCL_YMD : dateFormat
|
|
|
|
DSCSN_YMD : dateFormat
|
|
|
|
, CRDN_YMD_TM : datetimeFormat
|
|
|
|
|
|
|
|
, CVLCPT_RCPT_YMD : dateFormat
|
|
|
|
|
|
|
|
, REG_DT : datetimeFormat
|
|
|
|
, REG_DT : datetimeFormat
|
|
|
|
, MDFCN_DT : datetimeFormat
|
|
|
|
, MDFCN_DT : datetimeFormat
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -309,22 +264,15 @@
|
|
|
|
, fetchSize : obj.${infoPrefix}Fetch
|
|
|
|
, fetchSize : obj.${infoPrefix}Fetch
|
|
|
|
, func : "${pageName}Control.load({index})"
|
|
|
|
, func : "${pageName}Control.load({index})"
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
${pageName}Control.tableRenderComplete = true; // dataTables 에 자료 추가 완료
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// 현재 선택 자료 변경 이벤트
|
|
|
|
// 현재 선택 자료 변경 이벤트
|
|
|
|
${pageName}Control.onCurrentChange = item => {
|
|
|
|
${pageName}Control.onCurrentChange = item => {
|
|
|
|
if (!item) return;
|
|
|
|
if (!item) return;
|
|
|
|
|
|
|
|
|
|
|
|
// 계고는 수정하지 않는다..
|
|
|
|
let key = item.data.CVLCPT_DSCSN_ID;
|
|
|
|
let levyExclSeCd = item.data.LEVY_EXCL_SE_CD;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (levyExclSeCd == "2") {
|
|
|
|
|
|
|
|
$("#btnUpdate--${pageName}").prop("disabled", true);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
$("#btnUpdate--${pageName}").prop("disabled", false);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let key = item.data.LEVY_EXCL_ID;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("#tbody--${pageName}").setCurrentRow(key);
|
|
|
|
$("#tbody--${pageName}").setCurrentRow(key);
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -345,28 +293,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
// 개별총정보 dialog
|
|
|
|
// 개별총정보 dialog
|
|
|
|
${pageName}Control.getInfo = (crdnId) => {
|
|
|
|
${pageName}Control.getInfo = (crdnId) => {
|
|
|
|
if (crdnId == undefined || crdnId == null || crdnId == "") {
|
|
|
|
//
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
// 삭제 callback
|
|
|
|
url : ${pageName}Control.urls.getInfo
|
|
|
|
${pageName}Control.onRemove = (selected, resp) => {
|
|
|
|
, data : { crdnId : crdnId }
|
|
|
|
let btnTitle = $("#btnRemove--${pageName}").attr("title");
|
|
|
|
, success : resp => {
|
|
|
|
|
|
|
|
dialog.open({
|
|
|
|
let showMessage = resp.retMessage.replace(/[S]|[F]/g, btnTitle);
|
|
|
|
id : ${pageName}Control.prefixed("dialog")
|
|
|
|
|
|
|
|
, title : "개별총정보"
|
|
|
|
dialog.alert(showMessage);
|
|
|
|
, content : resp
|
|
|
|
|
|
|
|
, size : "xxl"
|
|
|
|
if (resp.saved) {
|
|
|
|
, init : () => { }
|
|
|
|
${pageName}Control._load();
|
|
|
|
, onClose : () => { }
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
// 삭제
|
|
|
|
// 삭제 -> callback 추가 sample
|
|
|
|
|
|
|
|
${pageName}Control.remove = (params) => {
|
|
|
|
${pageName}Control.remove = (params) => {
|
|
|
|
let selected = ${pageName}Control.dataset.getKeys("selected");
|
|
|
|
let selected = ${pageName}Control.dataset.getKeys("selected");
|
|
|
|
|
|
|
|
|
|
|
@ -383,12 +326,7 @@
|
|
|
|
, success : resp => ${pageName}Control.onRemove(selected, resp)
|
|
|
|
, success : resp => ${pageName}Control.onRemove(selected, resp)
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// 삭제
|
|
|
|
|
|
|
|
${pageName}Control.onRemove = (selected, resp) => {
|
|
|
|
|
|
|
|
if (resp.saved)
|
|
|
|
|
|
|
|
${pageName}Control._load();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|
*
|
|
|
|
*
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
@ -402,67 +340,20 @@
|
|
|
|
${infoPrefix}List.inStrings(
|
|
|
|
${infoPrefix}List.inStrings(
|
|
|
|
document.getElementById("${infoPrefix}Row--${pageName}").innerHTML, <%-- from template#${infoPrefix}Row --%>
|
|
|
|
document.getElementById("${infoPrefix}Row--${pageName}").innerHTML, <%-- from template#${infoPrefix}Row --%>
|
|
|
|
(str, dataItem) => str
|
|
|
|
(str, dataItem) => str
|
|
|
|
.replace(/{onclick}/gi, "${pageName}Control.setCurrent('" + dataItem.getValue("LEVY_EXCL_ID") + "');")
|
|
|
|
.replace(/{onclick}/gi, "${pageName}Control.setCurrent('" + dataItem.getValue("CVLCPT_DSCSN_ID") + "');")
|
|
|
|
.replace(/{ondblclick}/gi, "${pageName}Control.getInfo('" + dataItem.getValue("CRDN_ID") + "');")
|
|
|
|
.replace(/{ondblclick}/gi, "${pageName}Control.getInfo('" + dataItem.getValue("CRDN_ID") + "');")
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
$("#tbody--${pageName}").html(trs.join());
|
|
|
|
$("#tbody--${pageName}").html(trs.join());
|
|
|
|
$("th input[type='checkbox']").prop("checked", false);
|
|
|
|
$("th input[type='checkbox']").prop("checked", false);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 업무구분 변경
|
|
|
|
|
|
|
|
fnResetAndChangeBiz${pageName} = (taskSeCd) => {
|
|
|
|
|
|
|
|
initForm${pageName}();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
${pageName}Control.urls.load = wctx.url("/" + taskSeCd + ${pageName}PrefixUrl + "/010/list.do"); // 조회
|
|
|
|
//보안모드
|
|
|
|
${pageName}Control.urls.remove = wctx.url("/" + taskSeCd + ${pageName}PrefixUrl + "/010/removes.do"); // 삭제
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|
${pageName}Control.urls.getInfo = wctx.url("/" + taskSeCd + "/sprt/sprt02/010/main.do"); // 개별총정보
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 검색 조건 파라미터 가져오기
|
|
|
|
|
|
|
|
fnGetParams${pageName} = () => {
|
|
|
|
|
|
|
|
let formFields = new FimsFormFields("#frmSearch--${pageName}");
|
|
|
|
|
|
|
|
let formData = formFields.get();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
formData.sggCd = "41480"; // 시군구 코드 임시
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return formData;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 수정 dialog -> callback 추가
|
|
|
|
|
|
|
|
${pageName}Info = (params) => {
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
|
|
|
|
url : wctx.url("/" + params.taskSeCd + ${pageName}PrefixUrl + "/020/info.do?openerPageName=${pageName}")
|
|
|
|
|
|
|
|
, data : params || {}
|
|
|
|
|
|
|
|
, success : resp => {
|
|
|
|
|
|
|
|
resp = resp.replace(/infoPrefix/g, this.prefix)
|
|
|
|
|
|
|
|
.replace(/prefixName/g, this.prefixName)
|
|
|
|
|
|
|
|
dialog.open({
|
|
|
|
|
|
|
|
id : ${pageName}Control.prefixed("dialog")
|
|
|
|
|
|
|
|
, title : ${pageName}Control.prefixName + " 정보"
|
|
|
|
|
|
|
|
, content : resp
|
|
|
|
|
|
|
|
, size : ${pageName}Control.infoSize
|
|
|
|
|
|
|
|
, init : () => { }
|
|
|
|
|
|
|
|
, onClose : () => { ${pageName}Control.load(${pageName}Control.query.pageNum); } // callback
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|
* 초기 셋팅
|
|
|
|
* 초기 셋팅
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
// 화면 초기값 셋팅
|
|
|
|
|
|
|
|
initForm${pageName} = () => {
|
|
|
|
|
|
|
|
// 달력 초기화
|
|
|
|
|
|
|
|
initDatepicker("frmSearch--${pageName}");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("#schLevyExclYmdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-30).date);
|
|
|
|
|
|
|
|
$("#schLevyExclYmdTo--${pageName}").datepicker("setDate", new Date());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
${pageName}Control.dataset.clear();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 이벤트
|
|
|
|
// 이벤트
|
|
|
|
setEvent${pageName} = () => {
|
|
|
|
setEvent${pageName} = () => {
|
|
|
|
// form-date 항목에서 키보드로 입력시 날짜 포맷팅 적용
|
|
|
|
// form-date 항목에서 키보드로 입력시 날짜 포맷팅 적용
|
|
|
@ -479,58 +370,112 @@
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
// DataTables 스크롤 이벤트
|
|
|
|
// DataTables 스크롤 이벤트
|
|
|
|
$("#table-responsive--${pageName}").scroll(function(obj) {
|
|
|
|
$("#table-responsive--${pageName}").scroll(function() {
|
|
|
|
let el = $(this);
|
|
|
|
let el = $(this);
|
|
|
|
|
|
|
|
|
|
|
|
if (el.scrollTop() == 0) {
|
|
|
|
if (el.scrollTop() == 0) {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (!${pageName}Control.tableRenderComplete) {
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
let itemsCnt = ${pageName}Control.dataset._items.length;
|
|
|
|
let itemsCnt = ${pageName}Control.dataset._items.length;
|
|
|
|
let totCnt = ${pageName}Control.dataset.getCurrent("item").data.TOT_CNT;
|
|
|
|
let totCnt = ${pageName}Control.dataset.getValue("TOT_CNT");
|
|
|
|
|
|
|
|
|
|
|
|
if (itemsCnt >= totCnt) {
|
|
|
|
if (itemsCnt >= totCnt) {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if ((el[0].scrollHeight - el.scrollTop() + VERTICAL_SCROLL_HEIGHT) <= el.outerHeight()) {
|
|
|
|
if ((el[0].scrollHeight - el.scrollTop() + VERTICAL_SCROLL_HEIGHT) <= el.outerHeight()) {
|
|
|
|
|
|
|
|
${pageName}Control.tableRenderComplete = false; // dataTables 에 자료 추가 완료
|
|
|
|
|
|
|
|
|
|
|
|
${pageName}Control.load(${pageName}Control.query.pageNum + 1);
|
|
|
|
${pageName}Control.load(${pageName}Control.query.pageNum + 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 화면 초기값 셋팅
|
|
|
|
|
|
|
|
setForm${pageName} = (taskSeCd) => {
|
|
|
|
|
|
|
|
// 업무 구분 코드
|
|
|
|
|
|
|
|
$("#frmSearch--${pageName} input[name='taskSeCd'][value='" + taskSeCd + "']").prop("checked", true);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 최고 관리자 경우 업무구분을 선택할 수 있도록 하자.
|
|
|
|
|
|
|
|
$("#frmSearch--${pageName} input[name='taskSeCd']").each(function(i) {
|
|
|
|
|
|
|
|
$(this).prop("disabled", "true");
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 달력 초기화
|
|
|
|
|
|
|
|
initDatepicker("frmSearch--${pageName}");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("#schDscsnYmdFrom--${pageName}").datepicker("setDate", DateUtil.getDateDay(-1).date);
|
|
|
|
|
|
|
|
$("#schDscsnYmdTo--${pageName}").datepicker("setDate", new Date());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// DataTables width 변경 조정
|
|
|
|
|
|
|
|
$("#DataTables_Table_0--${pageName}").find("th").resizable( {handles : "e"} );
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// URL 설정
|
|
|
|
|
|
|
|
setURL${pageName} = (taskSeCd) => {
|
|
|
|
|
|
|
|
${pageName}Control.urls.load = wctx.url("/" + taskSeCd + ${pageName}PrefixUrl + "/010/list.do"); // 조회
|
|
|
|
|
|
|
|
${pageName}Control.urls.remove = wctx.url("/" + taskSeCd + ${pageName}PrefixUrl + "/010/removes.do"); // 삭제
|
|
|
|
|
|
|
|
${pageName}Control.urls.getInfo = wctx.url("/" + taskSeCd + "/sprt/sprt02/010/main.do"); // 개별총정보
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|
* function
|
|
|
|
* 버튼 clickEvent
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
// 초기화
|
|
|
|
// 초기화 버튼 이벤트
|
|
|
|
fnBtnReset${pageName} = () => {
|
|
|
|
fnReset${pageName} = () => {
|
|
|
|
let taskSeCd = $("#layout-navbar input[name='taskSeCd']:checked").val();
|
|
|
|
fnResetAndChangeBiz${pageName}();
|
|
|
|
|
|
|
|
|
|
|
|
fnResetAndChangeBiz${pageName}(taskSeCd);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 검색
|
|
|
|
// 검색 버튼 이벤트
|
|
|
|
fnBtnSearchList${pageName} = () => {
|
|
|
|
fnSearchList${pageName} = () => {
|
|
|
|
// 검색조건
|
|
|
|
// 검색조건
|
|
|
|
${pageName}Control.query = fnGetParams${pageName}();
|
|
|
|
${pageName}Control.query = ${pageName}Fields.get();
|
|
|
|
${pageName}Control.query.fetchSize = FETCH_XS; // 한번에 조회되는 건수 - 30건
|
|
|
|
|
|
|
|
|
|
|
|
${pageName}Control.query.fetchSize = FETCH_XS; // 한번에 조회되는 자료 건수 FETCH_XS = 30
|
|
|
|
${pageName}Control.query.delYn = "N"; // 삭제 여부
|
|
|
|
${pageName}Control.query.delYn = "N"; // 삭제 여부
|
|
|
|
|
|
|
|
|
|
|
|
${pageName}Control.load();
|
|
|
|
${pageName}Control.load();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 엑셀
|
|
|
|
// 엑셀 버튼 이벤트
|
|
|
|
fnBtnExcel${pageName} = () => {
|
|
|
|
fnExcel${pageName} = () => {
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 수정
|
|
|
|
// 업무 구분 변경
|
|
|
|
fnBtnUpdate${pageName} = () => {
|
|
|
|
fnResetAndChangeBiz${pageName} = (taskSeCd) => {
|
|
|
|
|
|
|
|
// 화면 초기화
|
|
|
|
|
|
|
|
$("#frmSearch--${pageName}")[0].reset();
|
|
|
|
|
|
|
|
// dataset 초기화
|
|
|
|
|
|
|
|
${pageName}Control.dataset.clear();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 업무 구분 코드
|
|
|
|
|
|
|
|
if (typeof taskSeCd == "undefined" || taskSeCd == null || taskSeCd == "") {
|
|
|
|
|
|
|
|
taskSeCd = $("#layout-navbar input[name='taskSeCd']:checked").val();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 삭제
|
|
|
|
// 화면 초기값 설정
|
|
|
|
fnBtnRemove${pageName} = () => {
|
|
|
|
setForm${pageName}(taskSeCd);
|
|
|
|
|
|
|
|
// URL 설정
|
|
|
|
|
|
|
|
setURL${pageName}(taskSeCd);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 사용자 조회 버튼 이벤트
|
|
|
|
|
|
|
|
fnUser${pageName} = () => {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 수정 버튼 이벤트
|
|
|
|
|
|
|
|
fnUpdate${pageName} = () => {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 삭제 버튼 이벤트
|
|
|
|
|
|
|
|
fnRemove${pageName} = () => {
|
|
|
|
dialog.alert({
|
|
|
|
dialog.alert({
|
|
|
|
content : "선택한 부과제외 정보를 삭제하시겠습니까?"
|
|
|
|
content : "선택한 부과제외 정보를 삭제하시겠습니까?"
|
|
|
|
, onOK : () => {
|
|
|
|
, onOK : () => {
|
|
|
@ -543,18 +488,20 @@
|
|
|
|
* script 진입
|
|
|
|
* script 진입
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
$(document).ready(function() {
|
|
|
|
$(document).ready(function() {
|
|
|
|
// 이벤트 설정
|
|
|
|
|
|
|
|
setEvent${pageName}();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 보안모드
|
|
|
|
// 보안모드
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|
|
|
|
|
|
|
|
|
// 업무구분 및 화면 초기 설정
|
|
|
|
// 이벤트 설정
|
|
|
|
|
|
|
|
setEvent${pageName}();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 시군구 코드 설정
|
|
|
|
|
|
|
|
$("#sggCd--${pageName}").val("${sggCd}");
|
|
|
|
|
|
|
|
// 업무 구분 설정
|
|
|
|
let defaultBizValue = $("#layout-navbar input[name='taskSeCd']:checked").val();
|
|
|
|
let defaultBizValue = $("#layout-navbar input[name='taskSeCd']:checked").val();
|
|
|
|
$("#frmSearch--${pageName} input[name='taskSeCd'][value='" + defaultBizValue + "']").prop("checked", true);
|
|
|
|
$("#frmSearch--${pageName} input[name='taskSeCd'][value='" + defaultBizValue + "']").prop("checked", true);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 업무 구분 및 화면 초기 설정
|
|
|
|
fnResetAndChangeBiz${pageName}(defaultBizValue);
|
|
|
|
fnResetAndChangeBiz${pageName}(defaultBizValue);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
// #sourceURL=excl01010-main.jsp
|
|
|
|
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|