From 5407edcba7da3578ffe26fad40245ad48222abdc Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Tue, 29 Aug 2023 09:19:14 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B0=9C=EB=B3=84=EC=B4=9D=EC=A0=95=EB=B3=B4?= =?UTF-8?q?=20=ED=98=B8=EC=B6=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WEB-INF/jsp/fims/crdn/crdn02020-main.jsp | 30 ++++++++++++------- .../WEB-INF/jsp/fims/crdn/crdn03030-main.jsp | 16 +++++++++- .../WEB-INF/jsp/fims/crdn/crdn04040-main.jsp | 16 +++++++++- .../WEB-INF/jsp/fims/crdn/crdn06010-main.jsp | 16 +++++++++- .../WEB-INF/jsp/fims/cvlc/cvlc02030-main.jsp | 16 +++++++++- 5 files changed, 80 insertions(+), 14 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02020-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02020-main.jsp index c9c4e5bc..2f7890c7 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02020-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02020-main.jsp @@ -554,11 +554,11 @@ $(document).ready(function(){ $P.fnResetAndChangeBiz = (taskSeCd) => { $P.fnReset(); $P.photoInspectionControl.urls.load = wctx.url("/"+taskSeCd+"/crdn/crdn02/020/list.do?inspectionDataType=photo"); - $P.photoInspectionControl.urls.getInfo = wctx.url("/"+taskSeCd+"/sprt/sprt02/010/main.do"); + $P.photoInspectionControl.urls.getInfo = ""; $P.sameVehicleControl.main.urls.load = wctx.url("/"+taskSeCd+"/crdn/crdn02/020/list.do?inspectionDataType=sameVehicleMain"); $P.sameVehicleControl.main.urls.getInfo = ""; $P.sameVehicleControl.sub.urls.load = wctx.url("/"+taskSeCd+"/crdn/crdn02/020/list.do?inspectionDataType=sameVehicleSub"); - $P.sameVehicleControl.sub.urls.getInfo = wctx.url("/"+taskSeCd+"/sprt/sprt02/010/main.do"); + $P.sameVehicleControl.sub.urls.getInfo = ""; var clsForTask = taskSeCd.toLowerCase(); //업무별 조회조건 @@ -722,14 +722,24 @@ $(document).ready(function(){ } } $P.dblclickInspectionDataList = (dataKey, gridType) => { - switch (gridType) { - case "photoInspection": - $P.photoInspectionControl.getInfo(dataKey); - break; - case "sameVehicleInspectionSub": - $P.sameVehicleControl.sub.getInfo(dataKey); - break; - } + + var taskSeCd = $("#frmSearch--${pageName} input[name='taskSeCd']:checked").val(); + + var dialogUrl = wctx.url("/"+taskSeCd+"/sprt/sprt02/010/main.do"); + + ajax.get({ + url : dialogUrl, + data : { "crdnId" : dataKey }, + success : resp => { + + dialog.open({ + id : "totalDialog--${pageName}", + title : "개별총정보", size : "xxl", content : resp, + init : () => {} + }); + + } + }); } $P.openLevyExclPop = (levyExclSeCd) => { diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn03030-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn03030-main.jsp index dc3923cb..780cf15b 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn03030-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn03030-main.jsp @@ -234,7 +234,21 @@ $(document).ready(function(){ } $P.dblclickCrdnList = (dataKey) => { - $P.crdnControl.getInfo(dataKey); + + ajax.get({ + url : $P.crdnControl.urls.getInfo, + data : { "crdnId" : dataKey }, + success : resp => { + + dialog.open({ + id : "totalDialog--${pageName}", + title : "개별총정보", size : "xxl", content : resp, + init : () => {} + }); + + } + }); + } $P.renderCrdnList = (total) => { diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn04040-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn04040-main.jsp index 74cadf93..fffe751b 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn04040-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn04040-main.jsp @@ -256,7 +256,21 @@ $(document).ready(function(){ } $P.dblclickCrdnList = (dataKey) => { - $P.crdnControl.getInfo(dataKey); + + ajax.get({ + url : $P.crdnControl.urls.getInfo, + data : { "crdnId" : dataKey }, + success : resp => { + + dialog.open({ + id : "totalDialog--${pageName}", + title : "개별총정보", size : "xxl", content : resp, + init : () => {} + }); + + } + }); + } $P.renderCrdnList = (total) => { 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 91e41839..3c44bfac 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 @@ -364,7 +364,21 @@ $(document).ready(function(){ } $P.dblclickCrdnList = (dataKey) => { - $P.crdnControl.getInfo(dataKey); + + ajax.get({ + url : $P.crdnControl.urls.getInfo, + data : { "crdnId" : dataKey }, + success : resp => { + + dialog.open({ + id : "totalDialog--${pageName}", + title : "개별총정보", size : "xxl", content : resp, + init : () => {} + }); + + } + }); + } $P.renderCrdnList = (total) => { diff --git a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc02030-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc02030-main.jsp index 277cb746..9d5e739e 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc02030-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc02030-main.jsp @@ -348,7 +348,21 @@ $(document).ready(function(){ } $P.dblclickCrdnList = (dataKey) => { - $P.crdnControl.getInfo(dataKey); + + ajax.get({ + url : $P.crdnControl.urls.getInfo, + data : { "crdnId" : dataKey }, + success : resp => { + + dialog.open({ + id : "totalDialog--${pageName}", + title : "개별총정보", size : "xxl", content : resp, + init : () => {} + }); + + } + }); + } $P.renderCrdnList = (total) => {