118 lines
6.8 KiB
HTML
118 lines
6.8 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="ciWorkViewModalLabel">방첩공작 열람</h5>
|
||
|
|
<button type="button" class="btn-close f-invert" data-bs-dismiss="modal" aria-label="Close"></button>
|
||
|
|
</div>
|
||
|
|
<div class="modal-body" id="ciWorkViewBody">
|
||
|
|
<input type="hidden" id="ciwKey" th:value="${ciWork.ciwKey}">
|
||
|
|
<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(ciWork.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(ciWork.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">
|
||
|
|
<div class="col-sm-9"></div>
|
||
|
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center fw-bold">작성일시</label>
|
||
|
|
<label class="col-sm-2 col-form-label col-form-label-sm text-start" th:text="${#temporals.format(ciWork.wrtDt, 'yyyy-MM-dd HH:mm')}"></label>
|
||
|
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center fw-bold">공작명</label>
|
||
|
|
<label class="col-sm-8 col-form-label col-form-label-sm text-start" th:text="|${ciWork.status eq 'DST002'?'[임시] ':''}${ciWork.title}|"></label>
|
||
|
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center fw-bold">작성자</label>
|
||
|
|
<label class="col-sm-2 col-form-label col-form-label-sm text-start" th:text="${ciWork.wrtUserNm}"></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 fw-bold">착수일</label>
|
||
|
|
<label class="col-sm-2 col-form-label col-form-label-sm text-start" th:text="${#temporals.format(ciWork.workStartDate, 'yyyy-MM-dd')}"></label>
|
||
|
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center fw-bold">종결일(예정)</label>
|
||
|
|
<label class="col-sm-2 col-form-label col-form-label-sm text-start" th:text="${#temporals.format(ciWork.workEndDate, 'yyyy-MM-dd')}"></label>
|
||
|
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center fw-bold">1차재평가</label>
|
||
|
|
<label class="col-sm-2 col-form-label col-form-label-sm text-start" th:text="${#temporals.format(ciWork.reRatingDate1, 'yyyy-MM-dd')}"></label>
|
||
|
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center fw-bold">2차재평가</label>
|
||
|
|
<label class="col-sm-2 col-form-label col-form-label-sm text-start" th:text="${#temporals.format(ciWork.reRatingDate2, 'yyyy-MM-dd')}"></label>
|
||
|
|
</div>
|
||
|
|
<div class="row mb-1">
|
||
|
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center fw-bold">등급</label>
|
||
|
|
<label class="col-sm-2 col-form-label col-form-label-sm text-start">
|
||
|
|
<th:block th:each="code:${session.commonCode.get('CIWR')}">
|
||
|
|
<th:block th:if="${code.itemCd eq ciWork.workRating}" th:text="${code.itemValue}"></th:block>
|
||
|
|
</th:block>
|
||
|
|
</label>
|
||
|
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center fw-bold">검거유형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 ciWork.arrestType1}" th:text="${code.itemValue}"></th:block>
|
||
|
|
</th:block>
|
||
|
|
</label>
|
||
|
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center fw-bold">검거유형2</label>
|
||
|
|
<label class="col-sm-2 col-form-label col-form-label-sm text-start">
|
||
|
|
<th:block th:each="code:${session.commonCode.get(ciWork.arrestType1)}">
|
||
|
|
<th:block th:if="${code.itemCd eq ciWork.arrestType2}" th:text="${code.itemValue}"></th:block>
|
||
|
|
</th:block>
|
||
|
|
</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 fw-bold">사건개요</label>
|
||
|
|
<div class="col-sm-11 form-control-sm" th:utext="${#strings.replace(ciWork.summaryInfo, lineSeparator, '<br>')}"></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 fw-bold">내용</label>
|
||
|
|
<div class="col-sm-11 form-control-sm" th:utext="${ciWork.content}"></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 fw-bold">해시태그</label>
|
||
|
|
<label class="col-sm-11 col-form-label col-form-label-sm text-start" th:text="${ciWork.hashTags}"></label>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<div class="tab-pane fade p-2" id="fileTabPanel" role="tabpanel" tabindex="0">
|
||
|
|
<div class="row mb-3">
|
||
|
|
<div class="col-sm-12">
|
||
|
|
<table class="table table-sm" id="fileTable">
|
||
|
|
<thead>
|
||
|
|
<tr>
|
||
|
|
<th>파일명</th>
|
||
|
|
<th>사이즈</th>
|
||
|
|
</tr>
|
||
|
|
</thead>
|
||
|
|
<tbody>
|
||
|
|
<th:block th:if="${#lists.isEmpty(ciWork.fileList)}">
|
||
|
|
<tr>
|
||
|
|
<td colspan="2">파일이 없습니다.</td>
|
||
|
|
</tr>
|
||
|
|
</th:block>
|
||
|
|
<th:block th:unless="${#lists.isEmpty(ciWork.fileList)}">
|
||
|
|
<th:block th:each="file:${ciWork.fileList}">
|
||
|
|
<tr class="fileInfoTr">
|
||
|
|
<td>
|
||
|
|
<a href="#" class="fileDownLink" data-board="ciWork"
|
||
|
|
th:data-parentkey="${file.ciwKey}" 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>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<div class="modal-footer bg-light">
|
||
|
|
<th:block th:if="${accessAuth eq 'ACC003'}">
|
||
|
|
<button type="button" class="btn btn-danger" id="deleteCiWorkBtn" th:data-ciwkey="${ciWork.ciwKey}">삭제</button>
|
||
|
|
</th:block>
|
||
|
|
<th:block th:if="${viewUserSeq eq ciWork.wrtUserSeq}">
|
||
|
|
<button type="button" class="btn btn-warning" id="editCiWorkBtn" th:data-ciwkey="${ciWork.ciwKey}">수정</button>
|
||
|
|
</th:block>
|
||
|
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">닫기</button>
|
||
|
|
</div>
|