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) => {