|
|
@ -66,12 +66,14 @@
|
|
|
|
data-maxlengthb="30" />
|
|
|
|
data-maxlengthb="30" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<button type="button" id="btnViewCrdnList--${pageName}" class="btn btn-outline-dark float-end mx-2">
|
|
|
|
<span class="float-end">
|
|
|
|
동일번호 <span id="outputCrdnCount--${pageName}"></span>건
|
|
|
|
<button type="button" id="btnViewCrdnList--${pageName}" class="btn btn-outline-dark mx-2">
|
|
|
|
</button>
|
|
|
|
동일번호 <span id="outputCrdnCount--${pageName}"></span>건
|
|
|
|
<button type="button" id="btnViewCvlcptDscsnList--${pageName}" class="btn btn-outline-dark float-end mx-2">
|
|
|
|
</button>
|
|
|
|
차량민원 <span id="outputCvlcptDscsnCount--${pageName}"></span>건
|
|
|
|
<button type="button" id="btnViewCvlcptDscsnList--${pageName}" class="btn btn-outline-dark mx-2">
|
|
|
|
</button>
|
|
|
|
차량민원 <span id="outputCvlcptDscsnCount--${pageName}"></span>건
|
|
|
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<label for="vltnCd--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
<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(){
|
|
|
|
$("#vhrno--${pageName}").onEnterPress(async function(){
|
|
|
|
|
|
|
|
var taskSeCd = "${taskSeCd}";
|
|
|
|
var crdnYmd = $("#crdnYmd--${pageName}").val().replaceAll("-", "");
|
|
|
|
var crdnYmd = $("#crdnYmd--${pageName}").val().replaceAll("-", "");
|
|
|
|
var vhrnoEl = event.target;
|
|
|
|
var vhrnoEl = event.target;
|
|
|
|
var vhrno = vhrnoEl.value;
|
|
|
|
var vhrno = vhrnoEl.value;
|
|
|
@ -909,7 +911,7 @@ $(document).ready(function(){
|
|
|
|
var resp = null;
|
|
|
|
var resp = null;
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
//
|
|
|
|
resp = await countCrdnByVhrno(vhrno, "${taskSeCd}", sggCd);
|
|
|
|
resp = await countCrdnByVhrno(vhrno, taskSeCd, sggCd);
|
|
|
|
if(resp.crdnCount > 0){
|
|
|
|
if(resp.crdnCount > 0){
|
|
|
|
$("#outputCrdnCount--${pageName}").html(resp.crdnCount);
|
|
|
|
$("#outputCrdnCount--${pageName}").html(resp.crdnCount);
|
|
|
|
$("#btnViewCrdnList--${pageName}").removeAttr("hidden");
|
|
|
|
$("#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){
|
|
|
|
if(resp.cvlcptDscsnNocs.NOCS > 0){
|
|
|
|
$("#outputCvlcptDscsnCount--${pageName}").html(resp.cvlcptDscsnNocs.NOCS);
|
|
|
|
$("#outputCvlcptDscsnCount--${pageName}").html(resp.cvlcptDscsnNocs.NOCS);
|
|
|
|
$("#btnViewCvlcptDscsnList--${pageName}").removeAttr("hidden");
|
|
|
|
$("#btnViewCvlcptDscsnList--${pageName}").removeAttr("hidden");
|
|
|
@ -996,7 +998,7 @@ $(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"){
|
|
|
|
if(taskSeCd == "DPV"){
|
|
|
|
resp = await getVhclDisabledParkingInfo(vhrno);
|
|
|
|
resp = await getVhclDisabledParkingInfo(vhrno);
|
|
|
|
|
|
|
|
|
|
|
|
if(resp.parkingInfo.BOHUN_PARKING_PSBL_YN == "Y" || resp.parkingInfo.PARKING_PSBL_YN == "Y") {
|
|
|
|
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"),
|
|
|
|
url: wctx.url("/crdn/crdn06/010/main.do"),
|
|
|
|
data: {
|
|
|
|
data: {
|
|
|
|
openType : "D",
|
|
|
|
openType : "D",
|
|
|
|
vhrno : "",
|
|
|
|
vhrno : $("#vhrno--${pageName}").val(),
|
|
|
|
taskSeCd : ""
|
|
|
|
taskSeCd : "${taskSeCd}"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
success: function(resp) {
|
|
|
|
success: function(resp) {
|
|
|
|
dialog.open({
|
|
|
|
dialog.open({
|
|
|
@ -1035,7 +1037,26 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
|
|
//민원내역 보기
|
|
|
|
//민원내역 보기
|
|
|
|
$("#btnViewCvlcptDscsnList--${pageName}").on("click", 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 : () => {}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|