2022-12-22 01:55:19 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="ko" xmlns:th="http://www.thymeleaf.org">
|
|
|
|
|
<div class="modal-header bg-dark">
|
|
|
|
|
<h5 class="modal-title text-white" id="ivsgtViewModalLabel">
|
|
|
|
|
<th:block th:if="${boardInvestigation.ivsgtType eq 'arrest'}">
|
|
|
|
|
검거보고서
|
|
|
|
|
</th:block>
|
|
|
|
|
<th:block th:if="${boardInvestigation.ivsgtType eq 'proceeding'}">
|
|
|
|
|
진행보고서
|
|
|
|
|
</th:block>
|
|
|
|
|
<th:block th:if="${boardInvestigation.ivsgtType eq 'result'}">
|
|
|
|
|
결과보고서
|
|
|
|
|
</th:block>
|
|
|
|
|
</h5>
|
|
|
|
|
<button type="button" class="btn-close f-invert" data-bs-dismiss="modal" aria-label="Close"></button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body" id="ivsgtViewBody">
|
|
|
|
|
<input type="hidden" name="ivsgtKey" th:value="${boardInvestigation.ivsgtKey}">
|
|
|
|
|
<ul class="nav nav-tabs" id="userTab" role="tablist">
|
|
|
|
|
<li class="nav-item" role="presentation">
|
|
|
|
|
<button class="nav-link active" id="boardTab" data-bs-toggle="tab" data-bs-target="#boardTabPanel" type="button" role="tab" aria-controls="boardTabPanel" aria-selected="true">본문</button>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="nav-item" role="presentation" th:if="${#lists.size(boardInvestigation.fileList)>0}">
|
|
|
|
|
<button class="nav-link" id="fileTab" data-bs-toggle="tab" data-bs-target="#fileTabPanel" type="button" role="tab" aria-controls="fileTabPanel" aria-selected="false" th:text="${#strings.concat('첨부파일(', #lists.size(boardInvestigation.fileList), ')')}"></button>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
<div class="tab-content bg-white border border-top-0 p-2">
|
|
|
|
|
<div class="tab-pane fade p-2 show active" id="boardTabPanel" role="tabpanel" tabindex="0">
|
|
|
|
|
<div class="row mb-1">
|
|
|
|
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center">검거유형1</label>
|
|
|
|
|
<label class="col-sm-2 col-form-label col-form-label-sm text-start">
|
|
|
|
|
<th:block th:each="code:${session.commonCode.get('AT')}">
|
|
|
|
|
<th:block th:if="${code.itemCd eq boardInvestigation.arrestType.arrestCd}" th:text="${code.itemValue}"></th:block>
|
|
|
|
|
</th:block>
|
|
|
|
|
</label>
|
|
|
|
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center">검거유형2</label>
|
|
|
|
|
<label class="col-sm-2 col-form-label col-form-label-sm text-start">
|
|
|
|
|
<th:block th:each="code:${session.commonCode.get(boardInvestigation.arrestType.arrestCd)}">
|
|
|
|
|
<th:block th:if="${code.itemCd eq boardInvestigation.arrestType.arrestCd2}" th:text="${code.itemValue}"></th:block>
|
|
|
|
|
</th:block>
|
|
|
|
|
</label>
|
|
|
|
|
<div class="col-sm-3"></div>
|
|
|
|
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center">작성일시</label>
|
|
|
|
|
<label class="col-sm-2 col-form-label col-form-label-sm text-start" th:text="${#temporals.format(boardInvestigation.wrtDt, 'yyyy-MM-dd HH:mm')}"></label>
|
|
|
|
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center">제목</label>
|
|
|
|
|
<label class="col-sm-8 col-form-label col-form-label-sm text-start" th:text="${boardInvestigation.contentTitle}"></label>
|
|
|
|
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center">작성자</label>
|
|
|
|
|
<label class="col-sm-2 col-form-label col-form-label-sm text-start" th:text="${boardInvestigation.wrtNm}"></label>
|
|
|
|
|
</div>
|
|
|
|
|
<hr class="my-1">
|
|
|
|
|
<div class="row mb-1">
|
|
|
|
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center">사건개요</label>
|
|
|
|
|
<div class="col-sm-11">
|
|
|
|
|
<div class="form-control-sm" th:text="${boardInvestigation.contentInfo}"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<hr class="my-1">
|
|
|
|
|
<div class="row mb-1">
|
|
|
|
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center">주요내용</label>
|
|
|
|
|
<div class="col-sm-11">
|
|
|
|
|
<div class="form-control-sm" th:utext="${boardInvestigation.contentMain}"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<hr class="my-1">
|
|
|
|
|
<div class="row mb-1">
|
|
|
|
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center">해시태그</label>
|
|
|
|
|
<label class="col-sm-11 col-form-label col-form-label-sm text-start" th:text="${boardInvestigation.hashTags}"></label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="tab-pane fade p-2" id="fileTabPanel" role="tabpanel" tabindex="0">
|
|
|
|
|
<table class="table table-sm">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>파일명</th>
|
|
|
|
|
<th>사이즈</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<th:block th:if="${#lists.isEmpty(boardInvestigation.fileList)}">
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="2">파일이 없습니다.</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</th:block>
|
|
|
|
|
<th:block th:unless="${#lists.isEmpty(boardInvestigation.fileList)}">
|
|
|
|
|
<th:block th:each="file:${boardInvestigation.fileList}">
|
|
|
|
|
<tr class="fileInfoTr">
|
|
|
|
|
<td><a href="#" class="fileDownLink" data-board="ivsgt"
|
|
|
|
|
th:data-parentkey="${file.ivsgtKey}" th:data-fileseq="${file.fileSeq}" th:text="|${file.origNm}.${file.fileExtn}|"></a></td>
|
|
|
|
|
<td th:text="${file.fileSize}"></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</th:block>
|
|
|
|
|
</th:block>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
2023-01-25 08:36:29 +00:00
|
|
|
<th:block th:if="${boardInvestigation.ivsgtType eq 'proceeding' or boardInvestigation.ivsgtType eq 'result'}">
|
|
|
|
|
<div class="p-2 row mb-3">
|
|
|
|
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center">연관보고서</label>
|
|
|
|
|
<div class="col-sm-11" id="relatedReportDiv">
|
|
|
|
|
<div class="row justify-content-start">
|
|
|
|
|
<th:block th:each="relatedReports:${boardInvestigation.relatedReportsList}">
|
|
|
|
|
<label class="col-sm-auto col-form-label col-form-label-sm" th:text="${relatedReports.contentTitle}"></label>
|
|
|
|
|
</th:block>
|
|
|
|
|
</div>
|
2022-12-22 01:55:19 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2023-01-25 08:36:29 +00:00
|
|
|
</th:block>
|
|
|
|
|
</div>
|
|
|
|
|
|
2022-12-22 01:55:19 +00:00
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer bg-light">
|
|
|
|
|
<th:block th:if="${userSeq eq boardInvestigation.wrtUserSeq or accessAuth eq 'ACC003'}"><!--작성자일 경우 수정 허용--><!--관리자일 경우 수정 허용-->
|
|
|
|
|
<button type="button" class="btn btn-warning" id="ivsgtEditBtn">수정</button>
|
|
|
|
|
</th:block>
|
|
|
|
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">닫기</button>
|
|
|
|
|
</div>
|
|
|
|
|
</html>
|