|
|
|
@ -66,12 +66,14 @@
|
|
|
|
|
data-maxlengthb="30" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<button type="button" id="btnViewCrdnList--${pageName}" class="btn btn-outline-dark float-end mx-2">
|
|
|
|
|
동일번호 <span id="outputCrdnCount--${pageName}"></span>건
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" id="btnViewCvlcptDscsnList--${pageName}" class="btn btn-outline-dark float-end mx-2">
|
|
|
|
|
차량민원 <span id="outputCvlcptDscsnCount--${pageName}"></span>건
|
|
|
|
|
</button>
|
|
|
|
|
<span class="float-end">
|
|
|
|
|
<button type="button" id="btnViewCrdnList--${pageName}" class="btn btn-outline-dark mx-2">
|
|
|
|
|
동일번호 <span id="outputCrdnCount--${pageName}"></span>건
|
|
|
|
|
</button>
|
|
|
|
|
<button type="button" id="btnViewCvlcptDscsnList--${pageName}" class="btn btn-outline-dark mx-2">
|
|
|
|
|
차량민원 <span id="outputCvlcptDscsnCount--${pageName}"></span>건
|
|
|
|
|
</button>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<label for="vltnCd--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
@ -878,7 +880,7 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
//차적조회
|
|
|
|
|
$("#vhrno--${pageName}").onEnterPress(async function(){
|
|
|
|
|
|
|
|
|
|
var taskSeCd = "${taskSeCd}";
|
|
|
|
|
var crdnYmd = $("#crdnYmd--${pageName}").val().replaceAll("-", "");
|
|
|
|
|
var vhrnoEl = event.target;
|
|
|
|
|
var vhrno = vhrnoEl.value;
|
|
|
|
@ -909,7 +911,7 @@ $(document).ready(function(){
|
|
|
|
|
var resp = null;
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
resp = await countCrdnByVhrno(vhrno, "${taskSeCd}", sggCd);
|
|
|
|
|
resp = await countCrdnByVhrno(vhrno, taskSeCd, sggCd);
|
|
|
|
|
if(resp.crdnCount > 0){
|
|
|
|
|
$("#outputCrdnCount--${pageName}").html(resp.crdnCount);
|
|
|
|
|
$("#btnViewCrdnList--${pageName}").removeAttr("hidden");
|
|
|
|
@ -918,7 +920,7 @@ $(document).ready(function(){
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
resp = await countCvlcptDscsnByVhrno(vhrno, "${taskSeCd}", sggCd);
|
|
|
|
|
resp = await countCvlcptDscsnByVhrno(vhrno, taskSeCd, sggCd);
|
|
|
|
|
if(resp.cvlcptDscsnNocs.NOCS > 0){
|
|
|
|
|
$("#outputCvlcptDscsnCount--${pageName}").html(resp.cvlcptDscsnNocs.NOCS);
|
|
|
|
|
$("#btnViewCvlcptDscsnList--${pageName}").removeAttr("hidden");
|
|
|
|
@ -996,7 +998,7 @@ $(document).ready(function(){
|
|
|
|
|
$("#addr--${pageName}").val(vehicle.road_nm_adres); //주소
|
|
|
|
|
$("#dtlAddr--${pageName}").val(vehicle.use_strnghld_adres_nm); //상세주소
|
|
|
|
|
|
|
|
|
|
if("${taskSeCd}" == "DPV"){
|
|
|
|
|
if(taskSeCd == "DPV"){
|
|
|
|
|
resp = await getVhclDisabledParkingInfo(vhrno);
|
|
|
|
|
|
|
|
|
|
if(resp.parkingInfo.BOHUN_PARKING_PSBL_YN == "Y" || resp.parkingInfo.PARKING_PSBL_YN == "Y") {
|
|
|
|
@ -1015,8 +1017,8 @@ $(document).ready(function(){
|
|
|
|
|
url: wctx.url("/crdn/crdn06/010/main.do"),
|
|
|
|
|
data: {
|
|
|
|
|
openType : "D",
|
|
|
|
|
vhrno : "",
|
|
|
|
|
taskSeCd : ""
|
|
|
|
|
vhrno : $("#vhrno--${pageName}").val(),
|
|
|
|
|
taskSeCd : "${taskSeCd}"
|
|
|
|
|
},
|
|
|
|
|
success: function(resp) {
|
|
|
|
|
dialog.open({
|
|
|
|
@ -1035,7 +1037,26 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
//민원내역 보기
|
|
|
|
|
$("#btnViewCvlcptDscsnList--${pageName}").on("click", function(){
|
|
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
|
url: wctx.url("/sprt/sprt04/010/main.do"),
|
|
|
|
|
data: {
|
|
|
|
|
openType : "D",
|
|
|
|
|
vhrno : $("#vhrno--${pageName}").val(),
|
|
|
|
|
taskSeCd : "${taskSeCd}"
|
|
|
|
|
},
|
|
|
|
|
success: function(resp) {
|
|
|
|
|
dialog.open({
|
|
|
|
|
id : "cvlcptDscsnListdialog--${pageName}",
|
|
|
|
|
title : "민원상담 내역",
|
|
|
|
|
content : resp,
|
|
|
|
|
size : "xl",
|
|
|
|
|
init : () => {
|
|
|
|
|
setDialogZindex();
|
|
|
|
|
},
|
|
|
|
|
onClose : () => {}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|