tes3
This commit is contained in:
parent
25ea2d43b9
commit
595954959d
@ -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){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user