diff --git a/src/main/java/kr/xit/fims/framework/biz/cmm/web/XitMainController.java b/src/main/java/kr/xit/fims/framework/biz/cmm/web/XitMainController.java index 5ba71114..ac38870b 100644 --- a/src/main/java/kr/xit/fims/framework/biz/cmm/web/XitMainController.java +++ b/src/main/java/kr/xit/fims/framework/biz/cmm/web/XitMainController.java @@ -119,19 +119,16 @@ public class XitMainController extends AbstractController { mav.setViewName("/fims/framework/biz/cmm/dashboard.dashboard"); return mav; } - if(menuNo.equals("50990000")){ - Map pm = req.getParameterMap(); - mav.addObject("schOpt", req.getParameter("schOpt")); - mav.addObject("schWord", req.getParameter("schWord")); - mav.setViewName("/fims/biz/cmm/cmmIntegratedSearchForm.biz"); - return mav; - } String result = xitMainService.findMenuPath(menuNo); if(result.endsWith(".do")){ result = result.substring(0, result.length() -3); } - + if(menuNo.equals("80000000")){ + Map pm = req.getParameterMap(); + mav.addObject("schOpt", req.getParameter("schOpt")); + mav.addObject("schWord", req.getParameter("schWord")); + } mav.setViewName(result); return mav; } @@ -145,19 +142,17 @@ public class XitMainController extends AbstractController { mav.setViewName("/fims/framework/biz/cmm/dashboard.dashboard"); return mav; } - if(pgmId.equals("50990000")){ - Map pm = req.getParameterMap(); - mav.addObject("schOpt", req.getParameter("schOpt")); - mav.addObject("schWord", req.getParameter("schWord")); - mav.setViewName("/fims/biz/cmm/cmmIntegratedSearchForm.biz"); - return mav; - } String result = xitMainService.findMenuPath2(pgmId); if(result.endsWith(".do")){ result = result.substring(0, result.length() -3); } + if(pgmId.equals("80000000")){ + Map pm = req.getParameterMap(); + mav.addObject("schOpt", req.getParameter("schOpt")); + mav.addObject("schWord", req.getParameter("schWord")); + } mav.setViewName(result); return mav; } diff --git a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/cmm/XitMain.jsp b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/cmm/XitMain.jsp index 949d2cfa..97d46fad 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/framework/biz/cmm/XitMain.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/framework/biz/cmm/XitMain.jsp @@ -170,14 +170,14 @@ }); function fn_loadFastSearch(){ - if($("iframe[id='50990000']").length < 1){ - openMenu('50990000', '99통합조회', + if($("iframe[id='80000000']").length < 1){ + openMenu('80000000', '통합조회', "&schOpt="+ $("[id='schOpt']").val() + "&schWord=" + $("[id='schWord']").val() ); return; } - $("button[data-bs-target='#tab-50990000']").trigger("click"); + $("button[data-bs-target='#tab-80000000']").trigger("click"); if($("[id='schWord']").val() == ""){ return; @@ -185,7 +185,7 @@ let searchOpt = $("[id='schOpt']").val(); let searchWord = $("[id='schWord']").val(); - let iframeObj = document.getElementById('50990000'); + let iframeObj = document.getElementById('80000000'); iframeObj.contentWindow.document.getElementsByName(searchOpt)[0].value = searchWord; iframeObj.contentWindow.fn_fastSearch(); }