FAISP/src/main/resources/templates/counterIntelligence/activityCase/activityCaseSummaryModal.html

50 lines
2.2 KiB
HTML

<!DOCTYPE html>
<html lang="ko" xmlns:th="http://www.thymeleaf.org">
<div class="modal-header bg-dark">
<h5 class="modal-title text-white" id="activityCaseSummaryModalLabel">보고서 목록</h5>
<button type="button" class="btn-close f-invert" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body" id="activityCaseSummaryBody">
<table class="table table-sm table-bordered table-hover">
<thead>
<tr class="table-secondary">
<th>구분</th>
<th>접수번호</th>
<th>사건번호</th>
<th>제목</th>
<th>보고일</th>
<th>작성자</th>
<th>작성일</th>
<th>결재상태</th>
<th>첨부파일</th>
</tr>
</thead>
<tbody class="table-group-divider">
<tr class="summaryTr" th:each="case,cnt:${activityCaseList}">
<input type="hidden" class="receiptKey" th:value="${case.receiptKey}">
<input type="hidden" class="caseKey" th:value="${case.caseKey}">
<td>
<th:block th:each="code:${session.commonCode.get('ACT')}">
<th:block th:if="${code.itemCd eq case.caseType}" th:text="${code.itemValue}"></th:block>
</th:block>
</td>
<td th:text="${case.receiptNum}"></td>
<td th:text="${case.caseNum}"></td>
<td th:text="|${case.status eq 'DST001'?'[임시]':''}${case.title}|"></td>
<td th:text="${#temporals.format(case.reportDate, 'yyyy-MM-dd')}"></td>
<td>
<th:block th:each="code:${session.commonCode.get('JT')}">
<th:block th:if="${code.itemCd eq case.wrtUserGrd}" th:text="${code.itemValue}"></th:block>
</th:block>
</td>
<td th:text="${#temporals.format(case.wrtDt, 'yyyy-MM-dd')}"></td>
<td th:text="${#strings.concat(case.apprvCnt, '/', case.allCnt)}"></td>
<td th:text="${case.fileCnt}"></td>
</tr>
</tbody>
</table>
</div>
<div class="modal-footer bg-light">
<button type="button" class="btn btn-outline-dark addInfoBtn" th:data-receiptkey="${receiptKey}" data-casetype="ACT002" th:if="${lastCaseType ne 'ACT003'}">진행보고서 작성</button>
<button type="button" class="btn btn-outline-dark addInfoBtn" th:data-receiptkey="${receiptKey}" data-casetype="ACT003" th:if="${lastCaseType ne 'ACT003'}">결과보고서 작성</button>
</div>