no message

master
강석 최 2023-08-18 19:10:03 +09:00
parent 27a3d9fcd9
commit b023bfb43c
1 changed files with 32 additions and 3 deletions

View File

@ -275,12 +275,30 @@
<input type="hidden" class="refDocKey" th:value="${file.main_key}">
<input type="hidden" class="menuUrl" value="/publicBoard/findPage">
</th:block>
<!--<th:block th:each="accessMenu:${accessMenuList}">
<th:block th:each="accessMenu:${accessMenuList}">
<th:block th:if="${file.menu_key eq accessMenu.menuKey and !#strings.isEmpty(accessMenu.accessAuth)}">
<!--메뉴 접근 권한이 있는경우-->
<th:block th:if="${accessMenu.accessAuth eq 'ACC003' and #lists.contains(downOrganList, file.wrt_organ)}">
<!--관리권한이라면 하위 관서 문서 열람 허용-->
<input type="hidden" class="refDocKey" th:value="${file.main_key}">
<input type="hidden" class="menuUrl" th:value="${accessMenu.menuUrl}">
</th:block>
<th:block th:if="${accessMenu.accessAuth ne 'ACC003'}">
<!--조회, 작성 권한-->
<th:block th:if="${userSeq eq file.wrt_user_seq}">
<!--본인이 작성한 게시물-->
<input type="hidden" class="refDocKey" th:value="${file.main_key}">
<input type="hidden" class="menuUrl" th:value="${accessMenu.menuUrl}">
</th:block>
</th:block>
</th:block>
</th:block>
<th:block th:each="accessMenu:${accessMenuList}">
<th:block th:if="${file.menu_key eq accessMenu.menuKey and !#strings.isEmpty(accessMenu.accessAuth)}">
<input type="hidden" class="refDocKey" th:value="${board.main_key}">
<input type="hidden" class="menuUrl" th:value="${accessMenu.menuUrl}">
</th:block>
</th:block>-->
</th:block>
<th:block th:if="${file.menu_key ne 0}">
<th:block th:each="menu:${menuList}">
<th:block th:if="${menu.menuKey eq file.menu_key}">
@ -310,7 +328,18 @@
<th:block th:if="${file.menu_key ne 0}">
<th:block th:each="accessMenu:${accessMenuList}">
<th:block th:if="${file.menu_key eq accessMenu.menuKey and !#strings.isEmpty(accessMenu.accessAuth)}">
<a href="#" class="downBtn fileLink" th:data-menukey="${file.menu_key}" th:data-mainkey="${file.main_key}" th:data-fileseq="${file.file_seq}">내려받기</a>
<!--메뉴 접근 권한이 있는경우-->
<th:block th:if="${accessMenu.accessAuth eq 'ACC003' and #lists.contains(downOrganList, file.wrt_organ)}">
<!--관리권한이라면 하위 관서 문서 열람 허용-->
<a href="#" class="downBtn fileLink" th:data-menukey="${file.menu_key}" th:data-mainkey="${file.main_key}" th:data-fileseq="${file.file_seq}">내려받기</a>
</th:block>
<th:block th:if="${accessMenu.accessAuth ne 'ACC003'}">
<!--조회, 작성 권한-->
<th:block th:if="${userSeq eq file.wrt_user_seq}">
<!--본인이 작성한 게시물-->
<a href="#" class="downBtn fileLink" th:data-menukey="${file.menu_key}" th:data-mainkey="${file.main_key}" th:data-fileseq="${file.file_seq}">내려받기</a>
</th:block>
</th:block>
</th:block>
</th:block>
</th:block>