|
|
|
@ -7,164 +7,222 @@
|
|
|
|
|
<form id="frmEdit--${pageName}" name="frmEdit">
|
|
|
|
|
<!-- hidden -->
|
|
|
|
|
<input type="hidden" id="crdnId--${pageName}" name="crdnId" data-map="CRDN_ID" />
|
|
|
|
|
<input type="hidden" id="opnnId--${pageName}" name="opnnId" data-map="OPNN_ID" />
|
|
|
|
|
<input type="hidden" id="rductId--${pageName}" name="rductId" data-map="RDUCT_ID" />
|
|
|
|
|
<input type="hidden" id="levyExclId--${pageName}" name="levyExclId" data-map="LEVY_EXCL_ID" />
|
|
|
|
|
|
|
|
|
|
<div class="d-flex flex-row justify-content-evenly">
|
|
|
|
|
<!-- 화면 왼쪽 -->
|
|
|
|
|
<div class="col-xl-9 mx-1">
|
|
|
|
|
<!-- 의견제출 정보 -->
|
|
|
|
|
<div class="col-xl-6 mx-1">
|
|
|
|
|
<!-- 감경 정보 -->
|
|
|
|
|
<div class="card">
|
|
|
|
|
<!-- 업무 버튼 -->
|
|
|
|
|
<div class="container-page-btn">
|
|
|
|
|
<label class="w-px-120 bg-label-danger pe-2 col-form-label text-sm-center">의견제출 정보</label>
|
|
|
|
|
<label class="w-px-120 bg-label-danger pe-2 col-form-label text-sm-center">감경 정보</label>
|
|
|
|
|
<!-- 버튼 우측 정렬 -->
|
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
|
<button type="button" class="btn btn-primary" id="btnOpnnSbmsnCreate--${pageName}" title="의견제출 등록" onclick="fnBtnOpnnSbmsnCreate${pageName}();">
|
|
|
|
|
의견제출 등록
|
|
|
|
|
<button type="button" class="btn btn-primary" id="btnRductCreate--${pageName}" title="감경 등록" onclick="fnBtnRductCreate${pageName}();">
|
|
|
|
|
감경 등록
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" class="btn btn-primary" id="btnOpnnSbmsnUpdate--${pageName}" title="의견제출 수정" onclick="fnBtnOpnnSbmsnUpdate${pageName}();">
|
|
|
|
|
의견제출 수정
|
|
|
|
|
<button type="button" class="btn btn-primary" id="btnRductUpdate--${pageName}" title="감경 수정" onclick="fnBtnRductUpdate${pageName}();">
|
|
|
|
|
감경 수정
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" class="btn btn-primary" id="btnOpnnSbmsnRemove--${pageName}" title="의견제출 삭제" onclick="fnBtnOpnnSbmsnRemove${pageName}();">
|
|
|
|
|
의견제출 삭제
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" class="btn btn-primary" id="btnDlbrtLtfrOtpt --${pageName}" title="심의의결서 출력" onclick="fnBtnDlbrtLtfrOtpt${pageName}();">
|
|
|
|
|
심의의결서 출력
|
|
|
|
|
<button type="button" class="btn btn-primary" id="btnRductRemove--${pageName}" title="감경 삭제" onclick="fnBtnRductRemove${pageName}();">
|
|
|
|
|
감경 삭제
|
|
|
|
|
</button>
|
|
|
|
|
</span> <!-- <span class="container-window-btn-right"> -->
|
|
|
|
|
</div> <!-- <div class="container-page-btn"> -->
|
|
|
|
|
|
|
|
|
|
<div class="row g-1">
|
|
|
|
|
<!-- 접수 번호 -->
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<label for="rcptNo--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">접수 번호</label>
|
|
|
|
|
<input type="text" class="form-control w-30" id="rcptNo--${pageName}" name="rcptNo" data-map="RCPT_NO" readonly />
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 접수 일자 -->
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<label for="rcptYmd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">접수 일자</label>
|
|
|
|
|
<input type="text" class="form-control w-30" id="rcptYmd--${pageName}" name="rcptYmd" data-map="RCPT_YMD" readonly />
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 진술자 이름 -->
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<label for="sttrNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">성명</label>
|
|
|
|
|
<input type="text" class="form-control w-40" id="sttrNm--${pageName}" name="sttrNm" data-map="STTR_NM" readonly />
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 진술자 생년월일 -->
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<label for="sttrBrdt--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">생년월일</label>
|
|
|
|
|
<input type="text" class="form-control w-25" id="sttrBrdt--${pageName}" name="sttrBrdt" data-map="STTR_BRDT" placeholder="YY-MM-DD" readonly />
|
|
|
|
|
<!-- 감경 일자 -->
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<label for="rductYmd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">감경 일자</label>
|
|
|
|
|
<input type="text" class="form-control w-30" id="rductYmd--${pageName}" name="rductYmd" data-map="RDUCT_YMD" readonly />
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 소유주 관계 구분 명 -->
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<label for="ownrRelNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">소유주 관계 구분</label>
|
|
|
|
|
<input type="text" class="form-control w-40" id="ownrRelNm--${pageName}" name="ownrRelNm" data-map="OWNR_REL_NM" readonly />
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 진술자 주소 --><!-- 진술자 우편번호 -->
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<label for="sttrAddr--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">주소</label>
|
|
|
|
|
<input type="text" class="form-control w-80" id="sttrAddr--${pageName}" name="sttrAddr" data-map="STTR_ADDR" readonly />
|
|
|
|
|
<input type="text" class="form-control w-px-75" id="sttrZip--${pageName}" name="sttrZip" data-map="STTR_ZIP" readonly />
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 진술자 상세주소 -->
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<label for="sttrDaddr--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">상세 주소</label>
|
|
|
|
|
<input type="text" class="form-control w-87" id="sttrDaddr--${pageName}" name="sttrDaddr" data-map="STTR_DADDR" readonly />
|
|
|
|
|
<!-- -->
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 진술자 연락처 -->
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<label for="sttrCttpc--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">연락처</label>
|
|
|
|
|
<input type="text" class="form-control w-35" id="sttrCttpc--${pageName}" name="sttrCttpc" data-map="STTR_CTTPC" readonly />
|
|
|
|
|
<!-- 감경 사유 명 -->
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<label for="rductRsnNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">감경 사유</label>
|
|
|
|
|
<input type="text" class="form-control w-50" id="rductRsnNm--${pageName}" name="rductRsnNm" data-map="RDUCT_RSN_NM" readonly />
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 진술자 이메일 -->
|
|
|
|
|
<div class="col-md-8">
|
|
|
|
|
<label for="sttrEml--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">이메일</label>
|
|
|
|
|
<input type="text" class="form-control w-35" id="sttrEml--${pageName}" name="sttrEml" data-map="STTR_EML" readonly />
|
|
|
|
|
<!-- 감경 금액 -->
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<label for="sttrDaddr--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">감경 금액</label>
|
|
|
|
|
<input type="text" class="form-control w-30" id="sttrDaddr--${pageName}" name="sttrDaddr" data-map="STTR_DADDR" readonly />
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 의견 제출 내용 -->
|
|
|
|
|
<!-- 기타 내용 -->
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<label for="opnnSbmsnCn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">의견제출 내용</label>
|
|
|
|
|
<textarea type="text" class="form-control w-87" id="opnnSbmsnCn--${pageName}" name="opnnSbmsnCn" data-map="OPNN_SBMSN_CN" rows="4" data-maxlengthb="4000" readonly>
|
|
|
|
|
<label for="etcCn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">기타 내용</label>
|
|
|
|
|
<textarea type="text" class="form-control w-80" id="etcCn--${pageName}" name="etcCn" data-map="ETC_CN" rows="3" data-maxlengthb="1000" readonly>
|
|
|
|
|
</textarea>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 의견 제출 구분 명 -->
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<label for="opnnSbmsnSeNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">의견 제출 구분</label>
|
|
|
|
|
<input type="text" class="form-control w-40" id="opnnSbmsnSeNm--${pageName}" name="opnnSbmsnSeNm" data-map="OPNN_SBMSN_SE_NM" readonly />
|
|
|
|
|
<!-- 등록 일시 -->
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<label for="regDt--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">등록 일시</label>
|
|
|
|
|
<input type="text" class="form-control w-40" id="regDt--${pageName}" name="regDt" data-map="REG_DT" readonly />
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 의견 제출 요지 -->
|
|
|
|
|
<div class="col-md-8">
|
|
|
|
|
<label for="opnnSbmsnGist--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">의견제출 요지</label>
|
|
|
|
|
<input type="text" class="form-control w-80" id="opnnSbmsnGist--${pageName}" name="opnnSbmsnGist" data-map="OPNN_SBMSN_GIST" data-maxlengthb="300" readonly />
|
|
|
|
|
<!-- 등록자 -->
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<label for="rgtrNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">등록자</label>
|
|
|
|
|
<input type="text" class="form-control w-40" id="rgtrNm--${pageName}" name="rgtrNm" data-map="RGTR_NM" readonly />
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 담당자 검토 의견 -->
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<label for="picRvwOpnn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">검토 의견</label>
|
|
|
|
|
<textarea class="form-control w-87" id="picRvwOpnn--${pageName}" name="picRvwOpnn" data-map="PIC_RVW_OPNN" rows="3" data-maxlengthb="1000" readonly>
|
|
|
|
|
</textarea>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- 첨부 파일 테이블 -->
|
|
|
|
|
<div class="table-responsive">
|
|
|
|
|
<table class="table table-bordered table-hover table-striped" id="fileList--${pageName}">
|
|
|
|
|
<thead>
|
|
|
|
|
<th class="text-center" style="width: 24px">NO.</th>
|
|
|
|
|
<th class="text-center" style="width: 200px">파일 번호</th>
|
|
|
|
|
<th class="text-center">파일 이름</th>
|
|
|
|
|
<th class="text-center" style="width: 200px">파일 크기</th>
|
|
|
|
|
<th class="text-center" style="width: 120px">다운로드</th>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody></tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div> <!-- 첨부 파일 테이블 <div class="table-responsive"> -->
|
|
|
|
|
</div> <!-- <div class="row g-1"> -->
|
|
|
|
|
</div> <!-- <div class="card"> -->
|
|
|
|
|
</div> <!-- <div class="col-xl-9 mx-1"> -->
|
|
|
|
|
|
|
|
|
|
</div> <!-- <div class="col-xl-6 mx-1"> -->
|
|
|
|
|
<!-- 화면 오른쪽 -->
|
|
|
|
|
<div class="col-xl-3 mx-0">
|
|
|
|
|
<!-- 심의 정보 -->
|
|
|
|
|
<div class="col-xl-6 mx-1">
|
|
|
|
|
<!-- 부과제외 정보 -->
|
|
|
|
|
<div class="card">
|
|
|
|
|
<!-- 업무 버튼 -->
|
|
|
|
|
<div class="container-page-btn">
|
|
|
|
|
<label class="w-px-120 bg-label-danger pe-2 col-form-label text-sm-center">심의 정보</label>
|
|
|
|
|
<label class="w-px-120 bg-label-danger pe-2 col-form-label text-sm-center">부과제외 정보</label>
|
|
|
|
|
<!-- 버튼 우측 정렬 -->
|
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
|
<button type="button" class="btn btn-primary" id="btnOpnnSbmsnDlbrt--${pageName}" title="의견제출 심의" onclick="fnBtnOpnnSbmsnDlbrt${pageName}();">
|
|
|
|
|
의견제출 심의
|
|
|
|
|
<button type="button" class="btn btn-primary" id="btnLevyExclCreate--${pageName}" title="부과제외 등록" onclick="fnBtnLevyExclCreate${pageName}();">
|
|
|
|
|
부과제외 등록
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" class="btn btn-primary" id="btnLevyExclUpdate--${pageName}" title="부과제외 수정" onclick="fnBtnLevyExclUpdate${pageName}();">
|
|
|
|
|
부과제외 수정
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" class="btn btn-primary" id="btnLevyExclRemove--${pageName}" title="부과제외 삭제" onclick="fnBtnLevyExclRemove${pageName}();">
|
|
|
|
|
부과제외 삭제
|
|
|
|
|
</button>
|
|
|
|
|
</span> <!-- <span class="container-window-btn-right"> -->
|
|
|
|
|
</div> <!-- <div class="container-page-btn"> -->
|
|
|
|
|
|
|
|
|
|
<div class="row g-1">
|
|
|
|
|
<!-- 문서 번호 -->
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<label for="docNo--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">문서 번호</label>
|
|
|
|
|
<input type="text" class="form-control w-50" id="docNo--${pageName}" name="docNo" data-map="DOC_NO" readonly />
|
|
|
|
|
<!-- 부과제외 일자 -->
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<label for="rductYmd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">부과제외 일자</label>
|
|
|
|
|
<input type="text" class="form-control w-30" id="rductYmd--${pageName}" name="rductYmd" data-map="RDUCT_YMD" readonly />
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 답변일시 -->
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<label for="ansYmdTm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">처리 일시</label>
|
|
|
|
|
<input type="text" class="form-control w-50" id="ansYmdTm--${pageName}" name="ansYmdTm" data-map="ANS_YMD_TM" readonly />
|
|
|
|
|
<!-- -->
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 의견 제출 상태 코드 -->
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<label for="opnnSbmsnSttsNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">처리 결과</label>
|
|
|
|
|
<input type="text" class="form-control w-50" id="opnnSbmsnSttsNm--${pageName}" name="opnnSbmsnSttsNm" data-map="OPNN_SBMSN_STTS_NM" readonly />
|
|
|
|
|
<!-- 부과제외 구분 명 -->
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<label for="levyExclSeNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">부과제외 구분</label>
|
|
|
|
|
<input type="text" class="form-control w-30" id="levyExclSeNm--${pageName}" name="levyExclSeNm" data-map="LEVY_EXCL_SE_NM" readonly />
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 답변 내용 -->
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<label for="ansCn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">처리 내용</label>
|
|
|
|
|
<!-- 부과제외 사유 명 -->
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<label for="levyExclRsnNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">부과제외 사유</label>
|
|
|
|
|
<input type="text" class="form-control w-60" id="levyExclRsnNm--${pageName}" name="levyExclRsnNm" data-map="LEVY_EXCL_RSN_NM" readonly />
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 기타 내용 -->
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<textarea type="text" class="form-control w-100" id="ansCn--${pageName}" name="ansCn" data-map="ANS_CN" rows="14" data-maxlengthb="4000">
|
|
|
|
|
<label for="etcCn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">기타 내용</label>
|
|
|
|
|
<textarea type="text" class="form-control w-80" id="etcCn--${pageName}" name="etcCn" data-map="ETC_CN" rows="3" data-maxlengthb="1000" readonly>
|
|
|
|
|
</textarea>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div> <!-- 의견제출 심의 정보 <div class="card" title="심의 정보"> -->
|
|
|
|
|
</div> <!-- <div class="col-xl-3 mx-0"> -->
|
|
|
|
|
<!-- 등록 일시 -->
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<label for="regDt--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">등록 일시</label>
|
|
|
|
|
<input type="text" class="form-control w-40" id="regDt--${pageName}" name="regDt" data-map="REG_DT" readonly />
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 등록자 -->
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<label for="rgtrNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">등록자</label>
|
|
|
|
|
<input type="text" class="form-control w-40" id="rgtrNm--${pageName}" name="rgtrNm" data-map="RGTR_NM" readonly />
|
|
|
|
|
</div>
|
|
|
|
|
</div> <!-- <div class="row g-1"> -->
|
|
|
|
|
</div> <!-- 부과제외 정보 <div class="card"> -->
|
|
|
|
|
</div> <!-- <div class="col-xl-6 mx-1"> -->
|
|
|
|
|
</div> <!-- <div class="d-flex flex-row justify-content-evenly"> -->
|
|
|
|
|
</form>
|
|
|
|
|
</p>
|
|
|
|
|
<div class="d-flex flex-row justify-content-evenly">
|
|
|
|
|
<!-- 화면 왼쪽 -->
|
|
|
|
|
<div class="col-xl-6 mx-1">
|
|
|
|
|
<!-- 처리 상태 이력 -->
|
|
|
|
|
<div class="card">
|
|
|
|
|
<!-- 업무 버튼 -->
|
|
|
|
|
<div class="container-page-btn">
|
|
|
|
|
<label class="w-px-120 bg-label-danger pe-2 col-form-label text-sm-center">처리 상태 이력</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row g-1">
|
|
|
|
|
<!-- DataTables(그리드) -->
|
|
|
|
|
<div class="card-datatable text-nowrap">
|
|
|
|
|
<div id="DataTables_Table_0_wrapperCrdnSttsHstry--${pageName}" class="dataTables_wrapper dt-bootstrap5 no-footer">
|
|
|
|
|
<div id="table-responsiveCrdnSttsHstry--${pageName}" class="table-responsive" style="overflow-x:scroll; height:340px; overflow-y:scroll;" >
|
|
|
|
|
<table class="dataTable datatables-ajax table table-bordered no-footer" id="DataTables_Table_0CrdnSttsHstry--${pageName}" aria-describedby="DataTables_Table_0_info">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr id="theadTrCrdnSttsHstry--${pageName}">
|
|
|
|
|
<th>등록일시</th>
|
|
|
|
|
<th>등록사용자</th>
|
|
|
|
|
<th>단속상태</th>
|
|
|
|
|
<th>기타내용</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody id="tbodyCrdnSttsHstry--${pageName}">
|
|
|
|
|
</tbody>
|
|
|
|
|
<template id="${infoPrefix}CrdnSttsHstryRow--${pageName}">
|
|
|
|
|
<tr data-key="{STTS_HSTRY_ID}">
|
|
|
|
|
<td class="text-center" onclick="{onclick}">{REG_DT}</td>
|
|
|
|
|
<td class="text-center" onclick="{onclick}">{RGTR_NM}</td>
|
|
|
|
|
<td class="text-center" onclick="{onclick}">{CRDN_STTS_NM}</td>
|
|
|
|
|
<td class="text-center" onclick="{onclick}">{ETC_CN}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</template>
|
|
|
|
|
<template id="${infoPrefix}CrdnSttsHstryNotFound--${pageName}">
|
|
|
|
|
<tr class="odd">
|
|
|
|
|
<td valign="top" colspan="6" class="dataTables_empty text-center">처리상태 이력 정보를 찾지 못했습니다.</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</template>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div> <!-- / DataTables(그리드) -->
|
|
|
|
|
</div> <!-- <div class="row g-1"> -->
|
|
|
|
|
</div> <!-- <div class="card"> -->
|
|
|
|
|
</div> <!-- 화면 왼쪽 <div class="col-xl-6 mx-1"> -->
|
|
|
|
|
<!-- 화면 오른쪽 -->
|
|
|
|
|
<div class="col-xl-6 mx-1">
|
|
|
|
|
<div class="card">
|
|
|
|
|
<!-- 업무 버튼 -->
|
|
|
|
|
<div class="container-page-btn">
|
|
|
|
|
<label class="w-px-120 bg-label-danger pe-2 col-form-label text-sm-center">주소 변동 이력</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row g-1">
|
|
|
|
|
<!-- DataTables(그리드) -->
|
|
|
|
|
<div class="card-datatable text-nowrap">
|
|
|
|
|
<div id="DataTables_Table_0_wrapperCrdnPayerHstry--${pageName}" class="dataTables_wrapper dt-bootstrap5 no-footer">
|
|
|
|
|
<div id="table-responsiveCrdnPayerHstry--${pageName}" class="table-responsive" style="overflow-x:scroll; height:340px; overflow-y:scroll;" >
|
|
|
|
|
<table class="dataTable datatables-ajax table table-bordered no-footer" id="DataTables_Table_0CrdnPayerHstry--${pageName}" aria-describedby="DataTables_Table_0_info">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr id="theadTrCrdnPayerHstry--${pageName}">
|
|
|
|
|
<th>등록일시</th>
|
|
|
|
|
<th>등록사용자</th>
|
|
|
|
|
<th>납부자명</th>
|
|
|
|
|
<th>우편번호</th>
|
|
|
|
|
<th>전체주소</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody id="tbodyCrdnPayerHstry--${pageName}">
|
|
|
|
|
</tbody>
|
|
|
|
|
<template id="${infoPrefix}CrdnPayerHstryRow--${pageName}">
|
|
|
|
|
<tr data-key="{CHG_HSTRY_ID}">
|
|
|
|
|
<td class="text-center" onclick="{onclick}">{REG_DT}</td>
|
|
|
|
|
<td class="text-center" onclick="{onclick}">{RGTR_NM}</td>
|
|
|
|
|
<td class="text-center" onclick="{onclick}">{RTPYR_NM}</td>
|
|
|
|
|
<td class="text-center" onclick="{onclick}">{ZIP}</td>
|
|
|
|
|
<td class="text-center" onclick="{onclick}">{WHOL_ADDR}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</template>
|
|
|
|
|
<template id="${infoPrefix}CrdnPayerHstryNotFound--${pageName}">
|
|
|
|
|
<tr class="odd">
|
|
|
|
|
<td valign="top" colspan="5" class="dataTables_empty text-center">주소변동 이력 정보를 찾지 못했습니다.</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</template>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div> <!-- / DataTables(그리드) -->
|
|
|
|
|
</div> <!-- <div class="row g-1"> -->
|
|
|
|
|
</div> <!-- <div class="card"> -->
|
|
|
|
|
</div> <!-- 화면 오른쪽 <div class="col-xl-6 mx-1"> -->
|
|
|
|
|
</div> <!-- <div class="d-flex flex-row justify-content-evenly"> -->
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
@ -175,243 +233,131 @@
|
|
|
|
|
var ${pageName}PrefixUrl = "/sprt/sprt02";
|
|
|
|
|
// FormFields
|
|
|
|
|
var ${pageName}Fields = new FormFields("#frmEdit--${pageName}");
|
|
|
|
|
// 파일 리스트
|
|
|
|
|
var $fileListArr = new Array();
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
* DatasetControl
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
var ${pageName}Control = new DatasetControl({
|
|
|
|
|
prefix : "totalInfoOpnnSbmsn"
|
|
|
|
|
, prefixName : "의견제출 정보"
|
|
|
|
|
, keymapper : info => info ? info.CRDN_ID : ""
|
|
|
|
|
, dataGetter : obj => obj.opnnSbmsnInfo
|
|
|
|
|
var ${pageName}CrdnSttsHstryDataset = new Dataset({
|
|
|
|
|
prefix : "crdnSttsHstry"
|
|
|
|
|
, prefixName : "단속상태이력"
|
|
|
|
|
, keymapper : info => info ? info.STTS_HSTRY_ID : ""
|
|
|
|
|
, dataGetter : obj => obj.crdnSttsHstryList
|
|
|
|
|
, appendData : true
|
|
|
|
|
, formats : {
|
|
|
|
|
RCPT_YMD : dateFormat
|
|
|
|
|
, ANS_YMD_TM : datetimeFormat
|
|
|
|
|
REG_DT : datetimeFormat
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
, onDatasetChange : obj => {
|
|
|
|
|
crdnSttsHstryRenderList${pageName}();
|
|
|
|
|
}
|
|
|
|
|
, onCurrentChange : item => {
|
|
|
|
|
if (!item) return;
|
|
|
|
|
|
|
|
|
|
${pageName}Control.onCurrentChange = item => {
|
|
|
|
|
// Dataset 셋팅
|
|
|
|
|
${pageName}Fields.set(item);
|
|
|
|
|
let key = item.data.STTS_HSTRY_ID;
|
|
|
|
|
|
|
|
|
|
if (item.data.OPNN_ID != null) {
|
|
|
|
|
// 첨부파일 조회
|
|
|
|
|
fnSearchFileList${pageName}(item.data.OPNN_ID);
|
|
|
|
|
$("#tbodyCrdnSttsHstry--${pageName}").setCurrentRow(key);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
*
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
// 의견제출 dialog
|
|
|
|
|
${pageName}Control.getOpnnSbmsnInfo = (params) => {
|
|
|
|
|
let dialogTitle = "";
|
|
|
|
|
if (params.callPurpose == "create") {
|
|
|
|
|
dialogTitle = "의견제출 등록";
|
|
|
|
|
} else if (params.callPurpose == "update") {
|
|
|
|
|
dialogTitle = "의견제출 수정";
|
|
|
|
|
} else {
|
|
|
|
|
return;
|
|
|
|
|
var ${pageName}CrdnPayerHstryDataset = new Dataset({
|
|
|
|
|
prefix : "crdnPayerHstry"
|
|
|
|
|
, prefixName : "단속납부자이력"
|
|
|
|
|
, keymapper : info => info ? info.CHG_HSTRY_ID : ""
|
|
|
|
|
, dataGetter : obj => obj.crdnPayerHstryList
|
|
|
|
|
, appendData : true
|
|
|
|
|
, formats : {
|
|
|
|
|
REG_DT : datetimeFormat
|
|
|
|
|
}
|
|
|
|
|
, onDatasetChange : obj => {
|
|
|
|
|
crdnPayerHstryRenderList${pageName}();
|
|
|
|
|
}
|
|
|
|
|
, onCurrentChange : item => {
|
|
|
|
|
if (!item) return;
|
|
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
|
url : wctx.url("/excl/excl02/020/info.do")
|
|
|
|
|
, data : params
|
|
|
|
|
, success : resp => {
|
|
|
|
|
resp = resp.replace(/infoPrefix/g, this.prefix)
|
|
|
|
|
.replace(/prefixName/g, this.prefixName)
|
|
|
|
|
dialog.open({
|
|
|
|
|
id : "opnnInfoDialog"
|
|
|
|
|
, title : dialogTitle
|
|
|
|
|
, content : resp
|
|
|
|
|
, size : "xl"
|
|
|
|
|
, onClose : () => { fnDataRefreshInfo(); } // callback
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
let key = item.data.CHG_HSTRY_ID;
|
|
|
|
|
|
|
|
|
|
// 삭제 후 재조회
|
|
|
|
|
${pageName}Control.onRemoveOpnnSbmsn = (resp) => {
|
|
|
|
|
if (resp.saved) {
|
|
|
|
|
fnDataRefreshInfo();
|
|
|
|
|
$("#tbodyCrdnPayerHstry--${pageName}").setCurrentRow(key);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
// 삭제
|
|
|
|
|
${pageName}Control.removeOpnnSbmsn = (opnnId) => {
|
|
|
|
|
ajax.post({
|
|
|
|
|
url : wctx.url("/excl/excl02/010/remove.do")
|
|
|
|
|
, data : {opnnId : opnnId}
|
|
|
|
|
, success : resp => ${pageName}Control.onRemoveOpnnSbmsn(resp)
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
// 심의 dialog
|
|
|
|
|
${pageName}Control.getOpnnSbmsnDlbrtInfo = (params) => {
|
|
|
|
|
ajax.get({
|
|
|
|
|
url : wctx.url("/excl/excl02/030/info.do")
|
|
|
|
|
, data : params
|
|
|
|
|
, success : resp => {
|
|
|
|
|
resp = resp.replace(/infoPrefix/g, this.prefix)
|
|
|
|
|
.replace(/prefixName/g, this.prefixName)
|
|
|
|
|
dialog.open({
|
|
|
|
|
id : "opnnInfoDialog"
|
|
|
|
|
, title : "의견제출 답변 처리"
|
|
|
|
|
, content : resp
|
|
|
|
|
, size : "lg"
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
*
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
// 단속 상태 이력 DataTables에 click 이벤트
|
|
|
|
|
crdnSttsHstryRenderList${pageName} = () => {
|
|
|
|
|
let ${infoPrefix}List = ${pageName}CrdnSttsHstryDataset;
|
|
|
|
|
let empty = ${infoPrefix}List.empty;
|
|
|
|
|
|
|
|
|
|
let trs = empty ?
|
|
|
|
|
[document.getElementById("${infoPrefix}CrdnSttsHstryNotFound--${pageName}").innerHTML] : <%-- from template#${infoPrefix}NotFound --%>
|
|
|
|
|
${infoPrefix}List.inStrings(
|
|
|
|
|
document.getElementById("${infoPrefix}CrdnSttsHstryRow--${pageName}").innerHTML, <%-- from template#${infoPrefix}Row --%>
|
|
|
|
|
(str, dataItem) => str
|
|
|
|
|
.replace(/{onclick}/gi, "${pageName}CrdnSttsHstryDataset.setCurrent('" + dataItem.getValue("STTS_HSTRY_ID") + "');")
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
$("#tbodyCrdnSttsHstry--${pageName}").html(trs.join());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 재조회
|
|
|
|
|
function fnDataRefreshInfo() {
|
|
|
|
|
let crdnId = $("#crdnId--${pageName}").val();
|
|
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
|
url : wctx.url("/sprt/sprt02/030/info.do")
|
|
|
|
|
, headers: { Accept: "application/json; charset=utf-8" } // json
|
|
|
|
|
, data : { crdnId : crdnId }
|
|
|
|
|
, success : resp => {
|
|
|
|
|
// Dataset 셋팅
|
|
|
|
|
${pageName}Control.setData([resp.opnnSbmsnInfo]);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
// 단속 납부자 이력 DataTables에 click 이벤트
|
|
|
|
|
crdnPayerHstryRenderList${pageName} = () => {
|
|
|
|
|
let ${infoPrefix}List = ${pageName}CrdnPayerHstryDataset;
|
|
|
|
|
let empty = ${infoPrefix}List.empty;
|
|
|
|
|
|
|
|
|
|
let trs = empty ?
|
|
|
|
|
[document.getElementById("${infoPrefix}CrdnPayerHstryNotFound--${pageName}").innerHTML] : <%-- from template#${infoPrefix}NotFound --%>
|
|
|
|
|
${infoPrefix}List.inStrings(
|
|
|
|
|
document.getElementById("${infoPrefix}CrdnPayerHstryRow--${pageName}").innerHTML, <%-- from template#${infoPrefix}Row --%>
|
|
|
|
|
(str, dataItem) => str
|
|
|
|
|
.replace(/{onclick}/gi, "${pageName}CrdnPayerHstryDataset.setCurrent('" + dataItem.getValue("CHG_HSTRY_ID") + "');")
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
$("#tbodyCrdnPayerHstry--${pageName}").html(trs.join());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
* 초기 셋팅
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
// 검색조건 초기값 셋팅
|
|
|
|
|
function initForm${pageName}() {
|
|
|
|
|
initForm${pageName} = () => {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 이벤트 설정
|
|
|
|
|
function setEvent${pageName}() {
|
|
|
|
|
setEvent${pageName} = () => {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
* function
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
// 의견제출 등록
|
|
|
|
|
function fnBtnOpnnSbmsnCreate${pageName}() {
|
|
|
|
|
let crdnId = ${pageName}Control.dataset.getValue("CRDN_ID");
|
|
|
|
|
// 감경 등록
|
|
|
|
|
fnBtnRductCreate${pageName} = () => {
|
|
|
|
|
|
|
|
|
|
// 단속 ID 가 없다면.. return
|
|
|
|
|
if (crdnId == undefined || crdnId == "") {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
let params = {
|
|
|
|
|
callPurpose : "create"
|
|
|
|
|
, crdnId : crdnId
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
${pageName}Control.getOpnnSbmsnInfo(params);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 감경 수정
|
|
|
|
|
fnBtnRductUpdate${pageName} = () => {
|
|
|
|
|
|
|
|
|
|
// 의견제출 수정
|
|
|
|
|
function fnBtnOpnnSbmsnUpdate${pageName}() {
|
|
|
|
|
let opnnId = ${pageName}Control.dataset.getValue("OPNN_ID")
|
|
|
|
|
|
|
|
|
|
// 의견 ID 가 없다면.. return
|
|
|
|
|
if (opnnId == undefined || opnnId == "") {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
let params = {
|
|
|
|
|
callPurpose : "update"
|
|
|
|
|
, opnnId : opnnId
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
${pageName}Control.getOpnnSbmsnInfo(params);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 의견제출 삭제
|
|
|
|
|
function fnBtnOpnnSbmsnRemove${pageName}() {
|
|
|
|
|
let opnnId = ${pageName}Control.dataset.getValue("OPNN_ID");
|
|
|
|
|
|
|
|
|
|
// 의견 ID 가 없다면.. return
|
|
|
|
|
if (opnnId == undefined || opnnId == "") {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
// 감경 삭제
|
|
|
|
|
fnBtnRductRemove${pageName} = () => {
|
|
|
|
|
|
|
|
|
|
dialog.alert({
|
|
|
|
|
content : "선택한 ${prefixName} 정보를 삭제하시겠습니까?"
|
|
|
|
|
, onOK : () => {
|
|
|
|
|
${pageName}Control.removeOpnnSbmsn(opnnId);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 의견제출 심의
|
|
|
|
|
function fnBtnOpnnSbmsnDlbrt${pageName}() {
|
|
|
|
|
let opnnId = ${pageName}Control.dataset.getValue("OPNN_ID");
|
|
|
|
|
|
|
|
|
|
// 의견제출 ID 가 없다면.. return
|
|
|
|
|
if (opnnId == undefined || opnnId == "") {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
let params = {
|
|
|
|
|
callPurpose : "update"
|
|
|
|
|
, opnnId : opnnId
|
|
|
|
|
};
|
|
|
|
|
// 부과제외 등록
|
|
|
|
|
fnBtnLevyExclCreate${pageName} = () => {
|
|
|
|
|
|
|
|
|
|
${pageName}Control.getOpnnSbmsnDlbrtInfo(params);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 심의의결서 출력
|
|
|
|
|
function fnBtnDlbrtLtfrOtpt${pageName}() {
|
|
|
|
|
// 부과제외 수정
|
|
|
|
|
fnBtnLevyExclUpdate${pageName} = () => {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 첨부파일 조회
|
|
|
|
|
function fnSearchFileList${pageName}(opnnId) {
|
|
|
|
|
// 의견제출 등록일 경우에는 첨부파일을 조회하지 안는다..
|
|
|
|
|
if (opnnId == null || opnnId == "") {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 첨부파일 리스트
|
|
|
|
|
ajax.get({
|
|
|
|
|
url : "file/list.do"
|
|
|
|
|
, data : {
|
|
|
|
|
infoType : "110"
|
|
|
|
|
, infoKeys : opnnId
|
|
|
|
|
, fetchSize : 0
|
|
|
|
|
}
|
|
|
|
|
, success : resp => {
|
|
|
|
|
let fileNo = 0;
|
|
|
|
|
let fileList = resp.fileList;
|
|
|
|
|
|
|
|
|
|
fileList.forEach(function (item, index, array) {
|
|
|
|
|
fileNo = index + 1;
|
|
|
|
|
|
|
|
|
|
let innerHtml = "";
|
|
|
|
|
|
|
|
|
|
innerHtml += "<tr>";
|
|
|
|
|
innerHtml += "<td class='text-center'>" + fileNo + "</td>";
|
|
|
|
|
innerHtml += "<td class='text-center'>" + item.FILE_ID + "</td>";
|
|
|
|
|
innerHtml += "<td class='text-center'>" + item.FILE_NM + "</td>";
|
|
|
|
|
innerHtml += "<td class='text-center'>" + item.FILE_SIZE + " byte</td>";
|
|
|
|
|
innerHtml += "<td class='text-center'>" + "<button class='btn' onclick='fnBtnFileDownload${pageName}(" + item.FILE_ID + ");'><i class='bx bx-download me-1'></i></button>" + "</td>";
|
|
|
|
|
innerHtml += "</tr>";
|
|
|
|
|
|
|
|
|
|
$("#fileList--${pageName} > tbody:last").append(innerHtml);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
// 부과제외 삭제
|
|
|
|
|
fnBtnLevyExclRemove${pageName} = () => {
|
|
|
|
|
|
|
|
|
|
// 첨부파일 다운로드
|
|
|
|
|
function fnBtnFileDownload${pageName}(fileID) {
|
|
|
|
|
top.location.href = "/file/download.do?fileID=" + fileID;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
@ -425,8 +371,9 @@
|
|
|
|
|
initForm${pageName}();
|
|
|
|
|
|
|
|
|
|
// Dataset 셋팅
|
|
|
|
|
${pageName}Control.setData([${opnnSbmsnInfo}]);
|
|
|
|
|
${pageName}CrdnSttsHstryDataset.setData(${crdnSttsHstryList});
|
|
|
|
|
${pageName}CrdnPayerHstryDataset.setData(${crdnPayerHstryList});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
// #sourceURL=sprt02030-info.jsp
|
|
|
|
|
// #sourceURL=sprt02050-info.jsp
|
|
|
|
|
</script>
|
|
|
|
|