135 lines
7.3 KiB
HTML
135 lines
7.3 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="${op.opKey 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="operationPlanEditForm">
|
|
<input type="hidden" name="_csrf_header" th:value="${_csrf.headerName}"/>
|
|
<input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}"/>
|
|
<input type="hidden" name="opKey" th:value="${op.opKey}">
|
|
<input type="hidden" name="wrtOrgan" th:value="${op.wrtOrgan}">
|
|
<input type="hidden" name="wrtPart" th:value="${op.wrtPart}">
|
|
<input type="hidden" name="wrtUserSeq" th:value="${op.wrtUserSeq}">
|
|
<input type="hidden" name="wrtUserGrd" th:value="${op.wrtUserGrd}">
|
|
<input type="hidden" name="wrtUserNm" th:value="${op.wrtUserNm}">
|
|
<input type="hidden" name="wrtDt" id="wrtDt" th:value="${#temporals.format(op.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" id="opSdate" name="opSdate" th:value="${op.opSdate}" 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>
|
|
<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"><h6 class="text-center">정보협력자 구성</h6></div>
|
|
<div class="row mb-1">
|
|
<div class="col-sm-1"></div>
|
|
<label for="affairType1" 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" id="opName" name="opName" th:value="${op.opName}">
|
|
</div>
|
|
<label for="affairType2" 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" id="opBirth" name="opBirth" th:value="${op.opBirth}" readonly>
|
|
</div>
|
|
<label for="affairType3" 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" id="opPosition" name="opPosition" th:value="${op.opPosition}">
|
|
</div>
|
|
</div>
|
|
<div class="row mb-1">
|
|
<div class="col-sm-1"></div>
|
|
<label for="affairType4" 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" id="opJob" name="opJob" th:value="${op.opJob}">
|
|
</div>
|
|
<label for="affairType1" 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" id="opCareer" name="opCareer" th:value="${op.opCareer}">
|
|
</div>
|
|
<label for="affairType2" 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" id="opPhone" name="opPhone" th:value="${op.opPhone}">
|
|
</div>
|
|
</div>
|
|
<div class="row mb-1">
|
|
<div class="col-sm-1"></div>
|
|
<label for="affairType4" class="col-sm-1 col-form-label col-form-label-sm text-center">주소</label>
|
|
<div class="col-sm-5">
|
|
<input type="text" class="form-control form-control-sm" id="opAddress" name="opAddress" th:value="${op.opAddress}">
|
|
</div>
|
|
<label for="affairType2" 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" id="opRank" name="opRank" th:value="${op.opRank}">
|
|
</div>
|
|
</div>
|
|
<div class="row mb-1">
|
|
<div class="col-sm-1"></div>
|
|
<label for="affairType3" class="col-sm-1 col-form-label col-form-label-sm text-center">기타 참고</label>
|
|
<div class="col-sm-8">
|
|
<input type="text" class="form-control form-control-sm" id="opEtc" name="opEtc" th:value="${op.opEtc}">
|
|
</div>
|
|
</div>
|
|
<hr>
|
|
<div class="row mb-1">
|
|
<label for="hashTags" class="col-sm-1 col-form-label col-form-label-sm text-center">대상목표<br>및<br>위치</label>
|
|
<div class="col-sm-11">
|
|
<textarea id="targetLocation" name="targetLocation" rows="5" cols="108" th:utext="${op.targetLocation}"></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="vulnerabilityAnalyze" rows="5" cols="108" th:utext="${op.vulnerabilityAnalyze}"></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="eligibilityAnalyze" rows="5" cols="108" th:utext="${op.eligibilityAnalyze}"></textarea>
|
|
</div>
|
|
</div>
|
|
<div class="row mb-1">
|
|
<label for="hashTags" class="col-sm-1 col-form-label col-form-label-sm text-center">중점<br>수집사항</label>
|
|
<div class="col-sm-11">
|
|
<textarea id="focusCollection" name="focusCollection" rows="5" cols="108" th:utext="${op.focusCollection}"></textarea>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row mb-3">
|
|
<label for="fileInputer" class="col-sm-1 col-form-label col-form-label-sm text-center">첨부파일</label>
|
|
<div class="col-sm-11" style="min-height: 70px;">
|
|
<div class="w-100 h-100 border border-info rounded text-center" id="uploadDiv">
|
|
<th:block th:if="${#arrays.isEmpty(op.fileList)}">
|
|
<br>파일을 업로드 해주세요.
|
|
</th:block>
|
|
<th:block th:unless="${#arrays.isEmpty(op.fileList)}">
|
|
<div class='row-col-6' th:each="file:${op.fileList}">
|
|
<span th:data-fileseq="${file.fileSeq}" th:text="|${file.origNm}.${file.fileExtn} ${file.fileSize}|"></span>
|
|
<a href='#' class='uploadedFileDelete text-danger text-decoration-none'>삭제</a>
|
|
</div>
|
|
</th:block>
|
|
</div>
|
|
</div>
|
|
<input type="file" class="d-none" id="fileInputer" multiple>
|
|
</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> |