From 06a5795047398687ea1c49f12014e3592f6af23d Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Thu, 9 May 2024 11:06:14 +0900 Subject: [PATCH] =?UTF-8?q?=ED=86=B5=ED=95=A9=EC=A1=B0=ED=9A=8C=20?= =?UTF-8?q?=ED=99=94=EB=A9=B4=EC=97=90=EC=84=9C=20=EA=B0=9C=EB=B3=84?= =?UTF-8?q?=EC=B4=9D=EC=A0=95=EB=B3=B4=20=ED=99=94=EB=A9=B4=20=ED=98=B8?= =?UTF-8?q?=EC=B6=9C=EC=8B=9C=20=EC=A0=84=EC=B2=B4=20=EA=B1=B4=EC=88=98=20?= =?UTF-8?q?=EB=B0=8F=20=ED=98=84=EC=9E=AC=20=EC=9E=90=EB=A3=8C=20=EC=88=9C?= =?UTF-8?q?=EC=84=9C=20=ED=91=9C=EC=8B=9C=EB=90=98=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=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/sprt/sprt01010-main.jsp | 19 ++++++++++++++++++- .../js/fims/sprt/integrationSearch.js | 7 +++++++ 2 files changed, 25 insertions(+), 1 deletion(-) 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 5fde908e..5419bcaf 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 @@ -689,7 +689,24 @@ $(document).ready(function() { if (crdnId == undefined || crdnId == null || crdnId == "") { return; } - + + var upDataset = $P.integrationSearchControl.upDataset; + var downDataset = $P.integrationSearchControl.downDataset; + + if(upDataset.length > 0){ + var info = upDataset.getData(crdnId); + if(info != null){ + $P.integrationSearchControl.flag = "up"; + } + } + + if(downDataset.length > 0){ + var info = downDataset.getData(crdnId); + if(info != null){ + $P.integrationSearchControl.flag = "down"; + } + } + var params = { callControlName : "pageObject['${pageName}'].integrationSearchControl" , crdnId : crdnId diff --git a/src/main/webapp/resources/js/fims/sprt/integrationSearch.js b/src/main/webapp/resources/js/fims/sprt/integrationSearch.js index aae252a1..b8f47f33 100644 --- a/src/main/webapp/resources/js/fims/sprt/integrationSearch.js +++ b/src/main/webapp/resources/js/fims/sprt/integrationSearch.js @@ -29,4 +29,11 @@ class IntegrationSearchControl extends DatasetControl { this.downDataset.setData(obj.downList); } + set flag(updown) { + if(updown == "up"){ + this.dataset = this.upDataset; + } else if(updown == "down"){ + this.dataset = this.downDataset; + } + } } \ No newline at end of file