불법조업외국어선

- 검색양식 요청사항 반영
 - 등록양식 요청사항 반영
취약지관리 요청사항 반영
국제범죄통계 요청사항 반영
master
강석 최 2023-01-13 18:01:55 +09:00
parent dabb062467
commit 315b351d14
15 changed files with 447 additions and 381 deletions

View File

@ -26,194 +26,197 @@ import java.util.List;
@Table(name = "crackdown_status") @Table(name = "crackdown_status")
public class CrackdownStatus extends CrackdownStatusBaseEntity { public class CrackdownStatus extends CrackdownStatusBaseEntity {
@Id @Id
@GeneratedValue(strategy = GenerationType.IDENTITY) @GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "cds_key") @Column(name = "cds_key")
private Integer cdsKey; private Integer cdsKey;
@Transient @Column(name="status")
private List<Violation> violationList; private String status;
@Transient
private FishingBoat fishingBoat;
@Transient
private List<FishingBoatVersion> fishingBoatVersionList;
@Transient
private ProcessResult processResult;
@Transient
private List<Sailor> sailorList;
@Transient @Transient
private String crackdownPoliceEtc; private List<Violation> violationList;
@Transient @Transient
private String crackdownBoatEtc; private FishingBoat fishingBoat;
@Transient
private List<FishingBoatVersion> fishingBoatVersionList;
@Transient
private ProcessResult processResult;
@Transient
private List<Sailor> sailorList;
@Transient @Transient
private Integer fbKey; private String crackdownPoliceEtc;
@Transient @Transient
private String boatNameKr; private String crackdownBoatEtc;
@Transient
private String fisheryType; @Transient
@Transient private Integer fbKey;
private String boatNnySung; @Transient
@Transient private String boatNameKr;
private String boatMaterial; @Transient
@Transient private String fisheryType;
private String boatNnySi; @Transient
@Transient private String boatNnySung;
private Double tonCnt; @Transient
@Transient private String boatMaterial;
private String boat_material; @Transient
@Transient private String boatNnySi;
private String violationStr; @Transient
private Double tonCnt;
@Transient
private String boat_material;
@Transient
private String violationStr;
@Transient @Transient
private String sailorNameKr; private String sailorNameKr;
@Transient @Transient
private String processStatus; private String processStatus;
@Transient @Transient
private Integer restrictionCaptin; private Integer restrictionCaptin;
@Transient @Transient
private Integer notRestrictionCaptin; private Integer notRestrictionCaptin;
@Transient @Transient
private Integer restrictionMate; private Integer restrictionMate;
@Transient @Transient
private Integer notRestrictionMate; private Integer notRestrictionMate;
@Transient @Transient
private Integer restrictionWarden; private Integer restrictionWarden;
@Transient @Transient
private Integer notRestrictionWarden; private Integer notRestrictionWarden;
@Transient @Transient
private Integer restrictionSailor; private Integer restrictionSailor;
@Transient @Transient
private Integer notRestrictionSailor; private Integer notRestrictionSailor;
@Transient @Transient
private Integer restrictionTotal; private Integer restrictionTotal;
@Transient @Transient
private Integer notRestrictionTotal; private Integer notRestrictionTotal;
@Transient @Transient
private Integer unlicensedOperationTotal; private Integer unlicensedOperationTotal;
@Transient @Transient
private Integer specificImpossibilityTotal; private Integer specificImpossibilityTotal;
@Transient @Transient
private Integer eezTotal; private Integer eezTotal;
@Transient @Transient
private Integer invasionTerritorialWatersTotal; private Integer invasionTerritorialWatersTotal;
@Transient @Transient
private List<Integer> violationDeleteKeyList; private List<Integer> violationDeleteKeyList;
@Transient @Transient
private List<Integer> sailorDeleteKeyList; private List<Integer> sailorDeleteKeyList;
@Transient @Transient
private String year; private String year;
@Transient @Transient
private String month; private String month;
@Transient @Transient
@DateTimeFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd")
private LocalDate napoDate; private LocalDate napoDate;
@Transient @Transient
private String violation; private String violation;
@Transient @Transient
private Integer tonStartCnt; private Integer tonStartCnt;
@Transient @Transient
private Integer tonEndCnt; private Integer tonEndCnt;
@Transient @Transient
private String catchFishSpecies; private String catchFishSpecies;
@Transient @Transient
private String catchCnt; private String catchCnt;
@Transient @Transient
private String offenseFishSpecies; private String offenseFishSpecies;
@Transient @Transient
private String offenseCatchCnt; private String offenseCatchCnt;
@Transient @Transient
private String offenseIllegalWasteQuantity; private String offenseIllegalWasteQuantity;
@Transient @Transient
private String offenseQuantity; private String offenseQuantity;
@Transient @Transient
private String offenseAmount; private String offenseAmount;
@Transient @Transient
private String damboPayment; private String damboPayment;
@Transient @Transient
@DateTimeFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd")
private LocalDate paymentPaymentDate; private LocalDate paymentPaymentDate;
@Transient @Transient
private Integer damboUnpaidAmount; private Integer damboUnpaidAmount;
@Transient @Transient
@DateTimeFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd")
private LocalDate consignmentStartDate; private LocalDate consignmentStartDate;
@Transient @Transient
@DateTimeFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd")
private LocalDate consignmentEndDate; private LocalDate consignmentEndDate;
/*@Transient /*@Transient
@DateTimeFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd")
private LocalDate evictionDt;*/ private LocalDate evictionDt;*/
@Transient @Transient
private String isEvictionDt; private String isEvictionDt;
/*@Transient /*@Transient
@DateTimeFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd")
private LocalDate returnDt;*/ private LocalDate returnDt;*/
@Transient @Transient
private String isReturnDt; private String isReturnDt;
/*@Transient /*@Transient
@DateTimeFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd")
private LocalDate confiscationDt;*/ private LocalDate confiscationDt;*/
@Transient @Transient
private String isConfiscationDt; private String isConfiscationDt;
@Transient @Transient
private String isConsignmentStartDt; private String isConsignmentStartDt;
@Transient @Transient
private String isDamboUnpaidAmount; private String isDamboUnpaidAmount;
@Transient @Transient
@DateTimeFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd")
private LocalDate boatDisposalDate; private LocalDate boatDisposalDate;
@Transient @Transient
private String boatDisposalType; private String boatDisposalType;
@Transient @Transient
@DateTimeFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd")
private LocalDate directHandoverDate; private LocalDate directHandoverDate;
@Transient @Transient
private String isDirectHandoverDt; private String isDirectHandoverDt;
@Transient @Transient
private String handoverSeaPointLat; private String handoverSeaPointLat;
@Transient @Transient
private String handoverSeaPointLon; private String handoverSeaPointLon;
@Transient @Transient
private String handoverSeaPointDetail; private String handoverSeaPointDetail;
@Transient @Transient
private String handoverBoat; private String handoverBoat;
@Transient @Transient
private String middleTakeoverBoat; private String middleTakeoverBoat;
@Transient @Transient
private String captin; private String captin;
@Transient @Transient
private String mate; private String mate;
@Transient @Transient
private String warden; private String warden;
@Transient @Transient
@DateTimeFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd")
private LocalDate fieldIvsgtNapoDate; private LocalDate fieldIvsgtNapoDate;
@Transient @Transient
@DateTimeFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd")
private LocalDate fieldIvsgtReleaseDate; private LocalDate fieldIvsgtReleaseDate;
@Transient @Transient
@DateTimeFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd")
private LocalDate pressurizedStartDate; private LocalDate pressurizedStartDate;
@Transient @Transient
@DateTimeFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd")
private LocalDate pressurizedEndDate; private LocalDate pressurizedEndDate;
@Transient @Transient
private String distance; private String distance;
@Transient @Transient
private String confiscationFrame; private String confiscationFrame;
@Transient @Transient
private String confiscationWidth; private String confiscationWidth;
@Transient @Transient
private String confiscationJo; private String confiscationJo;
@Transient @Transient
private String confiscationGae; private String confiscationGae;
@Transient @Transient
private String confiscationEtc; private String confiscationEtc;
} }

