2023-01-18 04:29:41 +00:00
<!DOCTYPE html>
< html lang = "ko" xmlns:th = "http://www.thymeleaf.org" >
< div class = "modal-header bg-dark" >
2023-01-19 04:04:46 +00:00
< h5 class = "modal-title text-white" id = "affairViewModalLabel" > 분석평가서 열람< / h5 >
2023-01-18 04:29:41 +00:00
< 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 >
< label class = "col-sm-2 col-form-label col-form-label-sm text-start" th:text = "|${ia.wrtUserGrd} ${ia.wrtUserNm}|" > < / label >
2023-01-19 04:04:46 +00:00
< label class = "col-sm-1 col-form-label col-form-label-sm text-center" > 등록일< / label >
2023-01-18 04:29:41 +00:00
< label class = "col-sm-2 col-form-label col-form-label-sm text-start" th:text = "${#temporals.format(ia.wrtDt, 'yyyy-MM-dd HH:mm')}" > < / label >
< label class = "col-sm-1 col-form-label col-form-label-sm text-center" > 상태< / label >
2023-01-19 04:04:46 +00:00
< 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 ia.iaState}" th:text = "${commonCode.itemValue}" > < / label >
< / th:block >
2023-01-18 04:29:41 +00:00
< / div >
< hr >
< div class = "row mb-1" >
< 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 = "|${ia.iaSdate} ~ ${ia.iaEdate}|" > < / label >
2023-01-19 04:04:46 +00:00
< / div >
2023-01-18 04:29:41 +00:00
< 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 >
< 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 text-center" >
< tr >
< td th:text = "${ia.totalCnt}" > < / td >
< td th:text = "${ia.specialCnt}" > < / td >
< td th:text = "${ia.middleCnt}" > < / td >
< td th:text = "${ia.tongCnt}" > < / td >
< td th:text = "${ia.joCnt}" > < / td >
< td th:text = "${ia.muCnt}" > < / td >
< td th:text = "${ia.fiCnt}" > < / td >
< td th:text = "${ia.iaTotal}" > < / td >
< td th:text = "${ia.faCnt}" > < / td >
< td th:text = "${ia.workCnt}" > < / td >
< td th:text = "${ia.arrestCnt}" > < / td >
< / tr >
< / tbody >
< / table >
< / div >
< / div >
< hr >
< div class = "row" >
< 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 = "${ia.foreignAffairs}" > < / 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 = "${ia.work}" > < / 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 = "${ia.arrestOffenders}" > < / 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 = "${ia.analysisEvaluation}" > < / 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 = "${ia.measures}" > < / div >
< / div >
< / div >
< / div >
2023-01-18 09:13:02 +00:00
< div class = "row" >
< div class = "col-12" th:unless = "${#lists.isEmpty(ia.apprvList)}" >
2023-01-18 04:29:41 +00:00
< hr >
2023-01-18 09:13:02 +00:00
< th:block th:each = "apprv:${ia.apprvList}" >
2023-01-18 04:29:41 +00:00
< div class = "row" >
< th:block th:each = "commonCode:${session.commonCode.get('DST')}" >
< label class = "col-sm-2 col-form-label col-form-label-sm text-center" 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 >
2023-01-18 09:13:02 +00:00
< label class = "col-sm-2 col-form-label col-form-label-sm text-center" >
< th:block th:text = "|관리관 의견: ${apprv.opinion}|" > < / th:block >
< / label >
< label class = "col-sm-2 col-form-label col-form-label-sm text-center" >
< th:block th:text = "|지시사항: ${apprv.Instruction}|" > < / th:block >
< / label >
2023-01-18 04:29:41 +00:00
< label class = "col-sm-2 col-form-label col-form-label-sm text-center" >
< th:block th:text = "|결제일시: ${#temporals.format(apprv.saveDt, 'yyyy-MM-dd HH:mm:ss')}|" > < / th:block >
2023-01-18 09:13:02 +00:00
< / label >
2023-01-18 04:29:41 +00:00
< / div >
< / th:block >
< / div >
2023-01-18 09:13:02 +00:00
< / div >
< div class = "col-12" th:if = "${(apprvAuth eq 'APC001' or apprvAuth eq 'APC002' or apprvAuth eq 'APC003' or apprvAuth eq 'APC004') and ia.iaState eq 'DST002'}" >
< hr >
2023-01-18 04:29:41 +00:00
< form action = "#" method = "post" id = "apprvForm" >
< div class = "row" >
< input type = "hidden" name = "iaKey" th:value = "${ia.iaKey}" >
< input type = "hidden" name = "state" id = "viewModalApprvValue" >
2023-01-18 09:13:02 +00:00
< div class = "row" >
< label class = "col-sm-1 col-form-label col-form-label-sm text-center" > 관리관 의견< / label >
< div class = "col-10" >
< input type = "text" class = "form-control form-control-sm" name = "opinion" >
< / div >
< / div >
< br / > < br / >
< div class = "row" >
< label class = "col-sm-1 col-form-label col-form-label-sm text-center" > 지시사항< / label >
< div class = "col-10" >
< input type = "text" class = "form-control form-control-sm" name = "Instruction" >
< / div >
2023-01-18 04:29:41 +00:00
< / div >
< / div >
< / form >
2023-01-18 09:13:02 +00:00
< / div >
2023-01-18 04:29:41 +00:00
< / div >
< / 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" >
< th:block th:if = "${(apprvAuth eq 'APC001' or apprvAuth eq 'APC002' or apprvAuth eq 'APC003' or apprvAuth eq 'APC004') and ia.iaState 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:unless = "${ia.iaState eq 'DST004' or ia.iaState eq 'DST006'}" > <!-- 승인 상태일때는 수정 불가 -->
< th:block th:if = "${userSeq eq ia.wrtUserSeq or accessAuth eq 'ACC003'}" > <!-- 작성자일 경우 수정 허용 --> <!-- 관리자일 경우 수정 허용 -->
< button type = "button" class = "btn btn-warning" th:data-iakey = "${ia.iaKey}" id = "editBtn" > 수정< / button >
< / th:block >
< / th:block >
< / div >
< / div >