diff --git a/src/main/java/nlib/cmm/service/PagingVO.java b/src/main/java/nlib/cmm/service/PagingVO.java index 9cd54164..50251564 100644 --- a/src/main/java/nlib/cmm/service/PagingVO.java +++ b/src/main/java/nlib/cmm/service/PagingVO.java @@ -4,13 +4,13 @@ public class PagingVO { public final int DEFAULT_PAGE_SIZE = NlibProperty.getInt("list.paging.page.size", 10); - int pageIndex = 1; /* 페이지 번호 */ - int pageSize = DEFAULT_PAGE_SIZE; /* 페이지 크기 (1페이지당 보여줄 자료건수) */ - int totRecordCount = 0; /* 총건수 */ - int pageStart = 0; /* 시작번호 (limit용)*/ - int startPage = 0; /*시작페이지 */ - int endPage = 0; /* 끝페이지 */ - int lastPage = 0; /* 마지막페이지 */ + private int pageIndex = 1; /* 페이지 번호 */ + private int pageSize = DEFAULT_PAGE_SIZE; /* 페이지 크기 (1페이지당 보여줄 자료건수) */ + private int totRecordCount = 0; /* 총건수 */ + private int pageStart = 0; /* 시작번호 (limit용)*/ + private int startPage = 0; /*시작페이지 */ + private int endPage = 0; /* 끝페이지 */ + private int lastPage = 0; /* 마지막페이지 */ private int cntPage = DEFAULT_PAGE_SIZE; /* 노출되는 페이지 개수 ex) << < 1 2 3 4 5 > >> */ diff --git a/src/main/java/nlib/col/service/CollectionService.java b/src/main/java/nlib/col/service/CollectionService.java index 0435ff82..a6894bb8 100644 --- a/src/main/java/nlib/col/service/CollectionService.java +++ b/src/main/java/nlib/col/service/CollectionService.java @@ -35,6 +35,15 @@ public interface CollectionService { */ public CollectionVO getItemInfo(CollectionVO searchVO) throws Exception; + /** + * 자료 상세정보를 조회한다. + * 썸네일이 정보가 없는 경우, defaultThumnailUrl로 설정한다. + * @param searchVO + * @param defaultThumnailUrl + * @return + * @throws Exception + */ + public CollectionVO getItemInfo(CollectionVO searchVO, String defaultThumnailUrl) throws Exception; /** * 목록의 자료정보에 상세정보를 조회하여 설정한 후 리턴한다. diff --git a/src/main/java/nlib/sch/service/NlibSearchVO.java b/src/main/java/nlib/sch/service/NlibSearchVO.java index 45ffb6cd..872df425 100644 --- a/src/main/java/nlib/sch/service/NlibSearchVO.java +++ b/src/main/java/nlib/sch/service/NlibSearchVO.java @@ -9,6 +9,8 @@ import org.springframework.util.LinkedMultiValueMap; import org.springframework.util.MultiValueMap; import nlib.cmm.service.NlibProperty; +import nlib.cmm.service.PagingVO; +import nlib.col.service.CollectionVO; import nlib.util.StringUtil; @@ -20,7 +22,7 @@ import nlib.util.StringUtil; * @version 1.0 */ -public class NlibSearchVO { +public class NlibSearchVO extends PagingVO { private String query =""; //검색어 private String collection = "lib_total"; //검색 대상 컬렉션 지정 @@ -30,6 +32,8 @@ public class NlibSearchVO { private String sfield = ""; //검색 영역 private String creatYyyyStart = ""; //생산년도 검색(시작일) private String creatYyyyEnd = ""; //생산년도 검색(종료일) + private String creatYyyyYn = ""; //미상포함 Y N + private String createStartDate = ""; //연대 검색(시작일) private String createEndDate = ""; //연대 검색(종료일) private String mngtNo = ""; //관리번호 @@ -39,7 +43,6 @@ public class NlibSearchVO { private String subjectCode = ""; //주제분야 private String orgNm = ""; //생산기관 - private String realQuery ; //검색어(최종) private String reQuery = ""; //결과내 재검색 private String reQueryChk ="query"; //결과내재검색 체크 유지 @@ -58,13 +61,17 @@ public class NlibSearchVO { private String filter_info_type ; //필터 더보기버튼 유지 private String filter_mylist; //검색결과 필터 순서 저장 private String filter_info_mylist; //검색결과 필터 info 순서 저장 - + private String filter_creatYyyy =""; //생산년도 필터 + private String first_category ; //주제분야(대) 선택 private String second_category ; //주제분야(소) 선택 private String first_class ; //자료유형(대) 선택 private String second_class; //자료유형(소) 선택 - private List resultList = new ArrayList<>(); // 자료 리스트 + private List resultList = new ArrayList<>(); // 자료 리스트 + private List> typeCountList = new ArrayList>(); // 자료유형 count 리스트 + private List> subjectCountList = new ArrayList>(); // 주제분야 count 리스트 + private List> orgCountList = new ArrayList>(); // 생산기관 count 리스트 public String getFilter_class() { return filter_class; @@ -114,12 +121,6 @@ public class NlibSearchVO { public void setFilter_info_mylist(String filter_info_mylist) { this.filter_info_mylist = filter_info_mylist; } - public String getRealQuery() { - return realQuery; - } - public void setRealQuery(String realQuery) { - this.realQuery = realQuery; - } public String getReQuery() { return reQuery; } @@ -258,10 +259,10 @@ public class NlibSearchVO { public void setLib_etc_totalCount(String lib_etc_totalCount) { this.lib_etc_totalCount = lib_etc_totalCount; } - public List getResultList() { + public List getResultList() { return resultList; } - public void setResultList(List resultList) { + public void setResultList(List resultList) { this.resultList = resultList; } public String getFirst_category() { @@ -300,21 +301,52 @@ public class NlibSearchVO { map.add(name,value); } } - + public String getFilter_creatYyyy() { + return filter_creatYyyy; + } + public void setFilter_creatYyyy(String filter_creatYyyy) { + this.filter_creatYyyy = filter_creatYyyy; + } + public String getCreatYyyyYn() { + return creatYyyyYn; + } + public void setCreatYyyyYn(String creatYyyyYn) { + this.creatYyyyYn = creatYyyyYn; + } + + public List> getTypeCountList() { + return typeCountList; + } + public void setTypeCountList(List> typeCountList) { + this.typeCountList = typeCountList; + } + public List> getSubjectCountList() { + return subjectCountList; + } + public void setSubjectCountList(List> subjectCountList) { + this.subjectCountList = subjectCountList; + } + public List> getOrgCountList() { + return orgCountList; + } + public void setOrgCountList(List> orgCountList) { + this.orgCountList = orgCountList; + } //검색요청시 URL 생성 public MultiValueMap getSearchMap() { MultiValueMap map = new LinkedMultiValueMap(); - add(map,"query",this.query); + add(map,"query",this.query + " " + this.reQuery); add(map,"collection",this.collection); add(map,"sort",this.sort); add(map,"startCount",this.startCount); add(map,"sfield",this.sfield); add(map,"CREAT_YYYY_START",this.creatYyyyStart); add(map,"CREAT_YYYY_END",this.creatYyyyEnd); + add(map,"CREAT_YYYY_YN",this.creatYyyyYn); add(map,"createStartDate",this.createStartDate); - add(map,"createEndDate,",this.createEndDate); + add(map,"createEndDate",this.createEndDate); add(map,"MNGT_NO",this.mngtNo); add(map,"AGE_CODE",this.ageCode); add(map,"USE_STATUS",this.useStatus); @@ -322,6 +354,11 @@ public class NlibSearchVO { add(map,"SUBJECT_CODE",this.subjectCode); add(map,"ORG_NM,",this.orgNm); add(map,"listCount",this.listCount); + add(map,"SUBJECT_CATE_DEPTH","2"); //주제분야 2뎁스까지 나오게 고정 + add(map,"DIV_CATE_DEPTH","2"); //자료유형 2뎁스까지 나오게 고정 + + add(map,"DTLS_TYPE_DIV_CD",StringUtil.getString(this.second_class,"").replace(",","|")); + add(map,"SUBJECT_CODE",StringUtil.getString(this.second_category,"").replace(",","|")); return map; } diff --git a/src/main/java/nlib/sch/service/impl/NlibSearchServiceImpl.java b/src/main/java/nlib/sch/service/impl/NlibSearchServiceImpl.java index b73130ec..080b52d9 100644 --- a/src/main/java/nlib/sch/service/impl/NlibSearchServiceImpl.java +++ b/src/main/java/nlib/sch/service/impl/NlibSearchServiceImpl.java @@ -14,6 +14,7 @@ import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.util.ArrayList; import java.util.Arrays; +import java.util.HashMap; import java.util.List; import javax.annotation.Resource; @@ -42,6 +43,7 @@ import com.google.gson.JsonParser; import com.google.gson.reflect.TypeToken; import nlib.sch.service.NlibSearchVO; +import nlib.col.service.CollectionVO; import nlib.restful.DataApi; import nlib.restful.service.DataApiInterface; import nlib.restful.service.DataApiReqVO; @@ -74,7 +76,13 @@ public class NlibSearchServiceImpl implements NlibSearchService{ public NlibSearchVO getSearch(NlibSearchVO searchVO) throws Exception { try { + //검색엔진 페이지 셋팅 + searchVO.setListCount(Integer.toString(searchVO.getPageSize())); + searchVO.setStartCount(Integer.toString(searchVO.getPageIndex())); + + String collectionTemp=""; + String nameTemp=""; //----------------------------------- // 입력값 검증작업 //----------------------------------- @@ -143,6 +151,8 @@ public class NlibSearchServiceImpl implements NlibSearchService{ for(int i=0;i list = new ArrayList<>(); - //NlibSearchCollectionVO vo = new NlibSearchCollectionVO(); - Gson gson = new Gson(); - + JsonObject filterObject = null; + JsonArray filterList = null; + JsonArray tmpList = null; + JsonArray subjectList = null; + JsonArray typeList = null; + JsonArray orgList = null; + JsonArray categoryList = null; + List list = new ArrayList<>(); + List> subjectMap = new ArrayList>(); + List> typeMap = new ArrayList>(); + List> orgMap = new ArrayList>(); + String code=""; + String code_up=""; int j; + int k; for(int i=0;i temp = new HashMap(); + filterObject = (JsonObject)subjectList.get(k); + nameTemp = filterObject.get("Name").getAsString(); + //상위코드값 + code_up = nameTemp.substring(nameTemp.indexOf("@")+1,nameTemp.indexOf("^")); + temp.put("category_nm_up",code_up); + + //코드값 + code = nameTemp.substring(nameTemp.lastIndexOf("@")+1); + temp.put("category_nm",code); + temp.put("category_cnt",filterObject.get("Count").getAsString()); + subjectMap.add(temp); + } + for(k = 0; k < typeList.size(); k++){ + HashMap temp = new HashMap(); + filterObject = (JsonObject)typeList.get(k); + nameTemp = filterObject.get("Name").getAsString(); + //상위코드값 + code_up = nameTemp.substring(nameTemp.indexOf("@")+1,nameTemp.indexOf("^")); + temp.put("class_nm_up",code_up); + + //코드값 + code = nameTemp.substring(nameTemp.lastIndexOf("@")+1); + temp.put("class_nm",code); + temp.put("class_cnt",filterObject.get("Count").getAsString()); + typeMap.add(temp); + } + for(k = 0; k < orgList.size(); k++){ + HashMap temp = new HashMap(); + filterObject = (JsonObject)orgList.get(k); + nameTemp = filterObject.get("Name").getAsString(); + if(!"null".equals(nameTemp)) { + temp.put("org_nm",nameTemp); + temp.put("org_cnt",filterObject.get("Count").getAsString()); + orgMap.add(temp); + } + } + tmp = (JsonObject) tmp.get("DocumentSet"); System.out.println(tmp.get("TotalCount").getAsString()); searchVO.setTotalCount(tmp.get("TotalCount").getAsString()); @@ -174,16 +262,23 @@ public class NlibSearchServiceImpl implements NlibSearchService{ for(j=0;j Exception 발생 : " + e.toString()); diff --git a/src/main/java/nlib/sch/web/NlibSearchController.java b/src/main/java/nlib/sch/web/NlibSearchController.java index b67fe3ce..beb0b226 100644 --- a/src/main/java/nlib/sch/web/NlibSearchController.java +++ b/src/main/java/nlib/sch/web/NlibSearchController.java @@ -43,7 +43,6 @@ import nlib.col.service.InterestService; import nlib.col.service.RisService; import nlib.restful.service.DataApiReqVO; import nlib.restful.service.DataApiResVO; -import nlib.sch.service.NlibSearchCollectionVO; import nlib.sch.service.NlibSearchService; import nlib.sch.service.NlibSearchVO; import nlib.user.service.NlibLoginVO; @@ -96,41 +95,21 @@ public class NlibSearchController extends NlibCommonController { , @RequestParam Map paramMap , ModelMap model , @ModelAttribute("searchVO") NlibSearchVO searchVO - , String all_totalCount , HttpServletRequest request , HttpServletResponse res) throws Exception { - String searchKeyword = paramMap.get("searchKeyword"); - String pageIndex = StringUtil.getString(paramMap.get("pageIndex"), "1"); - String pageSize = StringUtil.getString(paramMap.get("pageSize") , DEFUALT_PAGE_SIZE); List operList = new ArrayList(); // 페이징 사이즈 코드 목록 조회 (DB방식으로 변경 2021.08.06 KNKIM) List> pageSizeCodes = codeService.listCodes("PAGE_SIZE_OPTION"); - // 자료유형 코드 목록 조회 - List> masterType = codeService.listCodes("MASTER_TYPE_DIV_CD"); - List> dtlsType = codeService.listCodes("DTLS_TYPE_DIV_CD"); - //주제분야 목록 조회 List> clsf = codeService.listCtClsfs(); + if(searchVO.getPageIndex() < 1) searchVO.setPageIndex(1); + if(searchVO.getPageSize() < 1) searchVO.setPageSize(DEFUALT_PAGE_SIZE); - // 반환 정보 - model.addAttribute("pageIndex" , pageIndex); - model.addAttribute("pageSize" , pageSize); - model.addAttribute("searchKeyword", searchKeyword); - model.addAttribute("pageSizeCodes", pageSizeCodes); - model.addAttribute("masterType", masterType); - model.addAttribute("dtlsType", dtlsType); - model.addAttribute("firstCategoryList", clsf); - model.addAttribute("secondCategoryList", clsf); - - //검색엔진 try{ - searchVO.setQuery("대출"); - searchVO.setCollection("lib_loan"); - searchVO.setQuery(StringUtil.getString(searchVO.getQuery(), "")); searchVO.setReQuery(StringUtil.getString(searchVO.getReQuery(), "")); @@ -144,28 +123,33 @@ public class NlibSearchController extends NlibCommonController { searchVO = nlibSearchService.getSearch(searchVO); + //페이지 셋팅 + PagingVO pageVO = new PagingVO(); + pageVO.setPagingVO(Integer.parseInt(searchVO.getTotalCount()), searchVO.getPageIndex(), searchVO.getPageSize()); + + String mbInfoId = getMbInfoId(request); - //열람,대출 가능 상태 - List resultList = searchVO.getResultList(); // 자료 리스트 - CollectionVO col = new CollectionVO(); - - for(int i = 0; resultList.size() > i; i++) - { - col.setMasterId(resultList.get(i).getMASTER_ID()); - operList.add(col); + if(StringUtil.isEmpty(mbInfoId)) { + // 검색엔진에서 받아온 masterId로 상세정보 조회 + operList = collectionService.setDetailInfoForList(searchVO.getResultList(), null, NlibProperty.getString("thumbnail.image.url.small")); + } else { + // 검색엔진에서 받아온 masterId로 상세정보 조회 + operList = collectionService.setDetailInfoForList(searchVO.getResultList(), getMbInfoId(request), NlibProperty.getString("thumbnail.image.url.small")); } - operList = collectionService.setDetailInfoForList(operList); - - model.addAttribute("operList", operList); + //결과 데이터 담기 + searchVO.setResultList(operList); // 경로 CmmUtil.setNfsPathModelMap(request,model); + model.addAttribute("pageVO", pageVO); model.addAttribute("searchVO", searchVO); }catch(Exception e){ e.printStackTrace(); } + + // 검색엔진 건수 자료 조합 List councilList = new ArrayList(); councilList.add("마포문화원"); @@ -173,22 +157,54 @@ public class NlibSearchController extends NlibCommonController { councilList.add("종로문화원"); /*List councilList = resourcesService.selectCouncilList(); */ model.addAttribute("councilList", councilList); + + // 반환 정보 + model.addAttribute("pageSizeCodes", pageSizeCodes); + //주제분야 + model.addAttribute("firstCategoryList", clsf); + model.addAttribute("secondCategoryList", clsf); + //자료유형 + model.addAttribute("firstClassList", codeService.listCodes(Constant.CODE_ID_MASTER_TYPE_DIV_CD)); + model.addAttribute("secondClassList", codeService.listCodes(Constant.CODE_ID_DTLS_TYPE_DIV_CD)); + - - //자료유형 - model.addAttribute("firstClassList", codeService.listCodes(Constant.CODE_ID_MASTER_TYPE_DIV_CD)); - model.addAttribute("secondClassList", codeService.listCodes(Constant.CODE_ID_DTLS_TYPE_DIV_CD)); - searchVO.setQuery(searchVO.getQuery().replaceAll("\\\"", """)); return "nlib/collection/searchList"; } /** - * 소장자료를 조회한다. + * 소장자료 상세조회 * * @param req * @return */ + @RequestMapping(value = "/search/searchItemDetail.do") + public String searchItemDetail( + HttpServletRequest req + , Authentication authentication + , @RequestParam Map paramMap + , ModelMap model + , @ModelAttribute("searchVO") NlibSearchVO searchVO + , HttpServletRequest request + , HttpServletResponse res + ) throws Exception { + String masterId = request.getParameter("masterId"); + String mbInfoId = getMbInfoId(request); + + CollectionVO vo = new CollectionVO(); + vo.setMasterId(masterId); + vo.setMbInfoId(mbInfoId); + System.out.println(NlibProperty.getString("thumbnail.image.url.big")); + vo = collectionService.getItemInfo(vo,NlibProperty.getString("thumbnail.image.url.big")); + model.addAttribute("result", vo); + return "nlib/collection/searchItemDetail"; + } + /** + * 소장자료를 조회한다. + * + * @param req + * @return + *//* @RequestMapping(value="/collection/listItemsAjax.do", method = RequestMethod.POST) public ResponseEntity listItemsAjax(HttpServletRequest req, Authentication authentication, @RequestBody CollectionVO searchCollectionVO) { @@ -215,10 +231,10 @@ public class NlibSearchController extends NlibCommonController { //------------------------------- // REQ VO 구성 //------------------------------- - /*DataApiReqVO reqVO = new DataApiReqVO(); + DataApiReqVO reqVO = new DataApiReqVO(); reqVO.setPageIndex(pageIndex); reqVO.setPageSize(pageSize); - reqVO.putInfoItem("searchKeyword", searchKeyword);*/ + reqVO.putInfoItem("searchKeyword", searchKeyword); // 요청 //DataApiResVO resVO = collectionService.listItems(reqVO); @@ -231,13 +247,13 @@ public class NlibSearchController extends NlibCommonController { // itemsCount: 255 // } HashMap retMap = new HashMap(); - /*retMap.put("data", resVO.getList(DataApiVO.XML_EL_NAME_RECORD)); - retMap.put("itemsCount", resVO.getRecordTotCount());*/ + retMap.put("data", resVO.getList(DataApiVO.XML_EL_NAME_RECORD)); + retMap.put("itemsCount", resVO.getRecordTotCount()); retMap.put("data", List); retMap.put("pageVO", pageVO); return makeResponseEntityJson(retMap); - } + }*/ /** * 상세검색 팝업. diff --git a/src/main/webapp/WEB-INF/jsp/nlib/collection/searchItemDetail.jsp b/src/main/webapp/WEB-INF/jsp/nlib/collection/searchItemDetail.jsp new file mode 100644 index 00000000..c620a57a --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/nlib/collection/searchItemDetail.jsp @@ -0,0 +1,612 @@ +<% +/** + *
+ * @Class Name : selectItemInfo.jsp
+ * 
+ * @Description : 소장자료 상세내용을 조회한다.
+ * 
+ * 
+ * @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021)
+ *
+ * 
+ * + * @ ------------ -------- --------------------------- + * @ 수정일 수정자 수정내용 + * @ ------------ -------- --------------------------- + * @ 2021. 7. 30. JSYOO 최초 생성 + * + * + * @author 이씨플라자 * DIGITALSHIP JSYOO + * @since 2021. 7. 30. + * @version 1.0 + * + */ + %> +<%@ page language="java" contentType="text/html; charset=UTF-8" %> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui" %> +<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> +<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> +<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> +<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> + +자료 상세 + + + + + + + + +소장자료관 - 소장자료 상세페이지 + + + + + + + + + + + + + + +
+ +
+

소장자료 상세페이지 섹션영역

+
+
+
+
+
+
+ + 온라인열람 + + + 대출 + + + 방문열람 + + + 기타 + +
+
+ +
+
+
+
" alt="썸네일">
+
+
+
+ + + + +
+
+
+
    +
  • + 자료유형 + > +
  • +
  • + 연대 + 년부터 까지 +
  • +
  • + 주제분야 + > +
  • +
  • + 저자 + +
  • +
  • + 생산기관 + +
  • +
  • + 출판사 + +
  • +
  • + 생산년도 + +
  • +
  • + 발간유형 + +
  • +
  • + 테마 + +
  • +
  • + 발간매체 + +
  • +
  • + 시대 + +
  • +
  • + 청구기호 + +
  • +
+
+
+ + + +
+
+ 키워드 + 1 + 경주 + 문화인 + 인물 + 석불 +
+
+
+
+
+
+
+
+
+
이용상태 아이콘
+
이용상태
+
대출중 (대기자 0명)
+
+
+
달력 아이콘
+
반납예정일
+
2021-08-27
+
+
+
대출 아이콘
+
대출
+
예약가능
+
+
+
방문 아이콘
+
방문열람
+
신청불가
+
+
+
+

- 자료의 이용상태, 대출가능여부, 방문열람가능여부를 꼭 확인하신 후 이용해주시길 바랍니다.

+

- 다른 지방문화원 소장자료관 이용자들을 위해 꼭 필요한 자료만 예약한 후, 가능한 날짜에 예약 및 이용 부탁드립니다.

+
+
+ +
+
+

목차정보

+ +
+
+

1부 역사 속의 경주1 - 경주, 조선의 500년 역사를 찾다

+

2부 역사 속의 경주2 - 금오산을 바라본 조선문인의 시선

+

3부 경주문화제 핫이슈 - 타향살이 100년 ‘청와대 미남석불’, 이제는 고향 경주의 품으로

+

4부 경주문화제 핫이슈 - 타향살이 100년 ‘청와대 미남석불’, 이제는 고향 경주의 품으로

+

5부 경주문화제 핫이슈 - 타향살이 100년 ‘청와대 미남석불’, 이제는 고향 경주의 품으로

+

6부 경주문화제 핫이슈 - 타향살이 100년 ‘청와대 미남석불’, 이제는 고향 경주의 품으로

+

7부 경주문화제 핫이슈 - 타향살이 100년 ‘청와대 미남석불’, 이제는 고향 경주의 품으로

+

8부 경주문화제 핫이슈 - 타향살이 100년 ‘청와대 미남석불’, 이제는 고향 경주의 품으로

+

9부 경주문화제 핫이슈 - 타향살이 100년 ‘청와대 미남석불’, 이제는 고향 경주의 품으로

+
+
+ +
+
+ +
+
+

함께 볼만한자료

+
+
+ +
+
+
+
국역 경주읍지
+
+
+

자료유형도서간행물 > 연속간행물

+

주제분야자연과지리 > 자연환경

+

생산기관경북경주문화원

+

생산년도2003

+
+
+
+ +
+
+
+
국역 경주읍지
+
+
+

자료유형도서간행물 > 연속간행물

+

주제분야자연과지리 > 자연환경

+

생산기관경북경주문화원

+

생산년도2003

+
+
+
+ +
+
+
+
국역 경주읍지
+
+
+

자료유형도서간행물 > 연속간행물

+

주제분야자연과지리 > 자연환경

+

생산기관경북경주문화원

+

생산년도2003

+
+
+
+ +
+
+
+
국역 경주읍지
+
+
+

자료유형도서간행물 > 연속간행물

+

주제분야자연과지리 > 자연환경

+

생산기관경북경주문화원

+

생산년도2003

+
+
+
+ +
+
+
+
국역 경주읍지
+
+
+

자료유형도서간행물 > 연속간행물

+

주제분야자연과지리 > 자연환경

+

생산기관경북경주문화원

+

생산년도2003

+
+
+
+ +
+
+
+
+
+ +
+
+
+ +
+
+
+

이 자료와 유사한자료

+

“ 경산문화원, 경주문화원, 고령문화 ” 에 있습니다

+
+
+ +
+
+
+
+
+
+ +
+ 2011 신라문화스토리텔러 교육교재 이론 +
    +
  • 주제유형도서간행물
  • +
  • 주제분야문화유산
  • +
  • 생산기관마포문화원
  • +
  • 생산년도미상
  • +
+
+
+
+
+
+
+
+
+
+ +
+ 2011 신라문화스토리텔러 교육교재 이론 +
    +
  • 주제유형도서간행물
  • +
  • 주제분야문화유산
  • +
  • 생산기관마포문화원
  • +
  • 생산년도미상
  • +
+
+
+
+
+
+
+
+
+
+ +
+ 2011 신라문화스토리텔러 교육교재 이론 +
    +
  • 주제유형도서간행물
  • +
  • 주제분야문화유산
  • +
  • 생산기관마포문화원
  • +
  • 생산년도미상
  • +
+
+
+
+
+
+
+
+
+
+ +
+ 2011 신라문화스토리텔러 교육교재 이론 +
    +
  • 주제유형도서간행물
  • +
  • 주제분야문화유산
  • +
  • 생산기관마포문화원
  • +
  • 생산년도미상
  • +
+
+
+
+
+
+
+
+
+
+ +
+ 2011 신라문화스토리텔러 교육교재 이론 +
    +
  • 주제유형도서간행물
  • +
  • 주제분야문화유산
  • +
  • 생산기관마포문화원
  • +
  • 생산년도미상
  • +
+
+
+
+
+
+
+
+
+
+ +
+ 2011 신라문화스토리텔러 교육교재 이론 +
    +
  • 주제유형도서간행물
  • +
  • 주제분야문화유산
  • +
  • 생산기관마포문화원
  • +
  • 생산년도미상
  • +
+
+
+
+
+
+
+
+
+
+ +
+ 2011 신라문화스토리텔러 교육교재 이론 +
    +
  • 주제유형도서간행물
  • +
  • 주제분야문화유산
  • +
  • 생산기관마포문화원
  • +
  • 생산년도미상
  • +
+
+
+
+
+
+
+
+
+
+ +
+ 2011 신라문화스토리텔러 교육교재 이론 +
    +
  • 주제유형도서간행물
  • +
  • 주제분야문화유산
  • +
  • 생산기관마포문화원
  • +
  • 생산년도미상
  • +
+
+
+
+
+
+
+
+
+
+
+ +
+
+ +
+ +
+ +
+
+
+ + + +
+ + + + + + + + + \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/nlib/collection/searchList.jsp b/src/main/webapp/WEB-INF/jsp/nlib/collection/searchList.jsp index c1f15a4f..d47eba6f 100644 --- a/src/main/webapp/WEB-INF/jsp/nlib/collection/searchList.jsp +++ b/src/main/webapp/WEB-INF/jsp/nlib/collection/searchList.jsp @@ -53,87 +53,94 @@ window.onload = function() { - // 페이지 크기 변경시 재조회 $("#pageSize").on("change", function(e) { - $("#pageIndex").val(1); - fn_search_article($("#pageIndex").val()); + fnFilterSch(); }); // 검색 버튼 클릭 $("#btnSearch").on("click", function(e) { - fn_search_article($("#pageSize").val(), 1); + fn_search_article(1); }); - //초기 자료 조회 - fn_search_article($("#pageIndex").val()); - - - $("#referencelistForm input:checkbox[name='reQueryChk']").on('change', function() { if ( $(this).prop('checked') ) { - $("#reQuery").css("display","block"); - $("#query").css("display","none"); + $("#query").css("display","none"); + $("#reQuery").css("display","inline-block"); $("#reQueryChk").val("reQuery"); }else{ $("#reQuery").css("display","none"); - $("#query").css("display","block"); + $("#query").css("display","inline-block"); $("#reQueryChk").val("query"); } }); - $("input:checkbox").on('change', function() { - if ( $(this).prop('checked') ) - { - $(this).parent().parent(".depth-1").parent().children(".depth-2").css("display","block"); - } - else{ - $(this).parent().parent(".depth-1").parent().children(".depth-2").css("display","none"); - } - }); - + //초기값 + fnSetInitialValue(); + //생산기관적용버튼 + filter_creatYyyyAply(); //필터클릭체크 reference_filterClk(); //필터삭제 reference_filterDel(); + fnLabel_reference(); + //초기화 + reference_filterReset(); }; // window.onload +//페이지 로드시 초기값셋팅 +function fnSetInitialValue() +{ + //상세검색 + $("#top_query").val("${searchVO.query}"); + //탭 + $("#"+"${searchVO.collection}").parent().addClass('current'); + //페이징 + pageLoad('${pageVO.pageIndex}','${pageVO.totRecordCount}','${pageVO.startPage}','${pageVO.endPage}','${pageVO.lastPage}'); + + //생산년도 + var filter_creatYyyy = '${searchVO.filter_creatYyyy}'; + var creatYyyyYn = '${searchVO.creatYyyyYn}'; + if(filter_creatYyyy == "date") + { + $("#m-year-2").prop('checked',true); + $("#creatYyyyStart").val("${searchVO.creatYyyyStart}"); + $("#creatYyyyEnd").val("${searchVO.creatYyyyEnd}"); + if(creatYyyyYn == "Y") + { + $("#creatYyyyYn").prop('checked',true); + } + }else{ + $("#m-year-1").prop('checked',true); + } +} //탭 이동 -function fn_tabMove_sch(itemType){ - alert(itemType); +function fnTabMoveSch(collection){ + $("#collection").val(collection); fnFilterSch(); } - +function fnFilterSch(){ + document.referencelistForm.action="/search/searchList.do"; + document.referencelistForm.submit(); +} function docView(){ alert("원문보기"); } -function risDownloadFile(){ - alert("RIS"); +//상세보기 +function goDetail(masterId){ + $("#masterId").val(masterId); + document.referencelistForm.action="/search/searchItemDetail.do"; + document.referencelistForm.submit(); } -// 선택한 게시글 상세 보기로 이동 -function fn_view_detail(articleNo) { - $("#articleNo").val(articleNo); - $("#referencelistForm").attr("action", "${pageContext.request.contextPath}/collection/selectItemInfo.do"); - $("#referencelistForm").submit(); -} - -// 그리드 데이터 조회 호출 +// 페이징 검색 function fn_search_article(pageIndex) { - var reqUrl = "${pageContext.request.contextPath}/collection/listItemsAjax.do"; - $("#pageIndex").val(pageIndex); - - var inputData = { - "pageIndex" : pageIndex - , "pageSize": $("#pageSize").val() - , "searchKeyWord" : $("#searchKeyWord").val() - , "typeCodeNm" : $("#itemType").val() - }; + fnFilterSch(); } @@ -141,6 +148,20 @@ function fn_search_article(pageIndex) { +
+ + + + + + + + + + + + +

소장자료 섹션영역

@@ -167,9 +188,6 @@ function fn_search_article(pageIndex) {
    -
  • 문서 > 고문서
  • -
  • 문서 > 일반문서
  • -
  • 도면/지도 > 탁본
@@ -185,7 +203,7 @@ function fn_search_article(pageIndex) {
on">
checked="checked" /> - +
    @@ -243,13 +261,16 @@ function fn_search_article(pageIndex) {
    • - +
    • +
    • + 미상포함 +
    @@ -261,10 +282,10 @@ function fn_search_article(pageIndex) {
    - +
  • -
    +
  • @@ -280,11 +301,11 @@ function fn_search_article(pageIndex) {
    @@ -294,11 +315,11 @@ function fn_search_article(pageIndex) {
    - + + + +
    @@ -321,128 +342,69 @@ function fn_search_article(pageIndex) {
    -
    +
    - 온라인열람 - 대출 - 방문열람 + + 온라인열람 + + + 대출 + + + 방문열람 + + + 기타 + +
    - -
    KCCF1010010001
    +
    +
    ${result.mngtNo}
    - 주제분야 : 도서간행물 > 연속간행물 - 주제분야 : 자연과지리 > 자연환경 - 생산기관 : 경북경주문화원 - 생산년도 : 2021 + + 자료유형 : ${result.typeCodeNm} > ${result.dtlsTypeDivNm} + + + 주제분야 : ${result.subjectNmUp} > ${result.subjectNm } + + + 생산기관 : ${result.orgNm } + + + 생산년도 : ${result.creatYyyy } +
    - - -
    -
    -
    -
    -
    즐겨찾기 아이콘즐겨찾기 아이콘
    -
    - 온라인열람 - 대출 - 방문열람 -
    - -
    KCCF1010010001
    -
    - 주제분야 : 도서간행물 > 연속간행물 - 주제분야 : 자연과지리 > 자연환경 - 생산기관 : 경북경주문화원 - 생산년도 : 2021 -
    -
    -
    -

    대출신청 가능
    방문열람신청 가능

    -
    -
    -
    -
    -
    즐겨찾기 아이콘즐겨찾기 아이콘
    -
    - 온라인열람 - 대출 - 방문열람 -
    - -
    KCCF1010010001
    -
    - 주제분야 : 도서간행물 > 연속간행물 - 주제분야 : 자연과지리 > 자연환경 - 생산기관 : 경북경주문화원 - 생산년도 : 2021 -
    -
    -
    - - + + +

    ${result.operOutRangeNm}
    ${result.operReadRangeNm}

    +
    + + +

    ${result.operOutRangeNm}${result.operReadRangeNm}

    +
    +
    +
    + + + +
    -
- -
-
- 02 -
-
- -
-
- 03 -
-
- -
-
- 04 -
-
- -
-
- 05 -
-
-
@@ -451,5 +413,6 @@ function fn_search_article(pageIndex) { +
diff --git a/src/main/webapp/WEB-INF/jsp/nlib/collection/selectItemInfo.jsp b/src/main/webapp/WEB-INF/jsp/nlib/collection/selectItemInfo.jsp deleted file mode 100644 index a82e735d..00000000 --- a/src/main/webapp/WEB-INF/jsp/nlib/collection/selectItemInfo.jsp +++ /dev/null @@ -1,89 +0,0 @@ -<% -/** - *
- * @Class Name : selectItemInfo.jsp
- * 
- * @Description : 소장자료 상세내용을 조회한다.
- * 
- * 
- * @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021)
- *
- * 
- * - * @ ------------ -------- --------------------------- - * @ 수정일 수정자 수정내용 - * @ ------------ -------- --------------------------- - * @ 2021. 7. 30. JSYOO 최초 생성 - * - * - * @author 이씨플라자 * DIGITALSHIP JSYOO - * @since 2021. 7. 30. - * @version 1.0 - * - */ - %> -<%@ page language="java" contentType="text/html; charset=UTF-8" %> -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> -<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui" %> -<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> -<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> -<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> - -자료 상세 - - - - -${pageTitle} - - - - - - - - -

${pageTitle }

- -
-
-
- -
-
- -

저자 :

-

관리번호 :

-

출판사 :

-
-
-
- -
- - - -
- - - diff --git a/src/main/webapp/WEB-INF/tiles/inc/header.jsp b/src/main/webapp/WEB-INF/tiles/inc/header.jsp index b16e2851..52658613 100644 --- a/src/main/webapp/WEB-INF/tiles/inc/header.jsp +++ b/src/main/webapp/WEB-INF/tiles/inc/header.jsp @@ -5,76 +5,4 @@ <%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> <%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%> - -<% -String councilCd = (String)session.getAttribute("councilCd"); -String councilNm = (String)session.getAttribute("councilNm"); -%> - -

헤더영역

-
- -

소장자료관

- -
-

검색

-
-
- 검색 -
- - - - -
-
- -
-
-
-
- -
- -
-
- - \ No newline at end of file + diff --git a/src/main/webapp/css/default.css b/src/main/webapp/css/default.css index 7de6732b..53cf4d90 100644 --- a/src/main/webapp/css/default.css +++ b/src/main/webapp/css/default.css @@ -717,7 +717,7 @@ transform: rotate(45deg);} .filter-head h2 {float: left;font-size: 18px;font-weight: 600;} .filter-head .btn-filter-reset {float: right;background: url(/images/icon/icon-data-reset.png) no-repeat right center;padding: 4px 22px 4px 0px;font-size:14px;font-weight: 400;color:#666;} .filter-wrap .choice-condition {display:inline-block;padding-top: 14px;color: #707070;} -.filter-wrap .choice-condition ul li {font-size:12px;background:#f4f4f4;float:left;padding:2px 30px 3px 10px;border-radius: 50px;margin:0px 5px 5px 0px;border:1px solid #ddd;background:url(/images/icon/icon-data-close.png) no-repeat #f4f4f4;background-position: 92% center;cursor: pointer;} +.filter-wrap .choice-condition ul li {font-size:12px;background:#f4f4f4;float:left;padding:2px 5px 3px 10px;border-radius: 50px;margin:0px 5px 5px 0px;border:1px solid #ddd;background:url(/images/icon/icon-data-close.png) no-repeat #f4f4f4;background-position: 92% center;cursor: pointer;} .filter-wrap .choice-condition .sign {margin: 0 10px;} .filter-wrap .choice-condition em {color: #333;} .filter-wrap .choice-condition .btn-del-filter {margin-left: 10px;text-indent: -9999px;overflow: hidden;width: 13px;height: 13px;vertical-align: sub;background: url(/images/kccf/btn/btn-cnl.jpg) no-repeat right center;} diff --git a/src/main/webapp/data.html b/src/main/webapp/data.html index 217509eb..5e4a4aa1 100644 --- a/src/main/webapp/data.html +++ b/src/main/webapp/data.html @@ -524,6 +524,7 @@
+

대출신청 가능
방문열람신청 가능

diff --git a/src/main/webapp/js/default.js b/src/main/webapp/js/default.js index afd58e79..ccb4c2eb 100644 --- a/src/main/webapp/js/default.js +++ b/src/main/webapp/js/default.js @@ -18,24 +18,6 @@ $(document).ready(function(){ } }); - /* 인기자료 탭메뉴 */ - (function ($) { - - $('.tab ul.tabs').addClass('active').find('> li:eq(0)').addClass('current'); - - $('.tab ul.tabs li a').click(function (g) { - var tab = $(this).closest('.tab'), - index = $(this).closest('li').index(); - - tab.find('ul.tabs > li').removeClass('current'); - $(this).closest('li').addClass('current'); - - tab.find('.tab_content').find('div.tabs_item').not('div.tabs_item:eq(' + index + ')').hide(); - tab.find('.tab_content').find('div.tabs_item:eq(' + index + ')').show(); - g.preventDefault(); - }); - })(jQuery); - /* 푸터 관련사이트 */ $(".family_site").click(function(){ $(this).toggleClass("on"); diff --git a/src/main/webapp/js/nlib.js b/src/main/webapp/js/nlib.js index 76a4164a..c7c3a7cf 100644 --- a/src/main/webapp/js/nlib.js +++ b/src/main/webapp/js/nlib.js @@ -182,41 +182,40 @@ function risShow(risId){ document.getElementById("export-data").className="popup pop-user-set pop-export"; var html=""; - html+='
'; - html+='
'; - html+='
'; - html+='

서지정보 내보내기 (Export)

'; - html+='
'; - html+='
서지정보 내보내기 안내
'; - html+='
'; - html+='

지역N문화 포털은 콘텐츠 생산자 및 연구자들을 위해 서지정보 내보내기 기능을 제공하고 있습니다.

'; - html+='
    '; - html+='
  • 서지정보 내용
    : 형식, 제목, 저자, 시리즈, 언어, URL, 태그
  • '; - html+='
  • 제공 포멧
    : RIS : Search Information System (*.ris)
  • '; - html+='
  • RIS 지원 서지관리 프로그램
    : EndNote, Mendeley, Zotero) 외
  • '; - html+='
'; - html+='
'; - html+='
'; - html+=''; - html+='
'; - html+=''; - html+=''; - html+='
'; - html+='
'; - html+='
'; - html+='
'; - html+='
'; + html+='
'; + html+='
'; + html+='
'; + html+='

서지정보 내ㅋㅌㅊ보내기(Export)

'; + html+='
'; + html+='
'; + html+='
'; + html+='
'; + html+='

서지정보 내보내기 안내

'; + html+='
'; + html+='

소장자료관은 콘텐츠 생산자 및 연구자들을 위해 서지정보 내보내기 기능을 제공하고 있습니다.

'; + html+='

서지정보 내용
형식, 제목, 저자, 시리즈, 언어, URL, 태그

'; + html+='

제공 포맷
RIS : Search Information System (*.ris)

'; + html+='

RIS 지원 서지관리 프로그램
EndNote, Mendeley, Zotero) 외

'; + html+='
'; + html+='
'; + html+='
'; + html+='

서지관리 프로그램 안내

'; + html+='
'; + html+='

서지관리 프로그램은 문헌 및 온라인 콘텐츠 등 자료를 관리하고 공유하는데 사용됩니다.

'; + html+='

- 해당 프로그램은 소속기관 또는 개인 가입이 필요할 수 있으며, 소장자료관은 링크만 제공하고 직접 서비스를 제공하지 않습니다.

'; + html+='

Zotero (www.zotero.com) / 한글 메뉴 지원 (o), 300MB 용량 무료 (초과 유료)

'; + html+='

EndNote (www.endnote.com) / 한글 메뉴 지원 (x) , 2G 용량 무료 (초과유료)

'; + html+='

Mendeley (www.mendeley.com) / 한글 메뉴 지원 (x), 2G 용량 무료 (초과유료)

'; + html+='
'; + html+='
'; + html+='
'; + html+='
'; + html+=' '; + html+=' '; + html+='
'; + html+=' '; + html+='
'; + html+='
'; html+='
'; $("#export-data").append(html); @@ -243,43 +242,41 @@ function insertInterest(masterId){ }); } -function paging(pageVO) +function pageLoad(pageIndex, totRecordCount, startPage, endPage, lastPage) { $("#paging *").remove(); var html=""; - var startPage = pageVO.startPage; - var endPage = pageVO.endPage; - if(pageVO.totalCount != 0) + if(totRecordCount != 0) { - if(pageVO.pageIndex != 1 ){ - html+="\<\< " - html+="\< "; + if(pageIndex != 1 ){ + html+="
  • 처음으로
  • " + html+="
  • 이전
  • "; }else{ - html+="\<\< " - html+="\< "; + html+="
  • 처음으로
  • " + html+="
  • 이전
  • "; } for(startPage; startPage <= endPage; startPage++ ) { - if(startPage != pageVO.pageIndex) + if(startPage != pageIndex) { - html+= "" + startPage + " " + html+= "
  • " + startPage + "
  • " }else{ - html+= "" + startPage + " " + html+= "
  • "+ startPage +"
  • " } } - if(pageVO.pageIndex != pageVO.lastPage){ - html+="\> " - html+="\>\> "; + if(pageIndex != lastPage){ + html+="
  • 다음
  • " + html+="
  • 맨끝으로
  • "; }else{ - html+="\> " - html+="\>\>"; + html+="
  • 다음
  • " + html+="
  • 맨끝으로
  • "; } }else{ - html+= "데이터가 없습니다."; + html+= "자료가 없습니다."; } diff --git a/src/main/webapp/js/search/reference.js b/src/main/webapp/js/search/reference.js index 4a7bda20..0cc82280 100644 --- a/src/main/webapp/js/search/reference.js +++ b/src/main/webapp/js/search/reference.js @@ -29,7 +29,7 @@ function reference_filterClk(){ $('#filter_mylist').val(filter_mylist); - /* //depth-1 + //depth-1 var on_classArr = document.querySelectorAll("div.depth-1.on"); var filter_class = "" ; var filter_category = "" ; @@ -41,17 +41,68 @@ function reference_filterClk(){ } } - var listForm = document.forms["listForm"]; - listForm.startCount.value = 1; + var listForm = document.forms["referencelistForm"]; + listForm.pageIndex.value = 1; listForm.filter_class.value = filter_class; - listForm.filter_sido.value = filter_sido; - listForm.filter_category.value = filter_category; */ + listForm.filter_category.value = filter_category; fnFilterSch(); }); } - +function filter_creatYyyyAply(){ + $(document).on("click","#referencelistForm button[class^='btn-apply']",function(){ + var filter_mylist = ""; + filter_mylist = $('#filter_mylist').val(); + + //전체 + if($("#m-year-1").is(':checked') == true) + { + $("#filter_creatYyyy").val("all"); + filter_mylist = filter_mylist.replace("creat_all",""); + filter_mylist = filter_mylist.replace("creat_date,",""); + filter_mylist += "creat_all,"; + $("#filter_mylist").val(filter_mylist); + } + + //생산년도 검색 + if($("#m-year-2").is(':checked') == true) + { + if($("#creatYyyyStart").val() == "") + { + alert("생산년도 검색 시작일자를 입력해주세요."); + return false; + } + if($("#creatYyyyEnd").val() == "") + { + alert("생산년도 검색 종료일자를 입력해주세요."); + return false; + } + $("#filter_creatYyyy").val("date"); + filter_mylist = filter_mylist.replace("creat_all",""); + filter_mylist = filter_mylist.replace("creat_date,",""); + filter_mylist += "creat_date,"; + $("#filter_mylist").val(filter_mylist); + } + + fnFilterSch(); + }); + +} +//초기화 +function reference_filterReset(){ + $(document).on("click","#referencelistForm button[class^='btn-filter-reset']",function(){ + $("#pageIndex").val("1"); + $("#filter_creatYyyy").val(""); + $("#creatYyyyStart").val(""); + $("#creatYyyyEnd").val(""); + $("#filter_class").val(""); + $("#filter_category").val(""); + $("#filter_mylist").val(""); + $("#referencelistForm [name=first_class],#referencelistForm [name=second_class],#referencelistForm [name=first_category],#referencelistForm [name=second_category],#referencelistForm [name=creatYyyyYn]").prop("checked", false); + fnFilterSch(); + }); +} //reference 결과 필터 del 클릭 function reference_filterDel(){ $(document).on("click","#referencelistForm button[id^='c_cate_data-type-chk'],#referencelistForm button[id^='j_cate_theme-chk'],#referencelistForm button[id^='s_cate_local-chk']",function(){ @@ -119,13 +170,11 @@ function reference_filterDel(){ } - /* var listForm = document.forms["listForm"]; - listForm.startCount.value = 1; + var listForm = document.forms["referencelistForm"]; + listForm.pageIndex.value = 1; listForm.filter_class.value = filter_class; listForm.filter_sido.value = filter_sido; listForm.filter_category.value = filter_category; - - fnSearch_ajax('#referencelistForm'); */ fnFilterSch(); }); @@ -142,9 +191,9 @@ function fnLabel_reference(){ var checkVal = util.xssCheck($(checked[i]).val()); if(mylist_arr[j].indexOf(checkVal) >= 0 ){ var second_cate_id = "c_cate_"+ $(checked[i]).attr('id') +"_id_" +checkVal ; - var first_cate_nm =$(checked[i]).parents('.depth-2').siblings('.depth-1').find('input').next().text(); + var first_cate_nm =$(checked[i]).parents('.depth-2').siblings('.depth-1').find('label').text(); var second_cate_nm = $(checked[i]).next().text(); - + first_cate_nm = first_cate_nm.substring(0,first_cate_nm.indexOf("(",-1)); second_cate_nm = second_cate_nm.substring(0,second_cate_nm.lastIndexOf("(")); @@ -152,7 +201,7 @@ function fnLabel_reference(){ first_cate_nm = util.xssCheck(first_cate_nm); second_cate_nm = util.xssCheck(second_cate_nm); second_cate_id = util.xssCheck(second_cate_id); - $("#reference_fillter_append").append("
  • "+ first_cate_nm+ ">"+ second_cate_nm + "
  • ").text(); + $("#reference_fillter_append").append("
  • "+ first_cate_nm + " > "+ second_cate_nm + "
  • ").text(); comparisonData = second_cate_id; } @@ -177,13 +226,20 @@ function fnLabel_reference(){ first_cate_nm = util.xssCheck(first_cate_nm); second_cate_nm = util.xssCheck(second_cate_nm); second_cate_id = util.xssCheck(second_cate_id); - $("#reference_fillter_append").append("
  • "+ first_cate_nm+ ">"+ second_cate_nm + "
  • ").text(); + $("#reference_fillter_append").append("
  • "+ first_cate_nm + " > "+ second_cate_nm + "
  • ").text(); comparisonData = second_cate_id; } } } } + else if(mylist_arr[j].indexOf("creat_all") >= 0){ + $("#reference_fillter_append").append("
  • 생산년도 > 전체
  • ").text(); + } + else if(mylist_arr[j].indexOf("creat_date") >= 0){ + $("#reference_fillter_append").append("
  • 생산년도 > " + $("#creatYyyyStart").val() + "~" + $("#creatYyyyEnd").val() +"
  • ").text(); + } + } //for end }