소스 정리

main
이범준 3 months ago
parent 10c97085b7
commit 6866750e44

@ -11,11 +11,11 @@
<h5>파일 레이아웃</h5>
</div>
<div class="card-body">
<input type="hidden" id="fileLayoutId--${pageName}" name="fileLayoutId" data-map="FILE_LAYOUT_ID" />
<input type="hidden" id="sggCd--${pageName}" name="sggCd" data-map="SGG_CD" />
<input type="hidden" id="taskSeCd--${pageName}" name="taskSeCd" data-map="TASK_SE_CD" />
<input type="hidden" id="instCd--${pageName}" name="instCd" data-map="INST_CD" />
<input type="hidden" id="deptCd--${pageName}" name="deptCd" data-map="DEPT_CD" />
<input type="hidden" name="fileLayoutId" data-map="FILE_LAYOUT_ID" />
<input type="hidden" name="sggCd" data-map="SGG_CD" />
<input type="hidden" name="taskSeCd" data-map="TASK_SE_CD" />
<input type="hidden" name="instCd" data-map="INST_CD" />
<input type="hidden" name="deptCd" data-map="DEPT_CD" />
<div class="row g-1">
<div class="col-md-4">

@ -44,19 +44,19 @@
<div class="col-6">
<label class="form-label fw-bold form-search-title w-px-120 text-end">단속일자</label>
<span class="form-search-linebox">
<input type="text" id="schCrdnYmdFrom--${pageName}" name="schCrdnYmdFrom"
<input type="text" name="schCrdnYmdFrom"
class="form-control form-date"
data-fmt-type="day" title="시작 날짜 선택" />
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
~
<input type="text" id="schCrdnYmdTo--${pageName}" name="schCrdnYmdTo"
<input type="text" name="schCrdnYmdTo"
class="form-control form-date"
data-fmt-type="day" title="종료 날짜 선택">
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
</span>
</div>
<div class="col-6">
<label class="form-label fw-bold form-search-title w-px-120 text-end" for="crdnInptSeCd--${pageName}">단속구분</label>
<label for="crdnInptSeCd--${pageName}" class="form-label fw-bold form-search-title w-px-120 text-end">단속구분</label>
<select id="crdnInptSeCd--${pageName}" name="crdnInptSeCd" class="form-select">
<option value="">전체</option>
<c:forEach items="${FIM003List}" var="item">
@ -65,7 +65,7 @@
</select>
</div>
<div class="col-6">
<label class="form-label fw-bold form-search-title w-px-120 text-end" for="vhrno--${pageName}">차량번호</label>
<label for="vhrno--${pageName}" class="form-label fw-bold form-search-title w-px-120 text-end">차량번호</label>
<input type="text" id="vhrno--${pageName}" name="vhrno" class="form-control" />
</div>
<div class="col-6">
@ -120,7 +120,7 @@
<div name="searchDetail" class="container-search container-search-detail collapse">
<div class="row">
<div class="col-4">
<label class="form-label fw-bold form-search-title w-px-120 text-end" for="crdnSttsCd--${pageName}">자료상태</label>
<label for="crdnSttsCd--${pageName}" class="form-label fw-bold form-search-title w-px-120 text-end">자료상태</label>
<select id="crdnSttsCd--${pageName}" name="crdnSttsCd" class="form-select">
<option value="">전체</option>
<c:forEach items="${FIM010List}" var="item">
@ -130,28 +130,28 @@
</div>
<!-- 등록일자, 수정일자 -->
<div class="col-4">
<select class="form-select w-px-120 text-center" id="schRegDateOpt--${pageName}" name="schRegDateOpt">
<select class="form-select w-px-120 text-center" name="schRegDateOpt">
<option value="regDt">등록일자</option>
<option value="mdfcnDt">수정일자</option>
</select>
<span class="form-search-linebox">
<input type="text" class="form-control form-date" id="schRegDateFrom--${pageName}" name="schRegDateFrom"
<input type="text" class="form-control form-date" name="schRegDateFrom"
data-fmt-type="day" title="시작 날짜 선택" />
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
~
<input type="text" class="form-control form-date" id="schRegDateTo--${pageName}" name="schRegDateTo"
<input type="text" class="form-control form-date" name="schRegDateTo"
data-fmt-type="day" title="종료 날짜 선택">
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
</span>
</div>
<!-- 등록자명, 수정자명 -->
<div class="col-4">
<select class="form-select w-px-120 text-center" id="schRgtrOpt--${pageName}" name="schRgtrOpt">
<select class="form-select w-px-120 text-center" name="schRgtrOpt">
<option value="rgtr">등록자</option>
<option value="mdfr">수정자</option>
</select>
<input type="hidden" id="schRgtrCd--${pageName}" name="schRgtrCd" />
<input type="text" class="form-control w-px-160" id="schRgtrNm--${pageName}" name="schRgtrNm" />
<input type="hidden" name="schRgtrCd" />
<input type="text" class="form-control w-px-160" name="schRgtrNm" />
<button type="button" class="btn btn-sm btn-outline-dark"
name="btnFindUser" title="사용자 검색">검색</button>
</div>

@ -9,7 +9,7 @@
<div class="row g-1">
<div class="col-md-12">
<label for="levyExclRsnCd--${pageName}"
<label for="chgAmtSe--${pageName}"
class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">금액 수정 구분</label>
<select class="form-select" id="chgAmtSe--${pageName}" name="chgAmtSe" required>
<option value="1">가산</option>

