Merge branch 'tolag'

This commit is contained in:
leejunho 2023-10-23 14:03:14 +09:00
commit a7adf28a91
2 changed files with 23 additions and 2 deletions

View File

@ -218,6 +218,8 @@ public class TextSenseController {
apiTextSenseVO.setUrl("http://textsense:8080"); apiTextSenseVO.setUrl("http://textsense:8080");
apiTextSenseVO.setReqType("document"); //고정값으로 변경 불가 apiTextSenseVO.setReqType("document"); //고정값으로 변경 불가
//apiTextSenseVO.setReqOption("{}"); //기본값으로 빈값을 넣어준다. //apiTextSenseVO.setReqOption("{}"); //기본값으로 빈값을 넣어준다.
//apiTextSenseVO.setOutputType("json"); //지원하는 output type은 pdf, json, excel, text, text-split 입니다
// 2023-10-23 김상훈 본부장님 에게 text로 하기로 협의 되었다고 전달받음
apiTextSenseVO.setOutputType("json"); //지원하는 output type은 pdf, json, excel, text, text-split 입니다 apiTextSenseVO.setOutputType("json"); //지원하는 output type은 pdf, json, excel, text, text-split 입니다
apiTextSenseVO.setType("textSense"); //고정값으로 변경 불가 apiTextSenseVO.setType("textSense"); //고정값으로 변경 불가

View File

@ -883,6 +883,23 @@ var AdjstReq = {
return false; return false;
} }
} }
if(reqPerson.rpplPost == ''){
alert("주소 우편번호를 입력해 주세요.");
return false;
}
if(reqPerson.rpplAddrDtl == ''){
alert("상세 주소 정보를 입력해 주세요.");
return false;
}
if(reqPerson.rpplRealPost == ''){
alert("우편물 수령지 우편번호 정보를 입력해 주세요.");
return false;
}
if(reqPerson.rpplRealAddrDtl == ''){
alert("우편물 수령지 상세주소 정보를 입력해 주세요.");
return false;
}
} }
@ -905,6 +922,7 @@ var AdjstReq = {
alert("우편물 수령지 상세주소 정보를 입력해 주세요."); alert("우편물 수령지 상세주소 정보를 입력해 주세요.");
return false; return false;
} }
}else if(reqPerson.rpplUsrDiv == "${KccadrConstants.ADR_RPPL_USR_DIV_02}"){ }else if(reqPerson.rpplUsrDiv == "${KccadrConstants.ADR_RPPL_USR_DIV_02}"){
// 신청인이 외국인 경우 확인 (선택국적, 주소) // 신청인이 외국인 경우 확인 (선택국적, 주소)
if(reqPerson.rpplPost == ''){ if(reqPerson.rpplPost == ''){
@ -1526,7 +1544,7 @@ var AdjstReq = {
console.log('selectedValue : ', selectedValue); console.log('selectedValue : ', selectedValue);
// "01": 한국인일 때 // "01": 한국인일 때
if (selectedValue === '01') { if (selectedValue === '01' || selectedValue == undefined) {
// 가장 가까운 주소 입력란을 찾아 readonly 속성을 추가합니다. // 가장 가까운 주소 입력란을 찾아 readonly 속성을 추가합니다.
$(thisObj).closest('tbody').find('.adr_input').attr('readonly', true); $(thisObj).closest('tbody').find('.adr_input').attr('readonly', true);
$(thisObj).closest('tbody').find('.searchResultAddr').attr('readonly', true); $(thisObj).closest('tbody').find('.searchResultAddr').attr('readonly', true);
@ -1547,7 +1565,7 @@ var AdjstReq = {
} }
// "02": 외국인일 때 // "02": 외국인일 때
if (selectedValue === '02') { else if (selectedValue === '02') {
$(thisObj).closest('tbody').find('.adr_input').attr('readonly', true); $(thisObj).closest('tbody').find('.adr_input').attr('readonly', true);
// 가장 가까운 주소 입력란을 찾아 readonly 속성을 삭제합니다. // 가장 가까운 주소 입력란을 찾아 readonly 속성을 삭제합니다.
@ -1569,6 +1587,7 @@ var AdjstReq = {
.first() .first()
.after("<span style='color:#e40000;margin:4px 0 0 0;font-size:14px;' id=\"foreigner\">주소는 영문으로 입력해주세요</span>"); .after("<span style='color:#e40000;margin:4px 0 0 0;font-size:14px;' id=\"foreigner\">주소는 영문으로 입력해주세요</span>");
} }
} }
,expDivision : function(stepVal){ ,expDivision : function(stepVal){