diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02010-main.jsp
index f1df736..7934343 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02010-main.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02010-main.jsp
@@ -766,37 +766,13 @@ $(document).ready(function(){
}
}
- $P.dblclickInspectionDataList = (dataKey) => {
-
- var taskSeCd = $P.$findn("frmSearch").find("input[name='taskSeCd']:checked").val();
-
- var dialogUrl = wctx.url("/sprt/sprt02/010/main.do");
-
- let params = {
+ $P.dblclickInspectionDataList = (dataKey) => crdnTotalInfo(
+ {
callPageName : "${pageName}",
crdnId : dataKey
- }
-
- ajax.get({
- url : dialogUrl,
- data : params,
- success : (resp) => {
-
- let dialogName = "totalInfoMainDialog";
- let dialogId = dialogName+"-"+uuid();
-
- dialog.open({
- id : dialogId,
- title : "개별총정보", size : "xxl", content : resp,
- init : () => {
- $("#"+dialogId).attr("name", dialogName);
- $("#"+dialogId).attr("data-ref-doctx","${pageName}");
- }
- });
-
- }
- });
- }
+ },
+ () => $P.refreshInspectionList()
+ );
$P.showPhoto = (crdnId, nextCrndId, curDataVhrno, nextDataVhrno) => {
diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn03010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn03010-main.jsp
index 5053081..9acfd1a 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn03010-main.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn03010-main.jsp
@@ -269,31 +269,10 @@ $(document).ready(function(){
}
$P.dblclickCrdnList = (dataKey) => {
- let params = {
+ crdnTotalInfo({
callPageName : "${pageName}",
crdnId : dataKey
- }
-
- ajax.get({
- url : ctrl.urls.getInfo,
- data : params,
- success : (resp) => {
-
- let dialogName = "totalInfoMainDialog";
- let dialogId = dialogName+"-"+uuid();
-
- dialog.open({
- id : dialogId,
- title : "개별총정보", size : "xxl", content : resp,
- init : () => {
- $("#"+dialogId).attr("name", dialogName);
- $("#"+dialogId).attr("data-ref-doctx","${pageName}");
- }
- });
-
- }
});
-
}
$P.save = () => {
diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp
index 395874e..068ff0a 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp
@@ -180,6 +180,17 @@
+
+
+
+
+
+
+
+<%--
+--%>
diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp
index 7478c22..750f753 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp
@@ -464,32 +464,13 @@ $(document).ready(function(){
Apply.toDataset.current(ctrl.dataset, dataIndex);
}
- $P.dblclickCrdnList = (dataKey) => {
- var params = {
+ $P.dblclickCrdnList = (dataKey) => crdnTotalInfo(
+ {
callPageName : "${pageName}",
crdnId : dataKey
- };
-
- ajax.get({
- url : ctrl.urls.getInfo,
- data : params,
- success : (resp) => {
- let dialogName = "totalInfoMainDialog";
- let dialogId = dialogName+"-"+uuid();
-
- dialog.open({
- id : dialogId,
- title : "개별총정보", size : "xxl", content : resp,
- init : () => {
- $("#"+dialogId).attr("name", dialogName);
- $("#"+dialogId).attr("data-ref-doctx","${pageName}");
- }
- });
-
- }
- });
-
- }
+ },
+ () => $P.refreshCrdnList()
+ );
$P.fnSendCrdn = () => {
var datas = ctrl.dataset.getDataset("selected");
diff --git a/src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp
index 7320f34..8ea275c 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp
@@ -326,39 +326,12 @@
$P.dataTableDblClick = (dataIndex) => {
if (!dataIndex) return;
- // 단속 ID
- let crdnId = $P.ctrl.getValue("CRDN_ID");
- if (!crdnId) return;
-
- let params = {
+ crdnTotalInfo({
callPageName: "${pageName}"
, callPurpose: "update"
, sggCd: $P.ctrl.getValue("SGG_CD")
, taskSeCd: $P.ctrl.getValue("TASK_SE_CD")
, crdnId: $P.ctrl.getValue("CRDN_ID")
- }
-
- ajax.get({
- url: wctx.url("/sprt/sprt02/010/main.do")
- , data: params || {}
- , success: (resp) => {
- let dialogName = "totalInfoMainDialog";
- let dialogId = dialogName + "-" + uuid();
-
- dialog.open({
- id: dialogId
- , title: "개별총정보"
- , size: "xxl"
- , content: resp
- , init: () => {
- $("#" + dialogId).attr("name", dialogName);
- $("#" + dialogId).attr("data-ref-doctx", "${pageName}");
-
- AppSupport.setDialogZindex();
- }
- , onClose: () => { }
- });
- }
});
}
diff --git a/src/main/webapp/WEB-INF/jsp/fims/excl/excl02010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/excl/excl02010-main.jsp
index d4b4b1d..3c9e6ee 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/excl/excl02010-main.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/excl/excl02010-main.jsp
@@ -387,39 +387,12 @@
$P.dataTableDblClick = (dataIndex) => {
if (!dataIndex) return;
- // 단속 ID
- let crdnId = $P.ctrl.getValue("CRDN_ID");
- if (!crdnId) return;
-
- let params = {
+ crdnTotalInfo({
callPageName: "${pageName}"
, callPurpose: "update"
, sggCd: $P.ctrl.getValue("SGG_CD")
, taskSeCd: $P.ctrl.getValue("TASK_SE_CD")
, crdnId: $P.ctrl.getValue("CRDN_ID")
- }
-
- ajax.get({
- url: wctx.url("/sprt/sprt02/010/main.do")
- , data: params || {}
- , success: (resp) => {
- let dialogName = "totalInfoMainDialog";
- let dialogId = dialogName + "-" + uuid();
-
- dialog.open({
- id: dialogId
- , title: "개별총정보"
- , size: "xxl"
- , content: resp
- , init: () => {
- $("#" + dialogId).attr("name", dialogName);
- $("#" + dialogId).attr("data-ref-doctx", "${pageName}");
-
- AppSupport.setDialogZindex();
- }
- , onClose: () => { }
- });
- }
});
}
diff --git a/src/main/webapp/WEB-INF/jsp/fims/excl/excl03010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/excl/excl03010-main.jsp
index c5ee517..14d6f33 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/excl/excl03010-main.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/excl/excl03010-main.jsp
@@ -286,39 +286,12 @@
$P.dataTableDblClick = (dataIndex) => {
if (!dataIndex) return;
- // 단속 ID
- let crdnId = $P.ctrl.getValue("CRDN_ID");
- if (!crdnId) return;
-
- let params = {
+ crdnTotalInfo({
callPageName: "${pageName}"
, callPurpose: "update"
, sggCd: $P.ctrl.getValue("SGG_CD")
, taskSeCd: $P.ctrl.getValue("TASK_SE_CD")
, crdnId: $P.ctrl.getValue("CRDN_ID")
- }
-
- ajax.get({
- url: wctx.url("/sprt/sprt02/010/main.do")
- , data: params || {}
- , success: (resp) => {
- let dialogName = "totalInfoMainDialog";
- let dialogId = dialogName + "-" + uuid();
-
- dialog.open({
- id: dialogId
- , title: "개별총정보"
- , size: "xxl"
- , content: resp
- , init: () => {
- $("#" + dialogId).attr("name", dialogName);
- $("#" + dialogId).attr("data-ref-doctx", "${pageName}");
-
- AppSupport.setDialogZindex();
- }
- , onClose: () => { }
- });
- }
});
}
diff --git a/src/main/webapp/WEB-INF/jsp/fims/levy/levy01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/levy/levy01010-main.jsp
index 737a38b..b09aae7 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/levy/levy01010-main.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/levy/levy01010-main.jsp
@@ -339,39 +339,12 @@
$P.dataTableDblClick = (dataIndex) => {
if (!dataIndex) return;
- // 단속 ID
- let crdnId = $P.ctrl.getValue("CRDN_ID");
- if (!crdnId) return;
-
- let params = {
+ crdnTotalInfo({
callPageName: "${pageName}"
, callPurpose: "update"
, sggCd: $P.ctrl.getValue("SGG_CD")
, taskSeCd: $P.ctrl.getValue("TASK_SE_CD")
, crdnId: $P.ctrl.getValue("CRDN_ID")
- }
-
- ajax.get({
- url: wctx.url("/sprt/sprt02/010/main.do")
- , data: params || {}
- , success: (resp) => {
- let dialogName = "totalInfoMainDialog";
- let dialogId = dialogName + "-" + uuid();
-
- dialog.open({
- id: dialogId
- , title: "개별총정보"
- , size: "xxl"
- , content: resp
- , init: () => {
- $("#" + dialogId).attr("name", dialogName);
- $("#" + dialogId).attr("data-ref-doctx", "${pageName}");
-
- AppSupport.setDialogZindex();
- }
- , onClose: () => { }
- });
- }
});
}
diff --git a/src/main/webapp/WEB-INF/jsp/fims/levy/levy01050-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/levy/levy01050-main.jsp
index 8334451..c0b11a7 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/levy/levy01050-main.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/levy/levy01050-main.jsp
@@ -383,39 +383,12 @@
$P.dataTableDblClick = (dataIndex) => {
if (!dataIndex) return;
- // 단속 ID
- let crdnId = $P.ctrl.getValue("CRDN_ID");
- if (!crdnId) return;
-
- let params = {
+ crdnTotalInfo({
callPageName: "${pageName}"
, callPurpose: "update"
, sggCd: $P.ctrl.getValue("SGG_CD")
, taskSeCd: $P.ctrl.getValue("TASK_SE_CD")
, crdnId: $P.ctrl.getValue("CRDN_ID")
- }
-
- ajax.get({
- url: wctx.url("/sprt/sprt02/010/main.do")
- , data: params || {}
- , success: (resp) => {
- let dialogName = "totalInfoMainDialog";
- let dialogId = dialogName + "-" + uuid();
-
- dialog.open({
- id: dialogId
- , title: "개별총정보"
- , size: "xxl"
- , content: resp
- , init: () => {
- $("#" + dialogId).attr("name", dialogName);
- $("#" + dialogId).attr("data-ref-doctx", "${pageName}");
-
- AppSupport.setDialogZindex();
- }
- , onClose: () => { }
- });
- }
});
}
diff --git a/src/main/webapp/WEB-INF/jsp/fims/levy/levy02010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/levy/levy02010-main.jsp
index a690352..4f32924 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/levy/levy02010-main.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/levy/levy02010-main.jsp
@@ -301,39 +301,12 @@
$P.dataTableDblClick = (dataIndex) => {
if (!dataIndex) return;
- // 단속 ID
- let crdnId = $P.ctrl.getValue("CRDN_ID");
- if (!crdnId) return;
-
- let params = {
+ crdnTotalInfo({
callPageName: "${pageName}"
, callPurpose: "update"
, sggCd: $P.ctrl.getValue("SGG_CD")
, taskSeCd: $P.ctrl.getValue("TASK_SE_CD")
, crdnId: $P.ctrl.getValue("CRDN_ID")
- }
-
- ajax.get({
- url: wctx.url("/sprt/sprt02/010/main.do")
- , data: params || {}
- , success: (resp) => {
- let dialogName = "totalInfoMainDialog";
- let dialogId = dialogName + "-" + uuid();
-
- dialog.open({
- id: dialogId
- , title: "개별총정보"
- , size: "xxl"
- , content: resp
- , init: () => {
- $("#" + dialogId).attr("name", dialogName);
- $("#" + dialogId).attr("data-ref-doctx", "${pageName}");
-
- AppSupport.setDialogZindex();
- }
- , onClose: () => { }
- });
- }
});
}
diff --git a/src/main/webapp/WEB-INF/jsp/fims/rcvm/rcvm01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/rcvm/rcvm01010-main.jsp
index 132f074..c62a5a8 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/rcvm/rcvm01010-main.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/rcvm/rcvm01010-main.jsp
@@ -375,39 +375,12 @@
$P.dataTableDblClick = (dataIndex) => {
if (!dataIndex) return;
- // 단속 ID
- let crdnId = $P.ctrl.getValue("CRDN_ID");
- if (!crdnId) return;
-
- let params = {
+ crdnTotalInfo({
callPageName: "${pageName}"
, callPurpose: "update"
, sggCd: $P.ctrl.getValue("SGG_CD")
, taskSeCd: $P.ctrl.getValue("TASK_SE_CD")
, crdnId: $P.ctrl.getValue("CRDN_ID")
- }
-
- ajax.get({
- url: wctx.url("/sprt/sprt02/010/main.do")
- , data: params || {}
- , success: (resp) => {
- let dialogName = "totalInfoMainDialog";
- let dialogId = dialogName + "-" + uuid();
-
- dialog.open({
- id: dialogId
- , title: "개별총정보"
- , size: "xxl"
- , content: resp
- , init: () => {
- $("#" + dialogId).attr("name", dialogName);
- $("#" + dialogId).attr("data-ref-doctx", "${pageName}");
-
- AppSupport.setDialogZindex();
- }
- , onClose: () => { }
- });
- }
});
}
diff --git a/src/main/webapp/WEB-INF/jsp/fims/rdca/rdca01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/rdca/rdca01010-main.jsp
index 5a87250..0be34cf 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/rdca/rdca01010-main.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/rdca/rdca01010-main.jsp
@@ -304,39 +304,12 @@
$P.dataTableDblClick = (dataIndex) => {
if (!dataIndex) return;
- // 단속 ID
- let crdnId = $P.ctrl.getValue("CRDN_ID");
- if (!crdnId) return;
-
- let params = {
+ crdnTotalInfo({
callPageName: "${pageName}"
, callPurpose: "update"
, sggCd: $P.ctrl.getValue("SGG_CD")
, taskSeCd: $P.ctrl.getValue("TASK_SE_CD")
, crdnId: $P.ctrl.getValue("CRDN_ID")
- }
-
- ajax.get({
- url: wctx.url("/sprt/sprt02/010/main.do")
- , data: params || {}
- , success: (resp) => {
- let dialogName = "totalInfoMainDialog";
- let dialogId = dialogName + "-" + uuid();
-
- dialog.open({
- id: dialogId
- , title: "개별총정보"
- , size: "xxl"
- , content: resp
- , init: () => {
- $("#" + dialogId).attr("name", dialogName);
- $("#" + dialogId).attr("data-ref-doctx", "${pageName}");
-
- AppSupport.setDialogZindex();
- }
- , onClose: () => { }
- });
- }
});
}
diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01010-main.jsp
index d90f9b8..6fb887e 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01010-main.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01010-main.jsp
@@ -341,40 +341,13 @@
$P.dataTableDblClick = (dataIndex) => {
if (!dataIndex) return;
- // 단속 ID
- let crdnId = $P.ctrl.getValue("CRDN_ID");
- if (!crdnId) return;
-
- let params = {
- callPageName: "${pageName}"
- , callPurpose: "update"
- , sggCd: $P.ctrl.getValue("SGG_CD")
- , taskSeCd: $P.ctrl.getValue("TASK_SE_CD")
- , crdnId: $P.ctrl.getValue("CRDN_ID")
- }
-
- ajax.get({
- url: wctx.url("/sprt/sprt02/010/main.do")
- , data: params || {}
- , success: (resp) => {
- let dialogName = "totalInfoMainDialog";
- let dialogId = dialogName + "-" + uuid();
-
- dialog.open({
- id: dialogId
- , title: "개별총정보"
- , size: "xxl"
- , content: resp
- , init: () => {
- $("#" + dialogId).attr("name", dialogName);
- $("#" + dialogId).attr("data-ref-doctx", "${pageName}");
-
- AppSupport.setDialogZindex();
- }
- , onClose: () => { }
- });
- }
- });
+ crdnTotalInfo({
+ callPageName: "${pageName}"
+ , callPurpose: "update"
+ , sggCd: $P.ctrl.getValue("SGG_CD")
+ , taskSeCd: $P.ctrl.getValue("TASK_SE_CD")
+ , crdnId: $P.ctrl.getValue("CRDN_ID")
+ });
}
// DataTables에 스크롤이 맨 밑으로 이동했을 때 이벤트
diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01020-info.jsp
index 6d6ba02..b407d89 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01020-info.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01020-info.jsp
@@ -189,39 +189,12 @@
$P.dataTableDblClick = (dataIndex) => {
if (!dataIndex) return;
- // 단속 ID
- let crdnId = $P.ctrl.getValue("CRDN_ID");
- if (!crdnId) return;
-
- let params = {
+ crdnTotalInfo({
callPageName: "${pageName}"
, callPurpose: "view"
, sggCd: $P.ctrl.getValue("SGG_CD")
, taskSeCd: $P.ctrl.getValue("TASK_SE_CD")
, crdnId: $P.ctrl.getValue("CRDN_ID")
- }
-
- ajax.get({
- url: wctx.url("/sprt/sprt02/010/main.do")
- , data: params || {}
- , success: (resp) => {
- let dialogName = "totalInfoMainDialog";
- let dialogId = dialogName + "-" + uuid();
-
- dialog.open({
- id: dialogId
- , title: "개별총정보"
- , size: "xxl"
- , content: resp
- , init: () => {
- $("#" + dialogId).attr("name", dialogName);
- $("#" + dialogId).attr("data-ref-doctx", "${pageName}");
-
- AppSupport.setDialogZindex();
- }
- , onClose: () => { }
- });
- }
});
}
diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01040-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01040-info.jsp
index 0831178..683fb14 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01040-info.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01040-info.jsp
@@ -156,39 +156,12 @@
$P.dataTableDblClick = (dataIndex) => {
if (!dataIndex) return;
- // 단속 ID
- let crdnId = $P.ctrl.getValue("CRDN_ID");
- if (!crdnId) return;
-
- let params = {
- callPageName: "${pageName}"
- , callPurpose: "view"
- , sggCd: $P.ctrl.getValue("SGG_CD")
- , taskSeCd: $P.ctrl.getValue("TASK_SE_CD")
- , crdnId: $P.ctrl.getValue("CRDN_ID")
- }
-
- ajax.get({
- url: wctx.url("/sprt/sprt02/010/main.do")
- , data: params || {}
- , success: (resp) => {
- let dialogName = "totalInfoMainDialog";
- let dialogId = dialogName + "-" + uuid();
-
- dialog.open({
- id: dialogId
- , title: "개별총정보"
- , size: "xxl"
- , content: resp
- , init: () => {
- $("#" + dialogId).attr("name", dialogName);
- $("#" + dialogId).attr("data-ref-doctx", "${pageName}");
-
- AppSupport.setDialogZindex();
- }
- , onClose: () => { }
- });
- }
+ crdnTotalInfo({
+ callPageName: "${pageName}"
+ , callPurpose: "view"
+ , sggCd: $P.ctrl.getValue("SGG_CD")
+ , taskSeCd: $P.ctrl.getValue("TASK_SE_CD")
+ , crdnId: $P.ctrl.getValue("CRDN_ID")
});
}
diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01050-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01050-main.jsp
index 69677ad..b3c18db 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01050-main.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01050-main.jsp
@@ -315,39 +315,12 @@
$P.dataTableDblClick = (dataIndex) => {
if (!dataIndex) return;
- // 단속 ID
- let crdnId = $P.ctrl.getValue("CRDN_ID");
- if (!crdnId) return;
-
- let params = {
+ crdnTotalInfo({
callPageName: "${pageName}"
, callPurpose: "update"
, sggCd: $P.ctrl.getValue("SGG_CD")
, taskSeCd: $P.ctrl.getValue("TASK_SE_CD")
, crdnId: $P.ctrl.getValue("CRDN_ID")
- }
-
- ajax.get({
- url: wctx.url("/sprt/sprt02/010/main.do")
- , data: params || {}
- , success: (resp) => {
- let dialogName = "totalInfoMainDialog";
- let dialogId = dialogName + "-" + uuid();
-
- dialog.open({
- id: dialogId
- , title: "개별총정보"
- , size: "xxl"
- , content: resp
- , init: () => {
- $("#" + dialogId).attr("name", dialogName);
- $("#" + dialogId).attr("data-ref-doctx", "${pageName}");
-
- AppSupport.setDialogZindex();
- }
- , onClose: () => { }
- });
- }
});
}
diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01060-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01060-info.jsp
index c755bbe..75a8225 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01060-info.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01060-info.jsp
@@ -189,39 +189,12 @@
$P.dataTableDblClick = (dataIndex) => {
if (!dataIndex) return;
- // 단속 ID
- let crdnId = $P.ctrl.getValue("CRDN_ID");
- if (!crdnId) return;
-
- let params = {
+ crdnTotalInfo({
callPageName: "${pageName}"
, callPurpose: "view"
, sggCd: $P.ctrl.getValue("SGG_CD")
, taskSeCd: $P.ctrl.getValue("TASK_SE_CD")
, crdnId: $P.ctrl.getValue("CRDN_ID")
- }
-
- ajax.get({
- url: wctx.url("/sprt/sprt02/010/main.do")
- , data: params || {}
- , success: (resp) => {
- let dialogName = "totalInfoMainDialog";
- let dialogId = dialogName + "-" + uuid();
-
- dialog.open({
- id: dialogId
- , title: "개별총정보"
- , size: "xxl"
- , content: resp
- , init: () => {
- $("#" + dialogId).attr("name", dialogName);
- $("#" + dialogId).attr("data-ref-doctx", "${pageName}");
-
- AppSupport.setDialogZindex();
- }
- , onClose: () => { }
- });
- }
});
}
diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01080-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01080-info.jsp
index cb5ada0..a751bc1 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01080-info.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01080-info.jsp
@@ -191,39 +191,12 @@
$P.dataTableDblClick = (dataIndex) => {
if (!dataIndex) return;
- // 단속 ID
- let crdnId = $P.ctrl.getValue("CRDN_ID");
- if (!crdnId) return;
-
- let params = {
+ crdnTotalInfo({
callPageName: "${pageName}"
, callPurpose: "view"
, sggCd: $P.ctrl.getValue("SGG_CD")
, taskSeCd: $P.ctrl.getValue("TASK_SE_CD")
, crdnId: $P.ctrl.getValue("CRDN_ID")
- }
-
- ajax.get({
- url: wctx.url("/sprt/sprt02/010/main.do")
- , data: params || {}
- , success: (resp) => {
- let dialogName = "totalInfoMainDialog";
- let dialogId = dialogName + "-" + uuid();
-
- dialog.open({
- id: dialogId
- , title: "개별총정보"
- , size: "xxl"
- , content: resp
- , init: () => {
- $("#" + dialogId).attr("name", dialogName);
- $("#" + dialogId).attr("data-ref-doctx", "${pageName}");
-
- AppSupport.setDialogZindex();
- }
- , onClose: () => { }
- });
- }
});
}
diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01090-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01090-main.jsp
index 705fd2d..202ab5e 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01090-main.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01090-main.jsp
@@ -408,28 +408,11 @@
// 개별총정보 dialog
$P.getTotalInfo = (crdnId) => {
- if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return;
-
- let params = {
+ crdnTotalInfo({
callControlName : "pageObject['${pageName}'].control"
, sggCd : $("#sggCd--${pageName}").val()
, taskSeCd : $("#frmSearch--${pageName} input[name='taskSeCd']:checked").val()
, crdnId : crdnId
- }
-
- ajax.get({
- url : wctx.url("/sprt/sprt02/010/main.do")
- , data : params
- , success : resp => {
- dialog.open({
- id : "totalInfoMainDialog"
- , title : "개별총정보"
- , content : resp
- , size : "xxl"
- , init : () => { }
- , onClose : () => { }
- });
- }
});
}
diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01120-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01120-info.jsp
index d06a515..c69e41c 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01120-info.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01120-info.jsp
@@ -184,39 +184,12 @@
$P.dataTableDblClick = (dataIndex) => {
if (!dataIndex) return;
- // 단속 ID
- let crdnId = $P.ctrl.getValue("CRDN_ID");
- if (!crdnId) return;
-
- let params = {
+ crdnTotalInfo({
callPageName: "${pageName}"
, callPurpose: "view"
, sggCd: $P.ctrl.getValue("SGG_CD")
, taskSeCd: $P.ctrl.getValue("TASK_SE_CD")
, crdnId: $P.ctrl.getValue("CRDN_ID")
- }
-
- ajax.get({
- url: wctx.url("/sprt/sprt02/010/main.do")
- , data: params || {}
- , success: (resp) => {
- let dialogName = "totalInfoMainDialog";
- let dialogId = dialogName + "-" + uuid();
-
- dialog.open({
- id: dialogId
- , title: "개별총정보"
- , size: "xxl"
- , content: resp
- , init: () => {
- $("#" + dialogId).attr("name", dialogName);
- $("#" + dialogId).attr("data-ref-doctx", "${pageName}");
-
- AppSupport.setDialogZindex();
- }
- , onClose: () => { }
- });
- }
});
}
diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01210-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01210-info.jsp
index 508d5cc..b842874 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01210-info.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01210-info.jsp
@@ -403,26 +403,11 @@
// DataTables에 더블 클릭시 개별총정보 dialog
$P.getTotalInfo = (crdnId) => {
- if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return;
-
- let params = {
+ crdnTotalInfo({
callControlName: "pageObject['${pageName}'].control"
, sggCd: $P.control.dataset.getValue("SGG_CD")
, taskSeCd: $P.control.dataset.getValue("TASK_SE_CD")
, crdnId: crdnId
- }
-
- ajax.get({
- url: wctx.url("/sprt/sprt02/010/main.do")
- , data: params
- , success: resp => {
- dialog.open({
- id: "totalInfoMainDialog"
- , title: "개별총정보"
- , content: resp
- , size: "xxl"
- });
- }
});
}
diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01220-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01220-main.jsp
index d70506e..528cf2e 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01220-main.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01220-main.jsp
@@ -350,39 +350,12 @@
$P.dataTableDblClick = (dataIndex) => {
if (!dataIndex) return;
- // 단속 ID
- let crdnId = $P.ctrl.getValue("CRDN_ID");
- if (!crdnId) return;
-
- let params = {
+ crdnTotalInfo({
callPageName: "${pageName}"
, callPurpose: "update"
, sggCd: $P.ctrl.getValue("SGG_CD")
, taskSeCd: $P.ctrl.getValue("TASK_SE_CD")
, crdnId: $P.ctrl.getValue("CRDN_ID")
- }
-
- ajax.get({
- url: wctx.url("/sprt/sprt02/010/main.do")
- , data: params || {}
- , success: (resp) => {
- let dialogName = "totalInfoMainDialog";
- let dialogId = dialogName + "-" + uuid();
-
- dialog.open({
- id: dialogId
- , title: "개별총정보"
- , size: "xxl"
- , content: resp
- , init: () => {
- $("#" + dialogId).attr("name", dialogName);
- $("#" + dialogId).attr("data-ref-doctx", "${pageName}");
-
- AppSupport.setDialogZindex();
- }
- , onClose: () => { }
- });
- }
});
}
diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01250-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01250-info.jsp
index b69c2d1..30cdda3 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01250-info.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01250-info.jsp
@@ -189,39 +189,12 @@
$P.dataTableDblClick = (dataIndex) => {
if (!dataIndex) return;
- // 단속 ID
- let crdnId = $P.ctrl.getValue("CRDN_ID");
- if (!crdnId) return;
-
- let params = {
+ crdnTotalInfo({
callPageName: "${pageName}"
, callPurpose: "view"
, sggCd: $P.ctrl.getValue("SGG_CD")
, taskSeCd: $P.ctrl.getValue("TASK_SE_CD")
, crdnId: $P.ctrl.getValue("CRDN_ID")
- }
-
- ajax.get({
- url: wctx.url("/sprt/sprt02/010/main.do")
- , data: params || {}
- , success: (resp) => {
- let dialogName = "totalInfoMainDialog";
- let dialogId = dialogName + "-" + uuid();
-
- dialog.open({
- id: dialogId
- , title: "개별총정보"
- , size: "xxl"
- , content: resp
- , init: () => {
- $("#" + dialogId).attr("name", dialogName);
- $("#" + dialogId).attr("data-ref-doctx", "${pageName}");
-
- AppSupport.setDialogZindex();
- }
- , onClose: () => { }
- });
- }
});
}
diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01010-main.jsp
index 5c46377..c3ca750 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01010-main.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01010-main.jsp
@@ -601,32 +601,9 @@ $(document).ready(function() {
}
}
- var params = {
+ crdnTotalInfo({
callPageName : "${pageName}",
crdnId : crdnId
- }
-
- ajax.get({
- url : wctx.url("/sprt/sprt02/010/main.do")
- , data : params
- , success : (resp) => {
- let dialogName = "totalInfoMainDialog";
- let dialogId = dialogName+"-"+uuid();
-
- dialog.open({
- id : dialogId
- , title : "개별총정보"
- , size : "xxl"
- , content : resp
- , init : () => {
- $("#"+dialogId).attr("name", dialogName);
- $("#"+dialogId).attr("data-ref-doctx","${pageName}");
-
- AppSupport.setDialogZindex();
- }
- , onClose : () => { }
- });
- }
});
}
diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp
index 78e12ad..88451ca 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp
@@ -18,6 +18,12 @@
+
+
+
+
+
+<%--
@@ -37,6 +43,7 @@
+--%>
@@ -96,6 +103,14 @@
+
+
+
+
+
+
+
+<%--
@@ -108,6 +123,7 @@
+--%>
~
@@ -222,14 +238,14 @@
-
-
-
-
+
+
+
+
@@ -575,6 +591,9 @@
// 단속, 납부자 정보
if (resp.crdnPayerInfo) { $P.ctrlCrdn.setData([resp.crdnPayerInfo]); }
+
+ let hide = pageObject["${pageNameMain}"].ctrlMain.dataset.getDataset()[0].CRDN_STTS_CD != "21";
+ $P.$findn("excludeBtns").prop("hidden", hide);
}
});
}
diff --git a/src/main/webapp/WEB-INF/jsp/index.jsp b/src/main/webapp/WEB-INF/jsp/index.jsp
index e0abf50..92bb542 100644
--- a/src/main/webapp/WEB-INF/jsp/index.jsp
+++ b/src/main/webapp/WEB-INF/jsp/index.jsp
@@ -330,6 +330,33 @@
//대시보드 로드
${dashboardLoadScript}
}
+
+ function crdnTotalInfo(params = {}, onClose = () => {}) {
+ if (!params.crdnId) return;
+
+ ajax.get({
+ url: wctx.url("/sprt/sprt02/010/main.do")
+ , data: params
+ , success: (resp) => {
+ let dialogName = "totalInfoMainDialog";
+ let dialogId = dialogName + "-" + uuid();
+
+ dialog.open({
+ id: dialogId
+ , title: "개별총정보"
+ , size: "xxl"
+ , content: resp
+ , init: () => {
+ $("#" + dialogId).attr("name", dialogName);
+ $("#" + dialogId).attr("data-ref-doctx", "${pageName}");
+
+ AppSupport.setDialogZindex();
+ }
+ , onClose: onClose
+ });
+ }
+ });
+ }
${functions}
diff --git a/src/main/webapp/WEB-INF/report/img/warning-1.jpg b/src/main/webapp/WEB-INF/report/img/warning-1.jpg
new file mode 100644
index 0000000..2f7a6f7
Binary files /dev/null and b/src/main/webapp/WEB-INF/report/img/warning-1.jpg differ
diff --git a/src/main/webapp/WEB-INF/report/img/warning-2.jpg b/src/main/webapp/WEB-INF/report/img/warning-2.jpg
new file mode 100644
index 0000000..490d76a
Binary files /dev/null and b/src/main/webapp/WEB-INF/report/img/warning-2.jpg differ
diff --git a/src/main/webapp/WEB-INF/report/img/warning.jpg b/src/main/webapp/WEB-INF/report/img/warning.jpg
deleted file mode 100644
index fe31432..0000000
Binary files a/src/main/webapp/WEB-INF/report/img/warning.jpg and /dev/null differ
diff --git a/src/main/webapp/WEB-INF/report/warning.jrxml b/src/main/webapp/WEB-INF/report/warning.jrxml
index 759fc49..e6ea1ed 100644
--- a/src/main/webapp/WEB-INF/report/warning.jrxml
+++ b/src/main/webapp/WEB-INF/report/warning.jrxml
@@ -107,7 +107,7 @@
-
+
@@ -143,79 +143,50 @@
-
+
-
+
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
-
+
-
+
-
+
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+