99 lines
4.1 KiB
HTML
99 lines
4.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="ko" xmlns:th="http://www.thymeleaf.org">
|
|
<input type="hidden" name="planKey" id="viewModalPlanKey" th:value="${plan.planKey}">
|
|
<input type="hidden" name="wrtOrgan" th:value="${plan.wrtOrgan}">
|
|
<input type="hidden" name="planState" id="planState" th:value="${plan.planState}">
|
|
<div class="mb-3 row">
|
|
<label for="wrtUserNm" class="col-sm-1 col-form-label text-center">작성자</label>
|
|
<div class="col-sm-2">
|
|
<input type="text" class="form-control border-0" id="wrtUserNm" name="wrtUserNm" th:value="${plan.wrtUserNm}" readonly>
|
|
</div>
|
|
<label for="wrtDt" class="col-sm-1 col-form-label text-center">작성일시</label>
|
|
<div class="col-sm-2">
|
|
<input type="text" class="form-control border-0" id="wrtDt" name="wrtDt" th:value="${#temporals.format(plan.wrtDt, 'yyyy-MM-dd HH:mm')}" readonly>
|
|
</div>
|
|
<label for="planDt" class="col-sm-1 col-form-label text-center">시행일자</label>
|
|
<div class="col-sm-2">
|
|
<input type="text" class="form-control border-0" id="planDt" name="planDt" th:value="${#temporals.format(plan.planDt, 'yyyy-MM-dd')}" readonly>
|
|
</div>
|
|
<label for="planState" class="col-sm-1 col-form-label text-center">상태</label>
|
|
<div class="col-sm-2">
|
|
<th:block th:if="${plan.planState eq 'DST001'}">
|
|
<input type="text" class="form-control border-0" value="임시저장" readonly>
|
|
</th:block>
|
|
<th:block th:if="${plan.planState eq 'DST002'}">
|
|
<input type="text" class="form-control border-0" value="결재대기" readonly>
|
|
</th:block>
|
|
<th:block th:if="${plan.planState eq 'DST003'}">
|
|
<input type="text" class="form-control border-0" value="계장결재" readonly>
|
|
</th:block>
|
|
<th:block th:if="${plan.planState eq 'DST004'}">
|
|
<input type="text" class="form-control border-0" value="계장반려" readonly>
|
|
</th:block>
|
|
<th:block th:if="${plan.planState eq 'DST005'}">
|
|
<input type="text" class="form-control border-0" value="부장결재" readonly>
|
|
</th:block>
|
|
<th:block th:if="${plan.planState eq 'DST006'}">
|
|
<input type="text" class="form-control border-0" value="부장반려" readonly>
|
|
</th:block>
|
|
</div>
|
|
</div>
|
|
<hr>
|
|
<div class="row">
|
|
<div class="col-8">
|
|
<div class="mb-3 row">
|
|
<label for="contentTitle" class="col-sm-2 col-form-label text-center">제목</label>
|
|
<div class="col-sm-10">
|
|
<input type="text" class="form-control border-0" id="contentTitle" name="contentTitle" th:value="${plan.contentTitle}" readonly>
|
|
</div>
|
|
</div>
|
|
<hr>
|
|
<div class="mb-3 row">
|
|
<label for="planDiv" class="col-sm-2 col-form-label text-center">주요<br>사업계획</label>
|
|
<div class="col-sm-10" id="planDiv">
|
|
<th:block th:each="infoList:${plan.mainInfoList}">
|
|
<th:block th:if="${infoList.planType eq 'S'}">
|
|
<input type="text" class="form-control border-0" name="planInfo" th:value="${infoList.planInfo}" readonly>
|
|
</th:block>
|
|
</th:block>
|
|
</div>
|
|
</div>
|
|
<hr>
|
|
<div class="mb-3 row">
|
|
<label for="detailPlanDiv" class="col-sm-2 col-form-label text-center">사업개요<br>및<br>추진계획</label>
|
|
<div class="col-sm-10" id="detailPlanDiv">
|
|
<th:block th:each="infoList:${plan.mainInfoList}">
|
|
<th:block th:if="${infoList.planType eq 'D'}">
|
|
<div th:utext="${infoList.planInfo}"></div>
|
|
</th:block>
|
|
</th:block>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-4">
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th>파일명</th>
|
|
<th>사이즈</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<th:block th:if="${#arrays.isEmpty(plan.fileList)}">
|
|
<tr>
|
|
<td colspan="2">파일이 없습니다.</td>
|
|
</tr>
|
|
</th:block>
|
|
<th:block th:unless="${#arrays.isEmpty(plan.fileList)}">
|
|
<th:block th:each="file:${plan.fileList}">
|
|
<tr class="fileInfoTr">
|
|
<td><a href="#" class="fileDownLink" data-board="monthPlan" 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>
|