diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecCctvCrackdownMgtForm.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecCctvCrackdownMgtForm.jsp
index 12392965..51fd06a6 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecCctvCrackdownMgtForm.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecCctvCrackdownMgtForm.jsp
@@ -92,7 +92,7 @@
return {extrlRegltCntcId: d.extrlRegltCntcId, regltSeCode: d.regltSeCode}
})
pageNav = new PageNavigation(GRID, gridDatas, props.rowKey);
- fnBiz.pagePopup('detail', {extrlRegltCntcId: pageNav.gridInfo.curRowData.extrlRegltCntcId, regltSeCode: pageNav.gridInfo.curRowData.regltSeCode});
+ fnBiz.pagePopup('detail', pageNav.gridInfo.curRowData);
}
}
diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecCtznSttemntMgtForm.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecCtznSttemntMgtForm.jsp
index 41af27cf..3eb96ae7 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecCtznSttemntMgtForm.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecCtznSttemntMgtForm.jsp
@@ -129,7 +129,7 @@
return {interfaceSeqN: d.interfaceSeqN, ctznSttemntDetailSn: d.ctznSttemntDetailSn}
})
pageNav = new PageNavigation(GRID, gridDatas, props.rowKey);
- fnBiz.pagePopup('detail', {interfaceSeqN: pageNav.gridInfo.curRowData.interfaceSeqN, ctznSttemntDetailSn: pageNav.gridInfo.curRowData.ctznSttemntDetailSn});
+ fnBiz.pagePopup('detail', pageNav.gridInfo);
}
,onClickCreateAnswerPopup: function(props){
const rowData = props.grid.getRow(props.rowKey);
diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtRegltMgtForm.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtRegltMgtForm.jsp
index a490c252..7f11a192 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtRegltMgtForm.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtRegltMgtForm.jsp
@@ -83,7 +83,7 @@
}
,pagePopup: function(flag, params){
- let url = '';
+ let url = fimsApiUrl.POPUP_RT_REGLT_INFO;
let popTitle;
let popOption = {width: 1200, height:900};
switch (flag) {
@@ -117,7 +117,7 @@
return {regltId: d.regltId, regltSeCode: d.regltSeCode}
})
pageNav = new PageNavigation(GRID, gridDatas, props.rowKey);
- fnBiz.pagePopup('detail', {regltId: pageNav.gridInfo.curRowData.regltId, regltSeCode: pageNav.gridInfo.curRowData.regltSeCode});
+ fnBiz.pagePopup('detail', pageNav.gridInfo.curRowData);
}
}
@@ -284,7 +284,7 @@
initialRequest: true, // 화면 load시 조회 안함 - default
api: {
readData: {
- url: ''
+ url: fimsApiUrl.FIND_RT_REGLTS
,serializer: (params) => {
const param = {
sch_date_opt: $('#sch_date_opt').val()
diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtRegltMgtPopup.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtRegltMgtPopup.jsp
index 3b72ad95..4805d6ef 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtRegltMgtPopup.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rtRegltMgtPopup.jsp
@@ -150,7 +150,7 @@
search: (params) => {
cmmAjax({
showSuccessMsg: false
- ,url: ''
+ ,url: fimsApiUrl.FIND_RT_REGLT_INFO_AND_ATTCH_FILES
,data: params
,success: (res) => {
cmmImgDownload('#imgList', res.attchFiles, true);
@@ -162,8 +162,8 @@
,downloadImg: () => {
cmmAjax({
showSuccessMsg: false
- ,url: ''
- ,data: {regltId:'${dto.regltId}', regltSeCode: '${dto.regltSeCode}'}
+ ,url: fimsApiUrl.FIND_RT_REGLT_ATTCH_FILES
+ ,data: downloadImgParam
,success: (res) => {
cmmImgDownload('#imgList', res.data?.contents, true);
}
@@ -173,7 +173,7 @@
if (!fnBiz.validate()) return;
cmmBizAjax('add', {
- url: ''
+ url: fimsApiUrl.ADD_RT_REGLT
, data: $("#frmSearch").serialize()
})
}
@@ -181,14 +181,14 @@
/*if (!fnBiz.validate()) return;*/
cmmBizAjax('modify', {
- url: ''
+ url: fimsApiUrl.MODIFY_RT_REGLT
,data: $("#frmSearch").serialize()
});
}
,remove: () => {
$("input[name=useAt]").val('N');
cmmBizAjax('remove', {
- url: ''
+ url: fimsApiUrl.MODIFY_RT_REGLT
,data: $("#frmSearch").serialize()
});
}
diff --git a/src/main/webapp/resources/biz/common/js/fimsApiURL.js b/src/main/webapp/resources/biz/common/js/fimsApiURL.js
index 8b14fc49..413731ba 100644
--- a/src/main/webapp/resources/biz/common/js/fimsApiURL.js
+++ b/src/main/webapp/resources/biz/common/js/fimsApiURL.js
@@ -6,8 +6,6 @@ const fimsApiUrl = {
-
-
/**
* fims API URL
*/
@@ -34,7 +32,7 @@ const fimsApiUrl = {
,POPUP_CCTV_EC_EXTRL_REGLT_CNTC_INFO: '/fims/biz/ec/ecCctvCrackdownPopup.do' //CCTV 외부연계 데이타 상세
,POPUP_CCTV_EC_EXTRL_REGLT_CNTC_DATA_SEL: '/fims/biz/ec/ecCctvCrackdownFileSelPopup.do' //CCTV 외부연계 데이타 선택
,FIND_CCTV_EC_EXTRL_REGLT_CNTCS: '/fims/biz/ec/findExtrlRegltCntcs.do' //CCTV 외부연계 데이타 목록 조회
- ,FIND_CCTV_EC_EXTRL_REGLT_CNTC: '/fims/biz/ec/findExtrlRegltCntc.do' //CCTV 외부연계 데이타 목록 조회
+ ,FIND_CCTV_EC_EXTRL_REGLT_CNTC: '/fims/biz/ec/findExtrlRegltCntc.do' //CCTV 외부연계 데이타 목록 조회
,FIND_CCTV_EC_EXTRL_REGLT_CNTC_AND_ATTCH_FILES: '/fims/biz/ec/findExtrlRegltCntcAndAttchFiles.do' //CCTV 외부연계 정보 및 첨부파일 조회
,SAVE_CCTV_EC_EXTRL_REGLT_CNTCS: '/fims/biz/ec/saveCctvCrackdownDatas.do' //CCTV 외부연계(고정형 / 이동형) 데이타 저장
,SAVE_BUS_ONLY_EC_EXTRL_REGLT_CNTC: '/fims/biz/ec/saveBusCctvCrackdownDatas.do' //CCTV 외부연계(버스전용차료) 데이타 저장
@@ -42,6 +40,16 @@ const fimsApiUrl = {
,SAVE_EC_EXTRL_REGLT_CNTC_RT_REGLT: '/fims/biz/ec/saveExtrRtReglt.do' //CCTV 외부연계 데이타 단속자료 생성
,SAVE_EC_EXTRL_REGLT_CNTC_RT_ERPP: '/fims/biz/ec/saveExtrRtErpp.do' //CCTV 외부연계 데이타 서손자료 생성
,FIND_BUS_ONLY_EC_EXTRL_REGLT_CNTC_ATTCH_FILES: '/fims/biz/ec/findBusCctvCrackdownFiles.do' //CCTV 외부연계(버스전용차료) 데이타 조회
- ,FIND_EC_EXTRL_REGLT_CNTC_ATTCH_FILES: '/fims/biz/ec/findExtrlRegltCntcAttchFiles.do' //CCTV 외부연계 첨부파일 목록 조회
+ ,FIND_EC_EXTRL_REGLT_CNTC_ATTCH_FILES: '/fims/biz/ec/findExtrlRegltCntcAttchFiles.do' //CCTV 외부연계 첨부파일 목록 조회
+
+ //단속관리 - 단속현황관리
+ ,POPUP_RT_REGLT_INFO: '/fims/biz/rt/rtRegltMgtPopup.do' //단속정보 상세 팝업
+ ,FIND_RT_REGLTS: '/fims/biz/rt/findRtReglts.do' //단속 목록 조회
+ ,FIND_RT_REGLT_INFO_AND_ATTCH_FILES: '/fims/biz/rt/findRtRegltAndAttchFiles.do' //단속 정보 및 첨부파일 목록 조회
+ ,ADD_RT_REGLT: '/fims/biz/rt/addRtReglt.do' //단속 데이타 저장
+ ,MODIFY_RT_REGLT: '/fims/biz/rt/modifyRtReglt.do' //단속 데이타 변경
+ ,REMOVE_RT_REGLT: '/fims/biz/rt/removeRtReglt.do' //단속 데이타 변경
+ ,FIND_RT_REGLT_ATTCH_FILES: '/fims/biz/rt/findRtRegltAttchFiles.do' //단속 정보 첨부파일 목록 조회
+
}