Compare commits
No commits in common. "7e30fcf25c99bde0ea492027dbdb0cdc1b8a3e72" and "218ebd45e39d14c1964d82f1ed22a0c6b4215f9c" have entirely different histories.
7e30fcf25c
...
218ebd45e3
|
|
@ -85,13 +85,12 @@ $(document).on('change', 'select[name="crackdownPolice"]', function (){
|
||||||
dynamicOption('select[name="crackdownBoat"]', $(this).val());
|
dynamicOption('select[name="crackdownBoat"]', $(this).val());
|
||||||
});
|
});
|
||||||
|
|
||||||
$(document).on('click', '#sailorAddBtn', function (e){
|
$(document).on('click', '#sailorAddBtn', function (){
|
||||||
e.preventDefault();
|
|
||||||
$('#sailorDiv').append(
|
$('#sailorDiv').append(
|
||||||
'<div class="row">'
|
'<div class="row">'
|
||||||
+ '<label class="col-sm-1 col-form-label col-form-label-sm text-center">선원이름</label>'
|
+ '<label class="col-sm-1 col-form-label text-center">선원이름</label>'
|
||||||
+ '<div class="col-sm-2">'
|
+ '<div class="col-sm-2">'
|
||||||
+ '<input class="form-control form-control-sm" name="sailorNameKr">'
|
+ '<input class="form-control" name="sailorNameKr">'
|
||||||
+ '</div>'
|
+ '</div>'
|
||||||
+ '<div class="col-sm-2">'
|
+ '<div class="col-sm-2">'
|
||||||
+ '<select class="form-select form-select-sm" name="sailor">'
|
+ '<select class="form-select form-select-sm" name="sailor">'
|
||||||
|
|
@ -100,16 +99,13 @@ $(document).on('click', '#sailorAddBtn', function (e){
|
||||||
+ '<option value="N">불구속</option>'
|
+ '<option value="N">불구속</option>'
|
||||||
+ '</select>'
|
+ '</select>'
|
||||||
+ '</div>'
|
+ '</div>'
|
||||||
+ '<button type="button" class="btn btn-sm btn-outline-secondary w-auto opacity-75" id="sailorRemoveBtn">'
|
+ '<button type="button" class="btn btn-primary col-auto" id="sailorRemoveBtn">-</button>'
|
||||||
+ '<i class="bi bi-dash-square text-danger"></i>'
|
|
||||||
+ '</button>'
|
|
||||||
+ '</div>'
|
+ '</div>'
|
||||||
)
|
)
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
$(document).on('click', '#violationAddBtn', function (e){
|
$(document).on('click', '#violationAddBtn', function (){
|
||||||
e.preventDefault()
|
|
||||||
let violation = '';
|
let violation = '';
|
||||||
commonCode.VT.forEach(function (item){
|
commonCode.VT.forEach(function (item){
|
||||||
violation += '<option value="'+ item.itemCd +'">' + item.itemValue +'</option>';
|
violation += '<option value="'+ item.itemCd +'">' + item.itemValue +'</option>';
|
||||||
|
|
@ -122,23 +118,19 @@ $(document).on('click', '#violationAddBtn', function (e){
|
||||||
+ violation
|
+ violation
|
||||||
+ '<option value="etc">직접입력</option>'
|
+ '<option value="etc">직접입력</option>'
|
||||||
+ '</select>'
|
+ '</select>'
|
||||||
+ '<button type="button" class="btn btn-sm btn-outline-secondary w-auto opacity-75" id="violationRemoveBtn">'
|
+ '<button type="button" class="btn btn-primary col-auto" id="violationRemoveBtn">-</button>'
|
||||||
+ '<i class="bi bi-dash-square text-danger"></i>'
|
|
||||||
+ '</button>'
|
|
||||||
+ '</div>'
|
+ '</div>'
|
||||||
)
|
)
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
$(document).on('click', '#sailorRemoveBtn', function (e){
|
$(document).on('click', '#sailorRemoveBtn', function (){
|
||||||
e.preventDefault();
|
|
||||||
$(this).parent().remove();
|
$(this).parent().remove();
|
||||||
let deleteKey = $(this).parent().children("input[name='sailorKey']").val();
|
let deleteKey = $(this).parent().children("input[name='sailorKey']").val();
|
||||||
$("#cdsEditForm").append('<input type="hidden" name="sailorDeleteKeyList" value="' + deleteKey + '">');
|
$("#cdsEditForm").append('<input type="hidden" name="sailorDeleteKeyList" value="' + deleteKey + '">');
|
||||||
});
|
});
|
||||||
|
|
||||||
$(document).on('click', '#violationRemoveBtn', function (e){
|
$(document).on('click', '#violationRemoveBtn', function (){
|
||||||
e.preventDefault()
|
|
||||||
$(this).parent().remove();
|
$(this).parent().remove();
|
||||||
let deleteKey = $(this).parent().children("input[name='violationKey']").val();
|
let deleteKey = $(this).parent().children("input[name='violationKey']").val();
|
||||||
$("#cdsEditForm").append('<input type="hidden" name="violationDeleteKeyList" value="' + deleteKey + '">');
|
$("#cdsEditForm").append('<input type="hidden" name="violationDeleteKeyList" value="' + deleteKey + '">');
|
||||||
|
|
@ -508,11 +500,7 @@ function s2ab(s) {
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getToday(){
|
function getToday() {
|
||||||
var date = new Date();
|
var date = new Date();
|
||||||
var year = date.getFullYear();
|
var year = date.getFullYear();
|
||||||
var month = ("0" + (1 + date.getMonth())).slice(-2);
|
|
||||||
var day = ("0" + date.getDate()).slice(-2);
|
|
||||||
|
|
||||||
return year + "-" + month + "-" + day;
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -93,6 +93,31 @@ $(document).on('change', 'select[name="caseNum"]', function (){
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$(document).on('click', '#violationAddBtn', function (){
|
||||||
|
let violation = '';
|
||||||
|
commonCode.VT.forEach(function (item){
|
||||||
|
violation += '<option value="'+ item.itemCd +'">' + item.itemValue +'</option>';
|
||||||
|
})
|
||||||
|
|
||||||
|
$('#violationDiv').append(
|
||||||
|
'<div class="row">'
|
||||||
|
+ '<select class="form-select form-select-sm violation" name="violation" style="max-width: 90% !important;">'
|
||||||
|
+ '<option value="">선택</option>'
|
||||||
|
+ violation
|
||||||
|
+ '<option value="etc">직접입력</option>'
|
||||||
|
+ '</select>'
|
||||||
|
+ '<button type="button" class="btn btn-primary col-auto" id="violationRemoveBtn">-</button>'
|
||||||
|
+ '</div>'
|
||||||
|
)
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
$(document).on('click', '#violationRemoveBtn', function (){
|
||||||
|
$(this).parent().remove();
|
||||||
|
let deleteKey = $(this).parent().children("input[name='violationKey']").val();
|
||||||
|
$("#processResultEditForm").append('<input type="hidden" name="violationDeleteKeyList" value="' + deleteKey + '">');
|
||||||
|
});
|
||||||
|
|
||||||
$(document).on('change', '.violation', function (){
|
$(document).on('change', '.violation', function (){
|
||||||
if ($(this).val() == 'etc') {
|
if ($(this).val() == 'etc') {
|
||||||
$(this).after(
|
$(this).after(
|
||||||
|
|
@ -366,13 +391,9 @@ function s2ab(s) {
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getToday(){
|
function getToday() {
|
||||||
var date = new Date();
|
var date = new Date();
|
||||||
var year = date.getFullYear();
|
var year = date.getFullYear();
|
||||||
var month = ("0" + (1 + date.getMonth())).slice(-2);
|
|
||||||
var day = ("0" + date.getDate()).slice(-2);
|
|
||||||
|
|
||||||
return year + "-" + month + "-" + day;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function dateTimeCalc(startDateTime, endDateTime) {
|
function dateTimeCalc(startDateTime, endDateTime) {
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,32 @@ $(document).on('click', '.version-tr', function (){
|
||||||
getSailorHistoryDetail(versionNo, sailorKey, cdsKey, fbKey);
|
getSailorHistoryDetail(versionNo, sailorKey, cdsKey, fbKey);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
$(document).on('click', '#violationAddBtn', function (){
|
||||||
|
let violation = '';
|
||||||
|
commonCode.VT.forEach(function (item){
|
||||||
|
violation += '<option value="'+ item.itemCd +'">' + item.itemValue +'</option>';
|
||||||
|
})
|
||||||
|
|
||||||
|
$('#violationDiv').append(
|
||||||
|
'<div class="row">'
|
||||||
|
+ '<select class="form-select form-select-sm violation" name="violation" style="max-width: 90% !important;">'
|
||||||
|
+ '<option value="">선택</option>'
|
||||||
|
+ violation
|
||||||
|
+ '<option value="etc">직접입력</option>'
|
||||||
|
+ '</select>'
|
||||||
|
+ '<button type="button" class="btn btn-primary col-auto" id="violationRemoveBtn">-</button>'
|
||||||
|
+ '</div>'
|
||||||
|
)
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
$(document).on('click', '#violationRemoveBtn', function (){
|
||||||
|
$(this).parent().remove();
|
||||||
|
let deleteKey = $(this).parent().children("input[name='violationKey']").val();
|
||||||
|
$("#sailorEditForm").append('<input type="hidden" name="violationDeleteKeyList" value="' + deleteKey + '">');
|
||||||
|
});
|
||||||
|
|
||||||
$(document).on('change', '.violation', function (){
|
$(document).on('change', '.violation', function (){
|
||||||
if ($(this).val() == 'etc') {
|
if ($(this).val() == 'etc') {
|
||||||
$(this).after(
|
$(this).after(
|
||||||
|
|
@ -86,7 +112,7 @@ $(document).on('change', 'select[name="boatNameKr"]', function (){
|
||||||
|
|
||||||
|
|
||||||
$(document).on('click', '#sailorDownExcel', function (){
|
$(document).on('click', '#sailorDownExcel', function (){
|
||||||
exportExcel('불법조업 불법어선 선원세부현황');
|
exportExcel('불법조업 불법어선 처리현황');
|
||||||
});
|
});
|
||||||
|
|
||||||
function getSailorHistoryDetail(versionNo, sailorKey, cdsKey, fbKey){
|
function getSailorHistoryDetail(versionNo, sailorKey, cdsKey, fbKey){
|
||||||
|
|
@ -291,13 +317,9 @@ function s2ab(s) {
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getToday(){
|
function getToday() {
|
||||||
var date = new Date();
|
var date = new Date();
|
||||||
var year = date.getFullYear();
|
var year = date.getFullYear();
|
||||||
var month = ("0" + (1 + date.getMonth())).slice(-2);
|
|
||||||
var day = ("0" + date.getDate()).slice(-2);
|
|
||||||
|
|
||||||
return year + "-" + month + "-" + day;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function dateTimeCalc(startDateTime, endDateTime) {
|
function dateTimeCalc(startDateTime, endDateTime) {
|
||||||
|
|
|
||||||
|
|
@ -47,9 +47,7 @@
|
||||||
<div class="mb-3 row">
|
<div class="mb-3 row">
|
||||||
<div class="col-sm-1">
|
<div class="col-sm-1">
|
||||||
<label class="col-form-label col-form-label-sm text-center">위반내용</label>
|
<label class="col-form-label col-form-label-sm text-center">위반내용</label>
|
||||||
<button class="border-0" id="violationAddBtn">
|
<button type="button" class="btn btn-primary col-auto" id="violationAddBtn">+</button>
|
||||||
<i class="bi bi-plus-square text-primary"></i>
|
|
||||||
</button>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-auto">
|
<div class="col-auto">
|
||||||
<div class="col-auto" id="violationDiv">
|
<div class="col-auto" id="violationDiv">
|
||||||
|
|
@ -82,9 +80,7 @@
|
||||||
</div>
|
</div>
|
||||||
</th:block>
|
</th:block>
|
||||||
<th:block th:if="${i.index > 0}">
|
<th:block th:if="${i.index > 0}">
|
||||||
<button type="button" class="btn btn-sm btn-outline-secondary w-auto opacity-75" id="violationRemoveBtn">
|
<button type="button" class="btn btn-primary col-auto" id="violationRemoveBtn">-</button>
|
||||||
<i class="bi bi-dash-square text-danger"></i>
|
|
||||||
</button>
|
|
||||||
<input type="hidden" name="violationKey" th:value="${violation.violationKey}">
|
<input type="hidden" name="violationKey" th:value="${violation.violationKey}">
|
||||||
</th:block>
|
</th:block>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -416,7 +412,7 @@
|
||||||
<option value="N" th:selected="${crackdownStatus.sailorList ne null && #aggregates.sum(crackdownStatus.sailorList.?[position == 'POS003' && isRestriction == 'N'].![1]) != null}">불구속</option>
|
<option value="N" th:selected="${crackdownStatus.sailorList ne null && #aggregates.sum(crackdownStatus.sailorList.?[position == 'POS003' && isRestriction == 'N'].![1]) != null}">불구속</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<button type="button" class="btn btn-sm btn-primary col-auto" id="sailorAddBtn">선원 추가</button>
|
<button type="button" class="btn btn-primary col-auto" id="sailorAddBtn">선원 추가</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-3 row" id="sailorDiv">
|
<div class="mb-3 row" id="sailorDiv">
|
||||||
<th:block th:each="sailor:${crackdownStatus.sailorList}" th:if="${#strings.contains(sailor.position, 'POS005') || #strings.contains(sailor.position, 'POS006')}">
|
<th:block th:each="sailor:${crackdownStatus.sailorList}" th:if="${#strings.contains(sailor.position, 'POS005') || #strings.contains(sailor.position, 'POS006')}">
|
||||||
|
|
@ -433,9 +429,7 @@
|
||||||
<option value="N" th:selected="${sailor.isRestriction == 'N'}">불구속</option>
|
<option value="N" th:selected="${sailor.isRestriction == 'N'}">불구속</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<button type="button" class="btn btn-sm btn-outline-secondary w-auto opacity-75" id="sailorRemoveBtn">
|
<button type="button" class="btn btn-primary col-auto" id="sailorRemoveBtn">-</button>
|
||||||
<i class="bi bi-dash-square text-danger"></i>
|
|
||||||
</button>
|
|
||||||
<input type="hidden" name="sailorKey" th:value="${sailor.sailorKey}">
|
<input type="hidden" name="sailorKey" th:value="${sailor.sailorKey}">
|
||||||
</div>
|
</div>
|
||||||
</th:block>
|
</th:block>
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@
|
||||||
<input type="radio" name="versionNo" th:value="${crackdownStatusVersion.versionNo}">
|
<input type="radio" name="versionNo" th:value="${crackdownStatusVersion.versionNo}">
|
||||||
</td>
|
</td>
|
||||||
<td th:text="${crackdownStatusVersion.wrtUserNm}"></td>
|
<td th:text="${crackdownStatusVersion.wrtUserNm}"></td>
|
||||||
<td th:text="${#temporals.format(crackdownStatusVersion.wrtDt, 'yyyy-MM-dd HH:mm')}"></td>
|
<td th:text="${crackdownStatusVersion.wrtDt}"></td>
|
||||||
</tr>
|
</tr>
|
||||||
</th:block>
|
</th:block>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
|
||||||
|
|
@ -21,11 +21,11 @@
|
||||||
<div class="mb-3 row">
|
<div class="mb-3 row">
|
||||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">사건번호</label>
|
<label 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 class="form-control form-control-sm" name="caseNum" id="caseNum" th:value="${processResult.crackdownStatus.caseNum}" readonly>
|
<input class="form-control form-control-sm" name="caseNum" id="caseNum" th:value="${processResult.crackdownStatus.caseNum}">
|
||||||
</div>
|
</div>
|
||||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">사건담당<br>경찰서</label>
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center">사건담당<br>경찰서</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<select class="form-select form-select-sm" name="crackdownPolice" id="crackdownPolice" disabled>
|
<select class="form-select form-select-sm" name="crackdownPolice" id="crackdownPolice">
|
||||||
<option value="">선택</option>
|
<option value="">선택</option>
|
||||||
<th:block th:each="commonCode:${session.commonCode.get('CPO')}">
|
<th:block th:each="commonCode:${session.commonCode.get('CPO')}">
|
||||||
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}"
|
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}"
|
||||||
|
|
@ -38,23 +38,24 @@
|
||||||
<div class="mb-3 row">
|
<div class="mb-3 row">
|
||||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">피의자<br>(선박명)</label>
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center">피의자<br>(선박명)</label>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<input class="form-control form-control-sm" name="boatNameKr" id="boatNameKr" th:value="${processResult.boatNameKr}" readonly>
|
<input class="form-control form-control-sm" name="boatNameKr" id="boatNameKr" th:value="${processResult.boatNameKr}">
|
||||||
</div>
|
</div>
|
||||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">위반장소</label>
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center">위반장소</label>
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<input class="form-control form-control-sm" name="napoSeaPointLon" id="napoSeaPointLon" th:value="${processResult.crackdownStatus.napoSeaPointLon}" readonly>
|
<input class="form-control form-control-sm" name="napoSeaPointLon" id="napoSeaPointLon" th:value="${processResult.crackdownStatus.napoSeaPointLon}">
|
||||||
<input class="form-control form-control-sm" name="napoSeaPointLat" id="napoSeaPointLat" th:value="${processResult.crackdownStatus.napoSeaPointLat}" readonly>
|
<input class="form-control form-control-sm" name="napoSeaPointLat" id="napoSeaPointLat" th:value="${processResult.crackdownStatus.napoSeaPointLat}">
|
||||||
<input class="form-control form-control-sm" name="napoSeaPointDetail" id="napoSeaPointDetail" th:value="${processResult.crackdownStatus.napoSeaPointDetail}" readonly>
|
<input class="form-control form-control-sm" name="napoSeaPointDetail" id="napoSeaPointDetail" th:value="${processResult.crackdownStatus.napoSeaPointDetail}">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-3 row">
|
<div class="mb-3 row">
|
||||||
<div class="col-sm-1">
|
<div class="col-sm-1">
|
||||||
<label class="col-form-label col-form-label-sm text-center">위반내용</label>
|
<label class="col-form-label col-form-label-sm text-center">위반내용</label>
|
||||||
|
<button type="button" class="btn btn-primary col-auto" id="violationAddBtn">+</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-auto" id="violationDiv">
|
<div class="col-auto" id="violationDiv">
|
||||||
<th:block th:if="${#lists.isEmpty(processResult.violationList)}">
|
<th:block th:if="${#lists.isEmpty(processResult.violationList)}">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<select class="form-select form-select-sm violation" name="violation" style="max-width: 90% !important;" disabled>
|
<select class="form-select form-select-sm violation" name="violation" style="max-width: 90% !important;">
|
||||||
<option value="">선택</option>
|
<option value="">선택</option>
|
||||||
<th:block th:each="commonCode:${session.commonCode.get('VT')}">
|
<th:block th:each="commonCode:${session.commonCode.get('VT')}">
|
||||||
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}"></option>
|
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}"></option>
|
||||||
|
|
@ -67,7 +68,7 @@
|
||||||
<th:block th:each="violation, i : ${processResult.violationList}">
|
<th:block th:each="violation, i : ${processResult.violationList}">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<input type="hidden" name="violationKey" th:value="${violation.violationKey}">
|
<input type="hidden" name="violationKey" th:value="${violation.violationKey}">
|
||||||
<select class="form-select form-select-sm violation" name="violation" style="max-width: 90% !important;" disabled>
|
<select class="form-select form-select-sm violation" name="violation" style="max-width: 90% !important;">
|
||||||
<option value="">선택</option>
|
<option value="">선택</option>
|
||||||
<th:block th:each="commonCode:${session.commonCode.get('VT')}">
|
<th:block th:each="commonCode:${session.commonCode.get('VT')}">
|
||||||
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}"
|
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}"
|
||||||
|
|
@ -81,6 +82,7 @@
|
||||||
</div>
|
</div>
|
||||||
</th:block>
|
</th:block>
|
||||||
<th:block th:if="${i.index > 0}">
|
<th:block th:if="${i.index > 0}">
|
||||||
|
<button type="button" class="btn btn-primary col-auto" id="violationRemoveBtn">-</button>
|
||||||
<input type="hidden" name="violationKey" th:value="${violation.violationKey}">
|
<input type="hidden" name="violationKey" th:value="${violation.violationKey}">
|
||||||
</th:block>
|
</th:block>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@
|
||||||
<input type="radio" name="versionNo" th:value="${processReulstVersion.versionNo}">
|
<input type="radio" name="versionNo" th:value="${processReulstVersion.versionNo}">
|
||||||
</td>
|
</td>
|
||||||
<td th:text="${processReulstVersion.wrtUserNm}"></td>
|
<td th:text="${processReulstVersion.wrtUserNm}"></td>
|
||||||
<td th:text="${#temporals.format(processReulstVersion.wrtDt, 'yyyy-MM-dd HH:mm')}"></td>
|
<td th:text="${processReulstVersion.wrtDt}"></td>
|
||||||
</tr>
|
</tr>
|
||||||
</th:block>
|
</th:block>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
|
||||||
|
|
@ -21,11 +21,11 @@
|
||||||
<div class="mb-3 row">
|
<div class="mb-3 row">
|
||||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">선박명</label>
|
<label 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 class="form-control form-control-sm" name="boatNameKr" id="boatNameKr" th:value="${sailor.fishingBoat.boatNameKr}" readonly>
|
<input class="form-control form-control-sm" name="boatNameKr" id="boatNameKr" th:value="${sailor.fishingBoat.boatNameKr}">
|
||||||
</div>
|
</div>
|
||||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">단속경찰서</label>
|
<label 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" name="crackdownPolice" id="crackdownPolice" disabled>
|
<select class="form-select form-select-sm" name="crackdownPolice" id="crackdownPolice">
|
||||||
<option value="">선택</option>
|
<option value="">선택</option>
|
||||||
<th:block th:each="commonCode:${session.commonCode.get('CPO')}">
|
<th:block th:each="commonCode:${session.commonCode.get('CPO')}">
|
||||||
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}"
|
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}"
|
||||||
|
|
@ -36,7 +36,7 @@
|
||||||
</div>
|
</div>
|
||||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">단속함정</label>
|
<label 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" name="crackdownBoat" id="crackdownBoat" disabled>
|
<select class="form-select form-select-sm" name="crackdownBoat" id="crackdownBoat">
|
||||||
<option value="">선택</option>
|
<option value="">선택</option>
|
||||||
<th:block th:each="num : ${#numbers.sequence(1,#lists.size(session.commonCode.get('CPO')))}">
|
<th:block th:each="num : ${#numbers.sequence(1,#lists.size(session.commonCode.get('CPO')))}">
|
||||||
<th:block th:if="${'CPO'+num == sailor.crackdownStatus.crackdownPolice}" th:each="commonCode:${session.commonCode.get('CPO'+num)}">
|
<th:block th:if="${'CPO'+num == sailor.crackdownStatus.crackdownPolice}" th:each="commonCode:${session.commonCode.get('CPO'+num)}">
|
||||||
|
|
@ -51,19 +51,20 @@
|
||||||
<div class="mb-3 row">
|
<div class="mb-3 row">
|
||||||
<label class="col-sm-1 col-form-label col-form-label-sm text-center">위반장소</label>
|
<label class="col-sm-1 col-form-label col-form-label-sm text-center">위반장소</label>
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<input class="form-control form-control-sm" placeholder="위도" name="napoSeaPointLat" th:value="${sailor.crackdownStatus.napoSeaPointLat}" readonly>
|
<input class="form-control form-control-sm" placeholder="위도" name="napoSeaPointLat" th:value="${sailor.crackdownStatus.napoSeaPointLat}">
|
||||||
<input class="form-control form-control-sm" placeholder="경도" name="napoSeaPointLon" th:value="${sailor.crackdownStatus.napoSeaPointLon}" readonly>
|
<input class="form-control form-control-sm" placeholder="경도" name="napoSeaPointLon" th:value="${sailor.crackdownStatus.napoSeaPointLon}">
|
||||||
<input class="form-control form-control-sm" placeholder="상세내용" name="napoSeaPointDetail" th:value="${sailor.crackdownStatus.napoSeaPointDetail}" readonly>
|
<input class="form-control form-control-sm" placeholder="상세내용" name="napoSeaPointDetail" th:value="${sailor.crackdownStatus.napoSeaPointDetail}">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-3 row">
|
<div class="mb-3 row">
|
||||||
<div class="col-sm-1">
|
<div class="col-sm-1">
|
||||||
<label class="col-form-label col-form-label-sm text-center">위반내용</label>
|
<label class="col-form-label col-form-label-sm text-center">위반내용</label>
|
||||||
|
<button type="button" class="btn btn-primary col-auto" id="violationAddBtn">+</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-auto" id="violationDiv">
|
<div class="col-auto" id="violationDiv">
|
||||||
<th:block th:if="${#lists.isEmpty(sailor.violationList)}">
|
<th:block th:if="${#lists.isEmpty(sailor.violationList)}">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<select class="form-select form-select-sm violation" name="violation" style="max-width: 90% !important;" disabled>
|
<select class="form-select form-select-sm violation" name="violation" style="max-width: 90% !important;">
|
||||||
<option value="">선택</option>
|
<option value="">선택</option>
|
||||||
<th:block th:each="commonCode:${session.commonCode.get('VT')}">
|
<th:block th:each="commonCode:${session.commonCode.get('VT')}">
|
||||||
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}"></option>
|
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}"></option>
|
||||||
|
|
@ -76,7 +77,7 @@
|
||||||
<th:block th:each="violation, i : ${sailor.violationList}">
|
<th:block th:each="violation, i : ${sailor.violationList}">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<input type="hidden" name="violationKey" th:value="${violation.violationKey}">
|
<input type="hidden" name="violationKey" th:value="${violation.violationKey}">
|
||||||
<select class="form-select form-select-sm violation" name="violation" style="max-width: 90% !important;" disabled>
|
<select class="form-select form-select-sm violation" name="violation" style="max-width: 90% !important;">
|
||||||
<option value="">선택</option>
|
<option value="">선택</option>
|
||||||
<th:block th:each="commonCode:${session.commonCode.get('VT')}">
|
<th:block th:each="commonCode:${session.commonCode.get('VT')}">
|
||||||
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}"
|
<option th:value="${commonCode.itemCd}" th:text="${commonCode.itemValue}"
|
||||||
|
|
@ -90,6 +91,7 @@
|
||||||
</div>
|
</div>
|
||||||
</th:block>
|
</th:block>
|
||||||
<th:block th:if="${i.index > 0}">
|
<th:block th:if="${i.index > 0}">
|
||||||
|
<button type="button" class="btn btn-primary col-auto" id="violationRemoveBtn">-</button>
|
||||||
<input type="hidden" name="violationKey" th:value="${violation.violationKey}">
|
<input type="hidden" name="violationKey" th:value="${violation.violationKey}">
|
||||||
</th:block>
|
</th:block>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@
|
||||||
<input type="radio" name="versionNo" th:value="${sailorVersion.versionNo}">
|
<input type="radio" name="versionNo" th:value="${sailorVersion.versionNo}">
|
||||||
</td>
|
</td>
|
||||||
<td th:text="${sailorVersion.wrtUserNm}"></td>
|
<td th:text="${sailorVersion.wrtUserNm}"></td>
|
||||||
<td th:text="${#temporals.format(sailorVersion.wrtDt, 'yyyy-MM-dd HH:mm')}"></td>
|
<td th:text="${sailorVersion.wrtDt}"></td>
|
||||||
</tr>
|
</tr>
|
||||||
</th:block>
|
</th:block>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue