상세조회 POST로 수정
공유하기 상세로 나오게 수정
This commit is contained in:
parent
2cdcee1306
commit
c2fd3eda98
@ -8,11 +8,4 @@ public interface NlibSearchService {
|
|||||||
/** 검색결과 받기
|
/** 검색결과 받기
|
||||||
* @return */
|
* @return */
|
||||||
NlibSearchVO getSearch(NlibSearchVO searchVO) throws Exception;
|
NlibSearchVO getSearch(NlibSearchVO searchVO) throws Exception;
|
||||||
/*
|
|
||||||
String getSearchEtc(SearchVO searchVO , Sf1VO sf1Vo) throws Exception;
|
|
||||||
|
|
||||||
int getSearch_All_cnt(SearchVO searchVO, Sf1VO sf1Vo) throws Exception;
|
|
||||||
|
|
||||||
SearchCollectionResult getSearch_ajax(SearchVO searchVO , Sf1VO sf1Vo) throws Exception;
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -249,7 +249,7 @@ public class NlibSearchController extends NlibCommonController {
|
|||||||
* @param req
|
* @param req
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value = "/search/searchItemDetail.do")
|
@RequestMapping(value = "/search/searchItemDetail.do", method = RequestMethod.POST)
|
||||||
public String searchItemDetail(
|
public String searchItemDetail(
|
||||||
HttpServletRequest req
|
HttpServletRequest req
|
||||||
, Authentication authentication
|
, Authentication authentication
|
||||||
@ -264,9 +264,6 @@ public class NlibSearchController extends NlibCommonController {
|
|||||||
List<String> mngOrgList = new ArrayList<>();
|
List<String> mngOrgList = new ArrayList<>();
|
||||||
List<String> keywordList = new ArrayList<>();
|
List<String> keywordList = new ArrayList<>();
|
||||||
|
|
||||||
//사용자 정보를 가져온다.
|
|
||||||
NlibLoginVO loginVO = getNlibLoginVO(authentication);
|
|
||||||
|
|
||||||
CollectionVO vo = new CollectionVO();
|
CollectionVO vo = new CollectionVO();
|
||||||
vo.setMasterId(masterId);
|
vo.setMasterId(masterId);
|
||||||
|
|
||||||
|
|||||||
@ -128,7 +128,7 @@ function goList(){
|
|||||||
<c:if test='${result.MUseYn != "Y"}'>
|
<c:if test='${result.MUseYn != "Y"}'>
|
||||||
<button type="button" class="favorit" onclick="fn_changeInterestBtn('${result.masterId }', 'on');">즐겨찾기</button>
|
<button type="button" class="favorit" onclick="fn_changeInterestBtn('${result.masterId }', 'on');">즐겨찾기</button>
|
||||||
</c:if>
|
</c:if>
|
||||||
<button type="button" class="share" onclick="gfn_setSnsShare('<c:out value="${result.interfaceId}"/>','<c:out value="${result.masterId}"/>','<c:out value="${result.typeDivCd}"/>','<c:out value="${result.dtlsTypeDivCd}"/>')";>공유</button>
|
<button type="button" class="share" onclick="gfn_setSnsShare('<c:out value="${result.masterId}"/>')";>공유</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="con-2">
|
<div class="con-2">
|
||||||
<div class="de-data">
|
<div class="de-data">
|
||||||
@ -240,7 +240,7 @@ function goList(){
|
|||||||
<div class="list">
|
<div class="list">
|
||||||
<div class="icon"><img src="/images/icon/icon-data-use.png" alt="이용상태 아이콘"></div>
|
<div class="icon"><img src="/images/icon/icon-data-use.png" alt="이용상태 아이콘"></div>
|
||||||
<div class="title">이용상태</div>
|
<div class="title">이용상태</div>
|
||||||
<div class="con"><c:out value="${result.useStatusNm}"/> <%-- <span>(대기자 <c:out value="${result.awaiterCnt}"/>명)</span> --%></div>
|
<div class="con"><c:out value="${result.useStatusNm}"/></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="list">
|
<div class="list">
|
||||||
<div class="icon"><img src="/images/icon/icon-data-return.png" alt="달력 아이콘"></div>
|
<div class="icon"><img src="/images/icon/icon-data-return.png" alt="달력 아이콘"></div>
|
||||||
@ -276,7 +276,22 @@ function goList(){
|
|||||||
<h3><span>목차</span>정보</h3>
|
<h3><span>목차</span>정보</h3>
|
||||||
<button type="button" class="down-btn">down-btn</button>
|
<button type="button" class="down-btn">down-btn</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="bottom h-down" style="white-space: pre-wrap;">
|
<div class="bottom h-down">
|
||||||
|
<ul class="first-indent">
|
||||||
|
<li>황금찬/말하는 역사 마포 - 30</li>
|
||||||
|
<li>황금찬/말하는 역사 마포 - 30
|
||||||
|
<ul>
|
||||||
|
<li>홈금자/마포연가 - 31</li>
|
||||||
|
<li>가영심/숨은 꽃 - 32</li>
|
||||||
|
<li>가영심/숨은 꽃 - 32
|
||||||
|
<ul>
|
||||||
|
<li>가영심/숨은 꽃 - 32</li>
|
||||||
|
<li>가영심/숨은 꽃 - 32</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
<p><c:if test="${empty result.bookIndex }">없음</c:if><c:out value="${result.bookIndex }"/></p>
|
<p><c:if test="${empty result.bookIndex }">없음</c:if><c:out value="${result.bookIndex }"/></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -211,7 +211,7 @@ function fn_search_article(pageIndex) {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- 소장자료 섹션 -->
|
<!-- 소장자료 섹션 -->
|
||||||
<form name="referencelistForm" id="referencelistForm" method="get" action="/search/searchList.do">
|
<form name="referencelistForm" id="referencelistForm" method="post" action="/search/searchList.do">
|
||||||
<input type="hidden" name="collection" id="collection" value="<c:out value='${searchVO.collection}'/>" />
|
<input type="hidden" name="collection" id="collection" value="<c:out value='${searchVO.collection}'/>" />
|
||||||
<input type="hidden" id="pageIndex" name="pageIndex" title="페이지번호" value="<c:out value='${searchVO.pageIndex }' />"/>
|
<input type="hidden" id="pageIndex" name="pageIndex" title="페이지번호" value="<c:out value='${searchVO.pageIndex }' />"/>
|
||||||
<input type="hidden" id="masterId" name="masterId" value="" />
|
<input type="hidden" id="masterId" name="masterId" value="" />
|
||||||
|
|||||||
@ -406,21 +406,9 @@ function gfn_showDocPdf(interfaceId,masterId,typeDivCd,dtlsTypeDivCd) {
|
|||||||
|
|
||||||
var openNewWindow = window.open(url + interfaceId, "_blank");
|
var openNewWindow = window.open(url + interfaceId, "_blank");
|
||||||
}
|
}
|
||||||
function gfn_setSnsShare(interfaceId,masterId,typeDivCd,dtlsTypeDivCd){
|
function gfn_setSnsShare(masterId){
|
||||||
var url=window.location.protocol + "//" + window.location.host + window.location.pathname + "?masterId=" + masterId;
|
var url=window.location.protocol + "//" + window.location.host + window.location.pathname + "?masterId=" + masterId;
|
||||||
|
|
||||||
if(!fn_isEmpty(interfaceId))
|
|
||||||
{
|
|
||||||
if(typeDivCd == "IT_PHOTO" && (dtlsTypeDivCd == "C199" || dtlsTypeDivCd == "C01")){
|
|
||||||
url = IMAGE_VIEW_URL;
|
|
||||||
}else if((typeDivCd == "IT_VIDEO") && (dtlsTypeDivCd == "C290" || dtlsTypeDivCd == "C02" || dtlsTypeDivCd == "C03")){
|
|
||||||
url = VIDEO_VIEW_URL;
|
|
||||||
}else{
|
|
||||||
url = DOC_VIEW_URL;
|
|
||||||
}
|
|
||||||
url += interfaceId
|
|
||||||
}
|
|
||||||
|
|
||||||
$('#div_pop-sharing img').attr('data-cUrl',url); // url 모두 맵핑
|
$('#div_pop-sharing img').attr('data-cUrl',url); // url 모두 맵핑
|
||||||
if(url != null && url != ''){
|
if(url != null && url != ''){
|
||||||
getShortUrlData(url);
|
getShortUrlData(url);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user