View File

@ -22,6 +22,9 @@ public class FishingBoat extends FishingBoatBaseEntity {
@Column(name = "fb_key") @Column(name = "fb_key")
private Integer fbKey; private Integer fbKey;
@Column(name="status")
private String status;
@Transient @Transient
private String year; private String year;
@Transient @Transient

View File

@ -72,8 +72,6 @@ public class FishingBoatBaseEntity extends BaseModel {
private String offenseFishSpecies; private String offenseFishSpecies;
@Column(name = "offense_catch_cnt") @Column(name = "offense_catch_cnt")
private Integer offenseCatchCnt=0; private Integer offenseCatchCnt=0;
@Column(name = "status")
private String status;
@Column(name = "wrt_organ") @Column(name = "wrt_organ")
private String wrtOrgan; private String wrtOrgan;
@Column(name = "wrt_part") @Column(name = "wrt_part")

View File

@ -23,42 +23,46 @@ import java.util.List;
@Table(name = "process_result") @Table(name = "process_result")
public class ProcessResult extends ProcessResultBaseEntity { public class ProcessResult extends ProcessResultBaseEntity {
@Id @Id
@GeneratedValue(strategy = GenerationType.IDENTITY) @GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "pr_key") @Column(name = "pr_key")
private Integer prKey; private Integer prKey;
@Column(name = "cds_key") @Column(name = "cds_key")
private Integer cdsKey; private Integer cdsKey;
@Transient
@DateTimeFormat(pattern = "yyyy-MM-dd")
private LocalDateTime updDt;
@Transient
private CrackdownStatus crackdownStatus;
@Transient
private List<Violation> violationList;
@Transient
private FishingBoat fishingBoat;
@Transient
private String boatNameKr;
@Transient @Column(name="status")
private Integer fbKey; private String status;
@Transient
private String processStatusEtc;
@Transient
private String executionDetailEtc;
@Transient
private List<CrackdownStatus> crackdownStatusList;
@Transient
private List<FishingBoat> fishingBoatList;
@Transient @Transient
private String caseNum; @DateTimeFormat(pattern = "yyyy-MM-dd")
@Transient private LocalDateTime updDt;
private String crackdownPolice; @Transient
@Transient private CrackdownStatus crackdownStatus;
private String year; @Transient
@Transient private List<Violation> violationList;
private String violation; @Transient
private FishingBoat fishingBoat;
@Transient
private String boatNameKr;
@Transient
private Integer fbKey;
@Transient
private String processStatusEtc;
@Transient
private String executionDetailEtc;
@Transient
private List<CrackdownStatus> crackdownStatusList;
@Transient
private List<FishingBoat> fishingBoatList;
@Transient
private String caseNum;
@Transient
private String crackdownPolice;
@Transient
private String year;
@Transient
private String violation;
} }

View File

@ -25,39 +25,42 @@ import java.util.List;
@Table(name = "sailor") @Table(name = "sailor")
public class Sailor extends SailorBaseEntity { public class Sailor extends SailorBaseEntity {
@Id @Id
@GeneratedValue(strategy = GenerationType.IDENTITY) @GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "sailor_key") @Column(name = "sailor_key")
private Integer sailorKey; private Integer sailorKey;
@Column(name = "fb_key") @Column(name = "fb_key")
private Integer fbKey; private Integer fbKey;
@Transient @Column(name = "status")
@DateTimeFormat(pattern = "yyyy-MM-dd") private String status;
private LocalDateTime updDt;
@Transient
private Integer cdsKey;
@Transient
private CrackdownStatus crackdownStatus;
@Transient
private FishingBoat fishingBoat;
@Transient
private List<FishingBoat> fishingBoatList;
@Transient
private List<Violation> violationList;
@Transient @Transient
private String year; @DateTimeFormat(pattern = "yyyy-MM-dd")
@Transient private LocalDateTime updDt;
private String crackdownPolice; @Transient
@Transient private Integer cdsKey;
private String crackdownBoat; @Transient
@Transient private CrackdownStatus crackdownStatus;
private String boatNameKr; @Transient
@Transient private FishingBoat fishingBoat;
private LocalDateTime napoDt; @Transient
private List<FishingBoat> fishingBoatList;
@Transient
private List<Violation> violationList;
@Transient @Transient
private List<CaptinPhotoFile> fileList; private String year;
@Transient
private String crackdownPolice;
@Transient
private String crackdownBoat;
@Transient
private String boatNameKr;
@Transient
private LocalDateTime napoDt;
@Transient
private List<CaptinPhotoFile> fileList;
} }

View File

@ -84,6 +84,9 @@
.w-35{ .w-35{
width:35%!important; width:35%!important;
} }
.w-70{
width:70%!important;
}
.w-100p{ .w-100p{
width: 100px; width: 100px;
} }

View File

@ -329,12 +329,14 @@ function OnInitCompleted(e){
} }
function ajaxErrorAction(e){ function ajaxErrorAction(e){
if(e.responseText.includes("로그인이 해제되었습니다.")){ if(e.responseText !== undefined){
alert("로그인이 해제되었습니다.") if(e.responseText.includes("로그인이 해제되었습니다.")){
location.href="/"; alert("로그인이 해제되었습니다.")
}else if(e.responseText.includes("접근이 거부되었습니다.")){ location.href="/";
alert("접근이 거부되었습니다.") }else if(e.responseText.includes("접근이 거부되었습니다.")){
location.href="/"; alert("접근이 거부되었습니다.")
location.href="/";
}
} }
} }

View File

