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

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

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

Loading…
Cancel
Save