단속사진비교 검사 조회시 전체목록 조회되도록 수정

main
이범준 1 year ago
parent 9e3ec6dc23
commit ddd92af97b

@ -245,7 +245,6 @@ AND C.${by} LIKE CONCAT('%', #{term}, '%')
<select id="selectPhotoInspectionDataList" parameterType="map" resultType="dataobject"> <select id="selectPhotoInspectionDataList" parameterType="map" resultType="dataobject">
/* 단속사진 검사 자료 목록 조회(crdn06Mapper.selectPhotoInspectionDataList) */ /* 단속사진 검사 자료 목록 조회(crdn06Mapper.selectPhotoInspectionDataList) */
<include refid="utility.paging-prefix"/>
SELECT C.CRDN_ID <!-- 단속 ID --> SELECT C.CRDN_ID <!-- 단속 ID -->
, CONCAT(C.CRDN_YMD,'',C.CRDN_TM) AS CRDN_YMD_TM <!-- 단속 일시 --> , CONCAT(C.CRDN_YMD,'',C.CRDN_TM) AS CRDN_YMD_TM <!-- 단속 일시 -->
, C.VHRNO <!-- 차량번호 --> , C.VHRNO <!-- 차량번호 -->
@ -281,7 +280,6 @@ SELECT C.CRDN_ID <!-- 단속 ID -->
</if> </if>
<include refid="utility.orderBy" /> <include refid="utility.orderBy" />
<include refid="utility.paging-suffix"/>
</select> </select>
<select id="selectSameVehicleMainList" parameterType="map" resultType="dataobject"> <select id="selectSameVehicleMainList" parameterType="map" resultType="dataobject">

@ -8,9 +8,9 @@
<div class="wrapper-list"> <div class="wrapper-list">
<div> <div>
<div class="container-page-btn"> <div class="container-page-btn">
<button type="button" class="btn btn-outline-dark" id="btnReset--${pageName}" title="초기화">초기화</button> <button type="button" id="btnReset--${pageName}" class="btn btn-outline-dark" title="초기화">초기화</button>
<span class="container-window-btn-right"> <span class="container-window-btn-right">
<button type="button" class="btn btn-search" id="btnSearch--${pageName}" title="검색">검색</button> <button type="button" id="btnSearch--${pageName}" class="btn btn-search" title="검색">검색</button>
</span> </span>
</div> </div>
@ -60,8 +60,8 @@
</ul> </ul>
</div> </div>
<span class="container-window-btn-right"> <span class="container-window-btn-right">
<a href="#" class="btn btn-blue" id="" title="민원원본보기">민원원본보기</a> <a href="#" id="" class="btn btn-blue" title="민원원본보기">민원원본보기</a>
<a href="#" class="btn btn-blue" id="" title="처리 잠시 보류">처리 잠시 보류</a> <a href="#" id="" class="btn btn-blue" title="처리 잠시 보류">처리 잠시 보류</a>
</span> </span>
</span> </span>
</div> </div>

@ -8,9 +8,9 @@
<div class="wrapper-list"> <div class="wrapper-list">
<div> <div>
<div class="container-page-btn"> <div class="container-page-btn">
<button type="button" class="btn btn-outline-dark" id="btnReset--${pageName}" title="초기화">초기화</button> <button type="button" id="btnReset--${pageName}" class="btn btn-outline-dark" title="초기화">초기화</button>
<span class="container-window-btn-right"> <span class="container-window-btn-right">
<button type="button" class="btn btn-search" id="btnSearch--${pageName}" title="검색">검색</button> <button type="button" id="btnSearch--${pageName}" class="btn btn-search" title="검색">검색</button>
</span> </span>
</div> </div>
@ -60,10 +60,10 @@
</ul> </ul>
</div> </div>
<span class="container-window-btn-right"> <span class="container-window-btn-right">
<a href="#" class="btn btn-blue" id="" title="민원원본보기">민원원본보기</a> <a href="#" id="" class="btn btn-blue" title="민원원본보기">민원원본보기</a>
<a href="#" class="btn btn-blue" id="" title="답변미리보기">답변미리보기</a> <a href="#" id="" class="btn btn-blue" title="답변미리보기">답변미리보기</a>
<a href="#" class="btn btn-blue" id="" title="선택자료답변등록실행">선택자료답변등록실행</a> <a href="#" id="" class="btn btn-blue" title="선택자료답변등록실행">선택자료답변등록실행</a>
<a href="#" class="btn btn-blue" id="" title="답변완료로 수정">답변완료로 수정</a> <a href="#" id="" class="btn btn-blue" title="답변완료로 수정">답변완료로 수정</a>
</span> </span>
</span> </span>
</div> </div>

@ -7,9 +7,9 @@
<div class="wrapper-list"> <div class="wrapper-list">
<div> <div>
<div class="container-page-btn"> <div class="container-page-btn">
<button type="button" class="btn btn-outline-dark" id="btnReset--${pageName}" title="초기화">초기화</button> <button type="button" id="btnReset--${pageName}" class="btn btn-outline-dark" title="초기화">초기화</button>
<span class="container-window-btn-right"> <span class="container-window-btn-right">
<button type="button" class="btn btn-search" id="btnSearch--${pageName}" title="검색">검색</button> <button type="button" id="btnSearch--${pageName}" class="btn btn-search" title="검색">검색</button>
</span> </span>
</div> </div>
@ -45,8 +45,8 @@
</ul> </ul>
</div> </div>
<span class="container-window-btn-right"> <span class="container-window-btn-right">
<a href="#" class="btn btn-blue" id="btnInsertByFile--${pageName}" title="단속 파일 등록">단속 파일 등록</a> <a href="#" id="btnInsertByFile--${pageName}" class="btn btn-blue" title="단속 파일 등록">단속 파일 등록</a>
<a href="#" class="btn btn-blue" id="btnInsertByHand--${pageName}" title="단속 수기 등록">단속 수기 등록</a> <a href="#" id="btnInsertByHand--${pageName}" class="btn btn-blue" title="단속 수기 등록">단속 수기 등록</a>
</span> </span>
</span> </span>
</div> </div>

@ -142,7 +142,7 @@
<div class="col-md-6"> <div class="col-md-6">
<div class="row justify-content-end"> <div class="row justify-content-end">
<div class="col-sm-3"> <div class="col-sm-3">
<button type="button" class="btn btn-primary" id="btnInst--${pageName}">등록</button> <button type="button" id="btnInst--${pageName}" class="btn btn-primary">등록</button>
</div> </div>
</div> </div>
</div> </div>

@ -9,9 +9,9 @@
<div class="wrapper-list"> <div class="wrapper-list">
<div> <div>
<div class="container-page-btn"> <div class="container-page-btn">
<button type="button" class="btn btn-outline-dark" id="btnReset--${pageName}" title="초기화">초기화</button> <button type="button" id="btnReset--${pageName}" class="btn btn-outline-dark" title="초기화">초기화</button>
<span class="container-window-btn-right"> <span class="container-window-btn-right">
<button type="button" class="btn btn-search" id="btnSearch--${pageName}" title="검색">검색</button> <button type="button" id="btnSearch--${pageName}" class="btn btn-search" title="검색">검색</button>
</span> </span>
</div> </div>
@ -100,7 +100,7 @@
</div> </div>
</div> </div>
<div class="row" id="searchByTaskArea--${pageName}"> <div id="searchByTaskArea--${pageName}" class="row" >
</div> </div>
</div> </div>
</form> </form>
@ -130,8 +130,8 @@
</ul> </ul>
</div> </div>
<span class="container-window-btn-right"> <span class="container-window-btn-right">
<a href="#" class="btn btn-blue" id="" title="업무처리1">업무 처리1</a> <a href="#" id="" class="btn btn-blue" title="업무처리1">업무 처리1</a>
<a href="#" class="btn btn-blue" id="" title="업무처리2">업무 처리2</a> <a href="#" id="" class="btn btn-blue" title="업무처리2">업무 처리2</a>
</span> </span>
</span> </span>
</div> </div>

@ -9,11 +9,11 @@
<div class="wrapper-list"> <div class="wrapper-list">
<div> <div>
<div class="container-page-btn"> <div class="container-page-btn">
<button type="button" class="btn btn-outline-dark" id="btnReset--${pageName}" title="초기화">초기화</button> <button type="button" id="btnReset--${pageName}" class="btn btn-outline-dark" title="초기화">초기화</button>
<a href="#" class="btn btn-blue" id="btnPhotoInspection--${pageName}" title="단속사진 비교">단속사진 비교</a> <a href="#" id="btnPhotoInspection--${pageName}" class="btn btn-blue" title="단속사진 비교">단속사진 비교</a>
<a href="#" class="btn btn-blue" id="btnSameVehicleInspection--${pageName}" title="동일단속차량 검사">동일단속차량 검사</a> <a href="#" id="btnSameVehicleInspection--${pageName}" class="btn btn-blue" title="동일단속차량 검사">동일단속차량 검사</a>
<span class="container-window-btn-right"> <span class="container-window-btn-right">
<button type="button" class="btn btn-search" id="btnSearch--${pageName}" title="검색">검색</button> <button type="button" id="btnSearch--${pageName}" class="btn btn-search" title="검색">검색</button>
</span> </span>
</div> </div>
@ -143,6 +143,7 @@
</ul> </ul>
</div> </div>
<span class="container-window-btn-right"> <span class="container-window-btn-right">
<a href="#" id="btnInstLevyExcl--${pageName}" class="btn btn-blue" title="비부과 등록">비부과 등록</a>
</span> </span>
</span> </span>
@ -360,7 +361,7 @@ $(document).ready(function(){
//단속사진검사 datasetControl 인스턴스 //단속사진검사 datasetControl 인스턴스
$P.photoInspectionControl = new DatasetControl({ $P.photoInspectionControl = new DatasetControl({
prefix:"photoInspection", prefixName:"종합", infoSize:"xl", urls : { load : "", getInfo : "" }, prefix:"photoInspection", prefixName:"종합", infoSize:"xl", urls : { load : "", getInfo : "" },
keymapper:info => info ? info.CRDN_ID : "", dataGetter:obj => obj.crdnList, appendData:true, keymapper:info => info ? info.CRDN_ID : "", dataGetter:obj => obj.crdnList, appendData:false,
formats: { formats: {
CRDN_YMD_TM : datetimeFormat, CRDN_YMD_TM : datetimeFormat,
CRDN_INPT_SE_CD : FIM003, CRDN_INPT_SE_CD : FIM003,
@ -391,7 +392,7 @@ $(document).ready(function(){
/************************************************************************** /**************************************************************************
* DatasetControl.on * DatasetControl.on
**************************************************************************/ **************************************************************************/
$P.photoInspectionControl.onDatasetChange = obj => { $P.photoInspectionControl.onDatasetChange = (obj) => {
$P.renderInspectionDataList("photoInspection"); $P.renderInspectionDataList("photoInspection");
var prefix = obj.infoPrefix; var prefix = obj.infoPrefix;
@ -404,7 +405,7 @@ $(document).ready(function(){
}; };
$P.sameVehicleControl.main.onDatasetChange = obj => { $P.sameVehicleControl.main.onDatasetChange = (obj) => {
$P.renderInspectionDataList("sameVehicleInspectionMain"); $P.renderInspectionDataList("sameVehicleInspectionMain");
var prefix = obj.infoPrefix; var prefix = obj.infoPrefix;
@ -418,7 +419,7 @@ $(document).ready(function(){
}; };
$P.sameVehicleControl.sub.onDatasetChange = obj => { $P.sameVehicleControl.sub.onDatasetChange = (obj) => {
$P.renderInspectionDataList("sameVehicleInspectionSub"); $P.renderInspectionDataList("sameVehicleInspectionSub");
}; };
@ -426,7 +427,7 @@ $(document).ready(function(){
* pageObject.function * pageObject.function
**************************************************************************/ **************************************************************************/
$P.fnReset = () => { $P.fnReset = () => {
$('#schCrdnYmdFrom--${pageName}').datepicker('setDate', DateUtil.getDateDay(-5475).date); $('#schCrdnYmdFrom--${pageName}').datepicker('setDate', DateUtil.getDateDay(-7).date);
$('#schCrdnYmdTo--${pageName}').datepicker('setDate', new Date()); $('#schCrdnYmdTo--${pageName}').datepicker('setDate', new Date());
$P.photoInspectionControl.setData([]); $P.photoInspectionControl.setData([]);
$P.sameVehicleControl.main.setData([]); $P.sameVehicleControl.main.setData([]);
@ -455,7 +456,7 @@ $(document).ready(function(){
switch ($P.currentDisplay) { switch ($P.currentDisplay) {
case "photoInspection": case "photoInspection":
$P.photoInspectionControl.query = $P.getParams(); $P.photoInspectionControl.query = $P.getParams();
$P.photoInspectionControl.load(1); $P.photoInspectionControl.load(0);
break; break;
case "sameVehicleInspection": case "sameVehicleInspection":
$P.sameVehicleControl.main.query = $P.getParams(); $P.sameVehicleControl.main.query = $P.getParams();
@ -520,6 +521,10 @@ $(document).ready(function(){
} }
} }
$P.openLevyExclPop = () => {
};
$P.renderInspectionDataList = (renderDataType) => { $P.renderInspectionDataList = (renderDataType) => {
switch (renderDataType) { switch (renderDataType) {
@ -566,7 +571,13 @@ $(document).ready(function(){
$P.getParams = () => { $P.getParams = () => {
var formFields = new FimsFormFields("#frmSearch--${pageName}"); var formFields = new FimsFormFields("#frmSearch--${pageName}");
var data = formFields.get(); var data = formFields.get();
if($P.currentDisplay == "sameVehicleInspection"){
data.fetchSize = 30; data.fetchSize = 30;
} else {
data.fetchSize = 0;
}
return data; return data;
} }
@ -594,9 +605,8 @@ $(document).ready(function(){
}); });
$('#btnSearch--${pageName}').on('click', () => $P.searchInspectionList()); //검색버튼 $('#btnSearch--${pageName}').on('click', () => $P.searchInspectionList()); //검색버튼
$("#btnInstLevyExcl--${pageName}").on("click", () => $P.openLevyExclPop());
//스크롤 이벤트 추가(사진검사)
$("#photoInspection-responsive--${pageName}").scroll(function(){ $P.scrollEnd(this); });
//스크롤 이벤트 추가(동일차량검사) //스크롤 이벤트 추가(동일차량검사)
$("#sameVehicleInspectionMain-responsive--${pageName}").scroll(function(){ $P.scrollEnd(this); }); $("#sameVehicleInspectionMain-responsive--${pageName}").scroll(function(){ $P.scrollEnd(this); });

@ -9,9 +9,9 @@
<div class="wrapper-list"> <div class="wrapper-list">
<div> <div>
<div class="container-page-btn"> <div class="container-page-btn">
<button type="button" class="btn btn-outline-dark" id="btnReset--${pageName}" title="초기화">초기화</button> <button type="button" id="btnReset--${pageName}" class="btn btn-outline-dark" title="초기화">초기화</button>
<span class="container-window-btn-right"> <span class="container-window-btn-right">
<button type="button" class="btn btn-search" id="btnSearch--${pageName}" title="검색">검색</button> <button type="button" id="btnSearch--${pageName}" class="btn btn-search" title="검색">검색</button>
</span> </span>
</div> </div>
<form id="frmSearch--${pageName}" name="frmSearch"> <form id="frmSearch--${pageName}" name="frmSearch">
@ -45,7 +45,7 @@
</ul> </ul>
</div> </div>
<span class="container-window-btn-right"> <span class="container-window-btn-right">
<a href="#" class="btn btn-blue" id="btnUpdateToConfirmData--${pageName}" title="개별 확인 자료로 수정">개별 확인 자료로 수정</a> <a href="#" id="btnUpdateToConfirmData--${pageName}" class="btn btn-blue" title="개별 확인 자료로 수정">개별 확인 자료로 수정</a>
</span> </span>
</span> </span>
</div> </div>

@ -9,9 +9,9 @@
<div class="wrapper-list"> <div class="wrapper-list">
<div> <div>
<div class="container-page-btn"> <div class="container-page-btn">
<button type="button" class="btn btn-outline-dark" id="btnReset--${pageName}" title="초기화">초기화</button> <button type="button" id="btnReset--${pageName}" class="btn btn-outline-dark" title="초기화">초기화</button>
<span class="container-window-btn-right"> <span class="container-window-btn-right">
<button type="button" class="btn btn-search" id="btnSearch--${pageName}" title="검색">검색</button> <button type="button" id="btnSearch--${pageName}" class="btn btn-search" title="검색">검색</button>
</span> </span>
</div> </div>

Loading…
Cancel
Save