FAISP/src/main/resources/templates/igActivities/intelligenceNetwork/intelligenceAnalyzeEditModa...

127 lines
7.1 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="affairEditModalLabel" th:text="${ia.iaKey eq null?'분석평가서 작성':'분석 평가서 수정'}"></h5>
<button type="button" class="btn-close f-invert" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body" id="affairEditBody">
<form action="#" method="post" id="intelligenceAnalyzeEditForm">
<input type="hidden" name="_csrf_header" th:value="${_csrf.headerName}"/>
<input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}"/>
<th:block th:if="${ia.iaKey eq null}">
<input type="hidden" name="affairList" th:value="${ia.affairList}">
</th:block>
<th:block th:unless="${ia.iaKey eq null}" th:each="list:${ia.affairList}">
<input type="hidden" name="affairList" th:value="${list}">
</th:block>
<input type="hidden" name="iaKey" th:value="${ia.iaKey}">
<input type="hidden" name="wrtOrgan" th:value="${ia.wrtOrgan}">
<input type="hidden" name="wrtPart" th:value="${ia.wrtPart}">
<input type="hidden" name="wrtUserSeq" th:value="${ia.wrtUserSeq}">
<input type="hidden" name="wrtUserGrd" th:value="${ia.wrtUserGrd}">
<input type="hidden" name="wrtUserNm" th:value="${ia.wrtUserNm}">
<input type="hidden" name="wrtDt" id="wrtDt" th:value="${#temporals.format(ia.wrtDt, 'yyyy-MM-dd HH:mm')}">
<div class="row mb-1">
<label class="col-sm-1 col-form-label col-form-label-sm text-center">작성자</label>
<div class="col-sm-2">
<input type="text" class="form-control form-control-sm" placeholder="작성자 자동입력" readonly>
</div>
<label class="col-sm-1 col-form-label col-form-label-sm text-center">등록일</label>
<div class="col-sm-2">
<input type="text" class="form-control form-control-sm" placeholder="등록일 자동입력" readonly>
</div>
</div>
<hr>
<div class="row mb-1">
<label for="iaDateSelectorDiv" class="col-sm-1 col-form-label col-form-label-sm text-center">실적기간</label>
<div class="input-group w-auto input-daterange" id="iaDateSelectorDiv">
<input type="text" class="form-control form-control-sm" id="iaSdate" name="iaSdate" th:value="${ia.iaSdate}" readonly>
<input type="text" class="form-control form-control-sm" id="iaEdate" name="iaEdate" th:value="${ia.iaEdate}" readonly>
</div>
<div class="col-auto">
<input type="button" class="btn btn-sm btn-outline-primary" id="affairModalBtn" value="불러오기">
</div>
</div>
<div class="row mb-1">
<div class="row justify-content-start text-center">
<table class="table table-sm table-bordered table-hover">
<thead>
<tr class="table-secondary">
<th colspan="6">첩보수집실적</th>
<th rowspan="2">허위오보</th>
<th colspan="4">활용실적</th>
</tr>
<tr class="table-secondary">
<th></th>
<th>특보</th>
<th>중보</th>
<th>통보</th>
<th>조사</th>
<th>무가치</th>
<th></th>
<th>외사<br>활동</th>
<th>공작</th>
<th>검거</th>
</tr>
</thead>
<tbody class="table-group-divider">
<tr>
<td><input class="form-control form-control-sm text-center" id="totalCnt" type="number" th:value="${ia.totalCnt}" disabled></td>
<td><input class="form-control form-control-sm text-center" id="specialCnt" type="number" th:value="${ia.specialCnt}" disabled></td>
<td><input class="form-control form-control-sm text-center" id="middleCnt" type="number" th:value="${ia.middleCnt}" disabled></td>
<td><input class="form-control form-control-sm text-center" id="tongCnt" type="number" th:value="${ia.tongCnt}" disabled></td>
<td><input class="form-control form-control-sm text-center" id="joCnt" type="number" th:value="${ia.joCnt}" disabled></td>
<td><input class="form-control form-control-sm text-center" id="muCnt" type="number" th:value="${ia.muCnt}" disabled></td>
<td><input class="form-control form-control-sm text-center" name="fiCnt" type="number" th:value="${ia.fiCnt}"></td>
<td><input class="form-control form-control-sm text-center" id="totalCnt2" type="number" th:value="${ia.iaTotal}" placeholder="자동합산" disabled></td>
<td><input class="form-control form-control-sm cntInput text-center" name="faCnt" type="number" th:value="${ia.faCnt}"></td>
<td><input class="form-control form-control-sm cntInput text-center" name="workCnt" type="number" th:value="${ia.workCnt}"></td>
<td><input class="form-control form-control-sm cntInput text-center" name="arrestCnt" type="number" th:value="${ia.arrestCnt}"></td>
</tr>
</tbody>
</table>
</div>
</div>
<hr>
<div class="row mb-1">
<label for="hashTags" class="col-sm-1 col-form-label col-form-label-sm text-center">외사활동</label>
<div class="col-sm-11">
<textarea id="targetLocation" name="foreignAffairs" th:utext="${ia.foreignAffairs}" rows="5" cols="108" ></textarea>
</div>
</div>
<div class="row mb-1">
<label for="hashTags" class="col-sm-1 col-form-label col-form-label-sm text-center">공작</label>
<div class="col-sm-11">
<textarea id="vulnerabilityAnalyze" name="work" th:utext="${ia.work}" rows="5" cols="108" ></textarea>
</div>
</div>
<div class="row mb-1">
<label for="hashTags" class="col-sm-1 col-form-label col-form-label-sm text-center">외사사범 검거</label>
<div class="col-sm-11">
<textarea id="eligibilityAnalyze" name="arrestOffenders" th:utext="${ia.arrestOffenders}" rows="5" cols="108" ></textarea>
</div>
</div>
<div class="row mb-1">
<label for="hashTags" class="col-sm-1 col-form-label col-form-label-sm text-center">분석 및 평가</label>
<div class="col-sm-11">
<textarea id="focusCollection" name="analysisEvaluation" th:utext="${ia.analysisEvaluation}" rows="5" cols="108"></textarea>
</div>
</div>
<div class="row mb-1">
<label for="hashTags" class="col-sm-1 col-form-label col-form-label-sm text-center">대책</label>
<div class="col-sm-11">
<textarea id="focusCollection" name="measures" th:utext="${ia.measures}" rows="5" cols="108"></textarea>
</div>
</div>
</form>
</div>
<div class="modal-footer justify-content-between bg-light">
<div class="col-auto">
<!-- <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">닫기</button>-->
</div>
<div class="col-auto">
<button type="button" class="btn btn-warning" id="saveTempBtn">임시저장</button>
<button type="button" class="btn btn-primary" id="saveBtn">저장</button>
</div>
</div>