@ -22,12 +22,12 @@
<div class="col-6">
<span class="form-label fw-bold form-search-title w-px-120 text-end">단속일자</span>
<span class="form-search-linebox">
<input type="text" id="schCrdnYmdFrom--${pageName}" name="schCrdnYmdFrom"
<input type="text" name="schCrdnYmdFrom"
class="form-control form-date"
data-fmt-type="day" title="시작 날짜 선택" />
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
~
<input type="text" id="schCrdnYmdTo--${pageName}" name="schCrdnYmdTo"
<input type="text" name="schCrdnYmdTo"
class="form-control form-date"
data-fmt-type="day" title="종료 날짜 선택">
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>

@ -31,7 +31,7 @@
</span>
</div>
<div class="col-6">
<label class="form-label fw-bold form-search-title w-px-120 text-end" for="regDt--${pageName}">등록일자</label>
<label for="regDt--${pageName}" class="form-label fw-bold form-search-title w-px-120 text-end">등록일자</label>
<input type="text" id="regDt--${pageName}" name="regDt"
class="form-control form-date" data-fmt-type="day"
title="금일" disabled="disabled" />

@ -9,7 +9,7 @@
<div class="col-md-12">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" id="direct--${pageName}" name="direct">
<label class="form-check-label" for="direct--${pageName}">로컬파일업로드</label>
<label for="direct--${pageName}" class="form-check-label">로컬파일업로드</label>
</div>
</div>
</div>

@ -4,11 +4,11 @@
<div class="d-flex flex-row justify-content-evenly" data-doctx="${pageName}">
<div class="card mw-px-1000">
<form name="frmEdit">
<input type="hidden" id="crdnId-${pageName}" name="crdnId" data-map="CRDN_ID" />
<input type="hidden" id="rtpyrId--${pageName}" name="rtpyrId" data-map="RTPYR_ID"/>
<input type="hidden" id="addrSn--${pageName}" name="addrSn" data-map="ADDR_SN"/>
<input type="hidden" id="sggCd--${pageName}" name="sggCd" value="${sggCd}" />
<input type="hidden" id="taskSeCd--${pageName}" name="taskSeCd" value="${taskSeCd}" />
<input type="hidden" name="crdnId" data-map="CRDN_ID" />
<input type="hidden" name="rtpyrId" data-map="RTPYR_ID"/>
<input type="hidden" name="addrSn" data-map="ADDR_SN"/>
<input type="hidden" name="sggCd" value="${sggCd}" />
<input type="hidden" name="taskSeCd" value="${taskSeCd}" />
<div class="row g-1">
<div class="col-md-12" slot="edit">
<template class="pvs bpv">
@ -70,7 +70,7 @@
</label>
<input type="text" id="crdnStdgNm--${pageName}" name="crdnStdgNm" data-map="CRDN_STDG_NM"
class="form-control w-px-150" list="stdgNmList--${pageName}" />
<datalist id="stdgNmList--${pageName}">
<datalist id="stdgNmList--${pageName}" name="stdgNmList">
<c:forEach items="${stdgNmList}" var="item">
<option value="${item}"></option>
</c:forEach>
@ -153,7 +153,7 @@
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"
class="form-control privacy" readonly />
<input type="text" id="mask-rtpyrNo--${pageName}"
<input type="text" id="mask-rtpyrNo--${pageName}" name="mask-rtpyrNo"
class="form-control privacy-mask" disabled value="******"/>
</div>
<div class="col-md-12">
@ -307,13 +307,13 @@
<template class="pvs bpv">
<slot>
<label class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">단속원</label>
<input type="text" id="teamer1--${pageName}" name="teamer1"
<input type="text" name="teamer1"
data-map="TEAMER_1" class="form-control" />
<input type="text" id="teamer2--${pageName}" name="teamer2"
<input type="text" name="teamer2"
data-map="TEAMER_2" class="form-control" />
<input type="text" id="teamer3--${pageName}" name="teamer3"
<input type="text" name="teamer3"
data-map="TEAMER_3" class="form-control" />
<input type="text" id="teamer4--${pageName}" name="teamer4"
<input type="text" name="teamer4"
data-map="TEAMER_4" class="form-control" />
</slot>
</template>
@ -341,12 +341,12 @@
</div>
<div class="card w-px-400 min-w-px-400">
<form name="frmFile" method="post" enctype="multipart/form-data">
<input type="file" id="newFileList--${pageName}" name="newFileList"
<input type="file" name="newFileList"
multiple accept="image/*" hidden />
</form>
<form name="frmUploadSet" method="post" enctype="multipart/form-data">
<input type="file" id="inputUploadSet--${pageName}" name="inputUploadSet"
<input type="file" name="inputUploadSet"
multiple accept="image/*" hidden />
</form>
<div class="col-md-12">