@ -22,6 +22,12 @@ $(document).on('change', '#searchFormPolice', function (){
searchFormBoat.attr("disabled", "disabled") searchFormBoat.attr("disabled", "disabled")
} }
}) })
$(document).on('click', "#violationInput", function (){
$("#violationSelectDiv").show();
})
$(document).on('mouseleave', "#violationSelectDiv", function (){
$("#violationSelectDiv").hide();
})
$(document).on('click', '#getFishingBoatEditModalBtn', function (){ $(document).on('click', '#getFishingBoatEditModalBtn', function (){
getFishingBoatEditModal(null); getFishingBoatEditModal(null);
}) })
@ -107,6 +113,13 @@ $(document).on('click', '.violationRemoveBtn', function (){
$(document).on('change', '.boatNameKr', function (){ $(document).on('change', '.boatNameKr', function (){
$(".boatNameKr").val(this.value); $(".boatNameKr").val(this.value);
}) })
$(document).on('change', '.oxSelector', function (){
childInputStateChange(Number(this.value), $(this).parent().find("input,select").slice(1));
})
$(document).on('change', '#directHandoverSelector', function (){
childInputStateChange(Number(this.value), $("#directHandoverDiv").find("input"))
})
$(document).on('change', '#equalCaptain', function (){ $(document).on('change', '#equalCaptain', function (){
if(this.checked){ if(this.checked){
$.each($("#captainDiv :input"), function (idx, input){ $.each($("#captainDiv :input"), function (idx, input){
@ -131,7 +144,6 @@ $(document).on('click', '#sailorAddBtn', function (){
' <option value="POS006">일반선원 또는 확인불가</option>\n' + ' <option value="POS006">일반선원 또는 확인불가</option>\n' +
' </select>\n' + ' </select>\n' +
' <select class="form-select form-select-sm isRestriction w-auto normalSailorRestriction">\n' + ' <select class="form-select form-select-sm isRestriction w-auto normalSailorRestriction">\n' +
' <option value="">선택</option>\n' +
' <option value="Y">O</option>\n' + ' <option value="Y">O</option>\n' +
' <option value="N">X</option>\n' + ' <option value="N">X</option>\n' +
' </select>\n' + ' </select>\n' +
@ -152,6 +164,9 @@ $(document).on('click', '.saveEditInfoBtn', function (){
$(document).on('change', '#napoDate, #napoTime', function (){ $(document).on('change', '#napoDate, #napoTime', function (){
$("#napoDt").val($("#napoDate").val()+" "+$("#napoTime").val()); $("#napoDt").val($("#napoDate").val()+" "+$("#napoTime").val());
}) })
$(document).on('change', '#paymentPaymentDate, #paymentPaymentTime', function (){
$("#paymentPaymentDt").val($("#paymentPaymentDate").val()+" "+$("#paymentPaymentTime").val());
})
$(document).on('change', '.pressurizedTimeTaken', function (){ $(document).on('change', '.pressurizedTimeTaken', function (){
$("#pressurizedTimeTaken").val($("#pressurizedTimeTakenDate").val()+"일 "+$("#pressurizedTimeTakenTime").val()) $("#pressurizedTimeTaken").val($("#pressurizedTimeTakenDate").val()+"일 "+$("#pressurizedTimeTakenTime").val())
}) })
@ -187,17 +202,6 @@ function getFishingBoatEditModal(cdsKey){
language: "ko", language: "ko",
autoclose: true autoclose: true
}); });
$(".dateTimeSelector").datetimepicker({
format:'Y-m-d H:i',
lang:'kr',
step:20
});
$(".timeSelector").datetimepicker({
datepicker:false,
format:'H시간i분',
lang:'kr',
step:20
});
const crackdownPolice = $("#crackdownPolice").val() const crackdownPolice = $("#crackdownPolice").val()
if(crackdownPolice){ if(crackdownPolice){
getCrackdownBoatOption(crackdownPolice) getCrackdownBoatOption(crackdownPolice)
@ -254,6 +258,16 @@ function getCrackdownBoatOption(categoryCd){
}); });
} }
function childInputStateChange(selectorValue, inputs){
switch (selectorValue){
case 1:
inputs.val('').attr('disabled', 'disabled')
break;
case 2:
inputs.removeAttr('disabled')
break;
}
}
function saveFishingBoatInfo(status){ function saveFishingBoatInfo(status){
if(confirm("저장하시겠습니까?")){ if(confirm("저장하시겠습니까?")){
$("#status").val(status) $("#status").val(status)

View File

@ -116,14 +116,11 @@ $(document).on('change', '.country', function (){
}); });
$(document).on('change', '#processResult', function (){ $(document).on('change', '#processResult', function (){
if ($(this).val() == 'etc') { if ($(this).val() === 'etc') {
$(this).after( $("[name=\"processResultEtc\"]").val('')
'<div class="col-auto">' $("#processResultEtcDiv").show();
+ '<input type="text" class="form-control form-control-sm" name="processResultEtc">'
+ '</div>'
);
} else { } else {
$(this).next().remove(); $("#processResultEtcDiv").hide();
} }
}); });
@ -158,7 +155,7 @@ $(document).on('change', '#crimeType', function (){
+ '<option value="etc">기타</option>' + '<option value="etc">기타</option>'
+ '</select>' + '</select>'
+ '</div>' + '</div>'
+ '<label class="col-sm-2 col-form-label col-form-label-sm text-center fw-bold">밀수가액</label>' + '<label class="col-sm-2 col-form-label col-form-label-sm text-center fw-bold">밀수가액(만원)</label>'
+ '<div class="col-sm-2">' + '<div class="col-sm-2">'
+ '<input class="form-control form-control-sm" type="number" min="0" name="smugglingAmount">' + '<input class="form-control form-control-sm" type="number" min="0" name="smugglingAmount">'
+ '</div>' + '</div>'

View File

@ -46,11 +46,11 @@
</div> </div>
</div> </div>
<div class="row mb-1"> <div class="row mb-1">
<label for="caseAgency" class="col-sm-1 col-form-label col-form-label-sm text-center">사건담당기관</label> <label for="caseAgency" class="col-sm-1 col-form-label col-form-label-sm text-center">사건담당경찰서</label>
<div class="col-sm-2"> <div class="col-sm-2">
<select class="form-select form-select-sm crackdownStatusInfo" id="caseAgency" name="caseAgency"> <select class="form-select form-select-sm crackdownStatusInfo" id="caseAgency" name="caseAgency">
<option value="">선택</option> <option value="">선택</option>
<th:block th:each="code:${ataList}"> <th:block th:each="code:${session.commonCode.get('OG')}">
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq crackdownStatus.caseAgency}"></option> <option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq crackdownStatus.caseAgency}"></option>
</th:block> </th:block>
</select> </select>
@ -403,8 +403,12 @@
<label for="offenseType" class="col-sm-1 col-form-label col-form-label-sm text-center">범칙물</label> <label for="offenseType" class="col-sm-1 col-form-label col-form-label-sm text-center">범칙물</label>
<div class="col-sm-3"> <div class="col-sm-3">
<div class="input-group w-auto"> <div class="input-group w-auto">
<input type="text" class="form-control form-control-sm fishingBoatInfo" id="offenseType" name="fishingBoat.offenseType" placeholder="직접입력" th:value="${crackdownStatus.fishingBoat.offenseType}"> <select class="form-select form-select-sm oxSelector">
<input type="text" class="form-control form-control-sm fishingBoatInfo" id="offenseWeight" name="fishingBoat.offenseWeight" placeholder="000kg" th:value="${crackdownStatus.fishingBoat.offenseWeight}"> <option value="1" th:selected="${crackdownStatus.fishingBoat.offenseType eq null}">없음</option>
<option value="2" th:selected="${crackdownStatus.fishingBoat.offenseType ne null}">직접입력</option>
</select>
<input type="text" class="form-control form-control-sm fishingBoatInfo" id="offenseType" name="fishingBoat.offenseType" placeholder="범칙물" th:value="${crackdownStatus.fishingBoat.offenseType}" th:disabled="${crackdownStatus.fishingBoat.offenseType eq null}">
<input type="text" class="form-control form-control-sm fishingBoatInfo" id="offenseWeight" name="fishingBoat.offenseWeight" placeholder="000kg" th:value="${crackdownStatus.fishingBoat.offenseWeight>0?crackdownStatus.fishingBoat.offenseWeight:''}" th:disabled="${crackdownStatus.fishingBoat.offenseType eq null}">
</div> </div>
</div> </div>
<div class="col-sm-2"></div> <div class="col-sm-2"></div>
@ -430,28 +434,35 @@
<div class="col-sm-2"> <div class="col-sm-2">
<input type="text" class="form-control form-control-sm fishingBoatInfo" id="damboPayment" name="fishingBoat.damboPayment" placeholder="최대 999,999,999원" th:value="${crackdownStatus.fishingBoat.damboPayment}"> <input type="text" class="form-control form-control-sm fishingBoatInfo" id="damboPayment" name="fishingBoat.damboPayment" placeholder="최대 999,999,999원" th:value="${crackdownStatus.fishingBoat.damboPayment}">
</div> </div>
<label for="paymentPaymentDt" class="col-sm-1 col-form-label col-form-label-sm text-center fs-11">담보금 납부일시</label> <label for="paymentPaymentDate" class="col-sm-1 col-form-label col-form-label-sm text-center fs-11">담보금 납부일시</label>
<div class="col-sm-2"> <div class="col-sm-2">
<input type="hidden" id="paymentPaymentDt" name="fishingBoat.paymentPaymentDt" th:value="${crackdownStatus.fishingBoat.paymentPaymentDt}"> <input type="hidden" id="paymentPaymentDt" name="fishingBoat.paymentPaymentDt" th:value="${#temporals.format(crackdownStatus.fishingBoat.paymentPaymentDt, 'yyyy-MM-dd hh:mm')}">
<div class="input-group"> <div class="input-group">
<input type="text" class="form-control form-control-sm fishingBoatInfo dateSelector" id="paymentPaymentDate" placeholder="0000-00-00" th:value="${crackdownStatus.fishingBoat.paymentPaymentDt}" autocomplete="off"> <input type="text" class="form-control form-control-sm fishingBoatInfo dateSelector" id="paymentPaymentDate" placeholder="0000-00-00" th:value="${#temporals.format(crackdownStatus.fishingBoat.paymentPaymentDt, 'yyyy-MM-dd')}" autocomplete="off">
<input type="text" class="form-control form-control-sm fishingBoatInfo" id="paymentPaymentTime" placeholder="00:00" th:value="${crackdownStatus.fishingBoat.paymentPaymentDt}" autocomplete="off"> <input type="text" class="form-control form-control-sm fishingBoatInfo" id="paymentPaymentTime" placeholder="00:00" th:value="${#temporals.format(crackdownStatus.fishingBoat.paymentPaymentDt, 'hh:mm')}" autocomplete="off">
</div> </div>
</div> </div>
</div> </div>
<div class="row mb-1"> <div class="row mb-1">
<label for="confiscationFrame" class="col-sm-1 col-form-label col-form-label-sm text-center">압수어구</label> <label for="confiscationFrame" class="col-sm-1 col-form-label col-form-label-sm text-center">압수어구</label>
<div class="col-sm-4"> <div class="col-sm-5">
<div class="input-group w-auto"> <div class="input-group w-auto"
<input type="text" class="form-control form-control-sm fishingBoatInfo" id="confiscationFrame" name="fishingBoat.confiscationFrame" placeholder="틀" th:value="${crackdownStatus.fishingBoat.confiscationFrame}"> th:with="confiscationFlag=${crackdownStatus.fishingBoat.confiscationFrame ne null ||
<input type="text" class="form-control form-control-sm fishingBoatInfo" id="confiscationWidth" name="fishingBoat.confiscationWidth" placeholder="폭" th:value="${crackdownStatus.fishingBoat.confiscationWidth}"> crackdownStatus.fishingBoat.confiscationWidth ne null ||
<input type="text" class="form-control form-control-sm fishingBoatInfo" id="confiscationJo" name="fishingBoat.confiscationJo" placeholder="조" th:value="${crackdownStatus.fishingBoat.confiscationJo}"> crackdownStatus.fishingBoat.confiscationJo ne null ||
<input type="text" class="form-control form-control-sm fishingBoatInfo" id="confiscationGae" name="fishingBoat.confiscationGae" placeholder="개" th:value="${crackdownStatus.fishingBoat.confiscationGae}"> crackdownStatus.fishingBoat.confiscationGae ne null ||
crackdownStatus.fishingBoat.confiscationEtc ne null}">
<select class="form-select form-select-sm oxSelector">
<option value="1" th:selected="${!confiscationFlag}">없음</option>
<option value="2" th:selected="${confiscationFlag}">수량기입</option>
</select>
<input type="text" class="form-control form-control-sm fishingBoatInfo" id="confiscationFrame" name="fishingBoat.confiscationFrame" placeholder="틀" th:value="${crackdownStatus.fishingBoat.confiscationFrame}" th:disabled="${!confiscationFlag}">
<input type="text" class="form-control form-control-sm fishingBoatInfo" id="confiscationWidth" name="fishingBoat.confiscationWidth" placeholder="폭" th:value="${crackdownStatus.fishingBoat.confiscationWidth}" th:disabled="${!confiscationFlag}">
<input type="text" class="form-control form-control-sm fishingBoatInfo" id="confiscationJo" name="fishingBoat.confiscationJo" placeholder="조" th:value="${crackdownStatus.fishingBoat.confiscationJo}" th:disabled="${!confiscationFlag}">
<input type="text" class="form-control form-control-sm fishingBoatInfo" id="confiscationGae" name="fishingBoat.confiscationGae" placeholder="개" th:value="${crackdownStatus.fishingBoat.confiscationGae}" th:disabled="${!confiscationFlag}">
<input type="text" class="form-control form-control-sm fishingBoatInfo" id="confiscationEtc" name="fishingBoat.confiscationEtc" placeholder="기타" th:value="${crackdownStatus.fishingBoat.confiscationEtc}" th:disabled="${!confiscationFlag}">
</div> </div>
</div> </div>
<div class="col-sm-3">
<input type="text" class="form-control form-control-sm fishingBoatInfo" id="confiscationEtc" name="fishingBoat.confiscationEtc" placeholder="기타" th:value="${crackdownStatus.fishingBoat.confiscationEtc}">
</div>
</div> </div>
</div> </div>
<div class="tab-pane fade p-2" id="processResultTabPanel" role="tabpanel" aria-labelledby="processResultTab" tabindex="0"> <div class="tab-pane fade p-2" id="processResultTabPanel" role="tabpanel" aria-labelledby="processResultTab" tabindex="0">
@ -470,7 +481,7 @@
<th:block th:with="ptt=${crackdownStatus.processResult.pressurizedTimeTaken}"> <th:block th:with="ptt=${crackdownStatus.processResult.pressurizedTimeTaken}">
<div class="input-group w-auto"> <div class="input-group w-auto">
<input type="number" class="form-control form-control-sm pressurizedTimeTaken processResultInfo" id="pressurizedTimeTakenDate" placeholder="일" th:value="${#strings.substringBefore(ptt, '일')}"> <input type="number" class="form-control form-control-sm pressurizedTimeTaken processResultInfo" id="pressurizedTimeTakenDate" placeholder="일" th:value="${#strings.substringBefore(ptt, '일')}">
<input type="text" class="form-control form-control-sm pressurizedTimeTaken processResultInfo timeSelector" id="pressurizedTimeTakenTime" placeholder="00:00" autocomplete="off" th:value="${#strings.substringAfter(ptt, '일')}"> <input type="text" class="form-control form-control-sm pressurizedTimeTaken processResultInfo" id="pressurizedTimeTakenTime" placeholder="00:00" autocomplete="off" th:value="${#strings.substringAfter(ptt, '일')}">
</div> </div>
<input type="hidden" class="processResultInfo" name="processResult.pressurizedTimeTaken" id="pressurizedTimeTaken" th:value="${ptt}"> <input type="hidden" class="processResultInfo" name="processResult.pressurizedTimeTaken" id="pressurizedTimeTaken" th:value="${ptt}">
</th:block> </th:block>
@ -480,7 +491,7 @@
<th:block th:with="wrtt=${crackdownStatus.processResult.warrantReqTakeTime}"> <th:block th:with="wrtt=${crackdownStatus.processResult.warrantReqTakeTime}">
<div class="input-group w-auto"> <div class="input-group w-auto">
<input type="number" class="form-control form-control-sm warrantReqTake processResultInfo" id="warrantReqTakeDate" placeholder="일" th:value="${#strings.substringBefore(wrtt, '일')}"> <input type="number" class="form-control form-control-sm warrantReqTake processResultInfo" id="warrantReqTakeDate" placeholder="일" th:value="${#strings.substringBefore(wrtt, '일')}">
<input type="text" class="form-control form-control-sm warrantReqTake processResultInfo timeSelector" id="warrantReqTakeTime" placeholder="00:00" autocomplete="off" th:value="${#strings.substringAfter(wrtt, '일')}"> <input type="text" class="form-control form-control-sm warrantReqTake processResultInfo" id="warrantReqTakeTime" placeholder="00:00" autocomplete="off" th:value="${#strings.substringAfter(wrtt, '일')}">
</div> </div>
<input type="hidden" class="processResultInfo" name="processResult.warrantReqTakeTime" id="warrantReqTake" th:value="${wrtt}"> <input type="hidden" class="processResultInfo" name="processResult.warrantReqTakeTime" id="warrantReqTake" th:value="${wrtt}">
</div> </div>
@ -499,27 +510,42 @@
<input type="text" class="form-control form-control-sm processResultInfo dateSelector" id="evictionDt" name="processResult.evictionDt" placeholder="0000-00-00" th:value="${crackdownStatus.processResult.evictionDt}" autocomplete="off"> <input type="text" class="form-control form-control-sm processResultInfo dateSelector" id="evictionDt" name="processResult.evictionDt" placeholder="0000-00-00" th:value="${crackdownStatus.processResult.evictionDt}" autocomplete="off">
</div> </div>
</div> </div>
<div class="row mb-1"> <th:block th:with="directHandoverFlag=${crackdownStatus.processResult.directHandoverDt ne null ||
<label for="directHandoverDt" class="col-sm-1 col-form-label col-form-label-sm text-center">직접인계일</label> crackdownStatus.processResult.handoverSeaPointLon ne null ||
<div class="col-sm-2"> crackdownStatus.processResult.handoverSeaPointLat ne null ||
<input type="text" class="form-control form-control-sm processResultInfo dateSelector" id="directHandoverDt" name="processResult.directHandoverDt" placeholder="0000-00-00" th:value="${crackdownStatus.processResult.directHandoverDt}" autocomplete="off"> crackdownStatus.processResult.handoverBoat ne null ||
</div> crackdownStatus.processResult.middleTakeoverBoat ne null}">
<label for="handoverSeaPointLon" class="col-sm-1 col-form-label col-form-label-sm text-center">인계 해점</label> <div class="row mb-1">
<div class="col-sm-2"> <label for="directHandoverSelector" class="col-sm-1 col-form-label col-form-label-sm text-center">직접인계여부</label>
<div class="input-group w-auto"> <div class="col-sm-2">
<input type="text" class="form-control form-control-sm processResultInfo" id="handoverSeaPointLon" name="processResult.handoverSeaPointLon" placeholder="00-00.00N" th:value="${crackdownStatus.processResult.handoverSeaPointLon}"> <select class="form-select form-select-sm processResultInfo" id="directHandoverSelector">
<input type="text" class="form-control form-control-sm processResultInfo" id="handoverSeaPointLat" name="processResult.handoverSeaPointLat" placeholder="000-00.00E" th:value="${crackdownStatus.processResult.handoverSeaPointLat}"> <option value="1" th:selected="${!directHandoverFlag}">X</option>
<option value="2" th:selected="${directHandoverFlag}">O</option>
</select>
</div> </div>
</div> </div>
<label for="handoverBoat" class="col-sm-1 col-form-label col-form-label-sm text-center">인계 함정</label> <div class="row mb-1" id="directHandoverDiv">
<div class="col-sm-2"> <label for="directHandoverDt" class="col-sm-1 col-form-label col-form-label-sm text-center">직접인계일</label>
<input type="text" class="form-control form-control-sm processResultInfo" id="handoverBoat" name="processResult.handoverBoat" th:value="${crackdownStatus.processResult.handoverBoat}"> <div class="col-sm-2">
<input type="text" class="form-control form-control-sm processResultInfo dateSelector" id="directHandoverDt" name="processResult.directHandoverDt" placeholder="0000-00-00" th:value="${crackdownStatus.processResult.directHandoverDt}" autocomplete="off" th:disabled="${!directHandoverFlag}">
</div>
<label for="handoverSeaPointLon" class="col-sm-1 col-form-label col-form-label-sm text-center">인계 해점</label>
<div class="col-sm-2">
<div class="input-group w-auto">
<input type="text" class="form-control form-control-sm processResultInfo" id="handoverSeaPointLon" name="processResult.handoverSeaPointLon" placeholder="00-00.00N" th:value="${crackdownStatus.processResult.handoverSeaPointLon}" th:disabled="${!directHandoverFlag}">
<input type="text" class="form-control form-control-sm processResultInfo" id="handoverSeaPointLat" name="processResult.handoverSeaPointLat" placeholder="000-00.00E" th:value="${crackdownStatus.processResult.handoverSeaPointLat}" th:disabled="${!directHandoverFlag}">
</div>
</div>
<label for="handoverBoat" 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 processResultInfo" id="handoverBoat" name="processResult.handoverBoat" th:value="${crackdownStatus.processResult.handoverBoat}" th:disabled="${!directHandoverFlag}">
</div>
<label for="middleTakeoverBoat" 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 processResultInfo" id="middleTakeoverBoat" name="processResult.middleTakeoverBoat" th:value="${crackdownStatus.processResult.middleTakeoverBoat}" th:disabled="${!directHandoverFlag}">
</div>
</div> </div>
<label for="middleTakeoverBoat" class="col-sm-1 col-form-label col-form-label-sm text-center">중측 인수함정</label> </th:block>
<div class="col-sm-2">
<input type="text" class="form-control form-control-sm processResultInfo" id="middleTakeoverBoat" name="processResult.middleTakeoverBoat" th:value="${crackdownStatus.processResult.middleTakeoverBoat}">
</div>
</div>
<hr> <hr>
<!--<div class="row mb-1"> <!--<div class="row mb-1">
<label for="materialDamageDiv" class="col-sm-1 col-form-label col-form-label-sm text-center">물적피해</label> <label for="materialDamageDiv" class="col-sm-1 col-form-label col-form-label-sm text-center">물적피해</label>
@ -577,36 +603,52 @@
<div class="col-sm-2"> <div class="col-sm-2">
<input type="text" class="form-control form-control-sm processResultInfo dateSelector" id="consignmentEndDt" name="processResult.consignmentEndDt" placeholder="0000-00-00" th:value="${crackdownStatus.processResult.consignmentEndDt}" autocomplete="off"> <input type="text" class="form-control form-control-sm processResultInfo dateSelector" id="consignmentEndDt" name="processResult.consignmentEndDt" placeholder="0000-00-00" th:value="${crackdownStatus.processResult.consignmentEndDt}" autocomplete="off">
</div> </div>
<label for="confiscationDt" class="col-sm-1 col-form-label col-form-label-sm text-center">몰수확정일</label> <label for="confiscationDt" class="col-sm-1 col-form-label col-form-label-sm text-center">몰수여부</label>
<div class="col-sm-2"> <div class="col-sm-2">
<input type="text" class="form-control form-control-sm processResultInfo dateSelector" id="confiscationDt" name="processResult.confiscationDt" placeholder="0000-00-00" th:value="${crackdownStatus.processResult.confiscationDt}" autocomplete="off"> <div class="input-group" th:with="confiscationFlag=${!#strings.isEmpty(crackdownStatus.processResult.confiscationDt)}">
<select class="form-select form-select-sm w-30 processResultInfo oxSelector">
<option value="1" th:selected="${!confiscationFlag}">X</option>
<option value="2" th:selected="${confiscationFlag}">O</option>
</select>
<input type="text" class="form-control form-control-sm w-70 processResultInfo dateSelector" id="confiscationDt" name="processResult.confiscationDt" placeholder="몰수확정일" th:value="${crackdownStatus.processResult.confiscationDt}" autocomplete="off" th:disabled="${!confiscationFlag}">
</div>
</div> </div>
</div> </div>
<div class="row mb-1"> <div class="row mb-1">
<label for="boatDisposalDt" class="col-sm-1 col-form-label col-form-label-sm text-center">폐선일</label> <label for="boatDisposalDt" class="col-sm-1 col-form-label col-form-label-sm text-center">폐선여부</label>
<div class="col-sm-2"> <div class="col-sm-3">
<input type="text" class="form-control form-control-sm processResultInfo dateSelector" id="boatDisposalDt" name="processResult.boatDisposalDt" placeholder="0000-00-00" th:value="${crackdownStatus.processResult.boatDisposalDt}" autocomplete="off"> <div class="input-group" th:with="disposalFlag=${crackdownStatus.processResult.boatDisposalDt ne null}">
<select class="form-select form-select-sm w-30 processResultInfo oxSelector">
<option value="1" th:selected="${!disposalFlag}">X</option>
<option value="2" th:selected="${disposalFlag}">O</option>
</select>
<input type="text" class="form-control form-control-sm w-35 processResultInfo dateSelector" id="boatDisposalDt" name="processResult.boatDisposalDt" placeholder="폐선일" th:value="${crackdownStatus.processResult.boatDisposalDt}" autocomplete="off" th:disabled="${!disposalFlag}">
<select class="form-select form-select-sm w-35 processResultInfo" id="boatDisposalType" name="processResult.boatDisposalType" th:disabled="${!disposalFlag}">
<option value="">폐선 종류 선택</option>
<th:block th:each="code:${bdtList}">
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq crackdownStatus.processResult.boatDisposalType}"></option>
</th:block>
</select>
</div>
</div> </div>
<label for="boatDisposalType" class="col-sm-1 col-form-label col-form-label-sm text-center">폐선종류</label> <div class="col-sm-2"></div>
<label for="returnDt" class="col-sm-1 col-form-label col-form-label-sm text-center">환부여부</label>
<div class="col-sm-2"> <div class="col-sm-2">
<select class="form-select form-select-sm processResultInfo" id="boatDisposalType" name="processResult.boatDisposalType"> <div class="input-group" th:with="returnFlag=${!#strings.isEmpty(crackdownStatus.processResult.returnDt)}">
<option value="">선택</option> <select class="form-select form-select-sm w-30 processResultInfo oxSelector">
<th:block th:each="code:${bdtList}"> <option value="1" th:selected="${!returnFlag}">X</option>
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq crackdownStatus.processResult.boatDisposalType}"></option> <option value="2" th:selected="${returnFlag}">O</option>
</th:block> </select>
</select> <input type="text" class="form-control form-control-sm w-70 processResultInfo dateSelector" id="returnDt" name="processResult.returnDt" placeholder="환부일" th:value="${crackdownStatus.processResult.returnDt}" autocomplete="off" th:disabled="${!returnFlag}">
</div> </div>
<label for="returnDt" 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 processResultInfo dateSelector" id="returnDt" name="processResult.returnDt" placeholder="0000-00-00" th:value="${crackdownStatus.processResult.returnDt}" autocomplete="off">
</div> </div>
</div> </div>
<hr>
<div class="row mb-1"> <div class="row mb-1">
<th:block th:if="${#lists.isEmpty(crackdownStatus.sailorList)}"> <th:block th:if="${#lists.isEmpty(crackdownStatus.sailorList)}">
<label for="captainRestriction" class="col-sm-1 col-form-label col-form-label-sm text-center">선장구속</label> <label for="captainRestriction" class="col-sm-1 col-form-label col-form-label-sm text-center">선장구속</label>
<div class="col-sm-2"> <div class="col-sm-2">
<select class="form-select form-select-sm sailorInfo" id="captainRestriction"> <select class="form-select form-select-sm sailorInfo" id="captainRestriction">
<option value="">선택</option>
<option value="Y">O</option> <option value="Y">O</option>
<option value="N">X</option> <option value="N">X</option>
</select> </select>
@ -614,7 +656,7 @@
<label for="navigatingOfficerRestriction" class="col-sm-1 col-form-label col-form-label-sm text-center">항해장구속</label> <label for="navigatingOfficerRestriction" class="col-sm-1 col-form-label col-form-label-sm text-center">항해장구속</label>
<div class="col-sm-2"> <div class="col-sm-2">
<select class="form-select form-select-sm sailorInfo" id="navigatingOfficerRestriction"> <select class="form-select form-select-sm sailorInfo" id="navigatingOfficerRestriction">
<option value="">선택</option> <option value="">없음</option>
<option value="Y">O</option> <option value="Y">O</option>
<option value="N">X</option> <option value="N">X</option>
</select> </select>
@ -622,7 +664,7 @@
<label for="chiefEngineerRestriction" class="col-sm-1 col-form-label col-form-label-sm text-center">기관장구속</label> <label for="chiefEngineerRestriction" class="col-sm-1 col-form-label col-form-label-sm text-center">기관장구속</label>
<div class="col-sm-2"> <div class="col-sm-2">
<select class="form-select form-select-sm sailorInfo" id="chiefEngineerRestriction"> <select class="form-select form-select-sm sailorInfo" id="chiefEngineerRestriction">
<option value="">선택</option> <option value="">없음</option>
<option value="Y">O</option> <option value="Y">O</option>
<option value="N">X</option> <option value="N">X</option>
</select> </select>
@ -634,7 +676,6 @@
<th:block th:each="sailor:${crackdownStatus.sailorList}"> <th:block th:each="sailor:${crackdownStatus.sailorList}">
<th:block th:if="${sailor.position eq 'POS001'}"> <th:block th:if="${sailor.position eq 'POS001'}">
<select class="form-select form-select-sm sailorInfo" id="captainRestriction"> <select class="form-select form-select-sm sailorInfo" id="captainRestriction">
<option value="">선택</option>
<option value="Y" th:selected="${sailor.isRestriction eq 'Y'}">O</option> <option value="Y" th:selected="${sailor.isRestriction eq 'Y'}">O</option>
<option value="N" th:selected="${sailor.isRestriction eq 'N'}">X</option> <option value="N" th:selected="${sailor.isRestriction eq 'N'}">X</option>
</select> </select>
@ -646,7 +687,6 @@
<th:block th:each="sailor:${crackdownStatus.sailorList}"> <th:block th:each="sailor:${crackdownStatus.sailorList}">
<th:block th:if="${sailor.position eq 'POS002'}"> <th:block th:if="${sailor.position eq 'POS002'}">
<select class="form-select form-select-sm sailorInfo" id="navigatingOfficerRestriction"> <select class="form-select form-select-sm sailorInfo" id="navigatingOfficerRestriction">
<option value="">선택</option>
<option value="Y" th:selected="${sailor.isRestriction eq 'Y'}">O</option> <option value="Y" th:selected="${sailor.isRestriction eq 'Y'}">O</option>
<option value="N" th:selected="${sailor.isRestriction eq 'N'}">X</option> <option value="N" th:selected="${sailor.isRestriction eq 'N'}">X</option>
</select> </select>
@ -658,7 +698,6 @@
<th:block th:each="sailor:${crackdownStatus.sailorList}"> <th:block th:each="sailor:${crackdownStatus.sailorList}">
<th:block th:if="${sailor.position eq 'POS003'}"> <th:block th:if="${sailor.position eq 'POS003'}">
<select class="form-select form-select-sm sailorInfo" id="chiefEngineerRestriction"> <select class="form-select form-select-sm sailorInfo" id="chiefEngineerRestriction">
<option value="">선택</option>
<option value="Y" th:selected="${sailor.isRestriction eq 'Y'}">O</option> <option value="Y" th:selected="${sailor.isRestriction eq 'Y'}">O</option>
<option value="N" th:selected="${sailor.isRestriction eq 'N'}">X</option> <option value="N" th:selected="${sailor.isRestriction eq 'N'}">X</option>
</select> </select>
@ -667,10 +706,10 @@
</div> </div>
</th:block> </th:block>
</div> </div>
<div class="row mb-1"> <div class="row mb-3">
<label for="sailorAddBtn" class="col-sm-1 col-form-label col-form-label-sm text-center"> <label for="sailorAddBtn" class="col-sm-1 col-form-label col-form-label-sm text-center">
선원구속 선원구속
<button type="button" class="border-0 sailorInfo" id="sailorAddBtn"> <button type="button" class="border-0 bg-white sailorInfo" id="sailorAddBtn">
<i class="bi bi-plus-square text-primary"></i> <i class="bi bi-plus-square text-primary"></i>
</button> </button>
</label> </label>
@ -685,7 +724,6 @@
<option value="POS006" th:selected="${sailor.position eq 'POS006'}">일반선원 또는 확인불가</option> <option value="POS006" th:selected="${sailor.position eq 'POS006'}">일반선원 또는 확인불가</option>
</select> </select>
<select class="form-select form-select-sm sailorInfo isRestriction w-auto normalSailorRestriction"> <select class="form-select form-select-sm sailorInfo isRestriction w-auto normalSailorRestriction">
<option value="">선택</option>
<option value="Y" th:selected="${sailor.isRestriction eq 'Y'}">O</option> <option value="Y" th:selected="${sailor.isRestriction eq 'Y'}">O</option>
<option value="N" th:selected="${sailor.isRestriction eq 'N'}">X</option> <option value="N" th:selected="${sailor.isRestriction eq 'N'}">X</option>
</select> </select>
@ -699,30 +737,6 @@
</th:block> </th:block>
</div> </div>
</div> </div>
<div class="row mb-1">
<label for="exileCnt" 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 processResultInfo" id="exileCnt" name="processResult.exileCnt" placeholder="00명" th:value="${crackdownStatus.processResult.exileCnt}">
</div>
<label for="exileDt" 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 processResultInfo dateSelector" id="exileDt" name="processResult.exileDt" placeholder="0000-00-00" th:value="${crackdownStatus.processResult.exileDt}" autocomplete="off">
</div>
<label for="flight" 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 processResultInfo" id="flight" name="processResult.flight" th:value="${crackdownStatus.processResult.flight}">
</div>
</div>
<div class="row mb-3">
<label for="immigrationOfficeName" class="col-sm-1 col-form-label col-form-label-sm text-center">출입국 담당자</label>
<div class="col-sm-4">
<div class="input-group w-auto">
<input type="text" class="form-control form-control-sm processResultInfo" id="immigrationOfficeName" name="processResult.immigrationOfficeName" placeholder="사무소명" th:value="${crackdownStatus.processResult.immigrationOfficeName}">
<input type="text" class="form-control form-control-sm processResultInfo" id="immigrationOfficeOfficerName" name="processResult.immigrationOfficeOfficerName" placeholder="이름" th:value="${crackdownStatus.processResult.immigrationOfficeOfficerName}">
<input type="text" class="form-control form-control-sm processResultInfo" id="immigrationOfficeOfficerContact" name="processResult.immigrationOfficeOfficerContact" placeholder="연락처" th:value="${crackdownStatus.processResult.immigrationOfficeOfficerContact}">
</div>
</div>
</div>
</div> </div>
</div> </div>
</form> </form>

View File

@ -5,6 +5,17 @@
<th:block layout:fragment="script"> <th:block layout:fragment="script">
<script type="text/javascript" th:src="@{/js/faStatistics/fishingBoatMgt.js}"></script> <script type="text/javascript" th:src="@{/js/faStatistics/fishingBoatMgt.js}"></script>
</th:block> </th:block>
<th:block layout:fragment="css">
<style>
#violationSelectDiv{
position: absolute;
top: 100px;
left: 710px;
display: none;
z-index: 10;
}
</style>
</th:block>
<div layout:fragment="content"> <div layout:fragment="content">
<main> <main>
<div class="row justify-content-between"> <div class="row justify-content-between">
@ -65,6 +76,8 @@
<div class="col-2"> <div class="col-2">
<input type="text" class="form-control form-control-sm" placeholder="선명(한글)" name="boatNameKr" th:value="${searchParams.fishingBoat.boatNameKr}"> <input type="text" class="form-control form-control-sm" placeholder="선명(한글)" name="boatNameKr" th:value="${searchParams.fishingBoat.boatNameKr}">
</div> </div>
</div>
<div class="row justify-content-end">
<div class="col-2"> <div class="col-2">
<input type="text" class="form-control form-control-sm" placeholder="선적지" name="boatNny" th:value="${searchParams.fishingBoat.boatNny}"> <input type="text" class="form-control form-control-sm" placeholder="선적지" name="boatNny" th:value="${searchParams.fishingBoat.boatNny}">
</div> </div>
@ -74,8 +87,6 @@
<input type="text" class="form-control form-control-sm" placeholder="톤수" name="tonMax" th:value="${searchParams.fishingBoat.tonMax>0?searchParams.fishingBoat.tonMax:''}"> <input type="text" class="form-control form-control-sm" placeholder="톤수" name="tonMax" th:value="${searchParams.fishingBoat.tonMax>0?searchParams.fishingBoat.tonMax:''}">
</div> </div>
</div> </div>
</div>
<div class="row justify-content-end">
<div class="col-2"> <div class="col-2">
<select class="form-select form-select-sm" name="boatMaterial"> <select class="form-select form-select-sm" name="boatMaterial">
<option value="">선질</option> <option value="">선질</option>
@ -92,13 +103,22 @@
</th:block> </th:block>
</select> </select>
</div> </div>
<div class="col-2"> </div>
<select class="form-select form-select-sm" name="violation"> <div class="row justify-content-end">
<div class="col-4">
<input type="text" class="form-control form-control-sm" id="violationInput" placeholder="위반형태" readonly>
<div class="bg-white border p-2 text-start" id="violationSelectDiv">
<div th:each="code:${session.commonCode.get('VT')}">
<input type="checkbox" name="violation" th:id="|violation${code.itemCd}|" th:value="${code.itemCd}" th:checked="${searchParams.fishingBoat.violation ne null?#strings.contains(searchParams.fishingBoat.violation, code.itemCd):false}">
<label th:for="|violation${code.itemCd}|" class="form-label col-form-label-sm" th:text="${code.itemValue}"></label>
</div>
</div>
<!--<select class="form-select form-select-sm" name="violation">
<option value="">위반형태</option> <option value="">위반형태</option>
<th:block th:each="code:${session.commonCode.get('VT')}"> <th:block th:each="code:${session.commonCode.get('VT')}">
<option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq searchParams.fishingBoat.violation}"></option> <option th:value="${code.itemCd}" th:text="${code.itemValue}" th:selected="${code.itemCd eq searchParams.fishingBoat.violation}"></option>
</th:block> </th:block>
</select> </select>-->
</div> </div>
<div class="col-2"> <div class="col-2">
<select class="form-select form-select-sm" name="processStatus"> <select class="form-select form-select-sm" name="processStatus">

View File

@ -60,7 +60,7 @@
<div class="row border border-secondary border-top-0"> <div class="row border border-secondary border-top-0">
<label class="col-sm-1 col-form-label col-form-label-sm py-2 border-end border-secondary text-center">나포일시</label> <label class="col-sm-1 col-form-label col-form-label-sm py-2 border-end border-secondary text-center">나포일시</label>
<div class="col-sm-2 border-end border-secondary"> <div class="col-sm-2 border-end border-secondary">
<input type="text" class="form-control form-control-sm border-0" readonly th:value="${#temporals.format(crackdownStatus.napoDt, 'yyyy-MM-dd')}"> <input type="text" class="form-control form-control-sm border-0" readonly th:value="${#temporals.format(crackdownStatus.napoDt, 'yyyy-MM-dd hh:mm')}">
</div> </div>
<label class="col-sm-1 col-form-label col-form-label-sm py-2 border-end border-secondary text-center">나포장소</label> <label class="col-sm-1 col-form-label col-form-label-sm py-2 border-end border-secondary text-center">나포장소</label>
<div class="col-sm-8"> <div class="col-sm-8">

View File

@ -182,7 +182,7 @@
</div> </div>
</th:block> </th:block>
</div> </div>
<label class="col-sm-2 col-form-label col-form-label-sm text-center">밀수가액</label> <label class="col-sm-2 col-form-label col-form-label-sm text-center">밀수가액(만원)</label>
<div class="col-sm-2"> <div class="col-sm-2">
<input type="number" min="0" class="form-control form-control-sm" name="smugglingAmount" th:value="${internationalCrimeArrest.smugglingAmount}"> <input type="number" min="0" class="form-control form-control-sm" name="smugglingAmount" th:value="${internationalCrimeArrest.smugglingAmount}">
</div> </div>
@ -321,11 +321,12 @@
</th:block> </th:block>
<option value="etc" th:selected="${internationalCrimeArrest.processResult ne null && internationalCrimeArrest.processResult ne '' && !#strings.contains(internationalCrimeArrest.processResult, 'PCR')}">기타</option> <option value="etc" th:selected="${internationalCrimeArrest.processResult ne null && internationalCrimeArrest.processResult ne '' && !#strings.contains(internationalCrimeArrest.processResult, 'PCR')}">기타</option>
</select> </select>
<th:block th:if="${internationalCrimeArrest.processResult ne null && internationalCrimeArrest.processResult ne '' && !#strings.contains(internationalCrimeArrest.processResult, 'PCR')}"> </div>
<div class="col-auto"> </div>
<input type="text" class="form-control form-control-sm" name="processResultEtc" th:value="${internationalCrimeArrest.processResult}"> <div class="row justify-content-end mb-1" id="processResultEtcDiv" style="display:none;">
</div> <label class="col-sm-2 col-form-label col-form-label-sm text-center">불법체류자인계(명)</label>
</th:block> <div class="col-sm-2">
<input type="number" class="form-control form-control-sm" name="processResultEtc" th:value="${internationalCrimeArrest.processResult}">
</div> </div>
</div> </div>
<div class="row mb-1 justify-content-center"> <div class="row mb-1 justify-content-center">

View File

@ -69,7 +69,7 @@
</div> </div>
</th:block> </th:block>
</div> </div>
<label class="col-sm-2 col-form-label col-form-label-sm text-center">밀수가액</label> <label class="col-sm-2 col-form-label col-form-label-sm text-center">밀수가액(만원)</label>
<div class="col-sm-2"> <div class="col-sm-2">
<input type="number" min="0" name="smugglingAmount" th:value="${internationalCrimeArrest.smugglingAmount}" readonly> <input type="number" min="0" name="smugglingAmount" th:value="${internationalCrimeArrest.smugglingAmount}" readonly>
</div> </div>
@ -295,13 +295,16 @@
</th:block> </th:block>
<option value="etc" th:selected="${internationalCrimeArrest.processResult ne null && internationalCrimeArrest.processResult ne '' && !#strings.contains(internationalCrimeArrest.processResult, 'PCR')}">기타</option> <option value="etc" th:selected="${internationalCrimeArrest.processResult ne null && internationalCrimeArrest.processResult ne '' && !#strings.contains(internationalCrimeArrest.processResult, 'PCR')}">기타</option>
</select> </select>
<th:block th:if="${internationalCrimeArrest.processResult ne null && internationalCrimeArrest.processResult ne '' && !#strings.contains(internationalCrimeArrest.processResult, 'PCR')}">
<div class="col-auto">
<input type="text" class="form-control form-control-sm" name="processResultEtc" th:value="${internationalCrimeArrest.processResult}" readonly>
</div>
</th:block>
</div> </div>
</div> </div>
<th:block th:if="${internationalCrimeArrest.processResult ne null && internationalCrimeArrest.processResult ne '' && !#strings.contains(internationalCrimeArrest.processResult, 'PCR')}">
<div class="row justify-content-end mb-1">
<label class="col-sm-2 col-form-label col-form-label-sm text-center">불법체류자인계(명)</label>
<div class="col-sm-2">
<input type="number" class="form-control form-control-sm" name="processResultEtc" th:value="${internationalCrimeArrest.processResult}" readonly>
</div>
</div>
</th:block>
<div class="row mb-1 justify-content-center"> <div class="row mb-1 justify-content-center">
<label for="caseOverviewDiv" class="col-sm-2 col-form-label col-form-label-sm text-center">범죄사실(사건개요)</label> <label for="caseOverviewDiv" class="col-sm-2 col-form-label col-form-label-sm text-center">범죄사실(사건개요)</label>
<div class="col-sm-10" id="caseOverviewDiv"> <div class="col-sm-10" id="caseOverviewDiv">

View File

@ -39,9 +39,10 @@
</tr> </tr>
</thead> </thead>
<tbody class="table-group-divider bg-white"> <tbody class="table-group-divider bg-white">
<tr class="" th:each="vuln:${vulnerableList}"> <tr class="" th:each="vuln:${vulnerableList}" th:if="${!(vuln.item_cd eq 'OG027' or vuln.item_cd eq 'OG028')}">
<td class="table_id" th:text="${vuln.gubun}"></td> <td class="table_id" th:text="${vuln.gubun}"></td>
<td id="infoModal" style="color: blue; cursor:pointer;" th:data-mgtOrgan="${vuln.item_cd}" th:text="${vuln.item_value}"></td> <td id="infoModal" style="color: blue; cursor:pointer;"
th:data-mgtOrgan="${vuln.item_cd}" th:text="${vuln.item_value}"></td>
<td th:text="${vuln.a}"></td> <td th:text="${vuln.a}"></td>
<td th:text="${vuln.b}"></td> <td th:text="${vuln.b}"></td>
<td th:text="${vuln.c}"></td> <td th:text="${vuln.c}"></td>