feat: 단속현황 관리 진행

main
minuk926 2 years ago
parent 3434c54471
commit d11658f949

@ -89,10 +89,11 @@ public class FimsConst {
@Getter @Getter
@AllArgsConstructor @AllArgsConstructor
public enum RegltSeCode { public enum RegltSeCode {
CCTV_FIX("01", "CCTV-고정형") CCTV_FIX("01", "고정형CCTV")
,CCTV_DRV("02", "CCTV-주행형") ,CCTV_DRV("02", "주행형CCTV")
,BUS_ONLY("07", "버스전용차로-버스장착형CCTV") ,BUS_ONLY("07", "버스장착형CCTV")
,CITIZEN("09", "민원-시민신고(국민신문고)") ,CITIZEN("09", "국민신문고")
,UNKNOWN("99", "알수없슴")
; ;
private final String code; private final String code;

@ -1,6 +1,8 @@
package kr.xit.fims.biz.cmm.web; package kr.xit.fims.biz.cmm.web;
import java.util.Map; import java.util.Map;
import java.util.Optional;
import java.util.stream.Stream;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
@ -41,14 +43,31 @@ public class FimsCrackDownMgtController {
private final IFimsCrackdownMgtService service; private final IFimsCrackdownMgtService service;
private final IRtCrackdownMgtService rtService; private final IRtCrackdownMgtService rtService;
@RequestMapping(value = "/cmmFimsCrackdownMgtPopup") @RequestMapping(value = "/cmmFimsCrackdownDtlMgtPopup")
public ModelAndView cmmFimsCrackdownMgtPopup(final FimsCrackdownDTO.Request dto){ public ModelAndView cmmFimsCrackdownDtlMgtPopup(final FimsCrackdownDTO.Request dto){
ModelAndView mav = new ModelAndView(); ModelAndView mav = new ModelAndView();
// 단속정보 // 단속정보
mav.addAllObjects(service.findCrackdownInfo(dto)); mav.addAllObjects(service.findCrackdownInfo(dto));
mav.addObject("pageTitle", "개별총정보 등록 / 변경"); mav.addObject("pageTitle", "단속 자료 ");
mav.setViewName(FimsConst.FIMS_JSP_BASE_PATH + "cmm/cmmFimsCrackdownMgtPopup.popup");
Optional<FimsConst.RegltSeCode> regltSeCodeEnum = Stream.of(FimsConst.RegltSeCode.values())
.filter(e -> e.getCode().equals(dto.getRegltSeCode()))
.findAny();
mav.addObject("txtTitle", regltSeCodeEnum.get().getDesc());
mav.setViewName(FimsConst.FIMS_JSP_BASE_PATH + "cmm/cmmFimsCrackdownDtlMgtPopup.popup");
return mav;
}
@RequestMapping(value = "/cmmFimsCrackdownTotMgtPopup")
public ModelAndView cmmFimsCrackdownTotMgtPopup(final FimsCrackdownDTO.Request dto){
ModelAndView mav = new ModelAndView();
// 단속정보
mav.addAllObjects(service.findCrackdownInfo(dto));
mav.addObject("pageTitle", "개별총정보 ");
mav.setViewName(FimsConst.FIMS_JSP_BASE_PATH + "cmm/cmmFimsCrackdownTotMgtPopup.popup");
return mav; return mav;
} }

@ -0,0 +1,452 @@
<%--
================================================================================
File : /fims/biz/cmm/cmmCrackdownMgtPopup.jsp
Name : 단속 데이타 처리 - 단속관리>단속현황관리
Auth : lim.jong.uk
Date : 2022-01-20
Desc : 단속 데이타 처리 팝업
================================================================================
Date Author Description
================================================================================
================================================================================
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/framework/taglibs.jsp"%>
<style>
#regltProcessSttusCode {
width: 29%;
color: red;
background-color: lightgreen;
font-weight: bold;
}
.act_bg_color {
background-color: lightgreen;
}
</style>
<c:set var="isUpdate" value="${!empty infoDTO.regltId}"/>
<c:set var="bizName" value="주민 신고"/>
<div class="popup" style="min-width: 100px;">
<div class="popup_inner" style="max-width: 900px;">
<p class="pop_title" id="txtTitle">
${txtTitle}
</p>
<%-- <div class="listBtn">--%>
<%-- <button type="button" id="prev" name="prev">prev</button>--%>
<%-- <div>--%>
<%-- <span>--%>
<%-- <div id="totCnt" style="padding: 0 10px;"><span></span></div>--%>
<%-- </span>--%>
<%-- </div>--%>
<%-- <button type="button" id="next" name="next">next</button>--%>
<%-- </div>--%>
<%@include file="/WEB-INF/jsp/framework/biz-popup-tab-btn.jsp" %>
<form id="frmReglt">
<table class="tbl03">
<caption>위반정보 상세</caption>
<colgroup>
<col style="width: 15%;"/>
<col style="width: 35%;"/>
<col style="width: 15%;"/>
<col style="width: 35%;"/>
</colgroup>
<tbody>
<tr>
<th>등록구분</th>
<td>
<code:select id="registSeCode" name="registSeCode" codeId="FIM026" defaultSelect="${infoDTO.registSeCode}" title="단속자료등록구분" cls="selectBoxTotal" alt="단속자료등록구분" disabled="true"/>
</td>
<th>자료출처</th>
<td>
<code:select id="regltSeCode" name="regltSeCode" codeId="FIM002" defaultSelect="${infoDTO.regltSeCode}" title="단속구분코드" cls="selectBoxTotal" alt="단속구분코드" disabled="true"/>
</td>
</tr>
<tr>
<th>위반일시</th>
<td>
<fmt:parseDate value="${infoDTO.regltDe}" var="regltDe" pattern="yyyyMMdd"/>
<input type="text" data-fmt-type="day" name="regltDe" style="width: 50%" value='<fmt:formatDate value="${regltDe}" pattern="yyyy-MM-dd"/>' readonly/>
<fmt:parseDate value="${infoDTO.regltBeginTime}" var="regltBeginTime" pattern="HHmmss"/>
<input type="text" data-fmt-type="time" name="regltBeginTime" style="width: 45%" value='<fmt:formatDate value="${regltBeginTime}" pattern="HH:mm:ss"/>' readonly/>
</td>
<th>차량번호</th>
<td>
<input type="text" id="vhcleNo" name="vhcleNo" value="${infoDTO.vhcleNo}" class="act_bg_color"/>
</td>
</tr>
<tr id="cctv1">
<th>위반장소</th>
<td>
<input type="text" name="regltPlace" value="${infoDTO.regltPlace }"/>
</td>
<th>단속자</th>
<td>
<input type="text" name="" value='' readonly/>
</td>
</tr>
<tr id="cctv2">
<th>발행번호</th>
<td>
<input type="text" name="stickrNo" value='${infoDTO.stickrNo}' readonly/>
</td>
<th>견인지시</th>
<td>
<input type="checkbox" name="towngAtCode" disabled/>
</td>
</tr>
<tr id="ctzn1">
<th>신고자</th>
<td>
<input type="text" name="cvplApplcntNm" value="${ctznDTO.cvplApplcntNm}"/>
</td>
<th>연락처</th>
<td>
<input type="text" name="cvplApplcntMoblphonNo" value='${ctznDTO.cvplApplcntMoblphonNo}' readonly/>
</td>
</tr>
<tr id="ctzn2">
<th>위반장소</th>
<td>
<input type="text" name="regltPlace" value="${ctznDTO.regltPlace }"/>
</td>
<th>공개여부</th>
<td>
<input type="text" name="" value='' readonly/>
</td>
</tr>
<tr id="ctzn3">
<th>신고내용</th>
<td colspan="3">
<textarea type="text" name="cvplReqstCn" col="180" rows="3"><c:out value="${ctznDTO.cvplReqstCn}"/></textarea>
</td>
</tr>
<tr id="ctzn4">
<th>접수번호</th>
<td>
<input type="text" name="cvplRceptNo" value='${ctznDTO.cvplRceptNo}' readonly/>
</td>
<th>접수일</th>
<td>
<fmt:parseDate value="${ctznDTO.cvplRceptDt}" var="cvplRceptDt" pattern="yyyyMMddHHmmss"/>
<input type="text" data-fmt-type="dt" name="cvplRceptDt" value='<fmt:formatDate value="${cvplRceptDt}" pattern="yyyy-MM-dd HH:mm:ss"/>' readonly/>
</td>
</tr>
</tbody>
</table>
<table class="tbl03">
<caption>위반정보 상세2</caption>
<colgroup>
<col style="width: 12%;"/>
<col style="width: 22%;"/>
<col style="width: 12%;"/>
<col style="width: 21%;"/>
<col style="width: 12%;"/>
<col style="width: 21%;"/>
</colgroup>
<tbody>
<tr>
<th>차종</th>
<td>
<input type="text" name="vhctyAsortCode" value='${infoDTO.vhctyAsortCode}' readonly/>
</td>
<th>시군구</th>
<td>
<input type="text" name="violtLegaldongCode" value="${infoDTO.violtLegaldongCode}" readonly/>
</td>
<th>법정동</th>
<td>
<input type="text" name="violtLegaldongCode" value="${infoDTO.violtLegaldongCode}" readonly/>
</td>
</tr>
<tr>
<th>사전통지금액</th>
<td>
<input type="text" data-fmt-type="number" name="" value='<fmt:formatNumber type="number" value="${infoDTO.redutionAmount}" pattern="#,###"/>'/>
</td>
<th>부과금액</th>
<td>
<input type="text" data-fmt-type="number" name="" value='<fmt:formatNumber type="number" value="${infoDTO.rcivAmount}" pattern="#,###"/>'/>
</td>
<td colspan="2"></td>
</tr>
<tr>
<th>감경금액</th>
<td>
<input type="text" data-fmt-type="number" name="redutionAmount" value='<fmt:formatNumber type="number" value="${infoDTO.redutionAmount}" pattern="#,###"/>'/>
</td>
<th>총수납액</th>
<td>
<input type="text" data-fmt-type="number" name="rcivAmount" value='<fmt:formatNumber type="number" value="${infoDTO.rcivAmount}" pattern="#,###"/>'/>
</td>
<th>잔액</th>
<td>
<input type="text" data-fmt-type="number" name="redutionAftAmount" value='<fmt:formatNumber type="number" value="${infoDTO.redutionAftAmount}" pattern="#,###"/>' class="act_bg_color"/>
</td>
</tr>
<tr>
<th>특기사항</th>
<td colspan="2">
<input type="text" name="spcmntMatter" value="${infoDTO.spcmntMatter}" readonly/>
</td>
<th>처리상태</th>
<td colspan="2">
<fmt:parseDate value="${infoDTO.lastProcessDt}" var="lastProcessDt" pattern="yyyyMMddHHmmss"/>
<input type="text" data-fmt-type="dt" name="lastProcessDt" style="width: 69%" value='<fmt:formatDate value="${lastProcessDt}" pattern="yyyy-MM-dd HH:mm:ss"/>' readonly/>
<code:select id="regltProcessSttusCode" name="regltProcessSttusCode" codeId="FIM010" defaultSelect="${infoDTO.regltProcessSttusCode}" title="단속처리상태" cls="selectBoxTotal" alt="단속처리상태" disabled="true"/>
</td>
</tr>
<tr>
<th>특별단속구역</th>
<td colspan="2">
<code:select id="regltSpeclZoneSeCode" name="regltSpeclZoneSeCode" codeId="FIM010" defaultSelect="${infoDTO.regltSpeclZoneSeCode}" title="특별단속구역" cls="selectBoxTotal" alt="단속처리상태" disabled="true"/>
</td>
<th>위반내용</th>
<td colspan="2">
<input type="text" name="violtDtlsEtcCn" value="${infoDTO.violtDtlsEtcCn}" readonly/>
</td>
</tr>
</tbody>
</table>
</form>
<form id="frmPayer">
<input type="hidden" id="payerId" name="payerId" />
<table class="tbl03">
<caption>소유주 정보</caption>
<colgroup>
<col style="width: 12%;"/>
<col style="width: 22%;"/>
<col style="width: 12%;"/>
<col style="width: 21%;"/>
<col style="width: 12%;"/>
<col style="width: 21%;"/>
</colgroup>
<tbody>
<tr>
<th>소유주</th>
<td>
<input type="text" name="payerNm" value='${payerDTO.payerNm}' readonly/>
</td>
<th>주민번호</th>
<td colspan="3">
<input type="text" name="payerNo" value="${payerDTO.payerNo}" readonly/>
</td>
</tr>
<tr>
<th>우편번호</th>
<td>
<input type="text" name="zip" value='${payerDTO.zip}' readonly/>
</td>
<th>주소</th>
<td colspan="3">
<input type="text" name="adres" style="width: 70%" value='${payerDTO.adres}' readonly/>
<input type="text" name="detailAdres" style="width: 29%" value='${payerDTO.detailAdres}' readonly/>
</td>
</tr>
<tr>
<th>차대번호</th>
<td>
<input type="text" name="" value='' readonly/>
</td>
<th>도로코드</th>
<td>
<input type="text" name="rnCode" value='${payerDTO.rnCode}' readonly/>
</td>
<th>등록구분</th>
<td>
<input type="text" name="payerRegistSeCode" value="${payerDTO.payerRegistSeCode}" readonly/>
</td>
</tr>
</tbody>
</table>
</form>
<div class="w_fix01 gridGroup" style="width:0px; min-width:300px!important;">
<p class="title deco_01">위반사진</p>
<div id="imgList"></div>
<div>
<img id="uploadImage"/>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/framework/js/cmm/cmmDownloadImg.js"></script>
<script type="text/javaScript">
/**************************************************************************
* Global Variable
**************************************************************************/
var imageEditorPopup = (flag, params) => fnPopupBiz.pagePopup(flag, params);
var callbackReloadImage = () => fnPopupBiz.downloadImg();
let orgData;
/* *******************************
* Biz function
******************************* */
const fnPopupBiz = {
search: (params) => {
cmmAjax({
showSuccessMsg: false
,url: fimsApiUrl.FIND_CRACKDOWN_INFO
,data: params
,success: (res) => {
$('#txtTitle').text(
ComboCodeData.regltSeCode.filter(d => d.value === res.infoDTO.regltSeCode)[0].text
);
cmmImgDownload('#imgList', res.attchFiles, fnPopupBiz.pagePopup, true, '60px');
window.opener.pageNav.reloadNav($('#prev'), $('#next'), $('span#totCnt'))
fnPopupBiz.resetDisplay(res.ctznDTO?.cvplRceptNo);
$('#violtDtlsNm').text(res.ctznDTO?.violtDtlsNm);
setFormData(document.querySelector('#frmReglt'), {...res.infoDTO, ...res.ctznDTO});
setFormData(document.querySelector('#frmPayer'), res.payerDTO);
}
})
}
,downloadImg: () => {
cmmAjax({
showSuccessMsg: false
,url: fimsApiUrl.FIND_RT_REGLT_ATTCH_FILES
,data: downloadImgParam
,success: (res) => {
cmmImgDownload('#imgList', res.data?.contents, fnPopupBiz.pagePopup, true, '60px');
}
})
}
,pagePopup: function(flag, params) {
let url;
let popTitle;
let popOption;
switch (flag) {
//FIXME: 이미지에디터 팝업 width, height는 952, 800으로 fix
// paintweb config의 imageWidth, imageHeight, viewportWidth, viewPortHeight 와 같이 연관
case "imageEditor":
<%--url = '<c:url value="/framework/biz/cmm/file/cmmPaintwebImageEditorPopup.do"/>'; --%>
url = frwkApiUrl.POPUP_PAINTWEB_IMG_EDITOR;
popOption = {width: 952, height: 800, resizable:false,scrollbars:'no'};
popTitle = "이미지 에디터";
break;
case "imageView":
<%--url = '<c:url value="/framework/biz/cmm/file/cmmImageViewPopup.do"/>';--%>
url = frwkApiUrl.POPUP_IMG_VIEW;
popOption = {width: 950, height: 750, resizable:false,scrollbars:'no'};
popTitle = "이미지 보기";
break;
default:
break;
}
window.opener.popup = CmmPopup.open(url, params, popOption, popTitle);
//var w = window.open("/imageEditor.do", "", "width=800,height=650,top=0px,left=200px,status=,resizable=false,scrollbars=no");
}
,add: () => {
if (!fnBiz.validate()) return;
cmmBizAjax('add', {
url: '<c:url value="/cmm/fimsPopup/add.do"/>'
, data: $("#frmSearch").serialize()
})
}
,modify: () => {
/*if (!fnBiz.validate()) return;*/
cmmBizAjax('modify', {
url: '<c:url value="/cmm/fimsPopup/update.do"/>'
,data: $("#frmSearch").serialize()
});
}
,remove: () => {
$("input[name=useAt]").val('N');
cmmBizAjax('remove', {
url: '<c:url value="/cmm/fimsPopup/remove.do"/>'
,data: $("#frmSearch").serialize()
});
}
,validate: () => {
if(orgData === $('form').serialize()){
alert('변경된 내용이 없습니다.');
return false;
}
/*if(!validateTemplateInf(document.getElementById("templateInf"))) return false;*/
return true;
}
,resetDisplay: (cvplRceptNo) => {
if(cvplRceptNo){
$('tr[id*=cctv]').hide();
$('tr[id*=ctzn]').show();
} else{
$('tr[id*=cctv]').show();
$('tr[id*=ctzn]').hide();
}
}
};
/**************************************************************************
* event
**************************************************************************/
$(() => {
$(window).on("unload", function (e) {
window.opener?.unblockUI();
window.opener?.callbackSearch();
return null;
});
$("#btnClose").on('click', () => {
window.close()
});
$('#btnRegist').on('click', () => {
fnPopupBiz.add();
});
$('#btnModify').on('click', () => {
fnPopupBiz.modify();
});
$('#btnPreview').on('click', () => {
fnPopupBiz.preview();
});
$('#btnRemove').on('click', () => {
fnPopupBiz.remove();
});
$('#prev').on('click', () => {
window.opener.pageNav.onClickNavBtn('prev', (gridInfo) => {
fnPopupBiz.search(gridInfo.curRowData)
});
})
$('#next').on('click', () => {
window.opener.pageNav.onClickNavBtn('next', (gridInfo) => {
fnPopupBiz.search(gridInfo.curRowData);
});
});
});
/**************************************************************************
* initialize
**************************************************************************/
$(document).ready(function(){
// orgData = $('form').serialize();
downloadImgParam = {regltId: '${infoDTO.regltId}', regltSeCode: '${infoDTO.regltSeCode}'};
//fnBiz.search(downloadImgParam);
fnPopupBiz.downloadImg();
fnPopupBiz.resetDisplay('${ctznDTO.cvplRceptNo}');
window.opener.pageNav.reloadNav($('#prev'), $('#next'), $('span#totCnt'))
});
</script>

@ -1,10 +1,10 @@
<%-- <%--
================================================================================ ================================================================================
File : /fims/biz/cmm/cmmCrackdownMgtPopup.jsp File : /fims/biz/cmm/cmmCrackdownTotMgtPopup.jsp
Name : 단속 처리 메인 팝업 - 단속관리>단속현황관리 Name : 단속현황 개별총정보 팝업 - 단속관리>단속현황관리
Auth : lim.jong.uk Auth : lim.jong.uk
Date : 2022-01-20 Date : 2022-01-20
Desc : 단속자료 처리를 위한 메인 팝업 Desc : 단속현황 개별총정보 팝업
================================================================================ ================================================================================
Date Author Description Date Author Description
================================================================================ ================================================================================
@ -52,6 +52,7 @@ Date Author Description
<p class="title deco_01"> <p class="title deco_01">
위반정보 <span id="violtDtlsNm" name="violtDtlsNm" style="padding-left: 20px; color:darkred;"></span> 위반정보 <span id="violtDtlsNm" name="violtDtlsNm" style="padding-left: 20px; color:darkred;"></span>
</p> </p>
<%@include file="/WEB-INF/jsp/framework/biz-popup-tab-btn.jsp" %>
<form id="frmReglt"> <form id="frmReglt">
<table class="tbl03"> <table class="tbl03">
<caption>위반정보 상세</caption> <caption>위반정보 상세</caption>
@ -286,7 +287,7 @@ Date Author Description
</div> </div>
</div> </div>
</div> </div>
<%@include file="/WEB-INF/jsp/framework/biz-popup-tab-btn.jsp" %>
<div id="tabs_1" style="display: flex;"> <div id="tabs_1" style="display: flex;">
<div class="w_fix02 gridGroup mR_01"> <div class="w_fix02 gridGroup mR_01">
<p class="title deco_01">진술내역</p> <p class="title deco_01">진술내역</p>
@ -559,10 +560,10 @@ Date Author Description
,success: (res) => { ,success: (res) => {
cmmImgDownload('#imgList', res.attchFiles, fnPopupBiz.pagePopup, true, '60px'); cmmImgDownload('#imgList', res.attchFiles, fnPopupBiz.pagePopup, true, '60px');
window.opener.pageNav.reloadNav($('#prev'), $('#next'), $('span#totCnt')) window.opener.pageNav.reloadNav($('#prev'), $('#next'), $('span#totCnt'))
if(res.ctznDTO?.cvplRceptNo){
fnPopupBiz.resetDisplay(res.ctznDTO?.cvplRceptNo); fnPopupBiz.resetDisplay(res.ctznDTO?.cvplRceptNo);
$('#violtDtlsNm').text(res.ctznDTO?.violtDtlsNm); $('#violtDtlsNm').text(res.ctznDTO?.violtDtlsNm);
}
setFormData(document.querySelector('#frmReglt'), {...res.infoDTO, ...res.ctznDTO}); setFormData(document.querySelector('#frmReglt'), {...res.infoDTO, ...res.ctznDTO});
setFormData(document.querySelector('#frmPayer'), res.payerDTO); setFormData(document.querySelector('#frmPayer'), res.payerDTO);
} }
@ -635,15 +636,6 @@ Date Author Description
return true; return true;
} }
,preview: () => {
if ($("#tmplatSeCode").val() === 'TMPT01') {
const url = "<c:url value='/framework/biz/mng/bbs/mngBoardTmplPreviewPopup.do'/>";
CmmPopup.open(url, {tmplateCours: $("#tmplatCours").val()}, {width: 1024, height: 500}, "템플릿 미리보기");
} else {
alert('템플릿경로 지정 후 선택해 주세요.');
}
}
,resetDisplay: (cvplRceptNo) => { ,resetDisplay: (cvplRceptNo) => {
if(cvplRceptNo){ if(cvplRceptNo){
$('tr[id*=cctv]').hide(); $('tr[id*=cctv]').hide();

@ -98,6 +98,7 @@ Date Author Description
**************************************************************************/ **************************************************************************/
popup = null; popup = null;
let GRID = null; let GRID = null;
let curClickColName;
//var callbackSearch = () => fnBiz.search(); //var callbackSearch = () => fnBiz.search();
var pageNav = null; var pageNav = null;
@ -114,13 +115,18 @@ Date Author Description
let popTitle; let popTitle;
let popOption; let popOption;
switch (flag) { switch (flag) {
case "detail": case "total":
url = fimsApiUrl.POPUP_RT_REGLT_TOTAL; url = fimsApiUrl.POPUP_CRACKDOWN_TOTAL;
popOption = {width: 1200, height:900}; popOption = {width: 1200, height:900};
popTitle = "개별총정보"; popTitle = "개별총정보";
break; break;
case "detail":
url = fimsApiUrl.POPUP_CRACKDOWN_DTL;
popOption = {width: 1200, height:900};
popTitle = "정보 변경";
break;
case "file": case "file":
url = fimsApiUrl.POPUP_RT_EXTR_INTERFACE_FILE_SEL; url = fimsApiUrl.POPUP_EXTR_CRACKDOWN_FILE_SEL;
popOption = {width: 900, height:750}; popOption = {width: 900, height:750};
popTitle = "외부연계 데이타 선택"; popTitle = "외부연계 데이타 선택";
break; break;
@ -142,17 +148,22 @@ Date Author Description
console.log('>>>>>>',props.columnInfo.name) console.log('>>>>>>',props.columnInfo.name)
const selColumn = props.columnInfo.name; const selColumn = props.columnInfo.name;
curClickColName = selColumn;
switch (selColumn){ switch (selColumn){
case 'vhcleNo': case 'vhcleNo':
const gridDatas = GRID.store.data.rawData.map(d => { const gridDatas = GRID.store.data.rawData.map(d => {
return {extrlRegltCntcId: d.extrlRegltCntcId, regltSeCode: d.regltSeCode, regltId: d.regltId} return {extrlRegltCntcId: d.extrlRegltCntcId, regltSeCode: d.regltSeCode, regltId: d.regltId}
}) })
pageNav = new PageNavigation(GRID, gridDatas, props.rowKey); pageNav = new PageNavigation(GRID, gridDatas, props.rowKey);
fnTab0Biz.pagePopup('detail', pageNav.gridInfo.curRowData); fnTab0Biz.pagePopup('total', pageNav.gridInfo.curRowData);
break; break;
case 'cvplRceptNo': case 'cvplRceptNo':
alert('부과 / 서손 / 계도 처리 팝업'); const rowDatas = GRID.store.data.rawData.map(d => {
return {extrlRegltCntcId: d.extrlRegltCntcId, regltSeCode: d.regltSeCode, regltId: d.regltId}
})
pageNav = new PageNavigation(GRID, rowDatas, props.rowKey);
fnTab0Biz.pagePopup('detail', pageNav.gridInfo.curRowData);
break; break;
default: default:
@ -214,6 +225,26 @@ Date Author Description
} }
} }
}, },
{
header: '차량번호',
name: 'vhcleNo',
minWidth: 100,
sortable: false,
align: 'center',
renderer: {
type: CustomButtonRenderer,
options: {
formatter: (props)=>{
return {
formatter: props.grid.getRow(props.rowKey).vhcleNo
,element: "text"
}
}
,eventFunction: fnTab0Biz.onClickGrid
,eventType: "click"
}
}
},
{ {
header: '신고자', header: '신고자',
name: 'cvplApplcntNm', name: 'cvplApplcntNm',
@ -235,7 +266,7 @@ Date Author Description
editor: { editor: {
type: "select", type: "select",
options: { options: {
listItems: ComboCodeData.regltSeCode listItems: [...ComboCodeData.regltSeCode]
} }
}, },
}, },
@ -312,26 +343,6 @@ Date Author Description
sortable: false, sortable: false,
align: 'center', align: 'center',
}, },
{
header: '차량번호',
name: 'vhcleNo',
minWidth: 100,
sortable: false,
align: 'center',
renderer: {
type: CustomButtonRenderer,
options: {
formatter: (props)=>{
return {
formatter: props.grid.getRow(props.rowKey).vhcleNo
,element: "text"
}
}
,eventFunction: fnTab0Biz.onClickGrid
,eventType: "click"
}
}
},
{ {
header: '서손사유', header: '서손사유',
name: 'erppResnDetail', //erppSeCode name: 'erppResnDetail', //erppSeCode
@ -461,7 +472,8 @@ Date Author Description
}); });
pageNav.resetGrid(res, datas, (pagiNavigation)=>{ pageNav.resetGrid(res, datas, (pagiNavigation)=>{
pageNav = pagiNavigation; pageNav = pagiNavigation;
fnTab0Biz.pagePopup('detail', pageNav.gridInfo.curRowData); if(curClickColName === 'vhcleNo') fnTab0Biz.pagePopup('total', pageNav.gridInfo.curRowData);
else fnTab0Biz.pagePopup('detail', pageNav.gridInfo.curRowData);
}) })
} }
}); });

