fix : 통합조회 메뉴아이디 수정

main
이범준 2 years ago
parent 5d739c9540
commit 5e89066208

@ -119,19 +119,16 @@ public class XitMainController extends AbstractController {
mav.setViewName("/fims/framework/biz/cmm/dashboard.dashboard");
return mav;
}
if(menuNo.equals("50990000")){
Map<String, String[]> 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<String, String[]> 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<String, String[]> 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<String, String[]> pm = req.getParameterMap();
mav.addObject("schOpt", req.getParameter("schOpt"));
mav.addObject("schWord", req.getParameter("schWord"));
}
mav.setViewName(result);
return mav;
}

@ -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();
}

Loading…
Cancel
Save