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

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

@ -315,7 +315,8 @@ public class Crdn06Controller extends ApplicationController {
return mav
.addObject("openerPageName", hReq.getParameter("openerPageName")) // 호출한 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))
;
}
@ -366,9 +367,10 @@ public class Crdn06Controller extends ApplicationController {
return mav
.addObject("openerPageName", hReq.getParameter("openerPageName")) // 호출한 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("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("taskSeCd", req.getTaskSeCd()) // 업무 구분 코드(TASK_SE_CD)
.addObject("sndngId", req.getSndngId()) // 발송 ID(SNDNG_ID)
.addObject("mainQuery", toJson(req)) // 검색 조건
.addObject("advntceSndngDtlList", toJson(mav.getModel().get("advntceSndngDtlList"))) // 자료
;
}
@ -1158,7 +1157,6 @@ public class Sndb01Controller extends ApplicationController {
.addObject("sggCd", req.getSggCd()) // 시군구 코드(SGG_CD)
.addObject("taskSeCd", req.getTaskSeCd()) // 업무 구분 코드(TASK_SE_CD)
.addObject("sndngId", req.getSndngId()) // 발송 ID(SNDNG_ID)
.addObject("mainQuery", toJson(req)) // 검색 조건
.addObject("nhtSndngDtlList", toJson(mav.getModel().get("nhtSndngDtlList"))) // 자료
;
}

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

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

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

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

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

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

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

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

@ -7,10 +7,9 @@
<div class="content-wrapper">
<!-- Content -->
<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">
<button type="button" class="btn btn-outline-dark w-px-120" id="btnReset--${pageName}" title="초기화">
@ -24,8 +23,7 @@
엑셀
</button>
</span>
</div>
<!-- / 상단 버튼 -->
</div> <!-- 상단 버튼 -->
<!-- 검색 조건 영역 -->
<form id="frmSearch--${pageName}" name="frmSearch">
@ -92,7 +90,7 @@
</span>
</div>
</div>
</div> <!-- / 메인 조건 -->
</div> <!-- 메인 조건 -->
<!-- 상세 조건 -->
<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>
</div>
</div>
</div>
<!-- / 상세 조건 -->
</div> <!-- 상세 조건 -->
</form>
<!-- / 검색 조건 영역 -->
<!-- 검색 조건 영역 -->
<!-- 업무 버튼 및 건수 표시 -->
<div>
@ -179,8 +176,8 @@
<ul class="pagination pagination-primary" id="paging--${pageName}">
</ul>
</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>
@ -189,8 +186,7 @@
</button>
</span>
</span>
</div>
<!-- / 업무 버튼 및 건수 표시 -->
</div> <!-- 업무 버튼 및 건수 표시 -->
<!-- DataTables(그리드) -->
<div class="card-datatable text-nowrap">
@ -287,12 +283,11 @@
</table>
</div>
</div>
</div>
<!-- / DataTables(그리드) -->
</div> <!-- / <div class="wrapper-list"> -->
</div> <!-- / <div class="card"> -->
</div> <!-- / <div class="container-xxl flex-grow-1 px-0"> -->
<!-- / Content -->
</div> <!-- DataTables(그리드) -->
</div> <!-- <div class="card wrapper-list"> -->
<!-- Page Body -->
</div> <!-- <div class="container-xxl flex-grow-1 px-0"> -->
<!-- Content -->
<div class="content-backdrop fade"></div>
</div>
@ -360,7 +355,7 @@
, start: obj.${infoPrefix}Start
, totalSize: obj.${infoPrefix}Total
, fetchSize: obj.${infoPrefix}Fetch
, func : "$P.control.load({index})"
, func: "pageObject['${pageName}'].control.load({index})"
});
$P.control.tableRenderComplete = true; // dataTables 에 자료 추가 완료

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

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

Loading…
Cancel
Save