@ -112,9 +112,9 @@ ComboCodeData = {
// 단속처리상태코드 : FIM010 // 단속처리상태코드 : FIM010
,regltProcessSttusCode: [ ,regltProcessSttusCode: [
{value: '01', text: '초기상태'} {value: '01', text: '초기상태'}
,{value: '10', text: '단속'} ,{value: '10', text: '부과대상'}
,{value: '11', text: '서손'} ,{value: '11', text: '서손'}
,{value: '12', text: '의견진술수용'} ,{value: '12', text: '계도'}
,{value: '20', text: '부과'} ,{value: '20', text: '부과'}
] ]

@ -4,8 +4,9 @@ const fimsApiUrl = {
* fims 공통 API URL * fims 공통 API URL
*/ */
FIND_RCV_PATH_FILES: '/fims/biz/cmm/findRcvPathFiles.do' //연계파일 경로 파일 목록 조회 FIND_RCV_PATH_FILES: '/fims/biz/cmm/findRcvPathFiles.do' //연계파일 경로 파일 목록 조회
,POPUP_RT_REGLT_TOTAL: '/fims/biz/cmm/cmmFimsCrackdownMgtPopup.do' //단속정보 상세 팝업 ,POPUP_CRACKDOWN_TOTAL: '/fims/biz/cmm/cmmFimsCrackdownTotMgtPopup.do' //단속현황 개별 총정보 팝업
,POPUP_RT_EXTR_INTERFACE_FILE_SEL: '/fims/biz/cmm/cmmCrackdownRcvFilePopup.do' //CCTV 외부연계 데이타 선택 ,POPUP_CRACKDOWN_DTL: '/fims/biz/cmm/cmmFimsCrackdownDtlMgtPopup.do' //단속 정보 상세 팝업
,POPUP_EXTR_CRACKDOWN_FILE_SEL: '/fims/biz/cmm/cmmCrackdownRcvFilePopup.do' //CCTV 외부연계 데이타 선택
,FIND_CRACKDOWN_INFO: '/fims/biz/cmm/findCrackdownInfoAndAttchFiles.do' //단속현황-개별총정보 위반정보탭 조회 ,FIND_CRACKDOWN_INFO: '/fims/biz/cmm/findCrackdownInfoAndAttchFiles.do' //단속현황-개별총정보 위반정보탭 조회
,FIND_CRACKDOWNS: '/fims/biz/cmm/findCrackdownInfos.do' //단속현황-외부연계자료목록 ,FIND_CRACKDOWNS: '/fims/biz/cmm/findCrackdownInfos.do' //단속현황-외부연계자료목록
/** /**

Loading…
Cancel
Save