diff --git a/src/main/webapp/WEB-INF/jsp/nlib/collection/listInterests.jsp b/src/main/webapp/WEB-INF/jsp/nlib/collection/listInterests.jsp index ac041a3d..f45fe75f 100644 --- a/src/main/webapp/WEB-INF/jsp/nlib/collection/listInterests.jsp +++ b/src/main/webapp/WEB-INF/jsp/nlib/collection/listInterests.jsp @@ -44,6 +44,10 @@ //초기 자료 조회 fn_searchArticle(); + $("#mngOrgCd").on('change',function() { + fn_searchArticle(1); + }); + }); // document ready function selectAll(){ @@ -107,6 +111,15 @@ $("input:checkbox[name = 'interestChk']").attr("checked", true); } } + +//상세보기 + function goDetail(masterId){ + $("#masterId").val(masterId); + $("#interestlistForm").attr("action", "/search/searchItemDetail.do"); + $("#interestlistForm").attr("target", "_blank"); + $("#interestlistForm").submit(); + } + // 그리드 데이터 조회 호출 function fn_searchArticle(pageIndex) { @@ -115,10 +128,10 @@ $("#pageIndex").val(pageIndex); var reqUrl = "${pageContext.request.contextPath}/interest/listInterestsAjax.do"; - var inputData = { "pageIndex" : $("#pageIndex").val() , "pageSize" : $("#pageSize").val() + , "mngOrgCd" : $("#mngOrgCd").val() }; @@ -168,7 +181,7 @@ // 출력 $.each(jsonObj.data,function(key,obj) { var t_data = ""; - t_data += "
\"썸네일\""; + t_data += "
\"썸네일\""; t_data += "\"즐겨찾기\"즐겨찾기
"; t_data += "
" if(obj.ableOnline) @@ -188,7 +201,7 @@ t_data += "기타" } t_data += "
" - t_data += "
" + obj.title + "
" + t_data += "
" + obj.title + "
" t_data += "
" if(!gfn_isEmpty(obj.mngtNo)) { @@ -300,34 +313,37 @@
화살표 아이콘
-
- - -
- 0 -
-
- -
-
-
-
-
-
-
    -
    -
    - - -
    -
    -
    -
    +
    +
    + + + +
    + 0 +
    +
    + +
    +
    +
    +
    +
    +
    +
      +
      +
      + + +
      +
      +
      +
      +
      \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/nlib/collection/searchItemDetail.jsp b/src/main/webapp/WEB-INF/jsp/nlib/collection/searchItemDetail.jsp index cb60c075..428cb97c 100644 --- a/src/main/webapp/WEB-INF/jsp/nlib/collection/searchItemDetail.jsp +++ b/src/main/webapp/WEB-INF/jsp/nlib/collection/searchItemDetail.jsp @@ -35,7 +35,7 @@ 자료 상세