From 0b0db77b1640bb8ce477dc3d9b6f7b2ae2bb8823 Mon Sep 17 00:00:00 2001 From: JSYOO Date: Tue, 30 Nov 2021 11:42:30 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B4=80=EC=8B=AC=EC=9E=90=EB=A3=8C=20?= =?UTF-8?q?=EB=AC=B8=ED=99=94=EC=9B=90=EB=B3=84=EA=B2=80=EC=83=89=20,=20?= =?UTF-8?q?=EC=86=8C=EC=9E=A5=EC=9E=90=EB=A3=8C=EC=83=81=EC=84=B8=EC=A1=B0?= =?UTF-8?q?=ED=9A=8C=20=EA=B2=80=EC=83=89=ED=95=84=ED=84=B0=EC=A1=B0?= =?UTF-8?q?=EA=B1=B4=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jsp/nlib/collection/listInterests.jsp | 78 +++++++++++-------- .../jsp/nlib/collection/searchItemDetail.jsp | 4 +- 2 files changed, 50 insertions(+), 32 deletions(-) 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 += "" + t_data += "" 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 @@ 자료 상세