112 lines
7.0 KiB
HTML
112 lines
7.0 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="csEditModalLabel" th:text="${crackdownInfo.cdsKey eq null?'단속현황 작성':'단속현황 수정'}"></h5>
|
||
|
|
<button type="button" class="btn-close f-invert" data-bs-dismiss="modal" aria-label="Close"></button>
|
||
|
|
</div>
|
||
|
|
<div class="modal-body">
|
||
|
|
<form action="#" method="post" id="csEditForm">
|
||
|
|
<input type="hidden" name="cdsKey" id="cdsKey" th:value="${crackdownInfo.cdsKey}">
|
||
|
|
<input type="hidden" class="status" name="status" id="infoStatus" th:value="${crackdownInfo.status}">
|
||
|
|
<input type="hidden" name="wrtOrgan" th:value="${crackdownInfo.wrtOrgan}">
|
||
|
|
<input type="hidden" name="wrtPart" th:value="${crackdownInfo.wrtPart}">
|
||
|
|
<input type="hidden" name="wrtUserSeq" th:value="${crackdownInfo.wrtUserSeq}">
|
||
|
|
<input type="hidden" name="wrtUserGrd" th:value="${crackdownInfo.wrtUserGrd}">
|
||
|
|
<input type="hidden" name="wrtUserNm" th:value="${crackdownInfo.wrtUserNm}">
|
||
|
|
<input type="hidden" name="wrtDt" th:value="${#temporals.format(crackdownInfo.wrtDt, 'yyyy-MM-dd HH:mm:ss')}">
|
||
|
|
<div class="row mb-1">
|
||
|
|
<label for="caseNum" 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="caseNum" name="caseNum" th:value="${crackdownInfo.caseNum}">
|
||
|
|
</div>
|
||
|
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center">MMSI.NO</label>
|
||
|
|
<div class="col-sm-2">
|
||
|
|
<input class="form-control form-control-sm" name="mmsi" th:value="${crackdownInfo.mmsi}">
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<div class="row mb-1">
|
||
|
|
<label for="caseAgency" class="col-sm-1 col-form-label col-form-label-sm text-center">사건담당경찰서</label>
|
||
|
|
<div class="col-sm-2">
|
||
|
|
<select class="form-select form-select-sm " id="caseAgency" name="caseAgency">
|
||
|
|
<option value="">선택</option>
|
||
|
|
<th:block th:each="code:${session.commonCode.get('OG')}">
|
||
|
|
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq crackdownInfo.caseAgency}"></option>
|
||
|
|
</th:block>
|
||
|
|
</select>
|
||
|
|
</div>
|
||
|
|
<label for="casePoliceOfficer" class="col-sm-1 col-form-label col-form-label-sm text-center fs-13">사건담당경찰관</label>
|
||
|
|
<div class="col-sm-2">
|
||
|
|
<input type="text" class="form-control form-control-sm " id="casePoliceOfficer" name="casePoliceOfficer" th:value="${crackdownInfo.casePoliceOfficer}">
|
||
|
|
</div>
|
||
|
|
<label for="crackdownPolice" class="col-sm-1 col-form-label col-form-label-sm text-center">단속경찰서</label>
|
||
|
|
<div class="col-sm-2">
|
||
|
|
<select class="form-select form-select-sm crackdownPolice" name="crackdownPolice" id="crackdownPolice">
|
||
|
|
<option value="">선택</option>
|
||
|
|
<th:block th:each="code:${cpoList}">
|
||
|
|
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq crackdownInfo.crackdownPolice}"></option>
|
||
|
|
</th:block>
|
||
|
|
</select>
|
||
|
|
</div>
|
||
|
|
<label for="crackdownBoat" class="col-sm-1 col-form-label col-form-label-sm text-center">단속함정</label>
|
||
|
|
<div class="col-sm-2">
|
||
|
|
<select class="form-select form-select-sm crackdownBoat" name="crackdownBoat" id="crackdownBoat" th:data-boatcode="${crackdownInfo.crackdownBoat}">
|
||
|
|
<option value="">단속경찰서를 선택해주세요.</option>
|
||
|
|
<th:block th:each="code:${session.commonCode.get(crackdownInfo.crackdownPolice)}">
|
||
|
|
<th:block th:if="${code.useChk eq 'T'}">
|
||
|
|
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq crackdownInfo.crackdownBoat}"></option>
|
||
|
|
</th:block>
|
||
|
|
</th:block>
|
||
|
|
</select>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<div class="row mb-1">
|
||
|
|
<label for="invasionType" class="col-sm-1 col-form-label col-form-label-sm text-center">침범유형</label>
|
||
|
|
<div class="col-sm-2">
|
||
|
|
<select class="form-select form-select-sm" name="invasionType" id="invasionType">
|
||
|
|
<option value="">선택</option>
|
||
|
|
<th:block th:each="code:${session.commonCode.get('IST')}">
|
||
|
|
<option th:value="${code.itemCd}" th:text="${code.itemValue}"
|
||
|
|
th:selected="${code.itemCd eq crackdownInfo.invasionType}"></option>
|
||
|
|
</th:block>
|
||
|
|
</select>
|
||
|
|
</div>
|
||
|
|
<label for="nll" class="col-sm-1 col-form-label col-form-label-sm text-center">NLL</label>
|
||
|
|
<div class="col-sm-2">
|
||
|
|
<select class="form-select form-select-sm" name="nll" id="nll">
|
||
|
|
<option value="">선택</option>
|
||
|
|
<option value="Y" th:selected="${crackdownInfo.nll == 'Y'}">O</option>
|
||
|
|
<option value="N" th:selected="${crackdownInfo.nll == 'N'}">X</option>
|
||
|
|
</select>
|
||
|
|
</div>
|
||
|
|
<label for="fieldIvsgt" class="col-sm-1 col-form-label col-form-label-sm text-center">압송/현장조사</label>
|
||
|
|
<div class="col-sm-2">
|
||
|
|
<select class="form-select form-select-sm " name="fieldIvsgt" id="fieldIvsgt">
|
||
|
|
<option value="">선택</option>
|
||
|
|
<option value="C" th:selected="${crackdownInfo.fieldIvsgt eq 'C'}">압송</option>
|
||
|
|
<option value="F" th:selected="${crackdownInfo.fieldIvsgt eq 'F'}">현장조사</option>
|
||
|
|
</select>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<div class="row mb-1">
|
||
|
|
<label for="napoDate" class="col-sm-1 col-form-label col-form-label-sm text-center">나포일시</label>
|
||
|
|
<div class="col-sm-2">
|
||
|
|
<div class="input-group">
|
||
|
|
<input type="text" class="form-control form-control-sm dateSelector" id="napoDate" placeholder="yyyy-mm-dd" th:value="${#temporals.format(crackdownInfo.napoDt, 'yyyy-MM-dd')}" autocomplete="off">
|
||
|
|
<input type="text" class="form-control form-control-sm timeInputer" id="napoTime" placeholder="hh:mm" th:value="${#temporals.format(crackdownInfo.napoDt, 'HH:mm')}" autocomplete="off">
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<label for="napoSeaPointLon" class="col-sm-1 col-form-label col-form-label-sm text-center">나포장소</label>
|
||
|
|
<div class="col-sm-5">
|
||
|
|
<div class="input-group w-auto">
|
||
|
|
<input type="text" class="form-control form-control-sm w-25 " id="napoSeaPointLon" name="napoSeaPointLon" placeholder="00 . 00 . 00N" th:value="${crackdownInfo.napoSeaPointLon}">
|
||
|
|
<input type="text" class="form-control form-control-sm w-25 " id="napoSeaPointLat" name="napoSeaPointLat" placeholder="000-00.00E" th:value="${crackdownInfo.napoSeaPointLat}">
|
||
|
|
<input type="text" class="form-control form-control-sm w-50 " id="napoSeaPointDetail" name="napoSeaPointDetail" placeholder="00도 00방 00해리, 어업협정선 내측 00해리" th:value="${crackdownInfo.napoSeaPointDetail}">
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</form>
|
||
|
|
</div>
|
||
|
|
<div class="modal-footer bg-light">
|
||
|
|
<button type="button" class="btn btn-warning saveEditInfoBtn" data-status="DST001">임시저장</button>
|
||
|
|
<button type="button" class="btn btn-primary saveEditInfoBtn" data-status="DST007">저장</button>
|
||
|
|
</div>
|