1. 단속처리상태 수정 기능 수정.

2. 기타 수정.
main
jjh 5 months ago
parent e82e4caebe
commit 1d8412055f

@ -315,7 +315,8 @@ public class Crdn06Controller extends ApplicationController {
return mav return mav
.addObject("openerPageName", hReq.getParameter("openerPageName")) // 호출한 Jsp PageName .addObject("openerPageName", hReq.getParameter("openerPageName")) // 호출한 Jsp PageName
.addObject("pageName", "crdn06020") // jsp pageName .addObject("pageName", "crdn06020") // jsp pageName
.addObject("infoPrefixUrl", "/crdn/crdn06") // prefixUrl .addObject("infoPrefix", "crdn") // prefix
.addObject("infoPrefixUrl", CLASS_URL) // prefixUrl
.addObject("crdnInfo", json ? crdnInfo : toJson(crdnInfo)) .addObject("crdnInfo", json ? crdnInfo : toJson(crdnInfo))
; ;
} }
@ -366,9 +367,10 @@ public class Crdn06Controller extends ApplicationController {
return mav return mav
.addObject("openerPageName", hReq.getParameter("openerPageName")) // 호출한 Jsp PageName .addObject("openerPageName", hReq.getParameter("openerPageName")) // 호출한 Jsp PageName
.addObject("pageName", "crdn06030") // jsp pageName .addObject("pageName", "crdn06030") // jsp pageName
.addObject("infoPrefixUrl", "/crdn/crdn06") // prefixUrl .addObject("infoPrefix", "crdnSttsCd") // prefix
.addObject("infoPrefixUrl", CLASS_URL) // prefixUrl
.addObject("FIM010List", commonCodes.get("FIM010")) // 단속 처리 상태 코드(CRDN_STTS_CD) .addObject("FIM010List", commonCodes.get("FIM010")) // 단속 처리 상태 코드(CRDN_STTS_CD)
.addObject("crdnInfo", json ? crdnInfo : toJson(crdnInfo)) .addObject("crdnSttsCdInfo", json ? crdnInfo : toJson(crdnInfo))
; ;
} }

@ -772,7 +772,6 @@ public class Sndb01Controller extends ApplicationController {
.addObject("sggCd", req.getSggCd()) // 시군구 코드(SGG_CD) .addObject("sggCd", req.getSggCd()) // 시군구 코드(SGG_CD)
.addObject("taskSeCd", req.getTaskSeCd()) // 업무 구분 코드(TASK_SE_CD) .addObject("taskSeCd", req.getTaskSeCd()) // 업무 구분 코드(TASK_SE_CD)
.addObject("sndngId", req.getSndngId()) // 발송 ID(SNDNG_ID) .addObject("sndngId", req.getSndngId()) // 발송 ID(SNDNG_ID)
.addObject("mainQuery", toJson(req)) // 검색 조건
.addObject("advntceSndngDtlList", toJson(mav.getModel().get("advntceSndngDtlList"))) // 자료 .addObject("advntceSndngDtlList", toJson(mav.getModel().get("advntceSndngDtlList"))) // 자료
; ;
} }
@ -1158,7 +1157,6 @@ public class Sndb01Controller extends ApplicationController {
.addObject("sggCd", req.getSggCd()) // 시군구 코드(SGG_CD) .addObject("sggCd", req.getSggCd()) // 시군구 코드(SGG_CD)
.addObject("taskSeCd", req.getTaskSeCd()) // 업무 구분 코드(TASK_SE_CD) .addObject("taskSeCd", req.getTaskSeCd()) // 업무 구분 코드(TASK_SE_CD)
.addObject("sndngId", req.getSndngId()) // 발송 ID(SNDNG_ID) .addObject("sndngId", req.getSndngId()) // 발송 ID(SNDNG_ID)
.addObject("mainQuery", toJson(req)) // 검색 조건
.addObject("nhtSndngDtlList", toJson(mav.getModel().get("nhtSndngDtlList"))) // 자료 .addObject("nhtSndngDtlList", toJson(mav.getModel().get("nhtSndngDtlList"))) // 자료
; ;
} }