@ -39,21 +39,21 @@
</span>
</div>
<div class="col-6">
<label class="form-label fw-bold form-search-title w-px-120 text-end" for="schCrdnYmdFrom--${pageName}">단속일자</label>
<span class="form-label fw-bold form-search-title w-px-120 text-end">단속일자</span>
<span class="form-search-linebox">
<input type="text" id="schCrdnYmdFrom--${pageName}" name="schCrdnYmdFrom"
<input type="text" name="schCrdnYmdFrom"
class="form-control form-date"
data-fmt-type="day" title="시작 날짜 선택" />
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
~
<input type="text" id="schCrdnYmdTo--${pageName}" name="schCrdnYmdTo"
<input type="text" name="schCrdnYmdTo"
class="form-control form-date"
data-fmt-type="day" title="종료 날짜 선택">
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
</span>
</div>
<div class="col-6">
<label class="form-label fw-bold form-search-title w-px-120 text-end" for="crdnInptSeCd--${pageName}">자료출처</label>
<label for="crdnInptSeCd--${pageName}" class="form-label fw-bold form-search-title w-px-120 text-end">자료출처</label>
<select id="crdnInptSeCd--${pageName}" name="crdnInptSeCd" class="form-select">
<option value="">전체</option>
<c:forEach items="${FIM003List}" var="item">
@ -62,7 +62,7 @@
</select>
</div>
<div class="col-6">
<label class="form-label fw-bold form-search-title w-px-120 text-end" for="vhrno--${pageName}">차량번호</label>
<label for="vhrno--${pageName}" class="form-label fw-bold form-search-title w-px-120 text-end">차량번호</label>
<input type="text" id="vhrno--${pageName}" name="vhrno" class="form-control" />
</div>
<div class="col-6">
@ -101,7 +101,7 @@
</template>
</div>
<div class="col-6">
<label class="form-label fw-bold form-search-title w-px-120 text-end" for="crdnSttsCd--${pageName}">자료상태</label>
<label for="crdnSttsCd--${pageName}" class="form-label fw-bold form-search-title w-px-120 text-end">자료상태</label>
<select id="crdnSttsCd--${pageName}" name="crdnSttsCd" class="form-select">
<option value="">전체</option>
<c:forEach items="${FIM010List}" var="item">
@ -112,8 +112,8 @@
<div slot="search" name="searchForNxrp" class="col-6 if-empty-col0">
<template class="pvs bpv">
<slot>
<label class="form-label fw-bold form-search-title w-px-120 text-end"
for="nxrpSendStts--${pageName}">세외수입 전송 상태</label>
<label for="nxrpSendStts--${pageName}"
class="form-label fw-bold form-search-title w-px-120 text-end">세외수입 전송 상태</label>
<select id="nxrpSendStts--${pageName}" name="nxrpSendStts" class="form-select">
<option value="">전체</option>
<option value="01">전송가능</option>
@ -126,28 +126,28 @@
<div class="col-12"></div>
<!-- 등록일자, 수정일자 -->
<div class="col-6">
<select class="form-select w-px-120 text-center" id="schRegDateOpt--${pageName}" name="schRegDateOpt">
<select class="form-select w-px-120 text-center" name="schRegDateOpt">
<option value="regDt">등록일자</option>
<option value="mdfcnDt">수정일자</option>
</select>
<span class="form-search-linebox">
<input type="text" class="form-control form-date" id="schRegDateFrom--${pageName}" name="schRegDateFrom"
<input type="text" class="form-control form-date" name="schRegDateFrom"
data-fmt-type="day" title="시작 날짜 선택" />
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
~
<input type="text" class="form-control form-date" id="schRegDateTo--${pageName}" name="schRegDateTo"
<input type="text" class="form-control form-date" name="schRegDateTo"
data-fmt-type="day" title="종료 날짜 선택">
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
</span>
</div>
<!-- 등록자명, 수정자명 -->
<div class="col-6">
<select class="form-select w-px-120 text-center" id="schRgtrOpt--${pageName}" name="schRgtrOpt">
<select class="form-select w-px-120 text-center" name="schRgtrOpt">
<option value="rgtr">등록자</option>
<option value="mdfr">수정자</option>
</select>
<input type="hidden" id="schRgtrCd--${pageName}" name="schRgtrCd" />
<input type="text" class="form-control w-px-160" id="schRgtrNm--${pageName}" name="schRgtrNm" />
<input type="hidden" name="schRgtrCd" />
<input type="text" class="form-control w-px-160" name="schRgtrNm" />
<button type="button" class="btn btn-sm btn-outline-dark" name="btnFindUser" title="사용자 검색">검색</button>
</div>
</div>
@ -191,7 +191,7 @@
<template name="crdnCols">
<th style="width: 80px;" class="cmn">No.</th>
<th class="cmn" style="width: 56px;">
<input type="checkbox" class="form-check-input" id="gridAllCheckbox--${pageName}"
<input type="checkbox" class="form-check-input" name="gridAllCheckbox"
onchange="pageObject['${pageName}'].checkCrdnList(this, this.checked);" />
</th>
<th onclick="searchFromGridTitle('CRDN_INPT_SE_CD',this.innerText,'codeValue','FIM003');"

@ -13,9 +13,9 @@
<!-- 입력 영역 -->
<form name="frmEdit">
<!-- hidden -->
<input type="hidden" id="sggCd--${pageName}" name="sggCd" data-map="SGG_CD" />
<input type="hidden" id="taskSeCd--${pageName}" name="taskSeCd" data-map="TASK_SE_CD" />
<input type="hidden" id="crdnId--${pageName}" name="crdnId" data-map="CRDN_ID" />
<input type="hidden" name="sggCd" data-map="SGG_CD" />
<input type="hidden" name="taskSeCd" data-map="TASK_SE_CD" />
<input type="hidden" name="crdnId" data-map="CRDN_ID" />
<div class="row g-1">
<!-- 단속 일자 -->
@ -56,7 +56,7 @@
<label for="crdnStdgNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">법정동</label>
<input type="text" id="crdnStdgNm--${pageName}" name="crdnStdgNm"
class="form-control w-40" data-map="CRDN_STDG_NM" list="stdgNmList--${pageName}" />
<datalist id="stdgNmList--${pageName}">
<datalist id="stdgNmList--${pageName}" name="stdgNmList">
<c:forEach items="${stdgNmList}" var="item">
<option value="${item}"></option>
</c:forEach>

