1. 서손/ 계고 호출 URL 수정.

2. 서손/ 계고 popup 크기 수정.
main
jjh 10 months ago
parent ff27c7f16b
commit 37e2d0edd7

@ -15,7 +15,7 @@
초기화 초기화
</button> </button>
<span class="float-end"> <span class="float-end">
<input type="text" id="countStauts--${pageName}" <input type="text" id="countStauts--${pageName}"
class="form-control w-px-150 text-center fw-bold" readonly /> class="form-control w-px-150 text-center fw-bold" readonly />
<button type="button" id="btnPrev--${pageName}" class="w-px-50 btn-PageUp">◀</button> <button type="button" id="btnPrev--${pageName}" class="w-px-50 btn-PageUp">◀</button>
<button type="button" id="btnNext--${pageName}" class="w-px-50 btn-PageDown">▶</button> <button type="button" id="btnNext--${pageName}" class="w-px-50 btn-PageDown">▶</button>
@ -27,11 +27,11 @@
<div class="col-md-12" slot="edit"> <div class="col-md-12" slot="edit">
<template class="pvs bpv"> <template class="pvs bpv">
<slot> <slot>
<label for="crdnSeCd--${pageName}" <label for="crdnSeCd--${pageName}"
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end"> class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
단속구분 단속구분
</label> </label>
<select id="crdnSeCd--${pageName}" name="crdnSeCd" <select id="crdnSeCd--${pageName}" name="crdnSeCd"
data-map="CRDN_SE_CD" class="form-select"> data-map="CRDN_SE_CD" class="form-select">
<c:forEach items="${FIM002List}" var="item"> <c:forEach items="${FIM002List}" var="item">
<option value="${item.code}">${item.value}</option> <option value="${item.code}">${item.value}</option>
@ -41,7 +41,7 @@
</template> </template>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<label for="crdnYmd--${pageName}" <label for="crdnYmd--${pageName}"
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end required"> class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end required">
위반일자 위반일자
</label> </label>
@ -50,7 +50,7 @@
<button type="button" class="bx bx-sm bx-calendar bg-white"></button> <button type="button" class="bx bx-sm bx-calendar bg-white"></button>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<label for="crdnTm--${pageName}" <label for="crdnTm--${pageName}"
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end required"> class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end required">
위반시간 위반시간
</label> </label>
@ -75,7 +75,7 @@
</c:forEach> </c:forEach>
</select> </select>
<label for="dstrbncYn--${pageName}"> <label for="dstrbncYn--${pageName}">
<input type="checkbox" id="dstrbncYn--${pageName}" name="dstrbncYn" <input type="checkbox" id="dstrbncYn--${pageName}" name="dstrbncYn"
data-map="DSTRBNC_YN" value="Y" /> data-map="DSTRBNC_YN" value="Y" />
1면 방해 1면 방해
</label> </label>
@ -84,7 +84,7 @@
<label for="crdnStdgNm--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end"> <label for="crdnStdgNm--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
법정동 법정동
</label> </label>
<input type="text" id="crdnStdgNm--${pageName}" name="crdnStdgNm" data-map="CRDN_STDG_NM" <input type="text" id="crdnStdgNm--${pageName}" name="crdnStdgNm" data-map="CRDN_STDG_NM"
class="form-control" list="stdgNmList--${pageName}" /> class="form-control" list="stdgNmList--${pageName}" />
<datalist id="stdgNmList--${pageName}"> <datalist id="stdgNmList--${pageName}">
<c:forEach items="${stdgNmList}" var="item"> <c:forEach items="${stdgNmList}" var="item">
@ -102,22 +102,22 @@
<div class="col-md-6" slot="edit"> <div class="col-md-6" slot="edit">
<template class="bpv"> <template class="bpv">
<slot> <slot>
<label for="dtlCrdnPlc--${pageName}" <label for="dtlCrdnPlc--${pageName}"
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end"> class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
상세단속장소 상세단속장소
</label> </label>
<input type="text" id="dtlCrdnPlc--${pageName}" name="dtlCrdnPlc" <input type="text" id="dtlCrdnPlc--${pageName}" name="dtlCrdnPlc"
data-map="DTL_CRDN_PLC" class="form-control" data-map="DTL_CRDN_PLC" class="form-control"
data-maxlenghb="200" /> data-maxlenghb="200" />
</slot> </slot>
</template> </template>
<template class="pvs"> <template class="pvs">
<slot> <slot>
<label for="crdnSpareaCd--${pageName}" <label for="crdnSpareaCd--${pageName}"
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end"> class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
특별구역 특별구역
</label> </label>
<select id="crdnSpareaCd--${pageName}" name="crdnSpareaCd" <select id="crdnSpareaCd--${pageName}" name="crdnSpareaCd"
data-map="CRDN_SPAREA_CD" class="form-select"> data-map="CRDN_SPAREA_CD" class="form-select">
<c:forEach items="${FIM007List}" var="item"> <c:forEach items="${FIM007List}" var="item">
<option value="${item.code}">${item.value}</option> <option value="${item.code}">${item.value}</option>
@ -127,48 +127,48 @@
</template> </template>
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<label for="cvlcptAplcntNm--${pageName}" <label for="cvlcptAplcntNm--${pageName}"
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end"> class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
신고자 신고자
</label> </label>
<input type="text" id="cvlcptAplcntNm--${pageName}" name="cvlcptAplcntNm" <input type="text" id="cvlcptAplcntNm--${pageName}" name="cvlcptAplcntNm"
data-map="CVLCPT_APLCNT_NM" class="form-control" readonly /> data-map="CVLCPT_APLCNT_NM" class="form-control" readonly />
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<label for="cvlcptPrcsPicNm--${pageName}" <label for="cvlcptPrcsPicNm--${pageName}"
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end"> class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
담당자 담당자
</label> </label>
<input type="text" id="cvlcptPrcsPicNm--${pageName}" name="cvlcptPrcsPicNm" <input type="text" id="cvlcptPrcsPicNm--${pageName}" name="cvlcptPrcsPicNm"
data-map="CVLCPT_PRCS_PIC_NM" class="form-control" readonly /> data-map="CVLCPT_PRCS_PIC_NM" class="form-control" readonly />
</div> </div>
<div class="col-md-12"> <div class="col-md-12">
<label for="cvlcptAplyCn--${pageName}" <label for="cvlcptAplyCn--${pageName}"
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end align-top" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end align-top"
>신고내용</label> >신고내용</label>
<textarea type="text" id="cvlcptAplyCn--${pageName}" name="cvlcptAplyCn" <textarea type="text" id="cvlcptAplyCn--${pageName}" name="cvlcptAplyCn"
data-map="CVLCPT_APLY_CN" class="form-control" data-map="CVLCPT_APLY_CN" class="form-control"
cols="100%" rows="4" readonly cols="100%" rows="4" readonly
></textarea> ></textarea>
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<label for="cvlcptRcptYmd--${pageName}" <label for="cvlcptRcptYmd--${pageName}"
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end"> class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
접수일 접수일
</label> </label>
<input type="text" id="cvlcptRcptYmd--${pageName}" name="cvlcptRcptYmd" <input type="text" id="cvlcptRcptYmd--${pageName}" name="cvlcptRcptYmd"
data-map="CVLCPT_RCPT_YMD" class="form-control form-date" data-map="CVLCPT_RCPT_YMD" class="form-control form-date"
data-fmt-type="day" maxlength="10" disabled /> data-fmt-type="day" maxlength="10" disabled />
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<label for="cvldptPrcsPrnmntDt--${pageName}" <label for="cvldptPrcsPrnmntDt--${pageName}"
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">답변기한</label> class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">답변기한</label>
<input type="text" id="cvldptPrcsPrnmntDt--${pageName}" name="cvldptPrcsPrnmntDt" <input type="text" id="cvldptPrcsPrnmntDt--${pageName}" name="cvldptPrcsPrnmntDt"
data-map="CVLCPT_PRCS_PRNMNT_DT" class="form-control form-date" data-map="CVLCPT_PRCS_PRNMNT_DT" class="form-control form-date"
data-fmt-type="day" maxlength="10" disabled /> data-fmt-type="day" maxlength="10" disabled />
</div> </div>
<div class="col-md-12"> <div class="col-md-12">
<label for="etcCn--${pageName}" <label for="etcCn--${pageName}"
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end"> class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
특기사항 특기사항
</label> </label>
@ -191,14 +191,14 @@
<label for="rtpyrNm--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end"> <label for="rtpyrNm--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
납부자명 납부자명
</label> </label>
<input type="text" id="rtpyrNm--${pageName}" name="rtpyrNm" data-map="RTPYR_NM" <input type="text" id="rtpyrNm--${pageName}" name="rtpyrNm" data-map="RTPYR_NM"
class="form-control w-px-140" readonly /> class="form-control w-px-140" readonly />
</div> </div>
<div class="col-md-3"> <div class="col-md-3">
<label for="rtpyrSeCd--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end"> <label for="rtpyrSeCd--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
납부자구분 납부자구분
</label> </label>
<select id="rtpyrSeCd--${pageName}" name="rtpyrSeCd" <select id="rtpyrSeCd--${pageName}" name="rtpyrSeCd"
data-map="RTPYR_SE_CD" class="form-select" disabled> data-map="RTPYR_SE_CD" class="form-select" disabled>
<c:forEach items="${FIM011List}" var="item"> <c:forEach items="${FIM011List}" var="item">
<option value="${item.code}">${item.value}</option> <option value="${item.code}">${item.value}</option>
@ -209,9 +209,9 @@
<label for="rtpyrNo--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end"> <label for="rtpyrNo--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
납부자번호 납부자번호
</label> </label>
<input type="text" id="rtpyrNo--${pageName}" name="rtpyrNo" data-map="RTPYR_NO" <input type="text" id="rtpyrNo--${pageName}" name="rtpyrNo" data-map="RTPYR_NO"
class="form-control privacy" readonly /> class="form-control privacy" readonly />
<input type="text" id="mask-rtpyrNo--${pageName}" class="form-control privacy-mask" <input type="text" id="mask-rtpyrNo--${pageName}" class="form-control privacy-mask"
disabled value="******"/> disabled value="******"/>
</div> </div>
<div class="col-md-12"> <div class="col-md-12">
@ -225,14 +225,14 @@
<label for="addr--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end"> <label for="addr--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
주소 주소
</label> </label>
<input type="text" id="addr--${pageName}" name="addr" data-map="ADDR" <input type="text" id="addr--${pageName}" name="addr" data-map="ADDR"
class="form-control w-px-700" readonly data-maxlengthb="320" /> class="form-control w-px-700" readonly data-maxlengthb="320" />
</div> </div>
<div class="col-md-12"> <div class="col-md-12">
<label for="dtlAddr--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end"> <label for="dtlAddr--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
상세주소 상세주소
</label> </label>
<input type="text" id="dtlAddr--${pageName}" name="dtlAddr" data-map="DTL_ADDR" <input type="text" id="dtlAddr--${pageName}" name="dtlAddr" data-map="DTL_ADDR"
class="form-control w-px-700" readonly data-maxlengthb="200" /> class="form-control w-px-700" readonly data-maxlengthb="200" />
</div> </div>
</div> </div>
@ -248,7 +248,7 @@
<label for="vhclNm--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end"> <label for="vhclNm--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
차량명칭 차량명칭
</label> </label>
<input type="text" id="vhclNm--${pageName}" name="vhclNm" <input type="text" id="vhclNm--${pageName}" name="vhclNm"
data-map="VHCL_NM" class="form-control" readonly data-map="VHCL_NM" class="form-control" readonly
placeholder="입력항목이 아닙니다." /> placeholder="입력항목이 아닙니다." />
</div> </div>
@ -256,16 +256,16 @@
<label for="vhclColor--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end"> <label for="vhclColor--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
차량색상 차량색상
</label> </label>
<input type="text" id="vhclColor--${pageName}" name="vhclColor" <input type="text" id="vhclColor--${pageName}" name="vhclColor"
data-map="VHCL_COLOR" class="form-control" readonly data-map="VHCL_COLOR" class="form-control" readonly
placeholder="입력항목이 아닙니다." /> placeholder="입력항목이 아닙니다." />
</div> </div>
<div class="col-md-12" slot="edit"> <div class="col-md-12" slot="edit">
<template class="pvs bpv"> <template class="pvs bpv">
<slot> <slot>
<label for="ffnlgCarmdlCd--${pageName}" <label for="ffnlgCarmdlCd--${pageName}"
class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">차종</label> class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">차종</label>
<select id="ffnlgCarmdlCd--${pageName}" name ="ffnlgCarmdlCd" <select id="ffnlgCarmdlCd--${pageName}" name ="ffnlgCarmdlCd"
data-map="FFNLG_CARMDL_CD" class="form-select"> data-map="FFNLG_CARMDL_CD" class="form-select">
<option value=""></option> <option value=""></option>
<c:forEach items="${FIM009List}" var="item"> <c:forEach items="${FIM009List}" var="item">
@ -278,11 +278,11 @@
<div class="col-md-12" slot="edit"> <div class="col-md-12" slot="edit">
<template class="eca"> <template class="eca">
<slot> <slot>
<label for="useFuelCd--${pageName}" <label for="useFuelCd--${pageName}"
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end"> class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
연료구분 연료구분
</label> </label>
<select id="useFuelCd--${pageName}" name="useFuelCd" <select id="useFuelCd--${pageName}" name="useFuelCd"
data-map="USE_FUEL_CD" class="form-select" disabled> data-map="USE_FUEL_CD" class="form-select" disabled>
<option value=""></option> <option value=""></option>
<c:forEach items="${LVS005List}" var="item"> <c:forEach items="${LVS005List}" var="item">
@ -295,7 +295,7 @@
<div class="col-md-4" slot="edit"> <div class="col-md-4" slot="edit">
<template class="dpv eca pvs"> <template class="dpv eca pvs">
<slot> <slot>
<label for="towngYn--${pageName}" <label for="towngYn--${pageName}"
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end"> class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
견인지시 견인지시
</label> </label>
@ -310,11 +310,11 @@
<div class="col-md-4" slot="edit"> <div class="col-md-4" slot="edit">
<template class="dpv eca pvs"> <template class="dpv eca pvs">
<slot> <slot>
<label for="crdnSn--${pageName}" <label for="crdnSn--${pageName}"
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end"> class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
스티커번호 스티커번호
</label> </label>
<input type="text" id="crdnSn--${pageName}" name="crdnSn" <input type="text" id="crdnSn--${pageName}" name="crdnSn"
data-map="CRDN_SN" class="form-control" data-map="CRDN_SN" class="form-control"
maxlength="20" data-maxlengthb="20" /> maxlength="20" data-maxlengthb="20" />
</slot> </slot>
@ -323,11 +323,11 @@
<div class="col-md-4" slot="edit"> <div class="col-md-4" slot="edit">
<template class="dpv"> <template class="dpv">
<slot> <slot>
<label for="parkngPsbltyRsltCd--${pageName}" <label for="parkngPsbltyRsltCd--${pageName}"
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end"> class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
장애차량확인 장애차량확인
</label> </label>
<select id="parkngPsbltyRsltCd--${pageName}" name="parkngPsbltyRsltCd" <select id="parkngPsbltyRsltCd--${pageName}" name="parkngPsbltyRsltCd"
data-map="PARKNG_PSBLTY_RSLT_CD" class="form-select"> data-map="PARKNG_PSBLTY_RSLT_CD" class="form-select">
<c:forEach items="${FIM034List}" var="item"> <c:forEach items="${FIM034List}" var="item">
<option value="${item.code}">${item.value}</option> <option value="${item.code}">${item.value}</option>
@ -370,9 +370,9 @@
</div> </div>
<div class="card" style="width:500px;min-width:500px;"> <div class="card" style="width:500px;min-width:500px;">
<form id="frmFile--${pageName}" method="post" enctype="multipart/form-data"> <form id="frmFile--${pageName}" method="post" enctype="multipart/form-data">
<input type="file" id="newFileList--${pageName}" name="newFileList" <input type="file" id="newFileList--${pageName}" name="newFileList"
multiple accept="image/*" hidden /> multiple accept="image/*" hidden />
<input type="file" id="modifyFileList--${pageName}" name="modifyFileList" <input type="file" id="modifyFileList--${pageName}" name="modifyFileList"
multiple accept="image/*" hidden /> multiple accept="image/*" hidden />
</form> </form>
@ -387,12 +387,12 @@
</button> </button>
</div> </div>
</div> </div>
<div id="displayForExist--${pageName}" <div id="displayForExist--${pageName}"
style="overflow-y: scroll;min-height: 40px;max-height: 340px;border-style: solid;"> style="overflow-y: scroll;min-height: 40px;max-height: 340px;border-style: solid;">
</div> </div>
<form id="frmUploadSet--${pageName}" method="post" enctype="multipart/form-data"> <form id="frmUploadSet--${pageName}" method="post" enctype="multipart/form-data">
<input type="file" id="inputUploadSet--${pageName}" name="inputUploadSet" <input type="file" id="inputUploadSet--${pageName}" name="inputUploadSet"
multiple accept="image/*" hidden /> multiple accept="image/*" hidden />
</form> </form>
<div class="col-md-12 d-flex justify-content-between"> <div class="col-md-12 d-flex justify-content-between">
@ -409,7 +409,7 @@
</button> </button>
</div> </div>
</div> </div>
<div id="displayForNew--${pageName}" <div id="displayForNew--${pageName}"
style="overflow-y: scroll;min-height: 40px;max-height: 340px;border-style: solid;"> style="overflow-y: scroll;min-height: 40px;max-height: 340px;border-style: solid;">
</div> </div>
</div> </div>
@ -420,7 +420,7 @@
<label class='mx-1'> <label class='mx-1'>
<div style='display:relative;'> <div style='display:relative;'>
<input type="radio" name="{name}" class="form-check-input" value="{value}" checked="" /> <input type="radio" name="{name}" class="form-check-input" value="{value}" checked="" />
<img src="{src}" width='200' height='200' style='display:absolute;' <img src="{src}" width='200' height='200' style='display:absolute;'
data-crdn-photo-id="{crdnPhotoId}" data-crdn-photo-id="{crdnPhotoId}"
data-mosaic="{mosaic}" data-mosaic="{mosaic}"
onload='fn_photoMask($("#photoMask--top").is(":checked"),this);' /> onload='fn_photoMask($("#photoMask--top").is(":checked"),this);' />
@ -432,7 +432,7 @@
<label class='mx-1'> <label class='mx-1'>
<div style='display:relative;'> <div style='display:relative;'>
<input type="checkbox" name="{name}" class="form-check-input" value="{value}" /> <input type="checkbox" name="{name}" class="form-check-input" value="{value}" />
<img src="{src}" width='200' height='200' style='display:absolute;' <img src="{src}" width='200' height='200' style='display:absolute;'
data-crdn-photo-id="{crdnPhotoId}" data-crdn-photo-id="{crdnPhotoId}"
data-mosaic="{mosaic}" data-mosaic="{mosaic}"
onload='fn_photoMask($("#photoMask--top").is(":checked"),this);' /> onload='fn_photoMask($("#photoMask--top").is(":checked"),this);' />
@ -563,7 +563,7 @@ $(document).ready(function(){
$P.crdnControl.onSave = (resp) => { $P.crdnControl.onSave = (resp) => {
if (resp.saved) { if (resp.saved) {
dialog.alert({ dialog.alert({
content : "저장됐습니다.", content : "저장됐습니다.",
init : function() { focusClose(); } init : function() { focusClose(); }
@ -603,7 +603,7 @@ $(document).ready(function(){
if(item.status == "delete"){ if(item.status == "delete"){
continue; continue;
} }
var template = document.getElementById("imgRadioTemplate--${pageName}").innerHTML; var template = document.getElementById("imgRadioTemplate--${pageName}").innerHTML;
template = template.replace(/{name}/gi, "existPhoto"); template = template.replace(/{name}/gi, "existPhoto");
template = template.replace(/{value}/gi, item.FILE_ID); template = template.replace(/{value}/gi, item.FILE_ID);
@ -613,7 +613,7 @@ $(document).ready(function(){
} }
template = template.replace(/{crdnPhotoId}/gi, "exist"+item.FILE_ID+"${pageName}"); template = template.replace(/{crdnPhotoId}/gi, "exist"+item.FILE_ID+"${pageName}");
template = template.replace(/{mosaic}/gi, item.MOSAIC); template = template.replace(/{mosaic}/gi, item.MOSAIC);
tagsTextArr.push(template); tagsTextArr.push(template);
if(j % 2 == 1){ if(j % 2 == 1){
@ -639,9 +639,9 @@ $(document).ready(function(){
template = template.replace(/{src}/gi, item.url); template = template.replace(/{src}/gi, item.url);
template = template.replace(/{crdnPhotoId}/gi, "new"+item.id+"${pageName}"); template = template.replace(/{crdnPhotoId}/gi, "new"+item.id+"${pageName}");
template = template.replace(/{mosaic}/gi, item.mosaic); template = template.replace(/{mosaic}/gi, item.mosaic);
tagsTextArr.push(template); tagsTextArr.push(template);
if(index % 2 == 1){ if(index % 2 == 1){
tagsTextArr.push("<br />"); tagsTextArr.push("<br />");
} }
@ -708,28 +708,28 @@ $(document).ready(function(){
}; };
$P.fnSendBack = () => { $P.fnSendBack = () => {
if(!confirm("반송 처리 하시겠습니까?")){ if(!confirm("반송 처리 하시겠습니까?")){
return; return;
} }
var crdnId = $("#crdnId--${pageName}").val(); var crdnId = $("#crdnId--${pageName}").val();
ajax.post({ ajax.post({
url : $P.crdnControl.urls.remove, url : $P.crdnControl.urls.remove,
data : { crdnId : crdnId }, data : { crdnId : crdnId },
success : resp => { success : resp => {
if(resp.saved){ if(resp.saved){
var message = "민원회수 요청이 등록되었습니다.\n" var message = "민원회수 요청이 등록되었습니다.\n"
+"30~60분 사이에 서버에서 민원시스템으로 전송이 진행되니 이후에 민원시스템에서 확인하시기 바랍니다."; +"30~60분 사이에 서버에서 민원시스템으로 전송이 진행되니 이후에 민원시스템에서 확인하시기 바랍니다.";
dialog.alert({ dialog.alert({
content : message, content : message,
init : function() { focusClose(); } init : function() { focusClose(); }
}); });
var crdnId = $("#crdnId--${pageName}").val(); var crdnId = $("#crdnId--${pageName}").val();
var cursorKey = ""; var cursorKey = "";
@ -750,7 +750,7 @@ $(document).ready(function(){
} }
}); });
} }
$P.videoCallback = (snapshots) => { $P.videoCallback = (snapshots) => {
snapshots.forEach(function(canvas, index, array){ snapshots.forEach(function(canvas, index, array){
canvas.toBlob(function(blob){ canvas.toBlob(function(blob){
@ -817,7 +817,7 @@ $(document).ready(function(){
}; };
ajax.get({ ajax.get({
url : wctx.url("/excl/excl01/020/info.do"), url : wctx.url("/${taskSeCd}/excl/excl01/020/info.do"),
data : params, data : params,
success : resp => { success : resp => {
@ -825,7 +825,7 @@ $(document).ready(function(){
id : "levyExcldialog--${pageName}", id : "levyExcldialog--${pageName}",
title : "부과제외 정보", title : "부과제외 정보",
content : resp, content : resp,
size : "lg", size : "md",
init : () => {}, init : () => {},
onClose : () => {} onClose : () => {}
}); });
@ -912,7 +912,7 @@ $(document).ready(function(){
content : "복사 자료가 생성되었습니다.", content : "복사 자료가 생성되었습니다.",
init : function() { focusClose(); } init : function() { focusClose(); }
}); });
$("#refreshEnd--${pageName}").attr("data-cursor-key", crdnId); $("#refreshEnd--${pageName}").attr("data-cursor-key", crdnId);
$P.provided.refreshList(); $P.provided.refreshList();
} }
@ -962,12 +962,12 @@ $(document).ready(function(){
dialog.close("cvlcptInitialDataEditDialog--${openerPageName}"); dialog.close("cvlcptInitialDataEditDialog--${openerPageName}");
} }
//납부자 삭제 //납부자 삭제
$P.fnDeletePayer = () => { $P.fnDeletePayer = () => {
// //
} }
//납부자 등록,수정 //납부자 등록,수정
$P.fnPopPayer = () => { $P.fnPopPayer = () => {
var callPurpose = ""; var callPurpose = "";
@ -979,7 +979,7 @@ $(document).ready(function(){
callPurpose = "update"; callPurpose = "update";
dialogTitle = "납부자 수정"; dialogTitle = "납부자 수정";
} }
var params = { var params = {
callPurpose : callPurpose, callPurpose : callPurpose,
crdnId : $("#crdnId--${pageName}").val(), // 단속 ID crdnId : $("#crdnId--${pageName}").val(), // 단속 ID
@ -1004,9 +1004,9 @@ $(document).ready(function(){
}); });
} }
}); });
} }
$P.refreshPayer = () => { $P.refreshPayer = () => {
var params = { var params = {
@ -1022,7 +1022,7 @@ $(document).ready(function(){
headers: { Accept: "application/json; charset=utf-8" }, headers: { Accept: "application/json; charset=utf-8" },
data : params || {}, data : params || {},
success : resp => { success : resp => {
if (resp.crdnPayer) { if (resp.crdnPayer) {
var payer = resp.crdnPayer; var payer = resp.crdnPayer;
$("#rtpyrId--${pageName}").val(payer.RTPYR_ID).change(); $("#rtpyrId--${pageName}").val(payer.RTPYR_ID).change();
@ -1043,9 +1043,9 @@ $(document).ready(function(){
} }
} }
}); });
} }
/************************************************************************** /**************************************************************************
* 초기화(업무별 입력항목) * 초기화(업무별 입력항목)
**************************************************************************/ **************************************************************************/
@ -1057,10 +1057,10 @@ $(document).ready(function(){
/************************************************************************** /**************************************************************************
* element.on * element.on
**************************************************************************/ **************************************************************************/
$("#btnReset--${pageName}").on("click", () => $P.fnReset() ); $("#btnReset--${pageName}").on("click", () => $P.fnReset() );
$("#btnPrev--${pageName}").on("click", () => $P.fnPrev() ); $("#btnPrev--${pageName}").on("click", () => $P.fnPrev() );
$("#btnNext--${pageName}").on("click", () => $P.fnNext() ); $("#btnNext--${pageName}").on("click", () => $P.fnNext() );
//업무처리 버튼 //업무처리 버튼
$("#btnSendBack--${pageName}").on('click', () => { $P.fnSendBack(); }); $("#btnSendBack--${pageName}").on('click', () => { $P.fnSendBack(); });
$("#btnInstLevyExcl1--${pageName}").on("click", () => $P.openLevyExclPop("1")); $("#btnInstLevyExcl1--${pageName}").on("click", () => $P.openLevyExclPop("1"));
@ -1069,12 +1069,12 @@ $(document).ready(function(){
$("#btnAccept--${pageName}").on('click', () => $P.fnAccept()); $("#btnAccept--${pageName}").on('click', () => $P.fnAccept());
$("#btnHold--${pageName}").on("click", () => $P.fnHold()); $("#btnHold--${pageName}").on("click", () => $P.fnHold());
$("#btnOpenCvlcptOrgnl--${pageName}").on("click", () => $P.fnOpenCvlcptOrgnl()); $("#btnOpenCvlcptOrgnl--${pageName}").on("click", () => $P.fnOpenCvlcptOrgnl());
//납부자 삭제 //납부자 삭제
$("#btnDeletePayer--${pageName}").on("click", () => $P.fnDeletePayer()); $("#btnDeletePayer--${pageName}").on("click", () => $P.fnDeletePayer());
//납부자 등록, 수정 //납부자 등록, 수정
$("#btnPopPayer--${pageName}").on("click", () => $P.fnPopPayer()); $("#btnPopPayer--${pageName}").on("click", () => $P.fnPopPayer());
//파일처리 버튼 //파일처리 버튼
$("#btnAddFile--${pageName}").on('click', () => { $("#inputUploadSet--${pageName}").trigger("click"); }); $("#btnAddFile--${pageName}").on('click', () => { $("#inputUploadSet--${pageName}").trigger("click"); });
@ -1169,13 +1169,13 @@ $(document).ready(function(){
levy_stdde : crdnYmd levy_stdde : crdnYmd
}, },
success:resp => { success:resp => {
if(!resp.found){ if(!resp.found){
dialog.alert({ dialog.alert({
content : "차량 정보가 없습니다.", content : "차량 정보가 없습니다.",
init : function() { focusClose(); } init : function() { focusClose(); }
}); });
$("#rtpyrId--${pageName}").val(""); $("#rtpyrId--${pageName}").val("");
$("#rtpyrNm--${pageName}").val(""); $("#rtpyrNm--${pageName}").val("");
$("#rtpyrSeCd--${pageName}").val(""); $("#rtpyrSeCd--${pageName}").val("");
@ -1190,13 +1190,13 @@ $(document).ready(function(){
$("#dtlAddr--${pageName}").val(""); $("#dtlAddr--${pageName}").val("");
return; return;
} }
$("#rtpyrId--${pageName}").val(resp.rtpyrId); $("#rtpyrId--${pageName}").val(resp.rtpyrId);
var vehicle = resp.vehicle; var vehicle = resp.vehicle;
$("#rtpyrNm--${pageName}").val(vehicle.mber_nm); $("#rtpyrNm--${pageName}").val(vehicle.mber_nm);
var pyrSeCd = ""; var pyrSeCd = "";
switch(vehicle.mber_se_code){ switch(vehicle.mber_se_code){
case "11" : pyrSeCd = "01"; break; case "11" : pyrSeCd = "01"; break;
@ -1208,12 +1208,12 @@ $(document).ready(function(){
$("#rtpyrSeCd--${pageName}").val(pyrSeCd); $("#rtpyrSeCd--${pageName}").val(pyrSeCd);
$("#rtpyrNo--${pageName}").val(vehicle.mber_se_no); $("#rtpyrNo--${pageName}").val(vehicle.mber_se_no);
$("#vin--${pageName}").val(vehicle.vin); $("#vin--${pageName}").val(vehicle.vin);
$("#vhclNm--${pageName}").val(vehicle.cnm); $("#vhclNm--${pageName}").val(vehicle.cnm);
$("#vhclColor--${pageName}").val(vehicle.color_nm); $("#vhclColor--${pageName}").val(vehicle.color_nm);
$("#useFuelCd--${pageName}").val(vehicle.use_fuel_code); $("#useFuelCd--${pageName}").val(vehicle.use_fuel_code);
if(vehicle.vhcty_asort_code == "1"){ //승용 if(vehicle.vhcty_asort_code == "1"){ //승용
$("#ffnlgCarmdlCd--${pageName}").val("11"); $("#ffnlgCarmdlCd--${pageName}").val("11");
} else if(vehicle.vhcty_asort_code == "2"){ //승합 } else if(vehicle.vhcty_asort_code == "2"){ //승합
@ -1250,17 +1250,17 @@ $(document).ready(function(){
} }
$("#refreshEnd--${pageName}").on("refreshEnd", function(){ $("#refreshEnd--${pageName}").on("refreshEnd", function(){
if(this.dataset.cursorKey == null || this.dataset.cursorKey == ""){ if(this.dataset.cursorKey == null || this.dataset.cursorKey == ""){
dialog.close("cvlcptInitialDataEditDialog--${openerPageName}"); dialog.close("cvlcptInitialDataEditDialog--${openerPageName}");
return; return;
} }
if(!$P.provided.hasData(this.dataset.cursorKey)){ if(!$P.provided.hasData(this.dataset.cursorKey)){
dialog.close("cvlcptInitialDataEditDialog--${openerPageName}"); dialog.close("cvlcptInitialDataEditDialog--${openerPageName}");
return; return;
} }
$P.fnGo(this.dataset.cursorKey); $P.fnGo(this.dataset.cursorKey);
}); });

Loading…
Cancel
Save