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

115 lines
4.6 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: 5%">
<col style="width: 7%">
<col style="width: 7%">
<col style="width: 7%">
<col style="width: 5%">
<col style="width: 12%">
<col style="width: 12%">
<th:block th:each="code:${session.commonCode.get('AAR')}">
<th:block th:if="${#lists.contains(searchParams.rating, code.itemCd)}">
<col style="width: 5%">
</th:block>
</th:block>
<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>
</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)}">
<th:block th:if="${code.itemCd eq 'AAR001'}">
<td th:text="${statistics.r1Cnt}"></td>
</th:block>
<th:block th:if="${code.itemCd eq 'AAR002'}">
<td th:text="${statistics.r2Cnt}"></td>
</th:block>
<th:block th:if="${code.itemCd eq 'AAR003'}">
<td th:text="${statistics.r3Cnt}"></td>
</th:block>
<th:block th:if="${code.itemCd eq 'AAR004'}">
<td th:text="${statistics.r4Cnt}"></td>
</th:block>
<th:block th:if="${code.itemCd eq 'AAR005'}">
<td th:text="${statistics.r5Cnt}"></td>
</th:block>
<th:block th:if="${code.itemCd eq 'AAR006'}">
<td th:text="${statistics.r6Cnt}"></td>
</th:block>
<th:block th:if="${code.itemCd eq 'AAR007'}">
<td th:text="${statistics.r7Cnt}"></td>
</th:block>
<th:block th:if="${code.itemCd eq 'AAR008'}">
<td th:text="${statistics.r8Cnt}"></td>
</th:block>
</th:block>
</th:block>
<td th:text="${statistics.totalCnt}"></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</html>