@ -13,9 +13,9 @@
<!-- 입력 영역 -->
<form name="frmEdit">
<!-- hidden -->
<input type="hidden" id="sggCd--${pageName}" name="sggCd" data-map="SGG_CD" />
<input type="hidden" id="taskSeCd--${pageName}" name="taskSeCd" data-map="TASK_SE_CD" />
<input type="hidden" id="crdnId--${pageName}" name="crdnId" data-map="CRDN_ID" />
<input type="hidden" name="sggCd" data-map="SGG_CD" />
<input type="hidden" name="taskSeCd" data-map="TASK_SE_CD" />
<input type="hidden" name="crdnId" data-map="CRDN_ID" />
<div class="row g-1">
<!-- 단속 처리 상태 코드 -->

@ -107,7 +107,7 @@
data-maxlengthb="20" required />
</div>
<div class="col-md-9">
<label for="teamNm--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
<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" class="form-select">

@ -22,13 +22,13 @@
<div class="container-search">
<div class="row g-1">
<div class="col-6">
<label class="form-label fw-bold form-search-title w-px-120 text-end" for="vhrno--${pageName}">
<label for="vhrno--${pageName}" class="form-label fw-bold form-search-title w-px-120 text-end">
차량번호
</label>
<input type="text" id="vhrno--${pageName}" name="vhrno" class="form-control" />
</div>
<div class="col-6">
<label class="form-label fw-bold form-search-title w-px-120 text-end" for="delYn--${pageName}">
<label for="delYn--${pageName}" class="form-label fw-bold form-search-title w-px-120 text-end">
삭제여부
</label>
<select id="delYn--${pageName}" name="denYn" class="form-select">
@ -64,7 +64,7 @@
<div class="table-responsive ox-scroll oy-scroll h-px-600">
<table class="table-layout-fixed datatables-ajax table table-bordered dataTable no-footer">
<thead class="sticky-thead">
<tr id="exmptnVhclTheadTr--${pageName}">
<tr name="exmptnVhclTheadTr">
<th style="width: 80px;">No.</th>
<th style="width: 200px;">차량번호</th>
<th style="width: 200px;">사유</th>
@ -118,27 +118,6 @@
<div class="content-backdrop fade"></div>
<template name="delRsnDialogTemplate">
<form name="frmEdit">
<div class="card">
<div class="row g-1">
<div class="col-md-12">
<label for="delRsn--${pageName}"
class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">삭제사유</label>
<input type="text" id="delRsn--${pageName}" name="delRsn"
class="form-control w-80" type="text" maxlength="1000" data-maxlengthb="1000" />
</div>
</div>
</div>
<div>
<span class="container-page-btn">
<span class="container-window-btn-right">
<button type="button" name="btnRemove" class="btn btn-primary" title="확인">확인</button>
</span>
</span>
</div>
</form>
</template>
</div>
@ -234,7 +213,7 @@ $(document).ready(function(){
return;
}
var cellDefs = getCellDefs($("#exmptnVhclTheadTr--${pageName} th").not(".dummy-th").not(":eq(0)"),
var cellDefs = getCellDefs($P.$find("exmptnVhclTheadTr").find("th").not(".dummy-th").not(":eq(0)"),
$($P.find("exmptnVhclRow").content).find("td").not(".dummy-td").not(":eq(0)"));
$P.ctrl.query.cellDefs = cellDefs;
@ -364,31 +343,36 @@ $(document).ready(function(){
};
$P.fnOpenDelRsnDialog = () => {
fetch(wctx.url("/resources/html/inputRsnDialog.html"))
.then(function(resp) { return resp.text(); })
.then(function(template) {
dialog.open({
id : "delRsnDialog--${pageName}",
title : "삭제사유입력다이얼로그",
content : $P.find("delRsnDialogTemplate").innerHTML,
size : "xl",
init : () => {
$("#delRsnDialog--${pageName} .modal-content").addClass("min-w-px-700");
$("#delRsnDialog--${pageName}").find("[name='btnRemove']").on("click", () => $P.fnRemove());
},
onClose : () => {}
id: "inputDelRsnDialog--${pageName}"
, title: "삭제 사유 입력"
, size: "lg"
, content: template
, init: () => { setDialogZindex(); }
, onOK: () => {
$P.fnRemove($("#reason").val());
}
});
});
}
$P.fnRemove = () => {
$P.fnRemove = (reason) => {
var dataKey = $P.ctrl.dataset.getCurrent()["EXMPTN_VHCL_ID"];
ajax.get({
url : $P.ctrl.urls.remove,
data : {
"exmptnVhclId" : dataKey,
"delRsn" : $("#delRsnDialog--${pageName}").find("[name='delRsn']").val()
"delRsn" : reason
},
success : (resp) => {
if(resp.saved){
dialog.close("delRsnDialog--${pageName}");
$P.refreshExmptnVhclList();
}
}

@ -4,8 +4,8 @@
<div class="card" data-doctx="${pageName}">
<form name="frmEdit">
<input type="hidden" id="exmptnVhclId--${pageName}" name="exmptnVhclId" data-map="EXMPTN_VHCL_ID" />
<input type="hidden" id="sggCd--${pageName}" name="sggCd" data-map="SGG_CD" />
<input type="hidden" name="exmptnVhclId" data-map="EXMPTN_VHCL_ID" />
<input type="hidden" name="sggCd" data-map="SGG_CD" />
<div class="row g-1">
@ -17,14 +17,14 @@
data-maxlengthb="30" required />
</div>
<div class="col-md-12">
<label class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
<span class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
면제기간
</label>
<input type="text" id="exmptnBgngYmd--${pageName}" name="exmptnBgngYmd" data-map="EXMPTN_BGNG_YMD"
</span>
<input type="text" name="exmptnBgngYmd" data-map="EXMPTN_BGNG_YMD"
class="form-control form-date" data-fmt-type="day" title="시작 날짜 선택" />
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
~
<input type="text" id="exmptnEndYmd--${pageName}" name="exmptnEndYmd" data-map="EXMPTN_END_YMD"
<input type="text" name="exmptnEndYmd" data-map="EXMPTN_END_YMD"
class="form-control form-date" data-fmt-type="day" title="종료 날짜 선택">
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
</div>

@ -36,14 +36,14 @@
</span>
</div>
<div class="col-6">
<label class="form-label fw-bold form-search-title w-px-120 text-end" for="schCvlcptRcptYmdFrom--${pageName}">접수일자</label>
<span class="form-label fw-bold form-search-title w-px-120 text-end">접수일자</span>
<span class="form-search-linebox">
<input type="text" id="schCvlcptRcptYmdFrom--${pageName}" name="schCvlcptRcptYmdFrom"
<input type="text" name="schCvlcptRcptYmdFrom"
class="form-control form-date"
data-fmt-type="day" title="시작 날짜 선택" />
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
~
<input type="text" id="schCvlcptRcptYmdTo--${pageName}" name="schCvlcptRcptYmdTo"
<input type="text" name="schCvlcptRcptYmdTo"
class="form-control form-date"
data-fmt-type="day" title="종료 날짜 선택">
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
@ -53,18 +53,18 @@
<button type="button" class="w-px-120" onclick="pageObject.${pageName}.$find('cvlcptPrcsPicNm').val('${currentUserName}');">
담당자명 지정
</button>
<input type="text" id="cvlcptPrcsPicNm--${pageName}" name="cvlcptPrcsPicNm"
<input type="text" name="cvlcptPrcsPicNm"
class="form-control" />
</div>
<div class="col-6">
<label class="form-label fw-bold form-search-title w-px-120 text-end" for="schCvlcptPrcsPrnmntDtFrom--${pageName}">처리기한</label>
<span class="form-label fw-bold form-search-title w-px-120 text-end">처리기한</span>
<span class="form-search-linebox">
<input type="text" id="schCvlcptPrcsPrnmntDtFrom--${pageName}" name="schCvlcptPrcsPrnmntDtFrom"
<input type="text" name="schCvlcptPrcsPrnmntDtFrom"
class="form-control form-date"
data-fmt-type="day" title="시작 날짜 선택" />
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
~
<input type="text" id="schCvlcptPrcsPrnmntDtTo--${pageName}" name="schCvlcptPrcsPrnmntDtTo"
<input type="text" name="schCvlcptPrcsPrnmntDtTo"
class="form-control form-date"
data-fmt-type="day" title="종료 날짜 선택">
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
@ -90,16 +90,16 @@
<div name="searchDetail" class="container-search container-search-detail collapse">
<div class="row">
<div class="col-6">
<select class="form-select w-px-120 text-center" id="schRegDateOpt--${pageName}" name="schRegDateOpt">
<select class="form-select w-px-120 text-center" name="schRegDateOpt">
<option value="regDt">등록일자</option>
<option value="mdfcnDt">수정일자</option>
</select>
<span class="form-search-linebox">
<input type="text" class="form-control form-date" id="schRegDateFrom--${pageName}" name="schRegDateFrom"
<input type="text" class="form-control form-date" name="schRegDateFrom"
data-fmt-type="day" title="시작 날짜 선택" />
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
~
<input type="text" class="form-control form-date" id="schRegDateTo--${pageName}" name="schRegDateTo"
<input type="text" class="form-control form-date" name="schRegDateTo"
data-fmt-type="day" title="종료 날짜 선택">
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
</span>
@ -195,7 +195,7 @@
</div>
</div>
<div class="mt-2">
단속장소 <input id="bottomCrdnPlc--${pageName}" name="bottomCrdnPlc" type="text" class="form-control" size="100" readonly />
단속장소 <input name="bottomCrdnPlc" type="text" class="form-control" size="100" readonly />
<button type="button" name="btnDelete" class="btn btn-primary" title="선택자료 삭제">
선택자료 삭제
</button>

@ -4,11 +4,11 @@
<div class="d-flex flex-row justify-content-evenly" data-doctx="${pageName}">
<div class="card mw-px-1000">
<form name="frmEdit">
<input type="text" id="crdnId--${pageName}" name="crdnId" data-map="CRDN_ID" hidden />
<input type="text" id="rtpyrId--${pageName}" name="rtpyrId" data-map="RTPYR_ID" hidden />
<input type="text" id="addrSn--${pageName}" name="addrSn" data-map="ADDR_SN" hidden />
<input type="text" id="sggCd--${pageName}" name="sggCd" data-map="SGG_CD" hidden />
<input type="text" id="taskSeCd--${pageName}" name="taskSeCd" data-map="TASK_SE_CD" hidden />
<input type="text" name="crdnId" data-map="CRDN_ID" hidden />
<input type="text" name="rtpyrId" data-map="RTPYR_ID" hidden />
<input type="text" name="addrSn" data-map="ADDR_SN" hidden />
<input type="text" name="sggCd" data-map="SGG_CD" hidden />
<input type="text" name="taskSeCd" data-map="TASK_SE_CD" hidden />
<div class="row mt-4 justify-content-end mb-3">
<div class="col-md-12 ps-4 pe-4">
@ -16,7 +16,7 @@
초기화
</button>
<span class="float-end">
<input type="text" id="countStauts--${pageName}"
<input type="text" name="countStauts"
class="form-control w-px-150 text-center fw-bold" readonly />
<button type="button" name="btnPrev" class="w-px-50 btn-PageUp">◀</button>
<button type="button" name="btnNext" class="w-px-50 btn-PageDown">▶</button>
@ -97,7 +97,7 @@
</label>
<input type="text" id="crdnStdgNm--${pageName}" name="crdnStdgNm" data-map="CRDN_STDG_NM"
class="form-control" list="stdgNmList--${pageName}" />
<datalist id="stdgNmList--${pageName}">
<datalist id="stdgNmList--${pageName}" name="stdgNmList">
<c:forEach items="${stdgNmList}" var="item">
<option value="${item}"></option>
</c:forEach>
@ -222,7 +222,7 @@
</label>
<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}" name="mask-rtpyrNo" class="form-control privacy-mask"
disabled value="******"/>
</div>
<div class="col-md-12">
@ -1190,7 +1190,7 @@ $(document).ready(function(){
//사진영역 설정
settingPhotoMain("${pageName}", "crdnId--${pageName}",
settingPhotoMain("${pageName}", $P.find("crdnId"),
function(){
return {
vhrno : $P.$find("vhrno").val(),

@ -5,7 +5,7 @@
<div class="d-flex flex-row justify-content-evenly" data-doctx="${pageName}">
<div class="card">
<form name="frmEdit">
<input id="crdnId--${pageName}" name="crdnId" type="hidden" data-map="CRDN_ID" />
<input name="crdnId" type="hidden" data-map="CRDN_ID" />
<div class="row g-1">
<div class="col-md-4">
@ -80,7 +80,7 @@
</select>
</div>
<div class="col-md-6" name="pageNavArea">
<input type="text" id="countStauts--${pageName}" name="countStauts"
<input type="text" name="countStauts"
class="form-control w-px-150 text-center fw-bold" readonly />
<button type="button" iname="btnPrev" class="w-px-50 btn-PageUp">◀</button>
<button type="button" name="btnNext" class="w-px-50 btn-PageDown">▶</button>

@ -39,21 +39,21 @@
</span>
</div>
<div class="col-6">
<label class="form-label fw-bold form-search-title w-px-120 text-end" for="schCvlcptRcptYmdFrom--${pageName}">접수일자</label>
<span class="form-label fw-bold form-search-title w-px-120 text-end">접수일자</span>
<span class="form-search-linebox">
<input type="text" id="schCvlcptRcptYmdFrom--${pageName}" name="schCvlcptRcptYmdFrom"
<input type="text" name="schCvlcptRcptYmdFrom"
class="form-control form-date"
data-fmt-type="day" title="시작 날짜 선택" />
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
~
<input type="text" id="schCvlcptRcptYmdTo--${pageName}" name="schCvlcptRcptYmdTo"
<input type="text" name="schCvlcptRcptYmdTo"
class="form-control form-date"
data-fmt-type="day" title="종료 날짜 선택">
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
</span>
</div>
<div class="col-6">
<label class="form-label fw-bold form-search-title w-px-120 text-end" for="cvlcptPrcsCd--${pageName}">처리구분</label>
<label for="cvlcptPrcsCd--${pageName}" class="form-label fw-bold form-search-title w-px-120 text-end">처리구분</label>
<select id="cvlcptPrcsCd--${pageName}" name="cvlcptPrcsCd" class="form-select w-px-160">
<option value="">전체</option>
<c:forEach items="${FIM017List}" var="item">
@ -64,14 +64,14 @@
</select>
</div>
<div class="col-6">
<label class="form-label fw-bold form-search-title w-px-120 text-end" for="schCvlcptPrcsPrnmntDtFrom--${pageName}">처리기한</label>
<span class="form-label fw-bold form-search-title w-px-120 text-end">처리기한</span>
<span class="form-search-linebox">
<input type="text" id="schCvlcptPrcsPrnmntDtFrom--${pageName}" name="schCvlcptPrcsPrnmntDtFrom"
<input type="text" name="schCvlcptPrcsPrnmntDtFrom"
class="form-control form-date"
data-fmt-type="day" title="시작 날짜 선택" />
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
~
<input type="text" id="schCvlcptPrcsPrnmntDtTo--${pageName}" name="schCvlcptPrcsPrnmntDtTo"
<input type="text" name="schCvlcptPrcsPrnmntDtTo"
class="form-control form-date"
data-fmt-type="day" title="종료 날짜 선택">
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
@ -97,16 +97,16 @@
<div name="searchDetail" class="container-search container-search-detail collapse">
<div class="row">
<div class="col-6">
<select class="form-select w-px-120 text-center" id="schRegDateOpt--${pageName}" name="schRegDateOpt">
<select class="form-select w-px-120 text-center" name="schRegDateOpt">
<option value="regDt">등록일자</option>
<option value="mdfcnDt">수정일자</option>
</select>
<span class="form-search-linebox">
<input type="text" class="form-control form-date" id="schRegDateFrom--${pageName}" name="schRegDateFrom"
<input type="text" class="form-control form-date" name="schRegDateFrom"
data-fmt-type="day" title="시작 날짜 선택" />
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
~
<input type="text" class="form-control form-date" id="schRegDateTo--${pageName}" name="schRegDateTo"
<input type="text" class="form-control form-date" name="schRegDateTo"
data-fmt-type="day" title="종료 날짜 선택">
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
</span>
@ -157,7 +157,7 @@
<tr data-search-target="[data-doctx='${pageName}']">
<th style="width: 80px;">No.</th>
<th style="width: 60px;">
<input type="checkbox" id="gridAllCheckbox--${pageName}"
<input type="checkbox" name="gridAllCheckbox"
onchange="pageObject['${pageName}'].checkCrdnList(this, this.checked);" />
</th>
<th onclick="searchFromGridTitle('CVLCPT_RCPT_NO',this.innerText,'match','part');"

@ -5,8 +5,8 @@
<div class="d-flex flex-row justify-content-evenly" data-doctx="${pageName}">
<div class="card">
<form name="frmEdit">
<input id="crdnId--${pageName}" name="crdnId" type="hidden" data-map="CRDN_ID" />
<input id="cvlcptLinkId--${pageName}" name="cvlcptLinkId" type="hidden" data-map="CVLCPT_LINK_ID" />
<input name="crdnId" type="hidden" data-map="CRDN_ID" />
<input name="cvlcptLinkId" type="hidden" data-map="CVLCPT_LINK_ID" />
<div class="row g-1">
<div class="col-md-6">
@ -16,7 +16,7 @@
</label>
</div>
<div class="col-md-6 text-end">
<input type="text" id="countStauts--${pageName}" name="countStauts"
<input type="text" name="countStauts"
class="form-control w-px-150 text-center fw-bold" readonly />
<button type="button" name="btnPrev" class="w-px-50 btn-PageUp">◀</button>
<button type="button" name="btnNext" class="w-px-50 btn-PageDown">▶</button>

@ -36,14 +36,14 @@
</span>
</div>
<div class="col-6">
<label class="form-label fw-bold form-search-title w-px-120 text-end" for="schCvlcptRcptYmdFrom--${pageName}">접수일자</label>
<span class="form-label fw-bold form-search-title w-px-120 text-end">접수일자</span>
<span class="form-search-linebox">
<input type="text" id="schCvlcptRcptYmdFrom--${pageName}" name="schCvlcptRcptYmdFrom"
<input type="text" name="schCvlcptRcptYmdFrom"
class="form-control form-date"
data-fmt-type="day" title="시작 날짜 선택" />
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
~
<input type="text" id="schCvlcptRcptYmdTo--${pageName}" name="schCvlcptRcptYmdTo"
<input type="text" name="schCvlcptRcptYmdTo"
class="form-control form-date"
data-fmt-type="day" title="종료 날짜 선택">
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
@ -53,18 +53,18 @@
<button type="button" class="w-px-120" onclick="pageObject.${pageName}.$find('cvlcptPrcsPicNm').val('${currentUserName}');">
담당자명 지정
</button>
<input type="text" id="cvlcptPrcsPicNm--${pageName}" name="cvlcptPrcsPicNm"
<input type="text" name="cvlcptPrcsPicNm"
class="form-control" />
</div>
<div class="col-6">
<label class="form-label fw-bold form-search-title w-px-120 text-end" for="schCvlcptPrcsPrnmntDtFrom--${pageName}">처리기한</label>
<span class="form-label fw-bold form-search-title w-px-120 text-end">처리기한</span>
<span class="form-search-linebox">
<input type="text" id="schCvlcptPrcsPrnmntDtFrom--${pageName}" name="schCvlcptPrcsPrnmntDtFrom"
<input type="text" name="schCvlcptPrcsPrnmntDtFrom"
class="form-control form-date"
data-fmt-type="day" title="시작 날짜 선택" />
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
~
<input type="text" id="schCvlcptPrcsPrnmntDtTo--${pageName}" name="schCvlcptPrcsPrnmntDtTo"
<input type="text" name="schCvlcptPrcsPrnmntDtTo"
class="form-control form-date"
data-fmt-type="day" title="종료 날짜 선택">
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
@ -90,16 +90,16 @@
<div name="searchDetail" class="container-search container-search-detail collapse">
<div class="row">
<div class="col-6">
<select class="form-select w-px-120 text-center" id="schRegDateOpt--${pageName}" name="schRegDateOpt">
<select class="form-select w-px-120 text-center" name="schRegDateOpt">
<option value="regDt">등록일자</option>
<option value="mdfcnDt">수정일자</option>
</select>
<span class="form-search-linebox">
<input type="text" class="form-control form-date" id="schRegDateFrom--${pageName}" name="schRegDateFrom"
<input type="text" class="form-control form-date" name="schRegDateFrom"
data-fmt-type="day" title="시작 날짜 선택" />
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
~
<input type="text" class="form-control form-date" id="schRegDateTo--${pageName}" name="schRegDateTo"
<input type="text" class="form-control form-date" name="schRegDateTo"
data-fmt-type="day" title="종료 날짜 선택">
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
</span>

@ -33,14 +33,14 @@
</span>
</div>
<div class="col-6">
<label class="form-label fw-bold form-search-title w-px-120 text-end" for="schDmndYmdFrom--${pageName}">요청일자</label>
<span class="form-label fw-bold form-search-title w-px-120 text-end">요청일자</span>
<span class="form-search-linebox">
<input type="text" id="schDmndYmdFrom--${pageName}" name="schDmndYmdFrom"
<input type="text" name="schDmndYmdFrom"
class="form-control form-date"
data-fmt-type="day" title="시작 날짜 선택" />
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
~
<input type="text" id="schDmndYmdTo--${pageName}" name="schDmndYmdTo"
<input type="text" name="schDmndYmdTo"
class="form-control form-date"
data-fmt-type="day" title="종료 날짜 선택">
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
@ -127,16 +127,18 @@
<div class="card">
<div class="row g-1">
<div class="col-md-12">
<label for="rcptYmd--${pageName}"
<label for="rcptYmd--${pageName}" data-ref-doctx="${pageName}"
class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">접수일자</label>
<input type="text" id="rcptYmd--${pageName}" name="rcptYmd"
data-ref-doctx="${pageName}"
class="form-control form-date" required data-fmt-type="day" />
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
</div>
<div class="col-md-12">
<label for="pstNo--${pageName}"
<label for="pstNo--${pageName}" data-ref-doctx="${pageName}"
class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">목록번호</label>
<input type="text" id="pstNo--${pageName}" name="pstNo" class="form-control"
data-ref-doctx="${pageName}"
required maxlength="6" data-maxlengthb="6" data-fmt-type="zeroLpadNumber" />
</div>
</div>
@ -154,8 +156,6 @@
</template>
</div>
<script>
/**************************************************************************
@ -412,9 +412,9 @@ $(document).ready(function(){
//요청 등록
$P.fnCreateDmnd = () => {
if(!customValidate($P.$find("frmEdit").find("input"))) return;
if(!customValidate($("#seallDmndDialog--${pageName}").find("[name='frmEdit']").find("input"))) return;
var info = (new FimsFormFields($P.selector("frmEdit"))).get();
var info = (new FimsFormFields("#seallDmndDialog--${pageName} form[name='frmEdit']")).get();
info.taskSeCd = $P.$find("frmSearch").find("input[name='taskSeCd']:checked").val();
ajax.get({

@ -213,9 +213,9 @@
<div class="row g-1 h-px-400 oy-auto border-separator-b">
<div class="col-12">
<form name="frmEditAnsBody">
<input type="hidden" id="ansRsnCd--${pageName}" name="ansRsnCd" />
<input type="hidden" id="dstrbncYn--${pageName}" name="dstrbncYn" />
<input type="hidden" id="ansWordsId--${pageName}" name="ansWordsId" />
<input type="hidden" name="ansRsnCd" />
<input type="hidden" name="dstrbncYn" />
<input type="hidden" name="ansWordsId" />
<label for="prcsRsltCn--${pageName}"
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-center">
답변내용

@ -73,8 +73,8 @@
<div class="row g-1 h-px-400 border-separator-b oy-auto">
<div class="col-12">
<form name="frmEditWarningWords">
<input type="hidden" id="ansRsnCd--${pageName}" name="ansRsnCd" />
<input type="hidden" id="ansWordsId--${pageName}" name="ansWordsId" />
<input type="hidden" name="ansRsnCd" />
<input type="hidden" name="ansWordsId" />
<label for="mailTtlNm--${pageName}"
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-center">제목</label>
<input type="text" id="mailTtlNm--${pageName}" name="mailTtlNm" required

@ -1008,7 +1008,7 @@
$P.control.setData([${crdnPayerInfo}]); // 단속, 납부자 정보
// 4. 사진영역 설정
settingPhotoMain("${pageName}", "crdnId--${pageName}"
settingPhotoMain("${pageName}", document.getElementById("crdnId--${pageName}")
, function() {
return {
vhrno: $("#vhrno--${pageName}").val()

@ -134,9 +134,36 @@ class IdInput extends HTMLInputElement {
if(doctx != null){
this.setAttribute("data-ref-doctx", doctx);
this.id = this.getAttribute("name")+"--"+doctx;
if(this.hasAttribute("list") && this.getAttribute("list").indexOf("--") == -1){
this.setAttribute("list",this.getAttribute("list")+"--"+doctx);
}
}
}
}
}
customElements.define("id-input", IdInput, { extends: "input" });
/**************************************************************************
* name과 doctx로 id를 생성하는 DATALIST
**************************************************************************/
class IdDataList extends HTMLDataListElement {
constructor() {
super();
}
connectedCallback(){
if(this.isConnected){
let doctx = this.getAttribute("data-ref-doctx");
if(doctx == null){
doctx = this.detectDoctx();
}
if(doctx != null){
this.setAttribute("data-ref-doctx", doctx);
this.id = this.getAttribute("name")+"--"+doctx;
}
}
}
}
customElements.define("id-datalist", IdDataList, { extends: "datalist" });

@ -1,6 +1,6 @@
LoadScript("sortableScript","/webjars/3rd-party/sneat/libs/sortablejs/sortable.js");
function settingPhotoMain(pageName, crdnIdElementId, carInfoFunc, carLinkFunc){
function settingPhotoMain(pageName, crdnIdElement, carInfoFunc, carLinkFunc){
var $P = pageObject[pageName];
@ -26,7 +26,7 @@ function settingPhotoMain(pageName, crdnIdElementId, carInfoFunc, carLinkFunc){
});
//동영상캡쳐버튼
$("#btnOpenVideoCapture--"+pageName).on('click', () => {
var crdnId = $("#"+crdnIdElementId).val();
var crdnId = $(crdnIdElement).val();
var popupWidth = 1800;
var popupHeight = 950;
@ -217,7 +217,7 @@ function settingPhotoMain(pageName, crdnIdElementId, carInfoFunc, carLinkFunc){
$P.updateFileInfo = (flag) => {
var formData = new FormData(document.getElementById("frmFile--"+pageName));
formData.append("crdnId", $("#"+crdnIdElementId).val());
formData.append("crdnId", $(crdnIdElement).val());
formData.append("atchFileCnt", $P.existFileArr.length);
var fileProcessingURL = "";
@ -273,7 +273,7 @@ function settingPhotoMain(pageName, crdnIdElementId, carInfoFunc, carLinkFunc){
success : (resp) => {
if(resp.saved){
var crdnId = $("#"+crdnIdElementId).val();
var crdnId = $(crdnIdElement).val();
ajax.post({
url : wctx.url("file/list.do"),
data : {

Loading…
Cancel
Save