89 lines
3.5 KiB
HTML
89 lines
3.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="ko" xmlns:th="http://www.thymeleaf.org">
|
|
<div class="tab-pane fade show active" id="accessTabPanel" role="tabpanel" aria-labelledby="accessTab" tabindex="0">
|
|
<form id="accessEditForm" action="#" method="post">
|
|
<table class="table table-hover text-center">
|
|
<thead>
|
|
<tr>
|
|
<th>대분류</th>
|
|
<th>중분류</th>
|
|
<th>소분류</th>
|
|
<th>관리</th>
|
|
<th>작성</th>
|
|
<th>조회</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr th:each="accessConfig:${userInfo.accessConfigList}">
|
|
<th:block th:each="commonCode:${session.commonCodeList}">
|
|
<th:block th:if="${commonCode.itemCd eq accessConfig.cat1Cd}">
|
|
<td th:text="${commonCode.itemValue}"></td>
|
|
</th:block>
|
|
</th:block>
|
|
<th:block th:each="commonCode:${session.commonCodeList}">
|
|
<th:block th:if="${commonCode.itemCd eq accessConfig.cat2Cd}">
|
|
<td th:text="${commonCode.itemValue}"></td>
|
|
</th:block>
|
|
</th:block>
|
|
<th:block th:if="${#strings.isEmpty(accessConfig.cat3Cd)}">
|
|
<td></td>
|
|
</th:block>
|
|
<th:block th:unless="${#strings.isEmpty(accessConfig.cat3Cd)}" th:each="commonCode:${session.commonCodeList}">
|
|
<th:block th:if="${commonCode.itemCd eq accessConfig.cat3Cd}">
|
|
<td th:text="${commonCode.itemValue}"></td>
|
|
</th:block>
|
|
</th:block>
|
|
<td>
|
|
<input type="radio" th:name="${#strings.concat('accessAuth',accessConfig.menuKey)}" th:checked="${'ACC003' eq accessConfig.accessAuth}" value="ACC003">
|
|
</td>
|
|
<td>
|
|
<input type="radio" th:name="${#strings.concat('accessAuth',accessConfig.menuKey)}" th:checked="${'ACC002' eq accessConfig.accessAuth}" value="ACC002">
|
|
</td>
|
|
<td>
|
|
<input type="radio" th:name="${#strings.concat('accessAuth',accessConfig.menuKey)}" th:checked="${'ACC001' eq accessConfig.accessAuth}" value="ACC001">
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
<div class="tab-pane fade" id="approvalTabPanel" role="tabpanel" aria-labelledby="approvalTab" tabindex="0">
|
|
<form id="approvalEditForm" action="#" method="post">
|
|
<table class="table table-hover text-center">
|
|
<thead>
|
|
<tr>
|
|
<th>대분류</th>
|
|
<th>중분류</th>
|
|
<th>계장대행</th>
|
|
<th>계장</th>
|
|
<th>과장대행</th>
|
|
<th>과장</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr th:each="approvalConfig:${userInfo.approvalConfigList}">
|
|
<th:block th:each="commonCode:${session.commonCodeList}">
|
|
<th:block th:if="${commonCode.itemCd eq approvalConfig.cat1Cd}">
|
|
<td th:text="${commonCode.itemValue}">.</td>
|
|
</th:block>
|
|
</th:block>
|
|
<th:block th:each="commonCode:${session.commonCodeList}">
|
|
<th:block th:if="${commonCode.itemCd eq approvalConfig.cat2Cd}">
|
|
<td th:text="${commonCode.itemValue}">.</td>
|
|
</th:block>
|
|
</th:block>
|
|
<th:block th:each="commonCode:${session.commonCodeList}">
|
|
<th:block th:if="${commonCode.itemCd eq approvalConfig.cat3Cd}">
|
|
<td th:text="${commonCode.itemValue}">.</td>
|
|
</th:block>
|
|
</th:block>
|
|
<td></td>
|
|
<td></td>
|
|
<td></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
</html> |