From 82ceb19a79a6038f1d85fa954c759a7a36024b50 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Tue, 22 Aug 2023 08:53:52 +0900 Subject: [PATCH] no message --- .../WEB-INF/jsp/fims/crdn/crdn05010-main.jsp | 15 +++--- .../WEB-INF/jsp/fims/crdn/crdn06010-main.jsp | 15 +++--- .../WEB-INF/jsp/fims/crdn/crdn06020-main.jsp | 49 +++++++++++-------- .../WEB-INF/jsp/fims/crdn/crdn06030-main.jsp | 15 +++--- .../WEB-INF/jsp/fims/crdn/crdn06040-main.jsp | 17 ++++--- .../WEB-INF/jsp/fims/cvlc/cvlc01030-main.jsp | 17 ++++--- 6 files changed, 71 insertions(+), 57 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05010-main.jsp index 1c087bf1..db7642a1 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05010-main.jsp @@ -182,15 +182,16 @@ $(document).ready(function(){ $P.crdnControl.onCurrentChange = (item) => { - if($P.crdnControl.tableRenderComplete){ - $P.crdnControl.tableRenderComplete = false; - if(!item){ - $P.clickCrdnList("", true); - } else { - $P.clickCrdnList($P.crdnControl.getCurrent()["CRDN_ID"], true); - } + if(!$P.crdnControl.tableRenderComplete){ + return; } + $P.crdnControl.tableRenderComplete = false; + if(!item){ + $P.clickCrdnList("", true); + } else { + $P.clickCrdnList($P.crdnControl.getCurrent()["CRDN_ID"], true); + } } /************************************************************************** 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 339c0b52..9b95ed50 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 @@ -278,15 +278,16 @@ $(document).ready(function(){ $P.crdnControl.onCurrentChange = (item) => { - if($P.crdnControl.tableRenderComplete){ - $P.crdnControl.tableRenderComplete = false; - if(!item){ - $P.clickCrdnList("", true); - } else { - $P.clickCrdnList($P.crdnControl.getCurrent()["CRDN_ID"], true); - } + if(!$P.crdnControl.tableRenderComplete){ + return; } + $P.crdnControl.tableRenderComplete = false; + if(!item){ + $P.clickCrdnList("", true); + } else { + $P.clickCrdnList($P.crdnControl.getCurrent()["CRDN_ID"], true); + } } /************************************************************************** diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06020-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06020-main.jsp index 61c43411..c6c6b171 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06020-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06020-main.jsp @@ -432,13 +432,16 @@ $(document).ready(function(){ }; $P.photoInspectionControl.onCurrentChange = (item) => { - if($P.photoInspectionControl.tableRenderComplete){ - $P.photoInspectionControl.tableRenderComplete = false; - if(!item){ - $P.clickInspectionDataList("","photoInspection", true); - } else { - $P.clickInspectionDataList($P.photoInspectionControl.getCurrent()["CRDN_ID"],"photoInspection", true); - } + + if(!$P.photoInspectionControl.tableRenderComplete){ + return; + } + + $P.photoInspectionControl.tableRenderComplete = false; + if(!item){ + $P.clickInspectionDataList("","photoInspection", true); + } else { + $P.clickInspectionDataList($P.photoInspectionControl.getCurrent()["CRDN_ID"],"photoInspection", true); } } @@ -458,13 +461,15 @@ $(document).ready(function(){ }; $P.sameVehicleControl.main.onCurrentChange = (item) => { - if($P.sameVehicleControl.main.tableRenderComplete){ - $P.sameVehicleControl.main.tableRenderComplete = false; - if(!item){ - $P.clickInspectionDataList("","sameVehicleInspectionMain", true); - } else { - $P.clickInspectionDataList($P.sameVehicleControl.main.getCurrent()["CRDN_ID_LIST"],"sameVehicleInspectionMain", true); - } + if(!$P.sameVehicleControl.main.tableRenderComplete){ + return; + } + + $P.sameVehicleControl.main.tableRenderComplete = false; + if(!item){ + $P.clickInspectionDataList("","sameVehicleInspectionMain", true); + } else { + $P.clickInspectionDataList($P.sameVehicleControl.main.getCurrent()["CRDN_ID_LIST"],"sameVehicleInspectionMain", true); } } @@ -474,13 +479,15 @@ $(document).ready(function(){ }; $P.sameVehicleControl.sub.onCurrentChange = (item) => { - if($P.sameVehicleControl.sub.tableRenderComplete){ - $P.sameVehicleControl.sub.tableRenderComplete = false; - if(!item){ - $P.clickInspectionDataList("","sameVehicleInspectionSub", true); - } else { - $P.clickInspectionDataList($P.sameVehicleControl.sub.getCurrent()["CRDN_ID"],"sameVehicleInspectionSub", true); - } + if(!$P.sameVehicleControl.sub.tableRenderComplete){ + return; + } + + $P.sameVehicleControl.sub.tableRenderComplete = false; + if(!item){ + $P.clickInspectionDataList("","sameVehicleInspectionSub", true); + } else { + $P.clickInspectionDataList($P.sameVehicleControl.sub.getCurrent()["CRDN_ID"],"sameVehicleInspectionSub", true); } }; diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06030-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06030-main.jsp index 4a022e91..7b20fc93 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06030-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06030-main.jsp @@ -174,15 +174,16 @@ $(document).ready(function(){ $P.crdnControl.onCurrentChange = (item) => { - if($P.crdnControl.tableRenderComplete){ - $P.crdnControl.tableRenderComplete = false; - if(!item){ - $P.clickCrdnList("", true); - } else { - $P.clickCrdnList($P.crdnControl.getCurrent()["CRDN_ID"], true); - } + if(!$P.crdnControl.tableRenderComplete){ + return; } + $P.crdnControl.tableRenderComplete = false; + if(!item){ + $P.clickCrdnList("", true); + } else { + $P.clickCrdnList($P.crdnControl.getCurrent()["CRDN_ID"], true); + } }; /************************************************************************** diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06040-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06040-main.jsp index 060ca3d4..6ad4ad0d 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06040-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06040-main.jsp @@ -184,15 +184,16 @@ $(document).ready(function(){ $P.crdnControl.onCurrentChange = (item) => { - if($P.crdnControl.tableRenderComplete){ - $P.crdnControl.tableRenderComplete = false; - if(!item){ - $P.clickCrdnList("", true); - } else { - $P.clickCrdnList($P.crdnControl.getCurrent()["CRDN_ID"], true); - } + if(!$P.crdnControl.tableRenderComplete){ + return; + } + + $P.crdnControl.tableRenderComplete = false; + if(!item){ + $P.clickCrdnList("", true); + } else { + $P.clickCrdnList($P.crdnControl.getCurrent()["CRDN_ID"], true); } - } /************************************************************************** diff --git a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01030-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01030-main.jsp index 60dc268e..8a4b428f 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01030-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01030-main.jsp @@ -210,13 +210,16 @@ $(document).ready(function(){ }; $P.crdnControl.onCurrentChange = (item) => { - if($P.crdnControl.tableRenderComplete){ - $P.crdnControl.tableRenderComplete = false; - if(!item){ - $P.clickCrdnList("", true); - } else { - $P.clickCrdnList($P.crdnControl.getCurrent()["CRDN_ID"], true); - } + + if(!$P.crdnControl.tableRenderComplete){ + return; + } + + $P.crdnControl.tableRenderComplete = false; + if(!item){ + $P.clickCrdnList("", true); + } else { + $P.clickCrdnList($P.crdnControl.getCurrent()["CRDN_ID"], true); } }