@ -4,18 +4,18 @@
<c:set var="prefixName" scope="request">단속자료 수정</c:set> <c:set var="prefixName" scope="request">단속자료 수정</c:set>
<!-- inner page html --> <!-- inner page html -->
<div class="content-wrapper"> <div class="content-pop">
<!-- Content --> <!-- Content -->
<div class="container-xxl flex-grow-1 px-0"> <div class="container-xxl flex-grow-1 px-0">
<!-- Page Body --> <!-- Page Body -->
<div class="card"> <div class="card">
<!-- 입력 영역 --> <!-- 입력 영역 -->
<form id="frmEdit--${pageName}" name="frmEdit"> <form id="frmEdit--${pageName}" name="frmEdit">
<!-- hidden --> <!-- hidden -->
<input type="hidden" id="crdnId--${pageName}" name="crdnId" data-map="CRDN_ID" />
<input type="hidden" id="sggCd--${pageName}" name="sggCd" data-map="SGG_CD" /> <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="taskSeCd--${pageName}" name="taskSeCd" data-map="TASK_SE_CD" />
<input type="hidden" id="crdnId--${pageName}" name="crdnId" data-map="CRDN_ID" />
<div class="row g-1"> <div class="row g-1">
<!-- 단속 일자 --> <!-- 단속 일자 -->
@ -39,16 +39,12 @@
<div class="col-md-6"> <div class="col-md-6">
<label for="vhrno--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">차량번호</label> <label for="vhrno--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">차량번호</label>
<input type="text" id="vhrno--${pageName}" name="vhrno" class="form-control w-30" data-map="VHRNO" /> <input type="text" id="vhrno--${pageName}" name="vhrno" class="form-control w-30" data-map="VHRNO" />
<button type="button" id="btnVehicle--${pageName}" class="btn btn-sm btn-outline-dark" title="차량 검색"> <button type="button" id="btnVehicle--${pageName}" class="btn btn-sm btn-outline-dark" title="차량 검색">조회</button>
조회
</button>
</div> </div>
<!-- 위반 내용 --> <!-- 위반 내용 -->
<div class="col-md-6"> <div class="col-md-6">
<label for="vltnCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end"> <label for="vltnCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">위반내용</label>
위반내용 <select class="form-select w-px-160" id="vltnCd--${pageName}" name="vltnCd" data-map="VLTN_CD">
</label>
<select class="form-select" id="vltnCd--${pageName}" name="vltnCd" data-map="VLTN_CD">
<c:forEach items="${VLTNList}" var="item"> <c:forEach items="${VLTNList}" var="item">
<option value="${item.code}">${item.value}</option> <option value="${item.code}">${item.value}</option>
</c:forEach> </c:forEach>
@ -56,10 +52,7 @@
</div> </div>
<!-- 법정동 --> <!-- 법정동 -->
<div class="col-md-6 select2-primary"> <div class="col-md-6 select2-primary">
<label for="crdnStdgNm--${pageName}" <label for="crdnStdgNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">법정동</label>
class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">
법정동
</label>
<input type="text" id="crdnStdgNm--${pageName}" name="crdnStdgNm" <input type="text" id="crdnStdgNm--${pageName}" name="crdnStdgNm"
class="form-control w-40" data-map="CRDN_STDG_NM" list="stdgNmList--${pageName}" /> class="form-control w-40" data-map="CRDN_STDG_NM" list="stdgNmList--${pageName}" />
<datalist id="stdgNmList--${pageName}"> <datalist id="stdgNmList--${pageName}">
@ -70,19 +63,13 @@
</div> </div>
<!-- 도로명 --> <!-- 도로명 -->
<div class="col-md-6 select2-primary"> <div class="col-md-6 select2-primary">
<label for="crdnRoadNm--${pageName}" <label for="crdnRoadNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">도로명</label>
class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">
도로명
</label>
<input type="text" id="crdnRoadNm--${pageName}" name="crdnRoadNm" <input type="text" id="crdnRoadNm--${pageName}" name="crdnRoadNm"
class="form-control w-40" data-map="CRDN_ROAD_NM" /> class="form-control w-40" data-map="CRDN_ROAD_NM" />
</div> </div>
<!-- 단속 장소 --> <!-- 단속 장소 -->
<div class="col-md-12"> <div class="col-md-12">
<label for="crdnPlc--${pageName}" <label for="crdnPlc--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">단속장소</label>
class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">
단속장소
</label>
<input type="text" id="crdnPlc--${pageName}" name="crdnPlc" <input type="text" id="crdnPlc--${pageName}" name="crdnPlc"
class="form-control w-80" data-map="CRDN_PLC" data-maxlengthb="200" /> class="form-control w-80" data-map="CRDN_PLC" data-maxlengthb="200" />
</div> </div>
@ -90,10 +77,7 @@
<div class="col-md-12" slot="edit"> <div class="col-md-12" slot="edit">
<template class="bpv"> <template class="bpv">
<slot> <slot>
<label for="dtlCrdnPlc--${pageName}" <label for="dtlCrdnPlc--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">상세단속장소</label>
class="w-px-120 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"
class="form-control w-80" data-map="DTL_CRDN_PLC" data-maxlenghb="200" /> class="form-control w-80" data-map="DTL_CRDN_PLC" data-maxlenghb="200" />
</slot> </slot>
@ -102,10 +86,7 @@
<div class="col-md-6" slot="edit"> <div class="col-md-6" slot="edit">
<template class="pvs"> <template class="pvs">
<slot> <slot>
<label for="crdnSpareaCd--${pageName}" <label for="crdnSpareaCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">특별구역</label>
class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">
특별구역
</label>
<select id="crdnSpareaCd--${pageName}" name="crdnSpareaCd" <select id="crdnSpareaCd--${pageName}" name="crdnSpareaCd"
class="form-select" data-map="CRDN_SPAREA_CD"> class="form-select" data-map="CRDN_SPAREA_CD">
<c:forEach items="${FIM007List}" var="item"> <c:forEach items="${FIM007List}" var="item">
@ -129,42 +110,30 @@
</div> </div>
<!-- 기타 내용 --> <!-- 기타 내용 -->
<div class="col-md-12"> <div class="col-md-12">
<label for="etcCn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end"> <label for="etcCn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">특기사항</label>
특기사항
</label>
<input type="text" id="etcCn--${pageName}" name="etcCn" <input type="text" id="etcCn--${pageName}" name="etcCn"
class="form-control w-80" data-map="ETC_CN" data-maxlengthb="1000" /> class="form-control w-80" data-map="ETC_CN" data-maxlengthb="1000" />
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<label for="vin--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end"> <label for="vin--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">차대번호</label>
차대번호
</label>
<input type="text" id="vin--${pageName}" name="vin" <input type="text" id="vin--${pageName}" name="vin"
class="form-control" data-map="VIN" readonly placeholder="입력항목이 아닙니다." /> class="form-control" data-map="VIN" readonly placeholder="입력항목이 아닙니다." />
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<label for="vhclNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end"> <label for="vhclNm--${pageName}" class="w-px-120 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"
class="form-control" data-map="VHCL_NM" readonly placeholder="입력항목이 아닙니다." /> class="form-control" data-map="VHCL_NM" readonly placeholder="입력항목이 아닙니다." />
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
<label for="vhclColor--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end"> <label for="vhclColor--${pageName}" class="w-px-120 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"
class="form-control" data-map="VHCL_COLOR" readonly placeholder="입력항목이 아닙니다." /> class="form-control" data-map="VHCL_COLOR" readonly 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-120 bg-lighter pe-2 col-form-label text-sm-end">차종</label>
class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end"> <select id="ffnlgCarmdlCd--${pageName}" name="ffnlgCarmdlCd" class="form-select" data-map="FFNLG_CARMDL_CD">
차종
</label>
<select id="ffnlgCarmdlCd--${pageName}" name="ffnlgCarmdlCd"
class="form-select" data-map="FFNLG_CARMDL_CD">
<option value=""></option> <option value=""></option>
<c:forEach items="${FIM009List}" var="item"> <c:forEach items="${FIM009List}" var="item">
<option value="${item.code}">${item.value}</option> <option value="${item.code}">${item.value}</option>
@ -176,12 +145,8 @@
<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-120 bg-lighter pe-2 col-form-label text-sm-end">연료구분</label>
class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end"> <select id="useFuelCd--${pageName}" class="form-select" name="useFuelCd" data-map="USE_FUEL_CD" disabled>
연료구분
</label>
<select id="useFuelCd--${pageName}"
class="form-select" name="useFuelCd" data-map="USE_FUEL_CD" disabled>
<option value=""></option> <option value=""></option>
<c:forEach items="${LVS005List}" var="item"> <c:forEach items="${LVS005List}" var="item">
<option value="${item.code}">${item.value}</option> <option value="${item.code}">${item.value}</option>
@ -193,10 +158,8 @@
<div class="col-md-6" slot="edit"> <div class="col-md-6" 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-120 bg-lighter pe-2 col-form-label text-sm-end">견인지시</label>
class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">견인지시</label> <select id="towngYn--${pageName}" name="towngYn" class="form-select w-px-120" data-map="TOWNG_YN">
<select id="towngYn--${pageName}" name="towngYn"
class="form-select" data-map="TOWNG_YN">
<c:forEach items="${FIM053List}" var="item"> <c:forEach items="${FIM053List}" var="item">
<option value="${item.code}">${item.value}</option> <option value="${item.code}">${item.value}</option>
</c:forEach> </c:forEach>
@ -207,10 +170,7 @@
<div class="col-md-6" slot="edit"> <div class="col-md-6" 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-120 bg-lighter pe-2 col-form-label text-sm-end">스티커번호</label>
class="w-px-120 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"
class="form-control" data-map="CRDN_SN" maxlength="20" data-maxlengthb="20" /> class="form-control" data-map="CRDN_SN" maxlength="20" data-maxlengthb="20" />
</slot> </slot>
@ -219,12 +179,8 @@
<div class="col-md-6" slot="edit"> <div class="col-md-6" slot="edit">
<template class="dpv"> <template class="dpv">
<slot> <slot>
<label for="parkngPsbltyRsltCd--${pageName}" <label for="parkngPsbltyRsltCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">장애차량확인</label>
class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end"> <select id="parkngPsbltyRsltCd--${pageName}" name="parkngPsbltyRsltCd" class="form-select w-px-120" data-map="PARKNG_PSBLTY_RSLT_CD">
장애차량확인
</label>
<select id="parkngPsbltyRsltCd--${pageName}" name="parkngPsbltyRsltCd"
class="form-select" data-map="PARKNG_PSBLTY_RSLT_CD">
<c:forEach items="${FIM034List}" var="item"> <c:forEach items="${FIM034List}" var="item">
<c:if test="${item.code == '0' or item.code == '1'}"> <c:if test="${item.code == '0' or item.code == '1'}">
<option value="${item.code}">${item.value}</option> <option value="${item.code}">${item.value}</option>
@ -236,25 +192,26 @@
</div> </div>
</div> </div>
</form> </form>
<!-- /입력 영역 --> <!-- 입력 영역 -->
</div>
<!-- <div class="card"> -->
<!-- 업무 버튼 표시 --> <!-- 업무 버튼 및 건수 표시 -->
<div> <div>
<span class="container-page-btn"> <span class="container-page-btn">
<span class="container-window-btn-right">
<!-- 업무 버튼 --> <!-- 업무 버튼 -->
<span class="container-window-btn-right">
<button type="button" id="btnSave--${pageName}" class="btn btn-primary w-px-80" title="저장"> <button type="button" id="btnSave--${pageName}" class="btn btn-primary w-px-80" title="저장">
저장 저장
</button> </button>
</span> </span>
</span> </span>
</div> </div> <!-- 업무 버튼 및 건수 표시 -->
<!-- / 업무 버튼 표시 --> </div> <!-- <div class="card"> -->
<!-- Page Body -->
</div> <!-- / Content <div class="container-xxl flex-grow-1 px-0"> --> </div> <!-- <div class="container flex-grow-1 px-0"> -->
</div> <!-- / inner page html <div class="content-wrapper"> --> <!-- Content -->
</div>
<!-- / inner page html <div class="content-pop"> -->
<script> <script>
/************************************************************************** /**************************************************************************

@ -4,28 +4,24 @@
<c:set var="prefixName" scope="request">단속 상태 정보</c:set> <c:set var="prefixName" scope="request">단속 상태 정보</c:set>
<!-- inner page html --> <!-- inner page html -->
<div class="content-wrapper"> <div class="content-pop">
<!-- Content --> <!-- Content -->
<div class="container-xxl flex-grow-1 px-0"> <div class="container-xxl flex-grow-1 px-0">
<!-- Page Body --> <!-- Page Body -->
<div class="card"> <div class="card">
<!-- 입력 영역 --> <!-- 입력 영역 -->
<form id="frmEdit--${pageName}" name="frmEdit"> <form id="frmEdit--${pageName}" name="frmEdit">
<!-- hidden --> <!-- hidden -->
<input type="hidden" id="crdnId--${pageName}" name="crdnId" data-map="CRDN_ID" />
<input type="hidden" id="sggCd--${pageName}" name="sggCd" data-map="SGG_CD" /> <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="taskSeCd--${pageName}" name="taskSeCd" data-map="TASK_SE_CD" />
<input type="hidden" id="crdnId--${pageName}" name="crdnId" data-map="CRDN_ID" />
<div class="row g-1"> <div class="row g-1">
<!-- 단속 처리 상태 코드 --> <!-- 단속 처리 상태 코드 -->
<div class="col-md-12"> <div class="col-md-12">
<label for="crdnSttsCd--${pageName}" <label for="crdnSttsCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">처리상태</label>
class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required"> <select id="crdnSttsCd--${pageName}" name="crdnSttsCd" class="form-select" data-map="CRDN_STTS_CD" required>
처리 상태
</label>
<select id="crdnSttsCd--${pageName}" name="crdnSttsCd"
class="form-select" data-map="CRDN_STTS_CD" required>
<option value="">선택하세요</option> <option value="">선택하세요</option>
<c:forEach items="${FIM010List}" var="item"> <c:forEach items="${FIM010List}" var="item">
<option value="${item.code}">${item.value}</option> <option value="${item.code}">${item.value}</option>
@ -34,31 +30,31 @@
</div> </div>
<!-- 기타 내용 --> <!-- DB에 등록할 때 문구가 추가로 붙기 때문에 data-maxlengthb="940" 으로 지정 --> <!-- 기타 내용 --> <!-- DB에 등록할 때 문구가 추가로 붙기 때문에 data-maxlengthb="940" 으로 지정 -->
<div class="col-md-12"> <div class="col-md-12">
<label for="etcCn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end"> <label for="etcCn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">기타내용</label>
기타 내용 <input type="text" class="form-control w-85" id="etcCn--${pageName}" name="etcCn" data-maxlengthb="940" />
</label>
<input type="text" id="etcCn--${pageName}" name="etcCn"
class="form-control w-85" data-maxlengthb="940" />
</div> </div>
</div> </div>
</form> <!-- /입력 영역 --> </form>
</div> <!-- <div class="card"> --> <!-- 입력 영역 -->
<!-- 업무 버튼 표시 --> <!-- 업무 버튼 및 건수 표시 -->
<div> <div>
<span class="container-page-btn"> <span class="container-page-btn">
<span class="container-window-btn-right">
<!-- 업무 버튼 --> <!-- 업무 버튼 -->
<span class="container-window-btn-right">
<button type="button" id="btnSave--${pageName}" class="btn btn-primary w-px-80" title="저장"> <button type="button" id="btnSave--${pageName}" class="btn btn-primary w-px-80" title="저장">
저장 저장
</button> </button>
</span> </span>
</span> </span>
</div> </div> <!-- 업무 버튼 및 건수 표시 -->
<!-- / 업무 버튼 표시 --> </div> <!-- <div class="card"> -->
<!-- Page Body -->
</div> <!-- / Content <div class="container-xxl flex-grow-1 px-0"> --> </div> <!-- <div class="container flex-grow-1 px-0"> -->
</div> <!-- / inner page html <div class="content-wrapper"> --> <!-- Content -->
</div>
<!-- / inner page html <div class="content-pop"> -->
<script> <script>
/************************************************************************** /**************************************************************************
@ -85,7 +81,7 @@
prefix: "crdnSttsCd" prefix: "crdnSttsCd"
, prefixName: "단속처리상태" , prefixName: "단속처리상태"
, keymapper: info => info ? info.CRDN_ID : "" , keymapper: info => info ? info.CRDN_ID : ""
, dataGetter: obj => obj.crdnInfo , dataGetter: obj => obj.${infoPrefix}Info
}); });
/************************************************************************** /**************************************************************************
@ -108,8 +104,8 @@
let showMessage = resp.rtnMsg.replace(/[S]|[F]/g, dialogTitle); let showMessage = resp.rtnMsg.replace(/[S]|[F]/g, dialogTitle);
dialog.alert({ dialog.alert({
content : showMessage content: showMessage
, init : function(){ , init: function() {
setDialogZindex(); setDialogZindex();
focusClose(); focusClose();
} }
@ -148,10 +144,9 @@
if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return;
dialog.alert({ dialog.alert({
content : "현재 " + $P.control.prefixName + " 정보를 저장하시겠습니까?" content: "현재 " + $P.control.prefixName + " 정보를 저장하시겠습니까?"
, init : function() { , init: function() { focusOK(); }
focusOK(); , onOK: () => {
}, onOK : () => {
$P.control.save($P.formFields.get()); // formFields $P.control.save($P.formFields.get()); // formFields
} }
}); });
@ -168,7 +163,7 @@
// 초기 화면 설정 // 초기 화면 설정
$P.initForm = () => { $P.initForm = () => {
//
} }
/************************************************************************** /**************************************************************************
@ -181,7 +176,7 @@
$P.initForm(); $P.initForm();
// 3. Dataset 설정 // 3. Dataset 설정
$P.control.setData([${crdnInfo}]); $P.control.setData([${crdnSttsCdInfo}]);
}); });
</script> </script>

@ -9,8 +9,7 @@
<div class="container-xxl flex-grow-1 px-0"> <div class="container-xxl flex-grow-1 px-0">
<!-- Page Body --> <!-- Page Body -->
<div class="card"> <div class="card wrapper-list">
<div class="wrapper-list">
<!-- 상단 버튼 --> <!-- 상단 버튼 -->
<div class="container-page-btn"> <div class="container-page-btn">
<button type="button" class="btn btn-outline-dark w-px-120" id="btnReset--${pageName}" title="초기화"> <button type="button" class="btn btn-outline-dark w-px-120" id="btnReset--${pageName}" title="초기화">
@ -184,8 +183,7 @@
</div> </div>
</div> </div>
</div> <!-- DataTables(그리드) --> </div> <!-- DataTables(그리드) -->
</div> <!-- <div class="wrapper-list"> --> </div> <!-- <div class="card wrapper-list"> -->
</div> <!-- <div class="card"> -->
<!-- Page Body --> <!-- Page Body -->
</div> <!-- <div class="container-xxl flex-grow-1 px-0"> --> </div> <!-- <div class="container-xxl flex-grow-1 px-0"> -->
<!-- Content --> <!-- Content -->

@ -9,8 +9,7 @@
<div class="container-xxl flex-grow-1 px-0"> <div class="container-xxl flex-grow-1 px-0">
<!-- Page Body --> <!-- Page Body -->
<div class="card"> <div class="card wrapper-list">
<div class="wrapper-list">
<!-- 상단 버튼 --> <!-- 상단 버튼 -->
<div class="container-page-btn"> <div class="container-page-btn">
<button type="button" class="btn btn-outline-dark w-px-120" id="btnReset--${pageName}" title="초기화"> <button type="button" class="btn btn-outline-dark w-px-120" id="btnReset--${pageName}" title="초기화">
@ -272,8 +271,7 @@
</div> </div>
</div> </div>
</div> <!-- DataTables(그리드) --> </div> <!-- DataTables(그리드) -->
</div> <!-- <div class="wrapper-list"> --> </div> <!-- <div class="card wrapper-list"> -->
</div> <!-- <div class="card"> -->
<!-- Page Body --> <!-- Page Body -->
</div> <!-- <div class="container-xxl flex-grow-1 px-0"> --> </div> <!-- <div class="container-xxl flex-grow-1 px-0"> -->
<!-- Content --> <!-- Content -->

@ -9,8 +9,7 @@
<div class="container-xxl flex-grow-1 px-0"> <div class="container-xxl flex-grow-1 px-0">
<!-- Page Body --> <!-- Page Body -->
<div class="card"> <div class="card wrapper-list">
<div class="wrapper-list">
<!-- 상단 버튼 --> <!-- 상단 버튼 -->
<div class="container-page-btn"> <div class="container-page-btn">
<button type="button" class="btn btn-outline-dark w-px-120" id="btnReset--${pageName}" title="초기화"> <button type="button" class="btn btn-outline-dark w-px-120" id="btnReset--${pageName}" title="초기화">
@ -221,8 +220,7 @@
</div> </div>
</div> </div>
</div> <!-- DataTables(그리드) --> </div> <!-- DataTables(그리드) -->
</div> <!-- <div class="wrapper-list"> --> </div> <!-- <div class="card wrapper-list"> -->
</div> <!-- <div class="card"> -->
<!-- Page Body --> <!-- Page Body -->
</div> <!-- <div class="container-xxl flex-grow-1 px-0"> --> </div> <!-- <div class="container-xxl flex-grow-1 px-0"> -->
<!-- Content --> <!-- Content -->

@ -9,8 +9,7 @@
<div class="container-xxl flex-grow-1 px-0"> <div class="container-xxl flex-grow-1 px-0">
<!-- Page Body --> <!-- Page Body -->
<div class="card"> <div class="card wrapper-list">
<div class="wrapper-list">
<!-- 상단 버튼 --> <!-- 상단 버튼 -->
<div class="container-page-btn"> <div class="container-page-btn">
<button type="button" class="btn btn-outline-dark w-px-120" id="btnReset--${pageName}" title="초기화"> <button type="button" class="btn btn-outline-dark w-px-120" id="btnReset--${pageName}" title="초기화">
@ -285,8 +284,7 @@
</div> </div>
</div> </div>
</div> <!-- DataTables(그리드) --> </div> <!-- DataTables(그리드) -->
</div> <!-- <div class="wrapper-list"> --> </div> <!-- <div class="card wrapper-list"> -->
</div> <!-- <div class="card"> -->
<!-- Page Body --> <!-- Page Body -->
</div> <!-- <div class="container-xxl flex-grow-1 px-0"> --> </div> <!-- <div class="container-xxl flex-grow-1 px-0"> -->
<!-- Content --> <!-- Content -->

@ -9,8 +9,7 @@
<div class="container-xxl flex-grow-1 px-0"> <div class="container-xxl flex-grow-1 px-0">
<!-- Page Body --> <!-- Page Body -->
<div class="card"> <div class="card wrapper-list">
<div class="wrapper-list">
<!-- 상단 버튼 --> <!-- 상단 버튼 -->
<div class="container-page-btn"> <div class="container-page-btn">
<button type="button" class="btn btn-outline-dark w-px-120" id="btnReset--${pageName}" title="초기화"> <button type="button" class="btn btn-outline-dark w-px-120" id="btnReset--${pageName}" title="초기화">
@ -334,8 +333,7 @@
</div> </div>
</div> </div>
</div> <!-- DataTables(그리드) --> </div> <!-- DataTables(그리드) -->
</div> <!-- <div class="wrapper-list"> --> </div> <!-- <div class="card wrapper-list"> -->
</div> <!-- <div class="card"> -->
<!-- Page Body --> <!-- Page Body -->
</div> <!-- <div class="container-xxl flex-grow-1 px-0"> --> </div> <!-- <div class="container-xxl flex-grow-1 px-0"> -->
<!-- Content --> <!-- Content -->

@ -9,8 +9,7 @@
<div class="container-xxl flex-grow-1 px-0"> <div class="container-xxl flex-grow-1 px-0">
<!-- Page Body --> <!-- Page Body -->
<div class="card"> <div class="card wrapper-list">
<div class="wrapper-list">
<!-- 상단 버튼 --> <!-- 상단 버튼 -->
<div class="container-page-btn"> <div class="container-page-btn">
<button type="button" class="btn btn-outline-dark w-px-120" id="btnReset--${pageName}" title="초기화"> <button type="button" class="btn btn-outline-dark w-px-120" id="btnReset--${pageName}" title="초기화">
@ -248,8 +247,7 @@
</div> </div>
</div> </div>
</div> <!-- DataTables(그리드) --> </div> <!-- DataTables(그리드) -->
</div> <!-- <div class="wrapper-list"> --> </div> <!-- <div class="card wrapper-list"> -->
</div> <!-- <div class="card"> -->
<!-- Page Body --> <!-- Page Body -->
</div> <!-- <div class="container-xxl flex-grow-1 px-0"> --> </div> <!-- <div class="container-xxl flex-grow-1 px-0"> -->
<!-- Content --> <!-- Content -->

@ -7,10 +7,9 @@
<div class="content-wrapper"> <div class="content-wrapper">
<!-- Content --> <!-- Content -->
<div class="container-xxl flex-grow-1 px-0"> <div class="container-xxl flex-grow-1 px-0">
<!-- Page Body -->
<div class="card">
<div class="wrapper-list"> <!-- Page Body -->
<div class="card wrapper-list">
<!-- 상단 버튼 --> <!-- 상단 버튼 -->
<div class="container-page-btn"> <div class="container-page-btn">
<button type="button" class="btn btn-outline-dark w-px-120" id="btnReset--${pageName}" title="초기화"> <button type="button" class="btn btn-outline-dark w-px-120" id="btnReset--${pageName}" title="초기화">
@ -24,8 +23,7 @@
엑셀 엑셀
</button> </button>
</span> </span>
</div> </div> <!-- 상단 버튼 -->
<!-- / 상단 버튼 -->
<!-- 검색 조건 영역 --> <!-- 검색 조건 영역 -->
<form id="frmSearch--${pageName}" name="frmSearch"> <form id="frmSearch--${pageName}" name="frmSearch">
@ -92,7 +90,7 @@
</span> </span>
</div> </div>
</div> </div>
</div> <!-- / 메인 조건 --> </div> <!-- 메인 조건 -->
<!-- 상세 조건 --> <!-- 상세 조건 -->
<div id="searchDetail--${pageName}" class="container-search container-search-detail collapse"> <div id="searchDetail--${pageName}" class="container-search container-search-detail collapse">
@ -165,10 +163,9 @@
<button type="button" class="btn btn-sm btn-outline-dark" id="btnFindUser--${pageName}" title="사용자 검색">검색</button> <button type="button" class="btn btn-sm btn-outline-dark" id="btnFindUser--${pageName}" title="사용자 검색">검색</button>
</div> </div>
</div> </div>
</div> </div> <!-- 상세 조건 -->
<!-- / 상세 조건 -->
</form> </form>
<!-- / 검색 조건 영역 --> <!-- 검색 조건 영역 -->
<!-- 업무 버튼 및 건수 표시 --> <!-- 업무 버튼 및 건수 표시 -->
<div> <div>
@ -179,8 +176,8 @@
<ul class="pagination pagination-primary" id="paging--${pageName}"> <ul class="pagination pagination-primary" id="paging--${pageName}">
</ul> </ul>
</div> </div>
<span class="container-window-btn-right">
<!-- 업무 버튼 --> <!-- 업무 버튼 -->
<span class="container-window-btn-right">
<button type="button" class="btn btn-primary w-px-120" id="btnCreateSlctnTrgt--${pageName}" title="선택 대상 감경부과 등록"> <button type="button" class="btn btn-primary w-px-120" id="btnCreateSlctnTrgt--${pageName}" title="선택 대상 감경부과 등록">
선택 대상 감경부과 등록 선택 대상 감경부과 등록
</button> </button>
@ -189,8 +186,7 @@
</button> </button>
</span> </span>
</span> </span>
</div> </div> <!-- 업무 버튼 및 건수 표시 -->
<!-- / 업무 버튼 및 건수 표시 -->
<!-- DataTables(그리드) --> <!-- DataTables(그리드) -->
<div class="card-datatable text-nowrap"> <div class="card-datatable text-nowrap">
@ -287,12 +283,11 @@
</table> </table>
</div> </div>
</div> </div>
</div> </div> <!-- DataTables(그리드) -->
<!-- / DataTables(그리드) --> </div> <!-- <div class="card wrapper-list"> -->
</div> <!-- / <div class="wrapper-list"> --> <!-- Page Body -->
</div> <!-- / <div class="card"> --> </div> <!-- <div class="container-xxl flex-grow-1 px-0"> -->
</div> <!-- / <div class="container-xxl flex-grow-1 px-0"> --> <!-- Content -->
<!-- / Content -->
<div class="content-backdrop fade"></div> <div class="content-backdrop fade"></div>
</div> </div>
@ -355,12 +350,12 @@
$P.renderList(obj.${infoPrefix}Total); $P.renderList(obj.${infoPrefix}Total);
$("#paging--${pageName}").setPagingInfo({ $("#paging--${pageName}").setPagingInfo({
list : $P.control.dataset list: $P.control.dataset
, prefix : "paging--${pageName}" , prefix: "paging--${pageName}"
, start : obj.${infoPrefix}Start , start: obj.${infoPrefix}Start
, totalSize : obj.${infoPrefix}Total , totalSize: obj.${infoPrefix}Total
, fetchSize : obj.${infoPrefix}Fetch , fetchSize: obj.${infoPrefix}Fetch
, func : "$P.control.load({index})" , func: "pageObject['${pageName}'].control.load({index})"
}); });
$P.control.tableRenderComplete = true; // dataTables 에 자료 추가 완료 $P.control.tableRenderComplete = true; // dataTables 에 자료 추가 완료

@ -7,10 +7,9 @@
<div class="content-wrapper"> <div class="content-wrapper">
<!-- Content --> <!-- Content -->
<div class="container-xxl flex-grow-1 px-0"> <div class="container-xxl flex-grow-1 px-0">
<!-- Page Body -->
<div class="card">
<div class="wrapper-list"> <!-- Page Body -->
<div class="card wrapper-list">
<!-- 상단 버튼 --> <!-- 상단 버튼 -->
<div class="container-page-btn"> <div class="container-page-btn">
<button type="button" class="btn btn-outline-dark w-px-120" id="btnReset--${pageName}" title="초기화"> <button type="button" class="btn btn-outline-dark w-px-120" id="btnReset--${pageName}" title="초기화">
@ -24,8 +23,7 @@
엑셀 엑셀
</button> </button>
</span> </span>
</div> </div> <!-- 상단 버튼 -->
<!-- / 상단 버튼 -->
<!-- 검색 조건 영역 --> <!-- 검색 조건 영역 -->
<form id="frmSearch--${pageName}" name="frmSearch"> <form id="frmSearch--${pageName}" name="frmSearch">
@ -109,8 +107,7 @@
</span> </span>
</div> </div>
</div> </div>
</div> </div> <!-- 메인 조건 -->
<!-- / 메인 조건 -->
<!-- 상세 조건 --> <!-- 상세 조건 -->
<div id="searchDetail--${pageName}" class="container-search container-search-detail collapse"> <div id="searchDetail--${pageName}" class="container-search container-search-detail collapse">
@ -170,10 +167,9 @@
<button type="button" class="btn btn-sm btn-outline-dark" id="btnFindUser--${pageName}" title="사용자 검색">검색</button> <button type="button" class="btn btn-sm btn-outline-dark" id="btnFindUser--${pageName}" title="사용자 검색">검색</button>
</div> </div>
</div> </div>
</div> </div> <!-- 상세 조건 -->
<!-- / 상세 조건 -->
</form> </form>
<!-- / 검색 조건 영역 --> <!-- 검색 조건 영역 -->
<!-- 업무 버튼 및 건수 표시 --> <!-- 업무 버튼 및 건수 표시 -->
<div> <div>
@ -184,12 +180,11 @@
<ul class="pagination pagination-primary" id="paging--${pageName}"> <ul class="pagination pagination-primary" id="paging--${pageName}">
</ul> </ul>
</div> </div>
<span class="container-window-btn-right">
<!-- 업무 버튼 --> <!-- 업무 버튼 -->
<span class="container-window-btn-right">
</span> </span>
</span> </span>
</div> </div> <!-- 업무 버튼 및 건수 표시 -->
<!-- / 업무 버튼 및 건수 표시 -->
<!-- DataTables(그리드) --> <!-- DataTables(그리드) -->
<div class="card-datatable text-nowrap"> <div class="card-datatable text-nowrap">
@ -330,12 +325,11 @@
</table> </table>
</div> </div>
</div> </div>
</div> </div> <!-- DataTables(그리드) -->
<!-- / DataTables(그리드) --> </div> <!-- <div class="card wrapper-list"> -->
</div> <!-- / Wrapper-list --> <!-- Page Body -->
</div> <!-- / Card --> </div> <!-- <div class="container-xxl flex-grow-1 px-0"> -->
</div> <!-- Content -->
<!-- / Content -->
<div class="content-backdrop fade"></div> <div class="content-backdrop fade"></div>
</div> </div>
@ -408,7 +402,7 @@
, start: obj.${infoPrefix}Start , start: obj.${infoPrefix}Start
, totalSize: obj.${infoPrefix}Total , totalSize: obj.${infoPrefix}Total
, fetchSize: obj.${infoPrefix}Fetch , fetchSize: obj.${infoPrefix}Fetch
, func: "$P.control.load({index})" , func: "pageObject['${pageName}'].control.load({index})"
}); });
$P.control.tableRenderComplete = true; // dataTables 에 자료 추가 완료 $P.control.tableRenderComplete = true; // dataTables 에 자료 추가 완료
@ -667,7 +661,6 @@
}); });
// 기본 데이터 설정 // 기본 데이터 설정
$("#sggCd--${pageName}").val("${sggCd}"); // 시군구 코드 $("#sggCd--${pageName}").val("${sggCd}"); // 시군구 코드
$("#frmSearch--${pageName} input[name='taskSeCd'][value='" + taskSeCd + "']").prop("checked", true); // 업무 구분 코드 $("#frmSearch--${pageName} input[name='taskSeCd'][value='" + taskSeCd + "']").prop("checked", true); // 업무 구분 코드
initDatepicker("frmSearch--${pageName}"); // 달력 초기화 initDatepicker("frmSearch--${pageName}"); // 달력 초기화

@ -6,20 +6,24 @@
<!-- inner page html --> <!-- inner page html -->
<div class="content-wrapper"> <div class="content-wrapper">
<div class="container-xxl flex-grow-1 px-0"> <div class="container-xxl flex-grow-1 px-0">
<div class="card">
<div class="wrapper-list"> <!-- Page Body -->
<div class="card wrapper-list">
<!-- 상단 버튼 -->
<div class="container-page-btn"> <div class="container-page-btn">
<button type="button" class="btn btn-outline-dark w-px-120" id="btnReset--${pageName}" title="초기화">초기화</button> <button type="button" class="btn btn-outline-dark w-px-120" id="btnReset--${pageName}" title="초기화">초기화</button>
<span class="container-window-btn-right"> <span class="container-window-btn-right">
<button type="button" class="btn btn-search w-px-120" id="btnSearch--${pageName}" title="검색">검색</button> <button type="button" class="btn btn-search w-px-120" id="btnSearch--${pageName}" title="검색">검색</button>
<button type="button" class="btn btn-excel w-px-120" id="btnExcel--${pageName}" title="엑셀">엑셀</button> <button type="button" class="btn btn-excel w-px-120" id="btnExcel--${pageName}" title="엑셀">엑셀</button>
</span> </span>
</div> </div> <!-- 상단 버튼 -->
<!-- 검색 조건 영역 -->
<form id="frmSearch--${pageName}" name="frmSearch"> <form id="frmSearch--${pageName}" name="frmSearch">
<!-- hidden --> <!-- hidden -->
<input type="hidden" id="sggCd--${pageName}" name="sggCd" /> <input type="hidden" id="sggCd--${pageName}" name="sggCd" />
<!-- 메인 조건 -->
<div class="container-search"> <div class="container-search">
<div class="row g-1"> <div class="row g-1">
<div class="col-12"> <div class="col-12">
@ -74,7 +78,7 @@
</span> </span>
</div> </div>
</div> </div>
</div> </div> <!-- 메인 조건 -->
<!-- 상세 조건 --> <!-- 상세 조건 -->
<div id="searchDetail--${pageName}" class="container-search container-search-detail collapse"> <div id="searchDetail--${pageName}" class="container-search container-search-detail collapse">
@ -134,19 +138,21 @@
<button type="button" class="btn btn-sm btn-outline-dark" id="btnFindUser--${pageName}" title="사용자 검색">검색</button> <button type="button" class="btn btn-sm btn-outline-dark" id="btnFindUser--${pageName}" title="사용자 검색">검색</button>
</div> </div>
</div> </div>
</div> <!-- / 상세 조건 --> </div> <!-- 상세 조건 -->
</form> </form>
<!-- 검색 조건 영역 -->
<!-- 업무 버튼 및 건수 표시 --> <!-- 업무 버튼 및 건수 표시 -->
<div> <div>
<span class="container-page-btn"> <span class="container-page-btn">
<!-- 건수, 페이지 표시 -->
<div class="d-flex flex-row justify-content-between"> <div class="d-flex flex-row justify-content-between">
<span id="paging--${pageName}PagingInfo" class="dataTables_info" role="status" aria-live="polite"></span> <span id="paging--${pageName}PagingInfo" class="dataTables_info" role="status" aria-live="polite"></span>
<ul id="paging--${pageName}" class="pagination pagination-primary"> <ul id="paging--${pageName}" class="pagination pagination-primary">
</ul> </ul>
</div> </div>
<span class="container-window-btn-right">
<!-- 업무 버튼 --> <!-- 업무 버튼 -->
<span class="container-window-btn-right">
<button type="button" class="btn btn-primary w-px-120" id="btnUpdate--${pageName}" title="감경 수정"> <button type="button" class="btn btn-primary w-px-120" id="btnUpdate--${pageName}" title="감경 수정">
감경 수정 감경 수정
</button> </button>
@ -155,8 +161,7 @@
</button> </button>
</span> </span>
</span> </span>
</div> </div> <!-- 업무 버튼 및 건수 표시 -->
<!-- / 업무 버튼 및 건수 표시 -->
<!-- DataTables(그리드) --> <!-- DataTables(그리드) -->
<div class="card-datatable text-nowrap"> <div class="card-datatable text-nowrap">
@ -251,11 +256,10 @@
</table> </table>
</div> </div>
</div> </div>
</div> </div> <!-- DataTables(그리드) -->
<!-- DataTables(그리드) --> </div> <!-- <div class="card wrapper-list"> -->
</div> <!-- Page Body -->
</div> </div> <!-- <div class="container-xxl flex-grow-1 px-0"> -->
</div>
<div class="content-backdrop fade"></div> <div class="content-backdrop fade"></div>
</div> </div>
@ -381,6 +385,7 @@
// 메시지 출력 // 메시지 출력
dialog.alert({ dialog.alert({
content: showMessage content: showMessage
, init: () => { setDialogZindex(); }
, onOK: () => { } , onOK: () => { }
}); });
@ -497,9 +502,9 @@
let params = {}; let params = {};
let selected = $P.control.dataset.getKeys("selected"); let selected = $P.control.dataset.getKeys("selected");
params[$P.control.prefixed("Ids")] = selected.join(","); // IDs
params.sggCd = $("#sggCd--${pageName}").val(); // 시군구 코드 params.sggCd = $("#sggCd--${pageName}").val(); // 시군구 코드
params.taskSeCd = $("#frmSearch--${pageName} input[name='taskSeCd']:checked").val(); // 업무 구분 코드 params.taskSeCd = $("#frmSearch--${pageName} input[name='taskSeCd']:checked").val(); // 업무 구분 코드
params[$P.control.prefixed("Ids")] = selected.join(","); // 감경 IDs
params.delRsn = obj.reason; // 삭제 사유 params.delRsn = obj.reason; // 삭제 사유
$P.control.remove(params); $P.control.remove(params);
@ -560,8 +565,9 @@
$P.fnExcel = () => { $P.fnExcel = () => {
if ($P.control.dataset.empty) { if ($P.control.dataset.empty) {
dialog.alert({ dialog.alert({
content : "검색된 자료가 없습니다." content: "검색된 자료가 없습니다."
, onOK : () => { } , init: () => { setDialogZindex(); }
, onOK: () => { }
}); });
return; return;
} }

Loading…
Cancel
Save