This commit is contained in:
leejunho 2023-12-21 15:43:22 +09:00
parent 25ea2d43b9
commit 595954959d

View File

@ -168,6 +168,8 @@
var form = document.resultForm;
var data = new FormData(form);
var resultData = null;
$.ajax({
type: "POST",
enctype: 'multipart/form-data',
@ -185,9 +187,9 @@
if(result == 'loginFail'){
alert("로그인이 필요합니다.");
return false;
}else if(result == 'success'){
}else if(result == 'SUCCESS'){
// alert("OCR 처리요청이 완료되었습니다.");
data = returnData.data;
resultData = returnData.data;
}
} else if(status== 'fail'){
@ -197,7 +199,7 @@
error: function (e) { alert("저장에 실패하였습니다."); console.log("ERROR : ", e); }
});
return data;
return resultData;
}
function alertMessage(msg){