수정진행중

master
DESKTOP-QGC5RJO\DBNT 2023-01-11 17:02:42 +09:00
parent d952956bce
commit ad558fcac1
3 changed files with 10 additions and 6 deletions

View File

@ -102,10 +102,10 @@ $(document).on('click', '#deleteMajorBtn', function (){
function getEditModal(asfCovKey){
function getEditModal(cdsKey){
$.ajax({
url: '/faStatistics/asfCovEditModal',
data: {asfCovKey: asfCovKey},
data: {cdsKey: cdsKey},
type: 'GET',
dataType:"html",
success: function(html){

View File

@ -193,8 +193,12 @@
<tbody class="table-group-divider">
<th:block th:each="crackdownStatus:${crackdownList}">
<tr class="crackdownTr" th:data-key="${crackdownStatus.cdsKey}">
<!-- 여기에추가 6개-->
<!-- <input type="hidden" class-->
<!-- <input type="hidden" name="boatNameKr" th:value="${crackdownStatus.fishingBoat.boatNameKr}">-->
<!-- <input type="hidden" name="caseNum" th:value=" ${crackdownStatus.caseNum}">-->
<!-- <input type="hidden" name="caseAgency" th:value="${crackdownStatus.caseAgency}">-->
<!-- <input type="hidden" name="casePoliceOfficer" th:value="${crackdownStatus.casePoliceOfficer}">-->
<!-- <input type="hidden" name="crackdownPolice" th:value="${crackdownStatus.crackdownPolicer}">-->
<!-- <input type="hidden" name="crackdownBoat" th:value="${crackdownStatus.crackdownBoat}">-->
<td><input type="checkbox" class="crackdownChkbox"></td>
<!--<td th:text="${crackdownStatus.cdsKey}"></td>-->
<td th:text="${crackdownStatus.caseNum}"></td>

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="ko" xmlns:th="http://www.thymeleaf.org">
<div class="modal-header bg-dark">
<h5 class="modal-title text-white" id="asfCovEditModalLabel" th:text="${asfCov.asfCovKey eq null?'ASF 및 코로나19 관련 조치현황 작성':'ASF 및 코로나19 관련 조치현황 수정'}"></h5>
<h5 class="modal-title text-white" id="asfCovEditModalLabel" th:text="${asfCov.cdsKey eq null?'ASF 및 코로나19 관련 조치현황 작성':'ASF 및 코로나19 관련 조치현황 수정'}"></h5>
<button type="button" class="btn-close f-invert" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body" id="asfCovEditModalContent">
@ -18,7 +18,7 @@
<div class="row mb-1">
<label for="boatNameKr" 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 fishingBoatInfo boatNameKr" id="boatNameKr" name="fishingBoat.boatNameKr" placeholder="한글" th:value="${asfCov.boatNameKr}">
<input type="text" class="form-control form-control-sm fishingBoatInfo boatNameKr" id="boatNameKr" name="boatNameKr" placeholder="한글" th:value="${asfCov.boatNameKr}">
</div>
<label for="caseNum" class="col-sm-1 col-form-label col-form-label-sm text-center">사건번호</label>
<div class="col-sm-2">