검색시 검색어가 없을시 alert
소장자료 리스트, 관심자료리스트 관리번호 추가
This commit is contained in:
parent
a29651ea1b
commit
95aa3c448f
@ -201,7 +201,7 @@ public class CollectionServiceImpl implements CollectionService {
|
||||
vo.setInterestYn (StringUtil.getString(cVO.getInterestYn() , vo.getInterestYn()));
|
||||
vo.setMUseYn (StringUtil.getString(cVO.getMUseYn() , vo.getMUseYn()));
|
||||
vo.setDigitalReadYn (StringUtil.getString(cVO.getDigitalReadYn() , vo.getDigitalReadYn()));
|
||||
|
||||
vo.setMngtNo (StringUtil.getString(cVO.getMngtNo() , vo.getMngtNo()));
|
||||
vo.setMngOrgCd (StringUtil.getString(cVO.getMngOrgCd() , vo.getMngOrgCd()));
|
||||
vo.setMngOrgNm (StringUtil.getString(cVO.getMngOrgNm() , vo.getMngOrgNm()));
|
||||
}
|
||||
|
||||
@ -283,6 +283,7 @@ public class NlibSearchServiceImpl implements NlibSearchService{
|
||||
|
||||
CollectionVO vo = new CollectionVO();
|
||||
vo.setMasterId(tmp.get("MASTER_ID").getAsString());
|
||||
vo.setMngtNo(tmp.get("MNGT_NO").getAsString());
|
||||
|
||||
|
||||
list.add(vo);
|
||||
|
||||
@ -9,6 +9,7 @@
|
||||
MI.MB_INTEREST_ID
|
||||
,RM.MASTER_ID
|
||||
,RM.TITLE
|
||||
,RM.MNGT_NO
|
||||
,IFNULL(RM.RPRS_THUMB_URL,"") RPRS_THUMB_URL
|
||||
,IFNULL(SD.DEPT_NM,"") MNG_ORG_NM
|
||||
FROM
|
||||
|
||||
@ -17,11 +17,12 @@ $(document).ready(function() {
|
||||
});
|
||||
|
||||
function goSearch(){
|
||||
/* if($("#top_query").val() != "")
|
||||
if($("#top_query").val() == "")
|
||||
{
|
||||
$('#searchHeaderForm input[name=filter_mylist]').val("search_query,");
|
||||
} */
|
||||
|
||||
alert("검색어를 입력해주세요.");
|
||||
$("#top_query").focus();
|
||||
return false;
|
||||
}
|
||||
document.searchHeaderForm.submit();
|
||||
}
|
||||
|
||||
|
||||
@ -261,12 +261,22 @@
|
||||
var t_btn = "";
|
||||
|
||||
//대출, 방문 가능여부
|
||||
if(!gfn_isEmpty(obj.operOutRangeNm) && !gfn_isEmpty(obj.operReadRangeNm))
|
||||
if(obj.ableRentAppNow == true)
|
||||
{
|
||||
t_btn +="<div>" + obj.operOutRangeNm + "</div>" + "<div>" + obj.operReadRangeNm + "</div>";
|
||||
}else if(!gfn_isEmpty(obj.operOutRangeNm) || !gfn_isEmpty(obj.operReadRangeNm))
|
||||
t_btn +="<div>대출신청 가능</div>";
|
||||
}else if(obj.ableRentAppNow == false && obj.ableRentResNow == true)
|
||||
{
|
||||
t_btn +="<div>" + obj.operOutRangeNm + obj.operReadRangeNm + "</div>";
|
||||
t_btn +="<div>대출예약 가능</div>";
|
||||
}else if(obj.ableRentNow == false)
|
||||
{
|
||||
t_btn +="<div>대출신청/예약 불가</div>";
|
||||
}
|
||||
if(obj.ableReadNow == true)
|
||||
{
|
||||
t_btn +="<div>방문열람신청 가능</div>";
|
||||
}else if(obj.ableReadNow == false)
|
||||
{
|
||||
t_btn +="<div>방문열람신청 불가</div>";
|
||||
}
|
||||
if(obj.ableOnline)
|
||||
{
|
||||
|
||||
@ -259,11 +259,13 @@ function d_search(){
|
||||
}else{
|
||||
$("#d_filter_creatYyyy").val("all");
|
||||
}
|
||||
/* if($("#d_query").val() != "")
|
||||
if($("#d_query").val() == "")
|
||||
{
|
||||
filter_myList+= "search_query,";
|
||||
alert("검색어를 입력해주세요.");
|
||||
$("#d_query").focus();
|
||||
return false;
|
||||
}
|
||||
*/ if($("#d_bookIndex").val() != "")
|
||||
if($("#d_bookIndex").val() != "")
|
||||
{
|
||||
filter_myList+= "search_bookIndex,";
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user