146 lines
9.2 KiB
HTML
146 lines
9.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="affairViewModalLabel">외사첩보망 해고(연장) 보고 열람</h5>
|
|
<button type="button" class="btn-close f-invert" data-bs-dismiss="modal" aria-label="Close"></button>
|
|
</div>
|
|
<div class="modal-body">
|
|
<input type="hidden" name="affairKey" id="viewModalAffairKey">
|
|
<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>
|
|
</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">작성자</label>
|
|
<th:block th:each="commonCode:${session.commonCode.get('JT')}">
|
|
<label class="col-sm-2 col-form-label col-form-label-sm text-start" th:if="${commonCode.itemCd eq fer.wrtUserGrd}" th:text="|${commonCode.itemValue} ${fer.wrtUserNm}|"></label>
|
|
</th:block>
|
|
<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(fer.wrtDt, 'yyyy-MM-dd HH:mm')}"></label>
|
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center">상태</label>
|
|
<th:block th:each="commonCode:${session.commonCode.get('DST')}">
|
|
<label class="col-sm-2 col-form-label col-form-label-sm text-start" th:if="${commonCode.itemCd eq fer.ferState}" th:text="${commonCode.itemValue}"></label>
|
|
</th:block>
|
|
</div>
|
|
<hr>
|
|
<div class="row mb-1"><h6 class="text-start">■ 정보협력자 구성</h6></div>
|
|
<div class="row text-start">
|
|
<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="${fer.operationPlan.opName}"></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="${fer.operationPlan.opBirth}"></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="${fer.operationPlan.opPosition}"></label>
|
|
</div>
|
|
<div class="row">
|
|
<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="${fer.operationPlan.opJob}"></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="${fer.operationPlan.opCareer}"></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="${fer.operationPlan.opPhone}"></label>
|
|
</div>
|
|
<div class="row">
|
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center">운용기간:</label>
|
|
<label class="col-sm-5 col-form-label col-form-label-sm text-start" th:text="|${fer.operationPlan.opSdate}~${fer.opEdate}|"></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="${fer.operationPlan.opRank}"></label>
|
|
</div>
|
|
<hr>
|
|
<div class="row mb-1"><h6 class="text-start">■ 소요예산</h6></div>
|
|
<div class="row text-start">
|
|
<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="|${fer.allocationAmount}만원|"></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="|${fer.executionAmount}만원|"></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="|${fer.allocationAmount-fer.executionAmount}만원|"></label>
|
|
</div>
|
|
<div class="row">
|
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center">비고</label>
|
|
<div class="col-sm-8 form-control-sm col-form-label col-form-label-sm text-start" id="contentDiv">
|
|
<div th:utext="${#strings.replace(fer.note, lineSeparator, '<br>')}"></div>
|
|
</div>
|
|
</div>
|
|
<hr>
|
|
<div class="row">
|
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center">해고(연장)<br>사유</label>
|
|
<div class="col-sm-11 form-control-sm" id="contentDiv">
|
|
<div th:utext="${#strings.replace(fer.fireExtensionReason, lineSeparator, '<br>')}"></div>
|
|
</div>
|
|
</div>
|
|
<hr>
|
|
<div class="row mb-1">
|
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center">운영실적분석<br>및<br>평가</label>
|
|
<div class="col-sm-11 form-control-sm" id="contentDiv">
|
|
<div th:utext="${#strings.replace(fer.performanceEvaluation, lineSeparator, '<br>')}"></div>
|
|
</div>
|
|
</div>
|
|
<hr>
|
|
<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 form-control-sm" id="contentDiv">
|
|
<div th:utext="${#strings.replace(fer.actionOpinion, lineSeparator, '<br>')}"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-12" th:unless="${#lists.isEmpty(fer.apprvList)}">
|
|
<hr>
|
|
<th:block th:each="apprv:${fer.apprvList}">
|
|
<div class="row">
|
|
<th:block th:each="commonCode:${session.commonCode.get('DST')}">
|
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center" th:if="${commonCode.itemCd eq apprv.state}" >결재결과 :</label>
|
|
<label class="col-sm-2 col-form-label col-form-label-sm text-start" th:if="${commonCode.itemCd eq apprv.state}" th:text="${commonCode.itemValue}"></label>
|
|
</th:block>
|
|
|
|
<label class="col-sm-2 col-form-label col-form-label-sm text-center">
|
|
<th:block th:each="commonCode:${session.commonCode.get('JT')}">
|
|
<th:block th:if="${commonCode.itemCd eq apprv.userGrd}" th:text="|결재자: ${commonCode.itemValue} ${apprv.userNm}|"></th:block>
|
|
</th:block>
|
|
</label>
|
|
|
|
<div class="col-12 text-center row border-top-0 border-secondary">
|
|
<span class="col-sm-1 border-end border-secondary col-form-label col-form-label-sm text-center fw-bold">결재일 :</span>
|
|
<span class="col-sm-4 border-end border-secondary col-form-label col-form-label-sm text-start"><th:block th:text=" ${#temporals.format(apprv.saveDt, 'yyyy-MM-dd HH:mm:ss')}"></th:block></span>
|
|
</div>
|
|
|
|
</div>
|
|
</th:block>
|
|
</div>
|
|
</div>
|
|
<form action="#" method="post" id="apprvForm">
|
|
<div class="row">
|
|
<div class="col-10">
|
|
<input type="hidden" name="ferKey" th:value="${fer.ferKey}">
|
|
<input type="hidden" name="state" id="viewModalApprvValue">
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer justify-content-between bg-light">
|
|
<div class="col-auto">
|
|
<th:block th:unless="${fer.ferState eq 'DST004' or fer.ferState eq 'DST006'}"><!--승인 상태일때는 삭제 불가 -->
|
|
<th:block th:if="${userSeq eq fer.wrtUserSeq or accessAuth eq 'ACC003'}"><!--관리자작성자일 경우 삭제 허용-->
|
|
<button type="button" class="btn btn-danger" th:data-ferkey="${fer.ferKey}" id="deleteBtn">삭제</button>
|
|
</th:block>
|
|
</th:block>
|
|
</div>
|
|
<div class="col-auto">
|
|
<th:block th:if="${fer.wrtOrgan eq viewOrgan}">
|
|
<th:block th:if="${(apprvAuth eq 'APC001' or apprvAuth eq 'APC002') and fer.ferState eq 'DST002'}">
|
|
<button type="button" class="btn btn-danger apprvBtn" th:data-planstate="${apprvAuth eq 'APC004'||apprvAuth eq 'APC003'?'DST003':'DST005'}" th:value="반려">반려</button>
|
|
<button type="button" class="btn btn-success apprvBtn" th:data-planstate="${apprvAuth eq 'APC004'||apprvAuth eq 'APC003'?'DST004':'DST006'}" th:value="승인">승인</button>
|
|
</th:block>
|
|
</th:block>
|
|
<th:block th:unless="${fer.ferState eq 'DST004' or fer.ferState eq 'DST006'}"><!--승인 상태일때는 수정 불가 -->
|
|
<th:block th:if="${userSeq eq fer.wrtUserSeq or accessAuth eq 'ACC003'}"><!--작성자일 경우 수정 허용--><!--관리자일 경우 수정 허용-->
|
|
<button type="button" class="btn btn-warning" th:data-ferkey="${fer.ferKey}" id="editBtn">수정</button>
|
|
</th:block>
|
|
</th:block>
|
|
</div>
|
|
</div> |