|
|
|
@ -72,6 +72,7 @@
|
|
|
|
|
<ul id="menus" class="menu-inner py-1">
|
|
|
|
|
</ul>
|
|
|
|
|
</aside>
|
|
|
|
|
<script src="<c:url value="/resources/js/fims/biz/layout/menuRender.js" />"></script>
|
|
|
|
|
<!-- / Menu -->
|
|
|
|
|
<c:set var="userMenus" scope="request">let userMenus = ${userMenus};
|
|
|
|
|
<%--if (menus.length < 1)
|
|
|
|
@ -85,12 +86,7 @@
|
|
|
|
|
},
|
|
|
|
|
{"id":4, "name": "메뉴", "url":"/menu/list.do", "parentID":null, "description":"메뉴 관리", "imagePath":null, "displayWindow":"_self"}
|
|
|
|
|
];--%>
|
|
|
|
|
function setUserMenus(menus) {
|
|
|
|
|
let menuSupport = new MenuSupport("#layout-menu").setMenuInfo(menus).setActive(wctx.current());
|
|
|
|
|
let currentMenu = menuSupport.getMenu(wctx.current());
|
|
|
|
|
if (currentMenu)
|
|
|
|
|
setPageTitle(currentMenu.name);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
setUserMenus(userMenus);
|
|
|
|
|
let mr = new FimsMenuSupport('');
|
|
|
|
|
mr.menuDraw(userMenus);
|
|
|
|
|
</c:set>
|