개별총정보 수정.

main
jjh 3 months ago
parent 2e952e60b4
commit a30bd41dfe

@ -3,95 +3,95 @@
<!-- Page Body --> <!-- Page Body -->
<div class="card wrapper-list" data-doctx="${pageName}"> <div class="card wrapper-list" data-doctx="${pageName}">
<div> <div>
<!-- 입력 영역 --> <!-- 입력 영역 -->
<form name="frmEdit"> <form name="frmEdit">
<!-- hidden --> <!-- hidden -->
<input type="hidden" name="crdnId" data-map="CRDN_ID" /> <input type="hidden" name="crdnId" data-map="CRDN_ID" />
<div class="row g-1"> <div class="row g-1">
<!-- 차량번호 --> <!-- 차량번호 -->
<div class="col-md-2"> <div class="col-md-2">
<label is="name-label" class="w-px-80 bg-lighter pe-2 col-form-label text-sm-end" for="vhrno">차량번호</label> <label is="name-label" class="w-px-80 bg-lighter pe-2 col-form-label text-sm-end" for="vhrno">차량번호</label>
<input is="id-input" type="text" class="form-control w-65 fw-bold" name="vhrno" data-map="VHRNO" readonly /> <input is="id-input" type="text" class="form-control w-65 fw-bold" name="vhrno" data-map="VHRNO" readonly />
</div> </div>
<!-- 단속일시 --> <!-- 단속일시 -->
<div class="col-md-2"> <div class="col-md-2">
<label is="name-label" class="w-px-80 bg-lighter pe-2 col-form-label text-sm-end" for="crdnYmdTm">단속일시</label> <label is="name-label" class="w-px-80 bg-lighter pe-2 col-form-label text-sm-end" for="crdnYmdTm">단속일시</label>
<input is="id-input" type="text" class="form-control w-65 fw-bold" name="crdnYmdTm" data-map="CRDN_YMD_TM" readonly /> <input is="id-input" type="text" class="form-control w-65 fw-bold" name="crdnYmdTm" data-map="CRDN_YMD_TM" readonly />
</div> </div>
<!-- 고지번호 --> <!-- 고지번호 -->
<div class="col-md-2"> <div class="col-md-2">
<label is="name-label" class="w-px-80 bg-lighter pe-2 col-form-label text-sm-end" for="gojiNo">고지번호</label> <label is="name-label" class="w-px-80 bg-lighter pe-2 col-form-label text-sm-end" for="gojiNo">고지번호</label>
<input is="id-input" type="text" class="form-control w-65 fw-bold" name="gojiNo" data-map="GOJI_NO" readonly /> <input is="id-input" type="text" class="form-control w-65 fw-bold" name="gojiNo" data-map="GOJI_NO" readonly />
</div> </div>
<!-- 단속상태 --> <!-- 단속상태 -->
<div class="col-md-4"> <div class="col-md-4">
<label is="name-label" class="w-px-80 bg-lighter pe-2 col-form-label text-sm-end" for="crdnSttsNm">단속상태</label> <label is="name-label" class="w-px-80 bg-lighter pe-2 col-form-label text-sm-end" for="crdnSttsNm">단속상태</label>
<input is="id-input" type="text" class="form-control w-30 fw-bold text-primary" name="crdnSttsNm" data-map="CRDN_STTS_NM" readonly /> <input is="id-input" type="text" class="form-control w-30 fw-bold text-primary" name="crdnSttsNm" data-map="CRDN_STTS_NM" readonly />
<input is="id-input" type="text" class="form-control w-35 fw-bold" name="crdnSttsChgDt" data-map="CRDN_STTS_CHG_DT" readonly /> <input is="id-input" type="text" class="form-control w-35 fw-bold" name="crdnSttsChgDt" data-map="CRDN_STTS_CHG_DT" readonly />
<input type="hidden" name="crdnSttsCd" data-map="CRDN_STTS_CD" /> <input type="hidden" name="crdnSttsCd" data-map="CRDN_STTS_CD" />
</div> </div>
<!-- 자료 이동 버튼 --> <!-- 자료 이동 버튼 -->
<div class="col-md-2 text-end"> <div class="col-md-2 text-end">
<input type="text" class="form-control w-px-120 text-center fw-bold" name="countStauts" readonly /> <input type="text" class="form-control w-px-120 text-center fw-bold" name="countStauts" readonly />
<button type="button" class="w-px-50 btn-PageUp" name="btnPrev">◀</button> <button type="button" class="w-px-50 btn-PageUp" name="btnPrev">◀</button>
<button type="button" class="w-px-50 btn-PageDown" name="btnNext">▶</button> <button type="button" class="w-px-50 btn-PageDown" name="btnNext">▶</button>
</div> </div>
</div> <!-- <div class="row g-1"> --> </div> <!-- <div class="row g-1"> -->
</form> </form>
<!-- 입력 영역 --> <!-- 입력 영역 -->
</div> </div>
<div class="nav-align-top"> <div class="nav-align-top">
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">
<li class="nav-item"> <li class="nav-item">
<button type="button" class="nav-link w-px-160 h-75 active" name="btnCrdnPayer" role="tab" data-bs-toggle="tab" data-bs-target="#crdnPayerInfo" aria-controls="crdnPayerInfo" aria-selected="true"> <button type="button" class="nav-link w-px-160 h-75 active" name="btnCrdnPayer" role="tab" data-bs-toggle="tab" data-bs-target="#crdnPayerInfo" aria-controls="crdnPayerInfo" aria-selected="true">
단속 정보 단속 정보
</button> </button>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<button type="button" class="nav-link w-px-160 h-75" name="btnOpnnSbmsn" role="tab" data-bs-toggle="tab" data-bs-target="#opnnSbmsnInfo" aria-controls="opnnSbmsnInfo" aria-selected="false"> <button type="button" class="nav-link w-px-160 h-75" name="btnOpnnSbmsn" role="tab" data-bs-toggle="tab" data-bs-target="#opnnSbmsnInfo" aria-controls="opnnSbmsnInfo" aria-selected="false">
의견제출 정보 의견제출 정보
</button> </button>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<button type="button" class="nav-link w-px-160 h-75" name="btnSndng" role="tab" data-bs-toggle="tab" data-bs-target="#sndngInfo" aria-controls="sndngInfo" aria-selected="false"> <button type="button" class="nav-link w-px-160 h-75" name="btnSndng" role="tab" data-bs-toggle="tab" data-bs-target="#sndngInfo" aria-controls="sndngInfo" aria-selected="false">
발송반송 정보 발송반송 정보
</button> </button>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<button type="button" class="nav-link w-px-160 h-75" name="btnPrcs" role="tab" data-bs-toggle="tab" data-bs-target="#prcsInfo" aria-controls="prcsInfo" aria-selected="false"> <button type="button" class="nav-link w-px-160 h-75" name="btnPrcs" role="tab" data-bs-toggle="tab" data-bs-target="#prcsInfo" aria-controls="prcsInfo" aria-selected="false">
처리상세 정보 처리상세 정보
</button> </button>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<button type="button" class="nav-link w-px-160 h-75" name="btnLevy" role="tab" data-bs-toggle="tab" data-bs-target="#levyInfo" aria-controls="levyInfo" aria-selected="false"> <button type="button" class="nav-link w-px-160 h-75" name="btnLevy" role="tab" data-bs-toggle="tab" data-bs-target="#levyInfo" aria-controls="levyInfo" aria-selected="false">
부과체납 정보 부과체납 정보
</button> </button>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<button type="button" class="nav-link w-px-160 h-75" name="btnRcvmt" role="tab" data-bs-toggle="tab" data-bs-target="#rcvmtInfo" aria-controls="rcvmtInfo" aria-selected="false"> <button type="button" class="nav-link w-px-160 h-75" name="btnRcvmt" role="tab" data-bs-toggle="tab" data-bs-target="#rcvmtInfo" aria-controls="rcvmtInfo" aria-selected="false">
수납 정보 수납 정보
</button> </button>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<button type="button" class="nav-link w-px-160 h-75" name="btnCvlcptDscsn" role="tab" data-bs-toggle="tab" data-bs-target="#cvlcptDscsnInfo" aria-controls="cvlcptDscsnInfo" aria-selected="false"> <button type="button" class="nav-link w-px-160 h-75" name="btnCvlcptDscsn" role="tab" data-bs-toggle="tab" data-bs-target="#cvlcptDscsnInfo" aria-controls="cvlcptDscsnInfo" aria-selected="false">
민원상담 정보 민원상담 정보
</button> </button>
</li> </li>
</ul> </ul>
<div class="tab-content p-0"> <div class="tab-content p-0">
<div class="tab-pane fade show active" id="crdnPayerInfo" role="tabpanel">단속 정보</div> <div class="tab-pane fade show active" id="crdnPayerInfo" role="tabpanel">단속 정보</div>
<div class="tab-pane fade" id="opnnSbmsnInfo" role="tabpanel">의견제출 정보</div> <div class="tab-pane fade" id="opnnSbmsnInfo" role="tabpanel">의견제출 정보</div>
<div class="tab-pane fade" id="sndngInfo" role="tabpanel">발송반송 정보</div> <div class="tab-pane fade" id="sndngInfo" role="tabpanel">발송반송 정보</div>
<div class="tab-pane fade" id="prcsInfo" role="tabpanel">처리상세 정보</div> <div class="tab-pane fade" id="prcsInfo" role="tabpanel">처리상세 정보</div>
<div class="tab-pane fade" id="levyInfo" role="tabpanel">부과체납 정보</div> <div class="tab-pane fade" id="levyInfo" role="tabpanel">부과체납 정보</div>
<div class="tab-pane fade" id="rcvmtInfo" role="tabpanel">수납 정보</div> <div class="tab-pane fade" id="rcvmtInfo" role="tabpanel">수납 정보</div>
<div class="tab-pane fade" id="cvlcptDscsnInfo" role="tabpanel">민원상담 정보</div> <div class="tab-pane fade" id="cvlcptDscsnInfo" role="tabpanel">민원상담 정보</div>
</div> </div>
</div> </div>
</div> <!-- <div class="card wrapper-list"> --> </div> <!-- <div class="card wrapper-list"> -->
<script> <script>
@ -161,7 +161,7 @@
ajax.get({ ajax.get({
url: wctx.url(params.taskSeCd + "/sprt/sprt02/010/main.do") url: wctx.url(params.taskSeCd + "/sprt/sprt02/010/main.do")
, headers: { Accept: "application/json; charset=utf-8" } // json , headers: { Accept: "application/json; charset=utf-8" } // json
, data: params || {} , data: params || {}
, success: resp => { , success: resp => {
if (resp.totalInfo) { if (resp.totalInfo) {
@ -169,20 +169,20 @@
$P.mainCtrl.setData([resp.totalInfo]); $P.mainCtrl.setData([resp.totalInfo]);
if ($P.activeTabIndex == 0) { if ($P.activeTabIndex == 0) {
$P.fnCrdnPayerInfo(); // 단속 납부자 Data 셋팅 $P.fnCrdnPayerInfo(); // 단속 납부자 Data 셋팅
} else if ($P.activeTabIndex == 1) { } else if ($P.activeTabIndex == 1) {
$P.fnOpnnSbmsnInfo(); // 의견제출 정보 $P.fnOpnnSbmsnInfo(); // 의견제출 정보
} else if ($P.activeTabIndex == 2) { } else if ($P.activeTabIndex == 2) {
$P.fnSndngInfo(); // 발송 반송 정보 $P.fnSndngInfo(); // 발송 반송 정보
} else if ($P.activeTabIndex == 3) { } else if ($P.activeTabIndex == 3) {
$P.fnPrcsInfo(); // 처리 상세 정보 $P.fnPrcsInfo(); // 처리 상세 정보
} else if ($P.activeTabIndex == 4) { } else if ($P.activeTabIndex == 4) {
$P.fnLevyInfo(); // 부과체납 정보 $P.fnLevyInfo(); // 부과체납 정보
} else if ($P.activeTabIndex == 5) { } else if ($P.activeTabIndex == 5) {
$P.fnRcvmtInfo(); // 수납 정보 $P.fnRcvmtInfo(); // 수납 정보
} else if ($P.activeTabIndex == 6) { } else if ($P.activeTabIndex == 6) {
$P.fnCvlcptDscsnInfo(); // 민원상담 정보 $P.fnCvlcptDscsnInfo(); // 민원상담 정보
} }
} }
} }
}); });
@ -248,7 +248,7 @@
for (iLoop = $P.curDataIndex; iLoop >= 0; iLoop--) { for (iLoop = $P.curDataIndex; iLoop >= 0; iLoop--) {
if (dataItems[iLoop].data.CRDN_ID == curCrdnId) { if (dataItems[iLoop].data.CRDN_ID == curCrdnId) {
if (iLoop - 1 < 0) return; // 종료 if (iLoop - 1 < 0) return; // 종료
$P.curDataIndex = iLoop - 1; $P.curDataIndex = iLoop - 1;
break; break;
@ -282,7 +282,7 @@
for (iLoop = $P.curDataIndex; iLoop < dataItems.length; iLoop++) { for (iLoop = $P.curDataIndex; iLoop < dataItems.length; iLoop++) {
if (dataItems[iLoop].data.CRDN_ID == curCrdnId) { if (dataItems[iLoop].data.CRDN_ID == curCrdnId) {
if (iLoop + 1 >= dataItems.length) return; // 종료 if (iLoop + 1 >= dataItems.length) return; // 종료
$P.curDataIndex = iLoop + 1; $P.curDataIndex = iLoop + 1;
break; break;
@ -498,7 +498,7 @@
// 기본 데이터 설정 // 기본 데이터 설정
$P.initData = () => { $P.initData = () => {
// 화면이 열릴때 초기 값으로 null로 설정해야 건수가 정상 표시 된다. // 화면이 열릴때 초기 값으로 null로 설정해야 건수가 정상 표시 된다.
$P.curDataIndex = null; $P.curDataIndex = null;
} }

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save