70 lines
2.5 KiB
HTML
70 lines
2.5 KiB
HTML
<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 active" id="ratingTab" data-bs-toggle="tab"
|
|
type="button" role="tab">평가별</button>
|
|
</li>
|
|
</ul>
|
|
<div class="card-body">
|
|
<button class="btn btn-primary" id="showMenu">검색조건열기</button>
|
|
<button class="btn btn-success" id="ratingDownExcel">엑셀다운</button>
|
|
<div class="row" id="statisticsDiv">
|
|
<table class="table table-hover table-bordered" id="tableData">
|
|
<thead>
|
|
<tr>
|
|
<th rowspan="2">구분</th>
|
|
<th rowspan="2">누계</th>
|
|
<th:block th:unless="${#lists.isEmpty(searchParams.sangbo)}">
|
|
<th th:colspan="${searchParams.sangbo.size()}">상보</th>
|
|
</th:block>
|
|
<th:block th:unless="${#lists.isEmpty(searchParams.rating)}">
|
|
<th th:colspan="${searchParams.rating.size()}">평과결과별</th>
|
|
</th:block>
|
|
</tr>
|
|
<tr>
|
|
<th:block th:unless="${#lists.isEmpty(searchParams.sangbo)}">
|
|
<th:block th:each="sangbo:${searchParams.sangbo}">
|
|
<th th:if="${sangbo eq 'OGC002'}">지방청</th>
|
|
<th th:if="${sangbo eq 'OGC003'}">경찰서</th>
|
|
</th:block>
|
|
</th:block>
|
|
<th:block th:unless="${#lists.isEmpty(searchParams.rating)}">
|
|
<th:block th:each="commonCode:${session.commonCode.get('AAR')}">
|
|
<th:block
|
|
th:if="${#lists.contains(searchParams.rating, commonCode.itemCd)}">
|
|
<th th:text="${commonCode.itemValue}"></th>
|
|
</th:block>
|
|
</th:block>
|
|
</th:block>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="table-group-divider">
|
|
<th:block th:each="total:${totalList}">
|
|
<tr>
|
|
<td th:text="${total.itemValue}"></td>
|
|
<td th:text="${total.cnt}"></td>
|
|
<th:block th:each="sangbo:${searchParams.sangbo}">
|
|
<th:block th:each="sangboList:${sangboList}">
|
|
<th:block
|
|
th:if="${sangboList.affairType eq sangbo} and ${total.wrtOrgan eq sangboList.wrtOrgan}">
|
|
<td th:text="${sangboList.cnt}"></td>
|
|
</th:block>
|
|
</th:block>
|
|
</th:block>
|
|
<th:block th:each="rating:${searchParams.rating}">
|
|
<th:block th:each="arrCntList:${arrCntList}">
|
|
<th:block
|
|
th:if="${arrCntList.affairType eq rating} and ${total.wrtOrgan eq arrCntList.wrtOrgan}">
|
|
<td th:text="${arrCntList.cnt}"></td>
|
|
</th:block>
|
|
</th:block>
|
|
</th:block>
|
|
</tr>
|
|
</th:block>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div> |