fix : 외사모니터링 보고서 수정

master
TaehunPark 2023-02-06 13:20:48 +09:00
parent aadfcad256
commit cc7e9f475d
2 changed files with 7 additions and 8 deletions

View File

@ -249,7 +249,7 @@ public class MonitoringController { // 첩보수집활동 > 해양외사모니
if(mr.getMrKey()!=null){
mr = monitoringService.selectResult(mr.getMrKey());
}
mr.setWrtUserSeq(loginUser.getUserSeq());
mav.addObject("mr", mr);
return mav;
}

View File

@ -46,9 +46,8 @@ $(document).on('click', '#designationListModalBtn', function (){
const mdKey = $("input[name=mdKey]").val();
$.ajax({
url: '/monitoring/designationListModal',
data: {
},
data: {wrtUserSeq:$("input[name=wrtUserSeq]").val(),
mdState:'DST006'},
type: 'GET',
dataType:"html",
success: function(html){
@ -108,8 +107,9 @@ $(document).on('click', '#saveBtn', function (){
alert("모니터링 대상을 선택해주세요");
return false;
}
/*
$.each($("#resultInfoRow").find(".infoRow"), function (idx, div){
const infoRowList = $("#resultInfoRow").find(".infoRow");
for(let i=0; i<infoRowList.length; i++){
const div = infoRowList[i];
if($(div).find(".contactDate").val() == ""){
alert("접촉일을 입력해주세요");
return false;
@ -122,8 +122,7 @@ $(document).on('click', '#saveBtn', function (){
alert("접촉종료시간 입력해주세요");
return false;
}
});
*/
}
if(confirm("저장하시겠습니까?")){
saveResult('DST002');
}