민원상세 화면 차적조회 수정

main
이범준 10 months ago
parent 63aee2f7c5
commit 625bd666a6

@ -891,7 +891,10 @@ $(document).ready(function(){
return; return;
} }
var resp = await getVhclInfo($("#sggCd--${pageName}").val(), vhrno, crdnYmd);
var resp = null;
resp = await getVhclInfo($("#sggCd--${pageName}").val(), vhrno, crdnYmd);
if(!resp.found){ if(!resp.found){
dialog.alert({ dialog.alert({
@ -960,7 +963,17 @@ $(document).ready(function(){
$("#addr--${pageName}").val(vehicle.road_nm_adres); //주소 $("#addr--${pageName}").val(vehicle.road_nm_adres); //주소
$("#dtlAddr--${pageName}").val(vehicle.use_strnghld_adres_nm); //상세주소 $("#dtlAddr--${pageName}").val(vehicle.use_strnghld_adres_nm); //상세주소
if("${taskSeCd}" == "DPV"){
resp = await getVhclDisabledParkingInfo(vhrno);
if(resp.parkingInfo.BOHUN_PARKING_PSBL_YN == "Y" || resp.parkingInfo.PARKING_PSBL_YN == "Y") {
$("#parkngPsbltyRsltCd--${pageName}").val("2");
} else {
$("#parkngPsbltyRsltCd--${pageName}").val("1");
}
}
}); });
if("${taskSeCd}" == "DPV"){ if("${taskSeCd}" == "DPV"){

@ -35,4 +35,23 @@ async function getVhclInfo(sggCd, vhrno, levy_stdde){
} }
}); });
}); });
}; };
/**************************************************************************
* 장애인 차량여부 조회
**************************************************************************/
async function getVhclDisabledParkingInfo(vhrno){
return new Promise((resolve, reject) => {
json.get({
url: wctx.url("/intf/disabledParking/parkingInfo"),
data: {
vehicleNo : vhrno
},
success: function(resp, textStatus, jqXHR) {
resolve(resp);
},
error: function(jqXHR, textStatus, error) {
}
});
});
}
Loading…
Cancel
Save