FAISP/src/main/resources/templates/igActivities/fpiMgt/statistics/personalStatistics.html

103 lines
4.1 KiB
HTML

<!DOCTYPE html>
<html lang="ko" xmlns:th="http://www.thymeleaf.org">
<ul class="nav nav-tabs" id="userTab" role="tablist">
<li class="nav-item" role="presentation">
<button class="nav-link" id="fieldTab" data-bs-toggle="tab" type="button" role="tab">분야별</button>
</li>
<li class="nav-item" role="presentation">
<button class="nav-link" id="ratingTab" data-bs-toggle="tab" type="button" role="tab">평가별</button>
</li>
<li class="nav-item" role="presentation">
<button class="nav-link active" id="personalTab" data-bs-toggle="tab" type="button" role="tab">개인실적</button>
</li>
</ul>
<div class="tab-content bg-white border border-top-0 p-2">
<div class="row justify-content-end">
<div class="col-auto">
<button class="btn btn-success" id="personalDownExcel">엑셀다운</button>
</div>
</div>
<div class="row pt-2">
<div class="col-12">
<table class="table table-sm table-hover table-bordered" id="tableData">
<colgroup>
<col style="width: 3%">
<col style="width: 7%">
<col style="width: 7%">
<col style="width: 7%">
<col style="width: 5%">
<col style="width: 7%">
<col style="width: 7%">
<th:block th:each="code:${session.commonCode.get('AAR')}">
<th:block th:if="${#lists.contains(searchParams.rating, code.itemCd)}">
<col style="width: 3%">
</th:block>
</th:block>
<col style="width: 7%">
<col style="width: 7%">
<col style="width: 5%">
</colgroup>
<thead>
<tr class="table-secondary">
<th>순번</th>
<th>구분</th>
<th>소속</th>
<th>부서</th>
<th>계급</th>
<th>디지털 식별코드</th>
<th>성명</th>
<th:block th:each="code:${session.commonCode.get('AAR')}">
<th:block th:if="${#lists.contains(searchParams.rating, code.itemCd)}">
<th th:text="${code.itemValue}"></th>
</th:block>
</th:block>
<th>분야</th>
<th>관련근거</th>
<th>기본제출건수</th>
</tr>
</thead>
<tbody class="table-group-divider">
<tr th:each="statistics,idx:${statisticsList}">
<td th:text="${idx.count}"></td>
<td>
<th:block th:each="code:${session.commonCode.get('USC')}">
<th:block th:if="${code.itemCd eq statistics.userStatus}" th:text="${code.itemValue}"></th:block>
</th:block>
</td>
<td>
<th:block th:each="code:${session.commonCode.get('OG')}">
<th:block th:if="${code.itemCd eq statistics.ogCd}" th:text="${code.itemValue}"></th:block>
</th:block>
</td>
<td>
<th:block th:each="code:${session.commonCode.get('OFC')}">
<th:block th:if="${code.itemCd eq statistics.ofcCd}" th:text="${code.itemValue}"></th:block>
</th:block>
</td>
<td>
<th:block th:each="code:${session.commonCode.get('JT')}">
<th:block th:if="${code.itemCd eq statistics.titleCd}" th:text="${code.itemValue}"></th:block>
</th:block>
</td>
<td th:text="${statistics.dicCode}"></td>
<td th:text="${statistics.userNm}"></td>
<th:block th:each="code:${session.commonCode.get('AAR')}">
<th:block th:if="${#lists.contains(searchParams.rating, code.itemCd)}">
<td th:if="${code.itemCd eq statistics.affairRate}">O</td>
<td th:if="${code.itemCd ne statistics.affairRate}"></td>
</th:block>
</th:block>
<td>
<th:block th:each="code:${session.commonCode.get('DC04')}">
<th:block th:if="${code.itemCd eq statistics.affairType4}" th:text="${code.itemValue}"></th:block>
</th:block>
</td>
<td th:text="${statistics.docNo}"></td>
<td th:text="${statistics.userStatus eq 'USC003'?2:1}"></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</html>