CINXE.COM
정보공개포털
<!DOCTYPE html> <html lang="ko"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <link rel="stylesheet" type="text/css" href="/css/chatbot_style.css?p=202502281025" /> <link rel="stylesheet" type="text/css" href="/css/jquery-ui.min.css" /> <link rel="stylesheet" type="text/css" href="/js/jquery-treeview/jquery.treeview.css" /> <script type="text/javascript" src="/js/jquery-1.11.1.min.js"></script> <script type="text/javascript" src="/js/jquery-migrate-1.2.1.min.js"></script> <script type="text/javascript" src="/js/jquery-ui.min.js"></script> <script type="text/javascript" src="/js/jqgrid/i18n/grid.locale-kr.js"></script> <script type="text/javascript" src="/js/jquery-treeview/jquery.treeview.js"> </script> <script type="text/javascript" src="/js/jquery-validation/dist/jquery.validate.js"> </script> <script type="text/javascript" src="/js/jquery.base64.min.js"> </script> <script type="text/javascript" src="/js/jquery.form.js"></script> <script type="text/javascript" src="/js/jquery.cookie.js"></script> <script type="text/javascript" src="/js/jquery.alphanumeric.pack.js"></script> <script type="text/javascript" src="/common/js/jquery.bxslider.js"></script> <script type="text/javascript" src="/common/js/jqcloud-1.0.4.js"></script> <script type="text/javascript" src="/js/util.js?q=202502281025"></script> <script type="text/javascript" src="/js/history.js?q=20250220"></script> <script type="text/javascript" src="/js/validator.js?q=20250220"></script> <script type="text/javascript" src="/js/pagingUtil.js?q=20250220"></script> <script type="text/javascript" src="/js/calendar.js"></script> <script type="text/javascript" src="/js/commonData.js"></script> <script type="text/javascript" src="/js/ops-common.js?q=20250220"></script> <script type="text/javaScript"> var wsab_licenseData = "S6flodG3gEh6E9vNWgicIZ5o13iZekKM+eh9qFxDuq7I03iy9faw4dOQHTxr9gVn6JRJE/PY9UEJeypEfl/ehu0laFL/Wsp41nzfigLw31gLN120O7yg0Y+yQltvHZUwtlphjjsmrZg49PcqDIf8vFejiVS715qXmmbpBCUd/5tAx1Ek1V0Lsb4cqtHiNGjN8OHzKbk0sN13xH8EEI0/1gV9j8fS7pA8CSWikwWJb7IBrwA+Pqy/Y5pwvJ/dkRi4DZd28rY2CpucOxAnUpnRDxKKQfO/+lQLVkqvzYkMCAi1EbQ4/EUwE+U9HIjC3uZt"; </script> <script type="text/javascript" src="/ozviewer/ozexeviewer/ozexe.js?q=20200801"></script> <script type="text/javascript" src="/ozviewer/ozexeviewer/ve_utility_1.0.js?q=20200801"></script> <script type="text/javascript" src="/ozviewer/ozexeviewer/wsab_install_program_ws.js?q=20200801"></script> <script type="text/javascript" src="/ozviewer/ozexeviewer/wsab_install_program_ax.js?q=20200801"></script> <script type="text/javascript" src="/ozviewer/ozexeviewer/wsab_install_program_db.js?q=20200801"></script> <script type="text/javaScript"> //<![CDATA[ var result = {"sysdate":"2025/02/28 10:25:48","parameterVO":{"PSelt":"","age":"","allcheck":"","baseKeyword":"","callLoc":"","category":"TOTAL","chrgDeptCd":"","date":"","detailSearch":false,"downPage":"","duration":"","eduYn":"","endDate":"2025-02-28","exactlyKeyword":"","exclusiveKwd":"","fields":"","fileExt":"","fileNm":"","firstIndex":1,"hilightKwd":"","ignoreKeyword":"","imageRowNo":0,"insttCd":"","insttCdNm":"","insttSeCd":"","kwd":"","lastIndex":1,"maxCount":0,"mustKeyword":"","nearKeyword":"","nowDate":"","offSet":0,"orKeyword":"","originalQuery":"","othbcSeCd":"","pageIndex":1,"pageNum":1,"pageSize":0,"pageUnit":10,"preKwds":[],"prevUrl":"","previousQueries":[],"previousQuery":"","procInsttNm":"","reSrchFlag":false,"recKwd":"","recordCountPerPage":10,"rgstYmd":"","rowPage":10,"scenario":"","searchAll":"","searchCurrTab":"","searchInsttCd":"","searchInsttCdNm":"","searchInsttCdNmPop":"","searchMainYn":"","searchOptnSeCd":"","searchTxtMethod":"allword","siteNm":"","sort":"d","sortNm":"정확도","sortOption":"desc","spcFlag":false,"srchFd":"","startDate":"2025-01-30","subCategory":"","target":"","term":"","topictype":"00031","total":0,"totalPage":0,"typeValue":"","userId":"","veiwNum":"10","viewPage":1,"withinKeyword":"","writer":"","year":""}}; /* $(document).ready(function(){ // include page 초기 함수 호출 initFunction(); $('input:text').each(function(){ $(this).bind("keyup",function(e){ if(e.which == 13){ //1개이상 이면 처리안함. if($(".enterKeypress").length > 0 && $(".enterKeypress").length < 2 ){ $(".enterKeypress").eq(0).click(); } } }); }); }); //]]> */ /** * 로그아웃 */ function openLogout(){ //모바일 청구신청시 해당 함수가 동일하게 있어서 예외 처리 함. try{ if(location.host=="m.open.go.kr"){ var url = "/com/login/logout.do"; var param = new Object(); util_movePage(url, param); alert("로그아웃되었습니다"); }else{ var url = "/com/login/logout.ajax"; var param = new Object(); var callBackFn = "openLogout_callBack"; util_ajax(url, param,callBackFn); } }catch(e){ var url = "/com/login/logout.ajax"; var param = new Object(); var callBackFn = "openLogout_callBack"; util_ajax(url, param,callBackFn); } }; /** * 로그아웃 콜백 */ function openLogout_callBack(result){ var url = "/com/main/mainView.do"; var param = new Object(); util_movePage(url, param); }; //<![CDATA[ var sessionMaxInterval = ""; var checkMaxInterval = ""; //]]> </script> <!-- <script src="/common/js/jquery-3.4.1.min.js"></script> <script src="/common/js/jquery-ui.min.js"></script> --> <script src="/common/js/common.js?p=202502281025"></script> <link rel="stylesheet" type="text/css" href="/common/css/common.css?v=202502281025"> <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" /> <script type="text/javascript"> var requestURI = window.location.pathname; var param = {"val":"00031","paraNm":"topictype"}; var menuJson; /* [{menuLevelNo=1, upperMenuCd=0, menuCd=3, menuSortNo=3, menuNm=주제별정보, scrinLinkUrl=#}] --------------------------------------------------------------- [{menuLevelNo=1, menuNm=주제별정보, menuSortNo=3, upperMenuCd=0, menuCd=3, menuUseYn=Y, menuBarUseYn=Y, scrinLinkUrl=#}, {menuLevelNo=2, menuNm= 전체, priorupperMenuCd=0, menuSortNo=1, upperMenuCd=3, menuCd=95, menuUseYn=Y, menuBarUseYn=Y, scrinLinkUrl=/com/tema/temaSrhList.do, paramtrNm=topictype, paramtrValue=00000}, {menuLevelNo=2, menuNm= 일자리, priorupperMenuCd=0, menuSortNo=10, upperMenuCd=3, menuCd=104, menuUseYn=Y, menuBarUseYn=Y, scrinLinkUrl=/com/tema/temaSrhList.do, paramtrNm=topictype, paramtrValue=00025}, {menuLevelNo=2, menuNm= 주택, priorupperMenuCd=0, menuSortNo=11, upperMenuCd=3, menuCd=105, menuUseYn=Y, menuBarUseYn=Y, scrinLinkUrl=/com/tema/temaSrhList.do, paramtrNm=topictype, paramtrValue=00010}, {menuLevelNo=2, menuNm= 행정재정, priorupperMenuCd=0, menuSortNo=12, upperMenuCd=3, menuCd=106, menuUseYn=Y, menuBarUseYn=Y, scrinLinkUrl=/com/tema/temaSrhList.do, paramtrNm=topictype, paramtrValue=00035}, {menuLevelNo=2, menuNm= 환경, priorupperMenuCd=0, menuSortNo=13, upperMenuCd=3, menuCd=107, menuUseYn=Y, menuBarUseYn=Y, scrinLinkUrl=/com/tema/temaSrhList.do, paramtrNm=topictype, paramtrValue=00086}, {menuLevelNo=2, menuNm= 건강, priorupperMenuCd=0, menuSortNo=2, upperMenuCd=3, menuCd=96, menuUseYn=Y, menuBarUseYn=Y, scrinLinkUrl=/com/tema/temaSrhList.do, paramtrNm=topictype, paramtrValue=00026}, {menuLevelNo=2, menuNm= 경제, priorupperMenuCd=0, menuSortNo=3, upperMenuCd=3, menuCd=97, menuUseYn=Y, menuBarUseYn=Y, scrinLinkUrl=/com/tema/temaSrhList.do, paramtrNm=topictype, paramtrValue=00034}, {menuLevelNo=2, menuNm= 교육, priorupperMenuCd=0, menuSortNo=4, upperMenuCd=3, menuCd=98, menuUseYn=Y, menuBarUseYn=Y, scrinLinkUrl=/com/tema/temaSrhList.do, paramtrNm=topictype, paramtrValue=00012}, {menuLevelNo=2, menuNm= 규제개혁, priorupperMenuCd=0, menuSortNo=5, upperMenuCd=3, menuCd=99, menuUseYn=Y, menuBarUseYn=Y, scrinLinkUrl=/com/tema/temaSrhList.do, paramtrNm=topictype, paramtrValue=00027}, {menuLevelNo=2, menuNm= 복지, priorupperMenuCd=0, menuSortNo=6, upperMenuCd=3, menuCd=100, menuUseYn=Y, menuBarUseYn=Y, scrinLinkUrl=/com/tema/temaSrhList.do, paramtrNm=topictype, paramtrValue=00016}, {menuLevelNo=2, menuNm= 안전, priorupperMenuCd=0, menuSortNo=7, upperMenuCd=3, menuCd=101, menuUseYn=Y, menuBarUseYn=Y, scrinLinkUrl=/com/tema/temaSrhList.do, paramtrNm=topictype, paramtrValue=00014}, {menuLevelNo=2, menuNm= 여가, priorupperMenuCd=0, menuSortNo=8, upperMenuCd=3, menuCd=102, menuUseYn=Y, menuBarUseYn=Y, scrinLinkUrl=/com/tema/temaSrhList.do, paramtrNm=topictype, paramtrValue=00009}, {menuLevelNo=2, menuNm= 보육, priorupperMenuCd=0, menuSortNo=9, upperMenuCd=3, menuCd=103, menuUseYn=Y, menuBarUseYn=Y, scrinLinkUrl=/com/tema/temaSrhList.do, paramtrNm=topictype, paramtrValue=00031}] */ $(document).on('click', '.open',function() { $(this).parent().toggleClass('on'); }); $(document).on('load', function() { returnTitle = $("#title").html(); }); $(document).ready(function() { var returnTitle = ''; var navSpan = "<li><a href='/'>홈</a></li> "; $('.tit_area > .location').find('LI').remove(); $('.tit_area > .location').find('BUTTON').remove(); $('.tit_area > H2').html('보육'); // //0 //3 //3 //주제별정보 //------------------------- ///var toplnk = ('' == '#'? (''==''? '#': '') : '#' ); ///navSpan += "<li><a href='"+toplnk+"'>주제별정보</a></li> "; navSpan += "<li><a href='#' style='cursor: text;'>주제별정보</a></li> "; $('.tit_area > .location').prepend(navSpan); $('.tit_area > .location').append('<li id="menugroup">'); var menuNm=''; // if(requestURI.indexOf('/othicInfo/infoList/infoListDetl.do')>-1){ // //returnTitle = $("#title").html(); // if(returnTitle != 'undefined') { // menuNm=returnTitle.split('상세')[0].concat(' 상세'); // } // }else{ menuNm='보육'; // } $('#menugroup').append('<a href="#">'+menuNm+'</a>'); //$('#menugroup').append('<button type="button" class="open"><img src="../../images/common/btn_location_open.gif" alt="메뉴열기"/></button>'); $('#menugroup').append('<button type="button" class="open" tabindex="0"><img id="menuListBtn" src="../../images/common/btn_location_open.gif" alt="메뉴열기"/></button>'); $('#menugroup').append('<div class="abs_link generated"><ul id="groupmenulist"></ul></div>'); var menugroup=''; // //0 //3 //3 //주제별정보 //=========================== var menulnk = ('' == '#'? (''==''? '#': '') : '#' ); if('' == '') { menugroup +='<li><a href="'+menulnk+'">주제별정보</a></li>'; } else { menugroup +='<li><a href="'+menulnk+'?=">주제별정보</a></li>'; } // //3 //95 //1 // 전체 //=========================== var menulnk = ('' == '/com/tema/temaSrhList.do'? (''==''? '#': '') : '/com/tema/temaSrhList.do' ); if('topictype' == '') { menugroup +='<li><a href="'+menulnk+'"> 전체</a></li>'; } else { menugroup +='<li><a href="'+menulnk+'?topictype=00000"> 전체</a></li>'; } // //3 //104 //10 // 일자리 //=========================== var menulnk = ('' == '/com/tema/temaSrhList.do'? (''==''? '#': '') : '/com/tema/temaSrhList.do' ); if('topictype' == '') { menugroup +='<li><a href="'+menulnk+'"> 일자리</a></li>'; } else { menugroup +='<li><a href="'+menulnk+'?topictype=00025"> 일자리</a></li>'; } // //3 //105 //11 // 주택 //=========================== var menulnk = ('' == '/com/tema/temaSrhList.do'? (''==''? '#': '') : '/com/tema/temaSrhList.do' ); if('topictype' == '') { menugroup +='<li><a href="'+menulnk+'"> 주택</a></li>'; } else { menugroup +='<li><a href="'+menulnk+'?topictype=00010"> 주택</a></li>'; } // //3 //106 //12 // 행정재정 //=========================== var menulnk = ('' == '/com/tema/temaSrhList.do'? (''==''? '#': '') : '/com/tema/temaSrhList.do' ); if('topictype' == '') { menugroup +='<li><a href="'+menulnk+'"> 행정재정</a></li>'; } else { menugroup +='<li><a href="'+menulnk+'?topictype=00035"> 행정재정</a></li>'; } // //3 //107 //13 // 환경 //=========================== var menulnk = ('' == '/com/tema/temaSrhList.do'? (''==''? '#': '') : '/com/tema/temaSrhList.do' ); if('topictype' == '') { menugroup +='<li><a href="'+menulnk+'"> 환경</a></li>'; } else { menugroup +='<li><a href="'+menulnk+'?topictype=00086"> 환경</a></li>'; } // //3 //96 //2 // 건강 //=========================== var menulnk = ('' == '/com/tema/temaSrhList.do'? (''==''? '#': '') : '/com/tema/temaSrhList.do' ); if('topictype' == '') { menugroup +='<li><a href="'+menulnk+'"> 건강</a></li>'; } else { menugroup +='<li><a href="'+menulnk+'?topictype=00026"> 건강</a></li>'; } // //3 //97 //3 // 경제 //=========================== var menulnk = ('' == '/com/tema/temaSrhList.do'? (''==''? '#': '') : '/com/tema/temaSrhList.do' ); if('topictype' == '') { menugroup +='<li><a href="'+menulnk+'"> 경제</a></li>'; } else { menugroup +='<li><a href="'+menulnk+'?topictype=00034"> 경제</a></li>'; } // //3 //98 //4 // 교육 //=========================== var menulnk = ('' == '/com/tema/temaSrhList.do'? (''==''? '#': '') : '/com/tema/temaSrhList.do' ); if('topictype' == '') { menugroup +='<li><a href="'+menulnk+'"> 교육</a></li>'; } else { menugroup +='<li><a href="'+menulnk+'?topictype=00012"> 교육</a></li>'; } // //3 //99 //5 // 규제개혁 //=========================== var menulnk = ('' == '/com/tema/temaSrhList.do'? (''==''? '#': '') : '/com/tema/temaSrhList.do' ); if('topictype' == '') { menugroup +='<li><a href="'+menulnk+'"> 규제개혁</a></li>'; } else { menugroup +='<li><a href="'+menulnk+'?topictype=00027"> 규제개혁</a></li>'; } // //3 //100 //6 // 복지 //=========================== var menulnk = ('' == '/com/tema/temaSrhList.do'? (''==''? '#': '') : '/com/tema/temaSrhList.do' ); if('topictype' == '') { menugroup +='<li><a href="'+menulnk+'"> 복지</a></li>'; } else { menugroup +='<li><a href="'+menulnk+'?topictype=00016"> 복지</a></li>'; } // //3 //101 //7 // 안전 //=========================== var menulnk = ('' == '/com/tema/temaSrhList.do'? (''==''? '#': '') : '/com/tema/temaSrhList.do' ); if('topictype' == '') { menugroup +='<li><a href="'+menulnk+'"> 안전</a></li>'; } else { menugroup +='<li><a href="'+menulnk+'?topictype=00014"> 안전</a></li>'; } // //3 //102 //8 // 여가 //=========================== var menulnk = ('' == '/com/tema/temaSrhList.do'? (''==''? '#': '') : '/com/tema/temaSrhList.do' ); if('topictype' == '') { menugroup +='<li><a href="'+menulnk+'"> 여가</a></li>'; } else { menugroup +='<li><a href="'+menulnk+'?topictype=00009"> 여가</a></li>'; } // //3 //103 //9 // 보육 //=========================== var menulnk = ('' == '/com/tema/temaSrhList.do'? (''==''? '#': '') : '/com/tema/temaSrhList.do' ); if('topictype' == '') { menugroup +='<li><a href="'+menulnk+'"> 보육</a></li>'; } else { menugroup +='<li><a href="'+menulnk+'?topictype=00031"> 보육</a></li>'; } $('#groupmenulist').find('LI').remove(); $('#groupmenulist').append(menugroup); $(document).prop('title',menuNm); }); </script> <script> ;(function($){ $(function() { }); })(window.jQuery); </script> <title>정보공개포털</title> </head> <body> <div id="wrap"> <div id="skip"> <a href="#content">본문 바로가기</a> </div> <!-- HEADER START--> <div class="header"> <div class="head" title="/com/tema/temaSrhList.do"> <p class="eg_logo"><img src="/images/common/eg_logo.png" alt="전자정부"/>이 누리집은 대한민국 공식 전자정부 누리집입니다.</p> <h1><a href="/com/main/mainView.do?mainBgGubun=search" title="메인화면 이동"><img src="/images/common/logo.gif" alt="open.go.kr 정보공개"/></a></h1> <div class="search_box"> <div class="search_check"> <span class="m-input"> <input type="text" title="검색할 단어를 입력해주세요." name="kwdUnit" id="kwdUnit" placeholder="검색할 단어를 입력해주세요." onkeyup="javascript:if(event.keyCode == 13){goHeaderBtnUnitSrh();}"/> <input type="hidden" title="기관구분" name="insttSeCd" id="insttSeCd" value=""/> <input type="hidden" title="포함단어" name="mustKeyword" id="mustKeyword" value=""/> <input type="hidden" title="제외단어" name="ignoreKeyword" id="ignoreKeyword" value=""/> <input type="hidden" title="초중고포함여부" name="eduYn" id="eduYn" value=""/> <input type="hidden" title="검색필드" name="srchFd" id="srchFd" value=""/> <input type="hidden" title="검색시작일자" name="startDate" id="startDate" value=""/> <input type="hidden" title="검색종료일자" name="endDate" id="endDate" value=""/> <input type="hidden" title="기관코드" name="insttCd" id="insttCd" value=""/> <input type="hidden" title="상세검색" name="detailSearch" id="detailSearch" value=""/> <input type="hidden" title="기관명" name="insttCdNm" id="insttCdNm" value=""/> <input type="hidden" title="메인화면조회여부" name="searchMainYn" id="searchMainYn" value=""/> <input type="hidden" title="이전검색키워드" name="preKwds" id="preKwds" value=""/> <input type="hidden" title="결과내검색" name="reSrchFlag" id="reSrchFlag" value=""/> </span> <button type="button" id="btnUnitSrh" tabindex="0"><img src="/images/common/btn_head_search.gif" title="검색" alt="검색"/></button> </div> <div class="wrod_check"> <ul> <li><a href="#">자동완성 단어</a></li> <li><a href="#">자동완성 단어</a></li> <li><a href="#">자동완성 단어</a></li> </ul> <div class=""> <!-- <button type="button">자동완성 끄기</button> --> </div> </div> </div> <div class="btn_area" style="padding-right: 0px;"> <a href="/com/login/memberLogin.do" title="로그인화면 이동">로그인</a> <a href="/mberSvc/mber/persionIn.do" title="회원가입화면 이동">회원가입</a> <a href="/com/sitemap/sitemap.do" title="사이트맵 이동">사이트맵</a> </div> </div> </div> <script type="text/javascript" src="/js/searchedkwd.js"></script> <script type="text/javaScript" language="javascript" > //<![CDATA[ //통합검색 $("#btnUnitSrh").bind("click", function(){ //goBtnUnitSrh(); //상세검색이 아니므로 메인으로 조회 goHeaderBtnUnitSrh(); }); //상세검색 $(".btn_detail").bind("click", function(){ popupDetlFn(); }); // 상세검색이동 팝업 닫기 closePop =function(){ closeModal(event); $(".btn_detail").focus(); }; /* 메인과 상세팝업 구분을 위해서 추가함 */ goHeaderBtnUnitSrh = function(){ //메인에서 조회하는 것인지 상세 팝업인지 구분 $("input[name='searchMainYn']").val("Y"); $("input[name='detailSearch']").val("false"); goBtnUnitSrh(); } /* 통합결과화면 이동 */ goBtnUnitSrh = function() { var strUrl = "/com/search/uniSrhList.do"; var param = new Object(); $("#kwdUnit").val($("#kwdUnit").val().replace(/'/gi,"")); param.kwd = $("#kwdUnit").val(); param.insttSeCd = $("input[name='insttSeCd']").val(); param.insttCd = $("input[name='insttCd']").val(); param.mustKeyword = $("input[name='mustKeyword']").val(); param.ignoreKeyword = $("input[name='ignoreKeyword']").val(); param.eduYn = $("input[name='eduYn']").val(); param.srchFd = $("input[name='srchFd']").val(); param.startDate = $("input[name='startDate']").val(); param.endDate = $("input[name='endDate']").val(); //param.reSrchFlag = $("input[name='reSrchFlag']").val() ; param.reSrchFlag = $("input[name='reSrchFlag']").val() ; //상세조회여부 세팅 param.detailSearch = $("input[name='detailSearch']").val(); param.insttCdNm = $("input[name='insttCdNm']").val() ; param.searchMainYn = $("input[name='searchMainYn']").val(); if($("#kwdUnit").val().trim() != ""){ var kwdUnit = $("#kwdUnit").val().trim(); kwdUnit = kwdUnit.replace(/[<>()#&\/]/g, ""); if (kwdUnit == ""){ alert("검색어에 특수문자만 사용하는 건 불가능 합니다. 수정해주세요") return } callKwdCookie(kwdUnit); //내가찾은 검색어 //callKwdCookie($("#m_input").val().trim()); param.kwd = $("#kwdUnit").val().trim(); //결과내재검색을 위해서 세팅 var chkYn = "N"; var preKwds = new Array(); if($("input[name='reSrch']").is(":checked") == true) { //결과내재검색이면 기존 검색키워드에 키워드 추가 -> 서비스에서 키워드 같은것은 제외 var tempKwds = new Array(); tempKwds = $("input[name='preKwds']").val().split(","); if(tempKwds.length >= 0){ for (var i = 0; i < tempKwds.length; i++){ if(null != tempKwds[i] && "null" != tempKwds[i] && "" != tempKwds[i]){ preKwds.push(tempKwds[i]); if(param.kwd == tempKwds[i]) { chkYn = "Y" } } } } //같은 것이 없으면 입력 if(chkYn == "N"){ preKwds.push(param.kwd); } param.preKwds = JSON.stringify(preKwds); } else { //결과내재검색이 아니면 키워드만 세팅 preKwds.push(param.kwd); param.preKwds = JSON.stringify(preKwds); } util_movePage(strUrl, param); }else{ alert("검색어를 입력해 주세요."); $("#kwdUnit").focus(); return false; } }; /* 상세검색이동 */ popupDetlFn = function() { /* var _width ='1171'; var _height ='549'; var _left = (document.body.offsetWidth /2) - (500/2); var _top = (document.body.offsetHeight /2) - (800/2); window.open('/com/search/searchDetlPop.do','상세검색','status= no, width='+_width+',height='+_height+',top='+_top+',left='+_left); */ //결과내재검색의 키워드가 있으면 포함단어에 추가 var mustKeyword = ""; if($("input[name='reSrch]").is(":checked") == true){ if($("#kwdUnit").val().trim() != ""){ mustKeyword = $("#kwdUnit").val().trim(); } } var param = new Object(); param.mustKeyword = mustKeyword; param.reSrchFlag = result.parameterVO.reSrchFlag; param.eduYn = result.parameterVO.eduYn; param.srchFd = result.parameterVO.srchFd; param.insttSeCd = result.parameterVO.insttSeCd; param.insttCd = result.parameterVO.insttCd; param.insttCdNm = result.parameterVO.insttCdNm; param.mustKeyword = result.parameterVO.mustKeyword; param.ignoreKeyword = result.parameterVO.ignoreKeyword; param.startDate = result.parameterVO.startDate; param.endDate = result.parameterVO.endDate; //param.rqestSj = $.trim($("#rqestSj").val()); jQuery(this).JQmodal({ popUrl : "/com/search/searchDetlPop.do" ,type : "modal" ,width : "1171" ,height : "591" ,bgColor : "#fff" ,opacityBg : "0.1" ,param : param }); }; let isAutocompleteEnabled = localStorage.getItem('autocompleteEnabled') !== 'false'; let cache = {}; let cacheTimeOut = 5 * 60 * 1000; // 5분 $("#kwdUnit").autocomplete({ source : function(request, response){ let term = request.term; let cacheEntry = cache[term]; let isAutocompleteEnabledYn = isAutocompleteEnabled ? '자동완성기능 끄기' : '자동완성기능 켜기'; let offset = $('.m-input').eq(0).offset(), $ui = $(".ui-autocomplete"), buttonDiv = $('<li class="ui-menu-item-button last" role="menuitem" id="tempAdd" tabindex="-1">'+'<button class="ui-corner-all">'+ isAutocompleteEnabledYn +'</button>'+'</li> '); buttonDiv.data("ui-autocomplete-item", {label:'', value:''}); if(cacheEntry && (Date.now() - cacheEntry.timestamp < cacheTimeOut)){ try{ buttonDiv.find('button').on('click', function(){ if(!isAutocompleteEnabled){ $(this).text('자동완성기능 끄기'); isAutocompleteEnabled = true; }else{ $(this).text('자동완성기능 켜기'); isAutocompleteEnabled = false; } autoButton(); localStorage.setItem('autocompleteEnabled',isAutocompleteEnabled); }); response(cacheEntry.data); autoButton(); }catch(e){ autoButton(); } $ui.append(buttonDiv); }else{ $.ajax({ url: "/com/search/searchAtmcCmpltKwd.ajax", dataType: "json", data: {"maxCount":"5","term":$("input[name='kwdUnit']").val()}, //10건, 키워드명 조회 success: function(data){ try{ $ui.eq(0).css({'top' : (offset.top) + 'px', 'left' : offset.left + 'px'}); let resultArray = []; data.rtnList.result.forEach(function(item){ if(typeof item === 'object' && item !== null){ let key = Object.keys(item)[0]; let value = item[key]; try { let parsedValue = JSON.parse(value); resultArray = resultArray.concat(parsedValue); } catch (e){ console.log('resultArray:', resultArray); } } }); buttonDiv.find('button').on('click', function(){ if(!isAutocompleteEnabled){ $(this).text('자동완성기능 끄기'); isAutocompleteEnabled = true; }else{ $(this).text('자동완성기능 켜기'); isAutocompleteEnabled = false; } autoButton(); localStorage.setItem('autocompleteEnabled',isAutocompleteEnabled); }); // 캐시에 저장 cache[term] = {data: resultArray, timestamp: Date.now()}; response(resultArray); autoButton(); } catch (error){ autoButton(); } // 자동완성 html 생성 $ui.append(buttonDiv); }, error: function(xhr,status, error){ console.log("Ajax error", status, error); } }); } }, select: function(event, ui){ if(isAutocompleteEnabled){ $("#kwdUnit").val(ui.item.value); } goBtnUnitSrh(); return false; }, focus: function(){ //스크롤 이동시 조회여부 let menu = $(".ui-autocomplete"); let actItem = menu.find(".ui-state-focus"); if(actItem.length && actItem.attr("id") === "tempAdd"){ if(event.key === "ArrowUp" || event.key === "ArrowDown") { let nextItem = event.key === "ArrowUp" ? actItem.prevAll(":not(.last)").first() : actItem.nextAll(":not(.last)").first(); if(nextItem.length){ actItem.removeClass("ui-state-focus"); nextItem.addClass("ui-state-focus").trigger("mouseover"); } } } return false; }, open: function(event, ui){ }, disabled: false, //자동완성끄기여부 minLenth: 0, //최소글자수 autoFocus: true, //첫행에 포커스 delay: 500 //입력 딜레이시간 }); function autoButton(){ if(isAutocompleteEnabled){ $(".ui-menu-item").show(); $(".ui-menu-item-button").show(); }else{ $(".ui-menu-item").hide(); $(".ui-menu-item-button").show(); } } function cleanCache(){ let now = Date.now(); for(var key in cache){ if(cache.hasOwnProperty(key)){ if(now - cache[key].timestamp > cacheTimeOut){ delete cache[key]; } } } } setInterval(cleanCache, cacheTimeOut); //]]> </script> <!-- HEADER END --> <!-- LEFT START --> <div class="chatBotIconBox"> <div class="chatBot"> <button class="loadingImgSize"> <span id="chatbot_area">질의응답 서비스<img src="/images/chatbot/nCustomer/icon_chatbot.png" alt="chatbot"></span> </button> </div> </div> <div class="rnb"> <ul class="icon_list"> <li class="dep01 icon01"><a href="/com/login/memberLogin.do">로그인</a></li> <li class="dep01 icon03"> <a href="javascript:void(0)">주제별</a> <div class="dep02"> <strong>주제별정보</strong> <p> 각 기관에서 공개한 행정정보를 12가지의 관심분야로 분류해 제공합니다. </p> <ul class="sec_list"> <li class="icon01"><a href="/com/tema/temaSrhList.do?topictype=00026">건강</a></li> <li class="icon02"><a href="/com/tema/temaSrhList.do?topictype=00034">경제</a></li> <li class="icon03"><a href="/com/tema/temaSrhList.do?topictype=00012">교육</a></li> <li class="icon04"><a href="/com/tema/temaSrhList.do?topictype=00027">규제개혁</a></li> <li class="icon05"><a href="/com/tema/temaSrhList.do?topictype=00016">복지</a></li> <li class="icon06"><a href="/com/tema/temaSrhList.do?topictype=00014">안전</a></li> <li class="icon07"><a href="/com/tema/temaSrhList.do?topictype=00009">여가</a></li> <li class="icon08"><a href="/com/tema/temaSrhList.do?topictype=00031">보육</a></li> <li class="icon09"><a href="/com/tema/temaSrhList.do?topictype=00025">일자리</a></li> <li class="icon10"><a href="/com/tema/temaSrhList.do?topictype=00010">주택</a></li> <li class="icon11"><a href="/com/tema/temaSrhList.do?topictype=00035">행정재정</a></li> <li class="icon12"><a href="/com/tema/temaSrhList.do?topictype=00086">환경</a></li> </ul> </div> </li> <li class="dep01 icon04"> <a href="javascript:void(0)">공개정보</a> <div class="dep02"> <strong>공개정보</strong> <p> 기관에서 공개한 정보를 유형별로 구분해 원하시는 정보를 조금 더 빠르게 찾을 수 있도록 제공합니다. </p> <ul class="normal_list"> <!-- <li><a href="/othicInfo/infoList/infoList.do"><span>정보목록</span></a></li> <li><a href="/othicInfo/infoList/orginlInfoList.do"><span>원문정보</span></a></li> <li><a href="/othicInfo/infoList/mnstrSanDocList.do"><span>기관장결재문서</span></a></li> --> <li><a href="javascript:void(0)" onclick="movePageNHistoryPush('/othicInfo/infoList/infoList.do');"><span>정보목록</span></a></li> <li><a href="javascript:void(0)" onclick="movePageNHistoryPush('/othicInfo/infoList/orginlInfoList.do');"><span>원문정보</span></a></li> <li><a href="javascript:void(0)" onclick="movePageNHistoryPush('/othicInfo/infoList/mnstrSanDocList.do');"><span>기관장결재문서</span></a></li> </ul> <ul class="normal_list"> <!-- <li><a href="/othicInfo/prevOpenInfo/othinfBefInfList.do"><span>사전정보</span></a> --> <li><a href="javascript:void(0)" onclick="movePageNHistoryPush('/othicInfo/prevOpenInfo/othinfBefInfList.do');"><span>사전정보</span></a> <ul> <li><a href="/mrfnIntrst/jobPrtnCt/jobPrtnCt.do"><span>업무추진비</span></a></li> <li class="link"><a href="http://btis.mpm.go.kr/cmm/main/mainPage.do?mois=170726" target="_blank"><span>국외출장 여비</span><img src="/images/common/bg_rnb_link.png" alt="새창"></a></li> <li class="link"><a href="http://lofin.mois.go.kr/websquare/websquare.jsp?w2xPath=/ui/portal/gongsi/item/sd002_tg002.xml&year=2018&ix_code=A120" target="_blank"><span>자치단체복지비</span><img src="/images/common/bg_rnb_link.png" alt="새창"></a></li> </ul> </li> <li><a href="/othicInfo/plcyChgrRealNm/polRnInsttList.do"><span>정책실명제</span></a></li> <li><a href="/othicInfo/mnstrSanDoc/mnstrSanDocList.do"><span>주요인사 일정공개</span></a></li> <!-- <li><a href="/othicInfo/openArgee/othWrtList.do"><span>대국민공개정보</span></a></li> --> </ul> <ul class="normal_list"> <li><a href="/othicInfo/infoList/bestInfo.do"><span>BEST정보모아보기</span></a></li> </ul> </div> </li> <li class="dep01 icon05 "> <a href="javascript:void(0)">청구/소통</a> <div class="dep02"> <strong>청구/소통</strong> <p> 정보공개 청구, 신청내역 조회, 공지사항 등 정보공개시스템 온라인 서비스를 제공합니다. </p> <ul class="normal_list"> <li><a href="/rqestMlrd/notice/noticeList.do"><span>공지사항</span></a></li> <li><a href="/rqestMlrd/faq/reqstMlrdFaqList.do"><span>자주묻는질문</span></a></li> <li><a href="/rqestMlrd/rqestReg/rqestRegWritingForm.do"><span>정보공개청구</span></a></li> <li><a href="/rqestMlrd/fobjct/fobjectList.do"><span>이의신청</span></a></li> <li><a href="/rqestMlrd/othRecept/reastOtherFobjectList.do"><span>제3자의견·이의</span></a></li> <li><a href="/rqestMlrd/rqestDtls/reqstDocList.do"><span>신청내역조회</span></a> <ul> <li><a href="/rqestMlrd/rqestDtls/reqstDocList.do"><span>정보공개청구내역</span></a></li> <li><a href="/rqestMlrd/rqestDtls/reastFobjectList.do"><span>이의신청내역</span></a></li> </ul> </li> <li><a href="/rqestMlrd/sugestQestn/sugestQestnList.do"><span>문의·신고</span></a></li> </ul> </div> </li> <li class="dep01 icon07"> <a href="javascript:void(0)" title="정보공개 소개를 위한 메뉴">정보공개란?</a> <div class="dep02"> <strong>정보공개란?</strong> <p> 국민의 알권리를 보장하고 국정운영에 대한 참여를 유도하기 위한 제도입니다. </p> <ul class="normal_list"> <li><a href="/infOthbc/infOthbc/infOthbcCont.do"><span>정보공개란?</span></a> <ul> <li><a href="/infOthbc/infOthbc/infOthbc.do"><span>정보공개제도</span></a></li> <li><a href="/infOthbc/infOthbc/infOthbcFee.do"><span>수수료안내</span></a></li> <li><a href="/infOthbc/infOthbc/infOthbcLaword.do"><span>법령·서식</span></a></li> <li><a href="/infOthbc/infOthbc/infOthbcInfofc.do"><span>접수처</span></a></li> </ul> </li> <li><a href="/infOthbc/numberInfoOthbc/orgDwld.do"><span>숫자로보는 정보공개</span></a> <ul> <li><a href="/infOthbc/numberInfoOthbc/orgDwld.do"><span>원문다운로드수</span></a></li> <li><a href="/infOthbc/numberInfoOthbc/orgOthbcRate.do"><span>원문공개율</span></a></li> <li><a href="/infOthbc/numberInfoOthbc/befInf.do"><span>사전정보수</span></a></li> <li><a href="/infOthbc/numberInfoOthbc/befInfUseSttus.do"><span>사전정보이용현황</span></a></li> <li><a href="/infOthbc/numberInfoOthbc/ioBigdata.do"><span>정보공개빅데이터</span></a></li> </ul> </li> <li><a href="/infOthbc/prDta/prDtaBiInfo.do"><span>홍보자료</span></a> <ul> <li><a href="/infOthbc/prDta/prDtaBiInfo.do"><span>BI안내</span></a></li> <li><a href="/infOthbc/prDta/prDtaImage.do"><span>홍보영상</span></a></li> <!-- <li><a href="/infOthbc/prDta/prDtaInfrcn.do"><span>홍보캐릭터소개</span></a></li> <li><a href="/infOthbc/prDta/prDtaBrochWebton.do"><span>웹툰&브로슈어</span></a></li> <li><a href="/infOthbc/prDta/prDtaPssrpList.do"><span>공모전 입상작</span></a></li> --> </ul> </li> <li><a href="/infOthbc/dta/dtaDta.do"><span>자료실</span></a></li> </ul> </div> </li> <li class="dep01 icon08"> <a href="javascript:void(0)" onclick="mainIfrmpPopOpen();" title="새창열림" >정보공개체험</a> </li> </ul> <ul class="text_list"> <li><a href="/mberSvc/mber/persionIn.do">회원가입</a></li> <li><a href="/com/sitemap/sitemap.do">사이트맵</a></li> <!-- <li class="top"><a href="#">맨위로</a></li>--> <li class="top"><a href="javascript:void(0);" onclick="moveToTop();">맨위로</a></li> <li class="bottom"><button onclick="moveToBottom();" tabindex="0">맨아래로<span></span></button></li> </ul> </div> <script type="text/javaScript"> let nowUrl = window.location.pathname, $icon_list = $('.icon_list a'); function movePageNHistoryPush(url) { var param = new Object(); util_movePage(url, param); } // 현재 페이지의 left 메뉴가 어디있는지 활성화한다. function onActiveMenu(){ // 현재 URL의 탭 활성화 $.each($icon_list, function(index, obj){ if ($(obj).attr('href').indexOf(nowUrl) > -1){ $(obj).closest('.dep01').addClass('active'); return false; } }); } function moveToBottom(){ window.scrollTo(0,document.querySelector('body').scrollHeight); $('#mark_img').find('a').focus(); } function moveToTop(){ window.scrollTo(0,0); $('a').eq(0).focus(); } /** * 정보공개체험 */ function mainIfrmpPopOpen() { var url = "/com/main/MainIfrmpPop.do"; var option = new Object(); option.width = "850"; // 넓이1200 option.height = "950"; // 높이700 //option.type = "modal"; // 모달 팝업일 경우 modal, 윈도우팝업일경우 window option.type = "window"; // 모달 팝업일 경우 modal, 윈도우팝업일경우 window var param = new Object(); util_modalPage(url, option, param); } // 현재 URL의 탭 활성화 onActiveMenu(); </script> <!-- LEFT END --> <div id="content" class="content"> <!-- CONTENT START --> <div class="tit_area"> <h2>주제별정보</h2> <ul class="location"> <li><a href="#">홈</a></li> <li><button type="button" class="open"><img src="../../images/common/btn_location_open.gif" alt="메뉴열기"/></button></li> </ul> </div> <div class="tableTab"> <table > <colgroup> <col style="width:16%;"/> <col style="width:14%;"/> <col style="width:14%;"/> <col style="width:14%;"/> <col style="width:14%;"/> <col style="width:14%;"/> <col style="width:14%;"/> </colgroup> <tbody> <tr> <td rowspan="2"><a href="javascript:void(0)" onclick="searchTyinfo('00000');" class="tyinfo" id="00000">전체</a></td> <td><a href="javascript:void(0)" onclick="searchTyinfo('00026');" class="tyinfo on" id="00026">건강</a></td> <td><a href="javascript:void(0)" onclick="searchTyinfo('00034');" class="tyinfo" id="00034">경제</a></td> <td><a href="javascript:void(0)" onclick="searchTyinfo('00012');" class="tyinfo" id="00012">교육</a></td> <td><a href="javascript:void(0)" onclick="searchTyinfo('00027');" class="tyinfo" id="00027">규제개혁</a></td> <td><a href="javascript:void(0)" onclick="searchTyinfo('00016');" class="tyinfo" id="00016">복지</a></td> <td><a href="javascript:void(0)" onclick="searchTyinfo('00014');" class="tyinfo" id="00014">안전</a></td> </tr> <tr> <td><a href="javascript:void(0)" onclick="searchTyinfo('00009');" class="tyinfo" id="00009">여가</a></td> <td><a href="javascript:void(0)" onclick="searchTyinfo('00031');" class="tyinfo" id="00031">보육</a></td> <td><a href="javascript:void(0)" onclick="searchTyinfo('00025');" class="tyinfo" id="00025">일자리</a></td> <td><a href="javascript:void(0)" onclick="searchTyinfo('00010');" class="tyinfo" id="00010">주택</a></td> <td><a href="javascript:void(0)" onclick="searchTyinfo('00035');" class="tyinfo" id="00035">행정재정</a></td> <td><a href="javascript:void(0)" onclick="searchTyinfo('00086');" class="tyinfo" id="00086">환경</a></td> </tr> </tbody> </table> </div> <div class="tableSt01" id="cmmSearch"> <table > <caption>정보목록 검색 조건표로 검색어, 기관선택, 기간검색으로 구성됨</caption> <colgroup> <col style="width:85px"/> <col style="width:auto"/> </colgroup> <tbody> <tr> <th scope="row"><strong><label for="kwd">검색어</label></strong></th> <td> <div class="search_box"> <span class="input_area label_tx"> <input type="text" title="검색어 입력 영역" name="kwd" id="kwd" placeholder="검색할 단어를 입력해주세요." onkeyup="javascript:if(event.keyCode == 13){searchCallFn();}"/> <span class="input_tx" id="eduDis"> <input type="checkbox" title="초중고포함" name="eduYn" id="chk00" > <label for="chk00">초·중·고등학교포함</label> </span> </span> </div> </td> </tr> <tr> <!-- <th scope="row"><strong><label for="searchInsttCdNm">기관선택</label></strong></th> --> <th scope="row"><strong><label>기관선택</label></strong></th> <td> <div class="search_box"> <span class="input_area wi210"> <input type="hidden" name="searchInsttCdPop" id="searchInsttCdPop" title="처리기관" /> <input type="text" name="searchInsttCdNmPop" id="searchInsttCdNmPop" title="처리기관" readonly="readonly" onkeyup="javascript:if(event.keyCode == 13){popupFn();}" tabindex="0"/> </span> <button type="button" class="btn_ser_com" id="btnSerCom" title="새창열림" >기관찾기</button> <button type="button" class="btn_reset" id="btnResetCom">초기화</button> <span class="check"> <input type="checkbox" title="중앙행정기관" name="insttSeCd" id="chk01" value="C" > <label for="chk01" >중앙행정기관</label> </span> <span class="check"> <input type="checkbox" title="광역자치단체" name="insttSeCd" id="chk02" value="W" > <label for="chk02" >광역자치단체</label> </span> <span class="check"> <input type="checkbox" title="기초자치단체" name="insttSeCd" id="chk03" value="B" > <label for="chk03" >기초자치단체</label> </span> <span class="check"> <input type="checkbox" title="교육청" name="insttSeCd" id="chk04" value="E" > <label for="chk04" >교육청</label> </span> <span class="check"> <input type="checkbox" title="공공기관" name="insttSeCd" id="chk05" value="P" > <label for="chk05" >공공기관</label> </span> </div> </td> </tr> <tr> <th scope="row"><strong>기간검색</strong></th> <td> <div class=""> <span class="input_days"> <select class="in_select" id="pSelt" title="기간설정" tabindex="0"> <option value="">기간설정</option> <option value="oneWeek">일주일</option> <option value="oneMon" >1개월</option> <option value="threeMon">3개월</option> <option value="sixMon">6개월</option> </select> <span class="input_area mal10"><input type="text" name="startDate" class="date" title="검색 시작일 선택" readonly="readonly"/></span> - <span class="input_area"><input type="text" name="endDate" class="date" title="검색 종료일 선택" readonly="readonly"/></span> </span> <button type="button" class="btn_search" id="searchBtn">검색</button> </div> </td> </tr> </tbody> </table> <p class="point_gr srch_btm" id = "textlayer"> <span class="fr" id="past" style="display:none;"> <a href="javascript:void(0)" class="btn_susu color" id="goInfPastList">과거정보목록</a> </span> </p> <p class="point_gr srch_btm" id="textlayer2"></p> </div> <script> var searchCurrTab = "1"; // 파라미터의 탭 var currViewPage = 1; // viewPage $(document).ready(function(){ var param = Object(); // var pselted = result.parameterVO.PSelt; $("#pSelt").val(result.parameterVO.PSelt); if ($("#pSelt")[0].value == ""){ $("input[name = 'startDate']").prop("disabled", false) $("input[name = 'endDate']").prop("disabled", false) $("#textlayer2").text("· 설정 한 기간들의 자료입니다. 원활한 검색서비스를 위해 검색기간은 1년으로 제한합니다."); } else if ($("#pSelt")[0].value == "oneWeek"){ $("input[name = 'startDate']").prop("disabled", true) $("input[name = 'endDate']").prop("disabled", true) $("#textlayer2").text("· 최근 일주일 간 자료입니다. 원활한 검색서비스를 위해 검색기간은 1년으로 제한합니다."); } else if ($("#pSelt")[0].value == "oneMon"){ $("input[name = 'startDate']").prop("disabled", true) $("input[name = 'endDate']").prop("disabled", true) $("#textlayer2").text("· 최근 한 달 간 자료입니다. 원활한 검색서비스를 위해 검색기간은 1년으로 제한합니다."); } else if($("#pSelt")[0].value == "threeMon"){ $("input[name = 'startDate']").prop("disabled", true) $("input[name = 'endDate']").prop("disabled", true) $("#textlayer2").text("· 최근 3개월 간 자료입니다. 원활한 검색서비스를 위해 검색기간은 1년으로 제한합니다."); } else if($("#pSelt")[0].value == "sixMon"){ $("input[name = 'startDate']").prop("disabled", true) $("input[name = 'endDate']").prop("disabled", true) $("#textlayer2").text("· 최근 6개월 간 자료입니다. 원활한 검색서비스를 위해 검색기간은 1년으로 제한합니다."); } $("#pSelt").bind("change", function(){ if ($("#pSelt")[0].value == ""){ $("input[name = 'startDate']").prop("disabled", false) $("input[name = 'endDate']").prop("disabled", false) $("#textlayer2").text("· 설정 한 기간들의 자료입니다. 원활한 검색서비스를 위해 검색기간은 1년으로 제한합니다."); } else if ($("#pSelt")[0].value == "oneWeek"){ $("input[name = 'startDate']").prop("disabled", true) $("input[name = 'endDate']").prop("disabled", true) $("#textlayer2").text("· 최근 일주일 간 자료입니다. 원활한 검색서비스를 위해 검색기간은 1년으로 제한합니다."); } else if ($("#pSelt")[0].value == "oneMon"){ $("input[name = 'startDate']").prop("disabled", true) $("input[name = 'endDate']").prop("disabled", true) $("#textlayer2").text("· 최근 한 달 간 자료입니다. 원활한 검색서비스를 위해 검색기간은 1년으로 제한합니다."); } else if($("#pSelt")[0].value == "threeMon"){ $("input[name = 'startDate']").prop("disabled", true) $("input[name = 'endDate']").prop("disabled", true) $("#textlayer2").text("· 최근 3개월 간 자료입니다. 원활한 검색서비스를 위해 검색기간은 1년으로 제한합니다."); } else if($("#pSelt")[0].value == "sixMon"){ $("input[name = 'startDate']").prop("disabled", true) $("input[name = 'endDate']").prop("disabled", true) $("#textlayer2").text("· 최근 6개월 간 자료입니다. 원활한 검색서비스를 위해 검색기간은 1년으로 제한합니다."); } }); }); //검색 창 초기화 function setInitSearchForm() { $("#kwd").val(''); $('#searchInsttCdNmPop').val(''); $('#searchInsttCdPop').val(''); $("input[name=insttSeCd][id=chk01]").attr("checked",false); $("input[name=insttSeCd][id=chk02]").attr("checked",false); $("input[name=insttSeCd][id=chk03]").attr("checked",false); $("input[name=insttSeCd][id=chk04]").attr("checked",false); $("input[name=insttSeCd][id=chk05]").attr("checked",false); $("input[name='eduYn'][id='chk00']").prop("checked", false); rqestFn("mon"); } // 뒤로/앞으로 가기시 기존 검색값 로드 function loadHisotrySearchParam(historyParam) { setInitSearchForm(); let eduYn = (historyParam.eduYn == "Y") ? true : false; let insttSeCd = historyParam.insttSeCd; $("input[name='eduYn'][id='chk00']").prop("checked", eduYn); $("input[name='searchInsttCdPop'][id='searchInsttCdPop']").val(historyParam.insttCd); $("input[name='searchInsttCdNmPop'][id='searchInsttCdNmPop']").val(historyParam.insttCdNm); var tempStr = historyParam.startDate; //원문정보에서 상세조회시 파라미터일자에서 대시를 제거함 if(tempStr.indexOf("-") > 0){ $("input[name='startDate'][id^=dp]").val(historyParam.startDate); $("input[name='endDate'][id^=dp]").val(historyParam.endDate); } else { $("input[name='startDate'][id^=dp]").val(util_datestr(historyParam.startDate,"-")); $("input[name='endDate'][id^=dp]").val(util_datestr(historyParam.endDate,"-")); } if(historyParam.sort=="d") { historyParam.sort=null; } if(historyParam.searchCurrTab=='2'){ searchCurrTab = historyParam.searchCurrTab; $("#v2").val(historyParam.rowPage ? historyParam.rowPage : "10"); $("#s2").val(historyParam.sort ? historyParam.sort : "i"); } else { searchCurrTab = "1"; $("#v1").val(historyParam.rowPage ? historyParam.rowPage : "10"); $("#s1").val(historyParam.sort ? historyParam.sort : "s"); } changeTabCss(searchCurrTab); if(historyParam.pSelt) { $("#pSelt").val(result.parameterVO.PSelt); } else { $('#pSelt').val('').prop('selected',true); } if( insttSeCd != null && insttSeCd != ''){ let insttSeCdArr = insttSeCd.split(','); $.each(insttSeCdArr , function(index , data){ $("input[name=insttSeCd][value="+data+"]").attr("checked", true); }); } $(".tyinfo").removeClass('on'); if(historyParam.topictype == "") { historyParam.topictype = "00000"; } $("#"+historyParam.topictype).addClass('on'); $("input[name='topictype']").val(historyParam.topictype); if(historyParam.viewPage != null && historyParam.viewPage > 1){ currViewPage = historyParam.viewPage; } else { currViewPage=1; } $("#kwd").val(historyParam.kwd); } rqestFn = function(id) { if(id == "threeMon") { $('#pSelt').val('threeMon').prop('selected',true) $("input[name='startDate']").val(initCalDate(-90)); $("input[name='endDate']").val(initCalDate(0)); } else if(id == "oneWeek") { $('#pSelt').val('oneWeek').prop('selected',true) $("input[name='startDate']").val(initCalDate(-7)); $("input[name='endDate']").val(initCalDate(0)); } else if(id == "oneMon") { $('#pSelt').val('oneMon').prop('selected',true) $("input[name='startDate']").val(initCalDate(-30)); $("input[name='endDate']").val(initCalDate(0)); } else if(id == "sixMon") { $('#pSelt').val('sixMon').prop('selected',true) $("input[name='startDate']").val(initCalDate(-180)); $("input[name='endDate']").val(initCalDate(0)); } else if(id == "mon") { $('#pSelt').val('mon').prop('selected',true) $("input[name='startDate']").val(initCalDate(-30)); $("input[name='endDate']").val(initCalDate(0)); } else { $('#pSelt').val('').prop('selected',true) $("input[name='startDate']").val(""); $("input[name='endDate']").val(""); } }; </script> <div class="result_area mat60"> <div class="info_box tabBtn"> <dl> <dt><a href="javascript:void(0)" class="on orgInfoClass tabClass">원문정보(<span id="orgInfoTot">0</span>)건</a></dt> <dd class="data" id="orgInfoData"> <div class="tableTop"> <div class="right"> <span class="selbox"> <select name="veiwNum" class="veiwNum" id="v1" title="목록보기" tabindex="0"> <option value="10">10개씩보기</option> <option value="20">20개씩보기</option> <option value="30">30개씩보기</option> <option value="50">50개씩보기</option> </select> <a href="javascript:void(0)" class="btn_susu" onclick="searchOrgInfoCallFn();">조회</a> <select class="mal10 sort" name="sort" id="s1" title="정렬" tabindex="0"> <option value="s">날짜순</option> <option value="j">제목순</option> </select> <a href="javascript:void(0)" class="btn_susu" onclick="searchOrgInfoCallFn();">조회</a> </span> </div> </div> <div class="info_list" id="orgInfo"> <ul> </ul> </div> <div class="paging" id="orgInfoPaging"> </div> <div class="btn_area_center"> <span class="right"> <a href="javascript:excelDownload('orginlInfo');" class="btn_type05 down">다운로드</a> </span> </div> </dd> </dl> <dl> <dt><a href="javascript:void(0)" class="othInfoClass tabClass">사전정보(<span id="othInfoTot">0</span>)건</a></dt> <dd class="data hide" id="othInfoData"> <div class="tableTop"> <div class="right"> <span class="selbox"> <select name="veiwNum" class="veiwNum" id="v2" title="목록보기" > <option value="10">10개씩보기</option> <option value="20">20개씩보기</option> <option value="30">30개씩보기</option> <option value="50">50개씩보기</option> </select> <a href="javascript:void(0)" class="btn_susu" onclick="searchOthInfoCallFn();">조회</a> <select class="mal10 sort" name="sort" id="s2" title="정렬" > <option value="i">기관순</option> <option value="j">제목순</option> </select> <a href="javascript:void(0)" class="btn_susu" onclick="searchOthInfoCallFn();">조회</a> </span> </div> </div> <div class="info_list" id="othInfo"> <ul> </ul> </div> <div class="paging" id="othInfoPaging"> </div> <div class="btn_area_center"> <span class="right"> <a href="javascript:excelDownload('othInfo');" class="btn_type05 down">다운로드</a> </span> </div> </dd> </dl> </div> </div> <input type="hidden" name="topictype" id="topictype" title="주제" /> <script type="text/javaScript" src="/js/pagingUtil2.js?q=20250220"></script> <script type="text/javaScript" language="javascript" > //<![CDATA[ var searchAYn = ""; var searchBYn = ""; //var checkAllSearchYn = "N"; var isLoadPage = true; //최초 접속인지 여부. ajax history관리시 활용 var globalParam = null; $(document).ready(function() { if($(".tableSt01").hasClass("mat40") == false) { $(".tableSt01").addClass("mat40"); } $(".tyinfo").removeClass('on'); if(result.parameterVO.topictype == "") { result.parameterVO.topictype = "00000"; } $("#"+result.parameterVO.topictype).addClass('on'); $("input[name='topictype']").val(result.parameterVO.topictype); initEvent(); //이벤트 세팅 globalParam=result.parameterVO; setParams(globalParam); if($("input[name='startDate'][id^=dp]").val() == "" && result.parameterVO.searchAll != "Y" && result.parameterVO.searchMainYn != "Y" ){ rqestFn("oneMon"); } if(result.parameterVO.searchCurrTab == '' || result.parameterVO.searchCurrTab=='1'){ $("#v1").val(result.parameterVO.rowPage); if(result.parameterVO.sort != null && result.parameterVO.sort != ''){ //기본세팅이 d여서 별도 처리 if(result.parameterVO.sort == 'j'){ $("#s1").val('j'); } else { $("#s1").val('s'); } } }else if(result.parameterVO.searchCurrTab=='2'){ $("#v2").val(result.parameterVO.rowPage); if(result.parameterVO.sort != null && result.parameterVO.sort != ''){ //기본세팅이 d여서 별도 처리 if(result.parameterVO.sort == 'j'){ $("#s2").val('j'); } else { $("#s2").val('i'); } } } searchAYn = ""; searchBYn = ""; searchFn(false); }); /******************************************************* * 이벤트 초기화 ********************************************************/ function initEvent() { //기관찾기 초기화 $(".btn_reset").bind("click", function() { $("input[name='searchInsttCdNmPop']").val(""); $("input[name='searchInsttCdPop']").val(""); }); //기관찾기 $("#searchInsttCdNmPop,.btn_ser_com").bind("click", function() { popupFn(); }); //원문정보검색 $(".orgInfoClass").bind("click", function() { if( !isValidData() ) { return; } currViewPage = 1; changeTabCss('1'); searchCurrTab = 1; setTemaPageHistoy(); searchOrgInfoFn($("#topictype").val()); }); //사전정보검색 $(".othInfoClass").bind("click", function() { if( !isValidData() ) { return; } currViewPage = 1; changeTabCss('2'); searchCurrTab = 2; setTemaPageHistoy(); searchOthInfoFn($("#topictype").val()); }); //검색 $(".btn_search").bind("click", function() { currViewPage = 1; searchFn(true); }); // 검색기간 버튼 $("#pSelt").bind("change", function(){ rqestFn(this.value); }); }; /******************************************************* * 함수 ********************************************************/ function searchTyinfo(topictype) { var strUrl = "/com/tema/temaSrhList.do?topictype=" + topictype; var param = new Object(); // 검색 조건 유지 var insttSeCdArr =""; $("input[name='insttSeCd']:checked").each(function(idx, item) { if(idx == 0) { insttSeCdArr += $(this).val(); } else { insttSeCdArr += ","+$(this).val(); } }); param.topictype = $('.tyinfo.on').attr('id'); param.kwd = $("input[name='kwd']").val().trim(); param.insttSeCd = insttSeCdArr; param.eduYn = $("input[name='eduYn'][id='chk00']").is(":checked") == true ? "Y" : "N"; param.startDate = $("input[name='startDate'][id^=dp]").val().replace(/-/g, ''); param.endDate = $("input[name='endDate'][id^=dp]").val().replace(/-/g, ''); //id에 Pop 추가 param.insttCdNm = $("input[name='searchInsttCdNmPop'][id='searchInsttCdNmPop']").val(); param.insttCd = $("input[name='searchInsttCdPop'][id='searchInsttCdPop']").val(); param.searchMainYn = result.parameterVO.searchMainYn; param.searchCurrTab = '1'; param.viewPage = '1'; param.rowPage = $("#v1").val(); param.sort = $("#s1").val(); // 검색 조건 유지 util_movePage(strUrl, param); }; /* 원문정보상세 이동 */ goDetail = function(no,dt,cd, noIdx) { var strUrl = "/othicInfo/infoList/infoListDetl.do"; var param = new Object(); param.prdnNstRgstNo = no; param.prdnDt = dt; param.nstSeCd = cd; param.title = "원문정보"; // 검색 조건 유지 var insttSeCdArr =""; $("input[name='insttSeCd']:checked").each(function(idx, item){ if(idx == 0){ insttSeCdArr += $(this).val(); }else{ insttSeCdArr += ","+$(this).val(); } }); param.prevUrl = "/com/tema/temaSrhList.do?topictype=" + $('.tyinfo.on').attr('id'); //param.topictype = $('.tyinfo.on').attr('id') != "00000" ? $('.tyinfo.on').attr('id') : ""; param.topictype = $('.tyinfo.on').attr('id'); param.kwd = $("input[name='kwd']").val().trim(); param.insttSeCd = insttSeCdArr; param.eduYn = $("input[name='eduYn'][id='chk00']").is(":checked") == true ? "Y" : "N"; param.startDate = $("input[name='startDate'][id^=dp]").val().replace(/-/g, ''); param.endDate = $("input[name='endDate'][id^=dp]").val().replace(/-/g, ''); //id에 Pop 추가 param.insttCdNm = $("input[name='searchInsttCdNmPop'][id='searchInsttCdNmPop']").val(); param.insttCd = $("input[name='searchInsttCdPop'][id='searchInsttCdPop']").val(); param.searchMainYn = result.parameterVO.searchMainYn; param.searchCurrTab = "1"; param.viewPage = currViewPage; param.rowPage = $("#v1").val(); param.sort = $("#s1").val(); param.offSet = noIdx; param.site = "nflst"; // 검색 조건 유지 util_movePage(strUrl, param); }; /* 사전정보상세 이동 */ goDetail2 = function(no, noIdx) { var strUrl = "/othicInfo/infoList/othinfBefInfDetl.do"; var param = new Object(); param.bfpbInfoNo = no; // 검색 조건 유지 var insttSeCdArr =""; $("input[name='insttSeCd']:checked").each(function(idx, item){ if(idx == 0){ insttSeCdArr += $(this).val(); }else{ insttSeCdArr += ","+$(this).val(); } }); param.prevUrl = "/com/tema/temaSrhList.do?topictype=" + $('.tyinfo.on').attr('id'); //param.topictype = $('.tyinfo.on').attr('id') != "00000" ? $('.tyinfo.on').attr('id') : ""; param.topictype = $('.tyinfo.on').attr('id'); param.kwd = $("input[name='kwd']").val().trim(); param.insttSeCd = insttSeCdArr; param.eduYn = $("input[name='eduYn'][id='chk00']").is(":checked") == true ? "Y" : "N"; param.startDate = $("input[name='startDate'][id^=dp]").val(); param.endDate = $("input[name='endDate'][id^=dp]").val(); //id에 Pop 추가 param.insttCdNm = $("input[name='searchInsttCdNmPop'][id='searchInsttCdNmPop']").val(); param.insttCd = $("input[name='searchInsttCdPop'][id='searchInsttCdPop']").val(); param.searchMainYn = result.parameterVO.searchMainYn; param.searchCurrTab = "2"; param.viewPage = currViewPage; param.rowPage = $("#v2").val(); param.sort = $("#s2").val(); param.offSet = noIdx; param.site = "nflst"; // 검색 조건 유지 util_movePage(strUrl, param); }; /* 검색 */ searchOrgInfoFn = function(topictype){ var url = "/com/tema/searchTopkwd.ajax"; var param = new Object(); var insttSeCdArr =""; $("input[name='insttSeCd']:checked").each(function(idx, item){ if(idx == 0){ insttSeCdArr += $(this).val(); }else{ insttSeCdArr += ","+$(this).val(); } }); param.topictype = $('.tyinfo.on').attr('id'); param.site = "nflst"; param.kwd = $("input[name='kwd']").val().trim(); param.insttSeCd = insttSeCdArr; param.eduYn = $("input[name='eduYn'][id='chk00']").is(":checked") == true ? "Y" : "N"; param.startDate = $("input[name='startDate'][id^=dp]").val().replace(/-/g, ''); param.endDate = $("input[name='endDate'][id^=dp]").val().replace(/-/g, ''); //id에 Pop 추가 param.insttCdNm = $("input[name='searchInsttCdNmPop'][id='searchInsttCdNmPop']").val(); param.insttCd = $("input[name='searchInsttCdPop'][id='searchInsttCdPop']").val(); param.searchMainYn = result.parameterVO.searchMainYn; param.searchCurrTab = '1'; param.viewPage = currViewPage; param.rowPage = $("#v1").val(); param.sort = $("#s1").val(); if(result.parameterVO != null ){ param.searchAll = result.parameterVO.searchAll; }else{ param.searchAll = "N"; } var callBackFn = "searchOrgInfoFn_callBack"; util_ajax(url, param, callBackFn); } /** * 검색이벤트 콜백 */ function searchOrgInfoFn_callBack(result){ var str =""; var total = result.rtnTotal; $("#orgInfo > ul").empty(); if(result.rtnTotal > 0){ $.each(result.rtnList, function(index, data){ str += "<li data-infosj=\""+data.INFO_SJ+"\" data-chrgdeptnm=\""+data.NFLST_CHRG_DEPT_NM.replace(/ /gi, '>')+"\" data-unitjobnm=\""+data.UNIT_JOB_NM+"\" data-lastupdtdt=\""+util_dateToStr(data.LAST_UPDT_DT)+"\" >"; str += "<p class=\"left\"><a href=\"javascript:goDetail('"+data.PRDCTN_INSTT_REGIST_NO+"','"+data.PRDCTN_DT+"','"+data.INSTT_SE_CD+"','"+index+"');\">" + data.INFO_SJ +"</a>"; str += "<span>" + data.NFLST_CHRG_DEPT_NM.replace(/ /gi, '>') + "</span>"; str += "</p>"; //str += "<p class=\"right\">"+data.UNIT_JOB_NM+"<span>"+util_dateToStr(data.LAST_UPDT_DT)+"</span></p>"; str += "<p class=\"right\">"+data.UNIT_JOB_NM+"<span>"+convertFormat(data.PRDCTN_DT,"####.##.##", ".")+"</span></p>"; str += "</li>"; }); }else{ str += "<li>"; str += "<p class=\"center\" >검색된 내용이 없습니다.</p>"; str += "</li>"; } $("#orgInfo > ul").append(str); if(result.rtnTotal != null){ let totalCnt = util_setCommas(result.rtnTotal); $("#orgInfoTot").html(totalCnt); sessionStorage.setItem('orgInfoTot', totalCnt); }else{ $("#orgInfoTot").html('0'); } // 페이징 처리 var url = "/com/tema/searchTopkwd.ajax"; var param = new Object(); var insttSeCdArr =""; $("input[name='insttSeCd']:checked").each(function(idx, item){ if(idx == 0){ insttSeCdArr += $(this).val(); }else{ insttSeCdArr += ","+$(this).val(); } }); param.topictype = result.parameterVO.topictype; //콜백에서는 result 값을 사용해야함 param.site = "nflst"; param.kwd = $("input[name='kwd']").val().trim(); param.insttSeCd = insttSeCdArr; param.eduYn = $("input[name='eduYn'][id='chk00']").is(":checked") == true ? "Y" : "N"; param.startDate = $("input[name='startDate'][id^=dp]").val().replace(/-/g, ''); param.endDate = $("input[name='endDate'][id^=dp]").val().replace(/-/g, ''); //id에 Pop 추가 param.insttCdNm = $("input[name='searchInsttCdNmPop'][id='searchInsttCdNmPop']").val(); param.insttCd = $("input[name='searchInsttCdPop'][id='searchInsttCdPop']").val(); param.searchMainYn = result.parameterVO.searchMainYn; param.searchCurrTab = "1"; param.viewPage = currViewPage; param.rowPage = $("#v1 option:selected").val(); param.sort = $("#s1").val(); if(result.parameterVO != null ){ param.viewPage = result.parameterVO.viewPage; param.totalPage = result.rtnTotal; param.rowPage = result.parameterVO.rowPage; param.searchAll = result.parameterVO.searchAll; }else{ param.viewPage = 1; param.totalPage = 0; param.rowPage = $("#v1").val(); param.searchAll = "N"; } param.type = "A"; var callBackFn = "searchOrgInfoFn_callBack"; initPagingA(url, param, callBackFn); currViewPage = result.parameterVO.viewPage; searchAYn = "Y"; //원문,사전,대국민의 검색시간 차이 때문에 체크 checkSelectAll(); //원문, 사전, 대국민 완료 체크 }; changeTabCss = function(topictype){ let $tab = $('.tabClass'); $tab.removeClass('on').attr('title',''); if ('2' == topictype){ $tab.eq(1).addClass('on').attr('title','선택됨'); } else { $tab.eq(0).addClass('on').attr('title','선택됨'); } } // 사전정보 검색 searchOthInfoFn = function(topictype){ var url = "/com/tema/searchTopkwd.ajax"; var param = new Object(); var insttSeCdArr =""; $("input[name='insttSeCd']:checked").each(function(idx, item){ if(idx == 0){ insttSeCdArr += $(this).val(); }else{ insttSeCdArr += ","+$(this).val(); } }); param.site = "publict"; param.topictype = $('.tyinfo.on').attr('id'); param.kwd = $("input[name='kwd']").val().trim(); param.insttSeCd = insttSeCdArr; param.eduYn = $("input[name='eduYn'][id='chk00']").is(":checked") == true ? "Y" : "N"; param.startDate = $("input[name='startDate'][id^=dp]").val(); param.endDate = $("input[name='endDate'][id^=dp]").val(); //id에 Pop 추가 param.insttCdNm = $("input[name='searchInsttCdNmPop'][id='searchInsttCdNmPop']").val(); param.insttCd = $("input[name='searchInsttCdPop'][id='searchInsttCdPop']").val(); param.searchMainYn = result.parameterVO.searchMainYn; param.searchCurrTab = "2"; param.viewPage = currViewPage; param.rowPage = $("#v2").val(); param.sort = $("#s2").val(); if(result.parameterVO != null ){ param.searchAll = result.parameterVO.searchAll; }else{ param.searchAll = "N"; } var callBackFn = "searchOthInfoFn_callBack"; util_ajax(url, param, callBackFn); } /** * 검색이벤트 콜백 */ function searchOthInfoFn_callBack(result){ var str =""; var total = result.rtnTotal; $("#othInfo > ul").empty(); if(result.rtnTotal > 0){ $.each(result.rtnList, function(index, data){ str += "<li data-infosj=\""+data.BEFFAT_PUBLICT_INFO_SJ+ "\" data-chrgdeptnm=\""+data.ALL_DEPT_NM.replace(/ /gi,' > ')+"\" data-level1=\"" +data.CLSYSTM1LEVELCD+ "\" data-level3=\"" +data.CLSYSTM3LEVELCD+ "\" >"; str += "<p class=\"left\"><a href=\"javascript:goDetail2('"+data.BEFFAT_PUBLICT_INFO_NO+"','"+index+"');\">" + data.BEFFAT_PUBLICT_INFO_SJ +"</a>"; str += "<span>" + data.ALL_DEPT_NM.replace(/ /gi,' > ') +"</span>"; str += "</p>"; //분류체계 str += "<p class=\"right\">"+data.CLSYSTM1LEVELCD+"<span>"+data.CLSYSTM3LEVELCD+"</span></p>"; str += "</li>"; }); }else{ str += "<li>"; str += "<p class=\"center\" >검색된 내용이 없습니다.</p>"; str += "</li>"; } $("#othInfo > ul").append(str); if(result.rtnTotal != null){ let totalCnt = util_setCommas(result.rtnTotal); $("#othInfoTot").html(totalCnt); sessionStorage.setItem('othInfoTot', totalCnt); }else{ $("#othInfoTot").html('0'); } // 페이징 처리 var url = "/com/tema/searchTopkwd.ajax"; var param = new Object(); var insttSeCdArr =""; $("input[name='insttSeCd']:checked").each(function(idx, item){ if(idx == 0){ insttSeCdArr += $(this).val(); }else{ insttSeCdArr += ","+$(this).val(); } }); param.topictype = result.parameterVO.topictype; //콜백에서는 result 값을 사용해야함 param.site = "publict"; param.kwd = $("input[name='kwd']").val().trim(); param.insttSeCd = insttSeCdArr; param.eduYn = $("input[name='eduYn'][id='chk00']").is(":checked") == true ? "Y" : "N"; param.startDate = $("input[name='startDate'][id^=dp]").val(); param.endDate = $("input[name='endDate'][id^=dp]").val(); //id에 Pop 추가 param.insttCdNm = $("input[name='searchInsttCdNmPop'][id='searchInsttCdNmPop']").val(); param.insttCd = $("input[name='searchInsttCdPop'][id='searchInsttCdPop']").val(); param.searchMainYn = result.parameterVO.searchMainYn; param.searchCurrTab = "2"; param.rowPage = $("#v2").val(); param.sort = $("#s2").val(); if(result.parameterVO != null ){ param.viewPage = result.parameterVO.viewPage; param.totalPage = result.rtnTotal; param.rowPage = result.parameterVO.rowPage; param.searchAll = result.parameterVO.searchAll; }else{ param.viewPage = 1; param.totalPage = 0; param.rowPage = $("#v2").val(); param.searchAll = "N"; } param.type = "B"; var callBackFn = "searchOthInfoFn_callBack"; initPagingB(url, param, callBackFn); currViewPage = result.parameterVO.viewPage; searchBYn = "Y"; //원문,사전,대국민의 검색시간 차이 때문에 체크 checkSelectAll(); //원문, 사전, 대국민 완료 체크 }; setParams = function(paramVo) { isLoadPage = true; if(!isEmpty(history.state)) { // 페이지 로딩하는데 history data가 있을 경우 search 박스에 데이터 set loadHisotrySearchParam(JSON.parse(history.state)); } else if(paramVo != null ) { $("#kwd").val(paramVo.kwd); var tempStr = paramVo.startDate; //원문정보에서 상세조회시 파라미터일자에서 대시를 제거함 if(tempStr.indexOf("-") > 0){ $("input[name='startDate'][id^=dp]").val(paramVo.startDate); $("input[name='endDate'][id^=dp]").val(paramVo.endDate); } else { $("input[name='startDate'][id^=dp]").val(util_datestr(paramVo.startDate,"-")); $("input[name='endDate'][id^=dp]").val(util_datestr(paramVo.endDate,"-")); } //id에 Pop 추가 $("input[name='searchInsttCdPop'][id='searchInsttCdPop']").val(paramVo.insttCd); $("input[name='searchInsttCdNmPop'][id='searchInsttCdNmPop']").val(paramVo.insttCdNm); if(paramVo.eduYn == "Y"){ $("input[name='eduYn'][id='chk00']").prop("checked", true); } else { $("input[name='eduYn'][id='chk00']").prop("checked", false); } var insttSeCd = paramVo.insttSeCd ; if( insttSeCd != null && insttSeCd != ''){ var insttSeCdArr = insttSeCd.split(','); $.each(insttSeCdArr , function(index , data){ $("input[name=insttSeCd][value="+data+"]").attr("checked", true); }); } if(paramVo.sort=="d") { paramVo.sort=null; } if(paramVo.searchCurrTab=='2'){ searchCurrTab = paramVo.searchCurrTab; $("#v2").val(paramVo.rowPage ? paramVo.rowPage : "10"); $("#s2").val(paramVo.sort ? paramVo.sort : "i"); } else { searchCurrTab = "1"; $("#v1").val(paramVo.rowPage ? paramVo.rowPage : "10"); $("#s1").val(paramVo.sort ? paramVo.sort : "s"); } currViewPage = paramVo.viewPage; if(paramVo.searchCurrTab!=''){ searchCurrTab = paramVo.searchCurrTab; } else { searchCurrTab = "1"; } changeTabCss(searchCurrTab); } if(!searchCurrTab || searchCurrTab=="1") { $('#othInfoData').hide(); $('#orgInfoData').show(); } else if(searchCurrTab=="2") { $('#orgInfoData').hide(); $('#othInfoData').show(); } } /* 기관찾기팝업이동 */ popupFn = function() { var obj = new Object(); obj.inputName = "searchInsttCdNmPop"; obj.hiddenName = "searchInsttCdPop"; obj.isAllName = true; obj.isNst = true; obj.gubun = "W"; util_popUpNst(obj); }; rqestFn = function(id) { if(id == "threeMon"){ $("input[name='startDate']").val(initCalDate(-90)); $("input[name='endDate']").val(initCalDate(0)); }else if(id == "oneWeek"){ $("input[name='startDate']").val(initCalDate(-7)); $("input[name='endDate']").val(initCalDate(0)); }else if(id == "oneMon"){ $("input[name='startDate']").val(initCalDate(-30)); $("input[name='endDate']").val(initCalDate(0)); }else if(id == "sixMon"){ $("input[name='startDate']").val(initCalDate(-180)); $("input[name='endDate']").val(initCalDate(0)); }else if(id == "mon"){ $("input[name='startDate']").val(initCalDate(-30)); $("input[name='endDate']").val(initCalDate(0)); }else{ $("input[name='startDate']").val(""); $("input[name='endDate']").val(""); } }; util_dateToStr = function(arg1){ var rtn = ""; if(arg1.length >= 8){ rtn = arg1.substring(0, 10).replace(/-/gi,"."); }else{ rtn = arg1; } return rtn; }; // 엑셀 다운로드 excelDownload = function(excelGb){ var url = "/com/tema/"+excelGb+"ListDownLoad.down"; var param = new Object(); var totalCnt = $("#" +excelGb+ "Tot").html(); if(totalCnt == "0"){ alert('조건에 해당되는 데이터가 없습니다.'); return ; } var topictype = $("#topictype").val(); var insttSeCdArr =""; $("input[name='insttSeCd']:checked").each(function(idx, item){ if(idx == 0){ insttSeCdArr += $(this).val(); }else{ insttSeCdArr += ","+$(this).val(); } }); var startDate = ""; var endDate = ""; if(excelGb == "orginlInfo"){ startDate = $("input[name='startDate'][id^=dp]").val().replace(/-/g, ''); endDate = $("input[name='endDate'][id^=dp]").val().replace(/-/g, ''); }else{ startDate = $("input[name='startDate'][id^=dp]").val(); endDate = $("input[name='endDate'][id^=dp]").val(); } //param.topictype = topictype != "00000" ? topictype : ""; param.topictype = $('.tyinfo.on').attr('id'); param.kwd = $("input[name='kwd']").val().trim(); param.insttSeCd = insttSeCdArr; param.eduYn = $("input[name='eduYn'][id='chk00']").is(":checked") == true ? "Y" : "N"; param.startDate = startDate; param.endDate = endDate; param.insttCd = $("input[name='searchInsttCdPop']").val(); param.insttCdNm = $("input[name='searchInsttCdNmPop']").val(); param.searchMainYn = result.parameterVO.searchMainYn; param.viewPage = currViewPage; if(excelGb == "orginlInfo"){ param.rowPage = $("#v1").val(); param.sort = $("#s1").val(); } else if(excelGb == "othInfo"){ param.rowPage = $("#v2").val(); param.sort = $("#s2").val(); } /* else if(excelGb == "othwrtInfo"){ param.rowPage = $("#v3").val(); param.sort = $("#s3").val(); } */ util_excelDown(url, param); }; /* search.jsp 에서 검색시 */ searchCallFn = function(){ //키워드에서 엔터했을 경우 1페이지부터 조회하도록 구분함 if (isClicked()) { return false; } currViewPage = 1; //검색 1페이지부터 searchFn(true); } /* 전체 검색 */ searchFn = function(initFlag){ if(!initFlag) { //검색버튼 누르지 않았을 경우 히스토리or파라미터 변수로 검색 form set setParams(globalParam); //검색form param data set } if( !isValidData() ) { return; } //전체 검색 초기화 searchAYn = ""; searchBYn = ""; setTemaPageHistoy(); //history put searchOrgInfoFn($("#topictype").val()); searchOthInfoFn($("#topictype").val()); }; setTemaPageHistoy = function() { //history set할 파라미터 생성 var param = new Object(); var insttSeCdArr =""; $("input[name='insttSeCd']:checked").each(function(idx, item) { if(idx == 0){ insttSeCdArr += $(this).val(); }else{ insttSeCdArr += ","+$(this).val(); } }); if(searchCurrTab == "2") { param.site = "publict"; param.startDate = $("input[name='startDate'][id^=dp]").val(); param.endDate = $("input[name='endDate'][id^=dp]").val(); param.rowPage = $("#v2").val(); param.sort = $("#s2").val(); } else if(searchCurrTab == "1") { param.site = "nflst"; param.startDate = $("input[name='startDate'][id^=dp]").val().replace(/-/g, ''); param.endDate = $("input[name='endDate'][id^=dp]").val().replace(/-/g, ''); param.rowPage = $("#v1").val(); param.sort = $("#s1").val(); } param.topictype = $('.tyinfo.on').attr('id'); param.kwd = $("input[name='kwd']").val().trim(); param.insttSeCd = insttSeCdArr; param.eduYn = $("input[name='eduYn'][id='chk00']").is(":checked") == true ? "Y" : "N"; param.insttCdNm = $("input[name='searchInsttCdNmPop'][id='searchInsttCdNmPop']").val(); param.insttCd = $("input[name='searchInsttCdPop'][id='searchInsttCdPop']").val(); param.searchMainYn = result.parameterVO.searchMainYn; param.searchCurrTab = searchCurrTab; param.viewPage = currViewPage; if(result.parameterVO != null ){ param.searchAll = result.parameterVO.searchAll; }else{ param.searchAll = "N"; } if(isLoadPage) { //페이지 로딩 시 현재 ajax param 으로 history로 replace repalce_history(param, callBackFn); } else { put_history(url, param, callBackFn); } isLoadPage=false; } /* 갯수와 날자기관순서 선택시 */ searchOrgInfoCallFn = function(){ //키워드에서 엔터했을 경우 1페이지부터 조회하도록 구분함 currViewPage = 1; //검색 1페이지부터 searchCurrTab = 1; setTemaPageHistoy(); searchOrgInfoFn($("#topictype").val()); } /* 갯수와 날자기관순서 선택시 */ searchOthInfoCallFn = function(){ //키워드에서 엔터했을 경우 1페이지부터 조회하도록 구분함 currViewPage = 1; //검색 1페이지부터 searchCurrTab = 2; setTemaPageHistoy(); searchOthInfoFn($("#topictype").val()); } /* 갯수와 날자기관순서 선택시 */ /* searchOthwrtInfoCallFn = function(){ //키워드에서 엔터했을 경우 1페이지부터 조회하도록 구분함 currViewPage = 1; //검색 1페이지부터 searchOthwrtInfoFn($("#topictype").val()); } */ isValidData = function() { var isValid = true; var searchKwd = $("#kwd").val().trim(); var searchStDt = util_replaceAll($("input[name='startDate'][id^=dp]").val(), "-", ""); var searchEndDt = util_replaceAll($("input[name='endDate'][id^=dp]").val(), "-", ""); var todayDt = util_replaceAll(initCalDate(0), "-", ""); //메인에서 넘어온 경우 검색어 입력 필수(메인에서 넘어온 경우는 검색기간 입력 안함) if((result.parameterVO.searchMainYn != null && result.parameterVO.searchMainYn == "Y") && (searchKwd == null || searchKwd == '')){ //메인에서 넘어왔는데 검색어가 없는데 날자가 없으면 날자를 1달로 세팅하고 alert 발생안시킴 if((searchStDt ==null || searchStDt =='') || (searchEndDt ==null || searchEndDt =='')){ rqestFn("mon"); searchStDt = util_replaceAll($("input[name='startDate'][id^=dp]").val(), "-", ""); searchEndDt = util_replaceAll($("input[name='endDate'][id^=dp]").val(), "-", ""); // } else { // alert("검색어를 입력해 주십시오."); // $("#kwd").focus(); // return; } } //메인에서 넘어온 경우가 아니면 검색기간 필수 if((result.parameterVO.searchMainYn == null || result.parameterVO.searchMainYn != "Y") && ((searchStDt ==null || searchStDt =='') || (searchEndDt ==null || searchEndDt ==''))){ alert("검색기간을 입력해 주십시오."); //1달 세팅 rqestFn("mon"); if(searchStDt ==null || searchStDt ==''){ $("input[name='startDate'][id^=dp]").focus(); return; } if(searchEndDt ==null || searchEndDt ==''){ $("input[name='endDate'][id^=dp]").focus(); return; } return; } // if( (searchKwd == null || searchKwd == '') && ((searchStDt ==null || searchStDt =='') || (searchEndDt ==null || searchEndDt =='')) ){ // alert("검색어 또는 검색기간을 입력해 주십시오."); // $("#kwd").focus(); // return; // } var reckDate = util_reckDate(searchStDt, searchEndDt); if((searchStDt !=null && searchStDt !='') || (searchEndDt !=null && searchEndDt !='')){ if( reckDate < 0 ) { $("input[name='startDate'][id^=dp]").focus(); alert("검색일자를 잘못입력하셨습니다."); return; } if( reckDate > 365 ) { alert("빠른 검색을 위하여 불편하시더라도 \n검색 기간은 1년을 초과하여 지정할 수 없습니다."); $("input[name='startDate'][id^=dp]").focus(); return; } if(searchStDt ==null || searchStDt ==''){ alert("검색일자를 입력해 주십시오."); $("input[name='startDate'][id^=dp]").focus(); return; } if(searchEndDt ==null || searchEndDt ==''){ alert("검색일자를 입력해 주십시오."); $("input[name='endDate'][id^=dp]").focus(); return; } if( util_reckDate(searchEndDt, todayDt) < 0 ) { alert("검색일자를 잘못입력하셨습니다."); $("input[name='endDate'][id^=dp]").focus(); return; } } return isValid; }; function checkSelectAll() { if(searchCurrTab == '1' && searchAYn == "Y"){ closeLoading(); } else if(searchCurrTab == '2' && searchBYn == "Y"){ closeLoading(); } }; //]]> </script> <!-- CONTENT END --> </div> <!-- FOOTER START --> <div class="footer"> <div class="foot_link"> <ul> <li class="gr"><a href="/useInfo/useIndvdlinfo.do">개인정보처리방침</a></li> <li><a href="/useInfo/useCpyrht.do">저작권보호정책</a></li> <li><a href="/useInfo/userDwln.do">뷰어다운로드</a></li> <li><a href="/useInfo/userMap.do">찾아오시는길</a></li> <li style="display: none;"></li> <li> <label class="access" for="sel01">관련기관정보</label> <select id="sel01" title="관련기관정보" tabindex="0"> <option>관련 기관정보</option> <option data-link="http://www.alio.go.kr" title="ALIO 공공기관 경영정보공개시스템">ALIO 공공기관 경영정보공개시스템</option> <option data-link="http://www.data.go.kr" title="DATA공공데이터포털">DATA공공데이터포털</option> <option data-link="https://kreach.me.go.kr" title="화학물질정보처리시스템">화학물질정보처리시스템</option> <option data-link="https://seereal.lh.or.kr" title="SEE:REAL-한국토지주택공사">SEE:REAL-한국토지주택공사</option> <option data-link="http://www.hira.or.kr" title="건강보험심사평가원">건강보험심사평가원</option> <option data-link="http://data.gg.go.kr" title="경기데이터드림">경기데이터드림</option> <option data-link="https://www.laiis.go.kr" title="내고장알리미">내고장알리미</option> <option data-link="http://www.academyinfo.go.kr" title="대학알리미">대학알리미</option> <option data-link="http://water.nier.go.kr" title="물환경정보시스템">물환경정보시스템</option> <option data-link="http://openapt.seoul.go.kr" title="서울특별시 공동주택통합정보마당">서울특별시 공동주택통합정보마당</option> <option data-link="http://www.sexoffender.go.kr" title="성범죄자알림e">성범죄자알림e</option> <option data-link="http://www.smartconsumer.go.kr" title="한국소비자원 스마트컨슈머">한국소비자원 스마트컨슈머</option> <option data-link="http://www.prism.go.kr" title="정책연구관리시스템 PRISM">정책연구관리시스템 PRISM</option> <option data-link="http://www.childschool.go.kr" title="유아학비지원시스템 e-유치원">유아학비지원시스템 e-유치원</option> <option data-link="http://www.childcare.go.kr" title="임신육아종합포털 아이사랑">임신육아종합포털 아이사랑</option> <option data-link="http://cleanup.seoul.go.kr" title="서울특별시 정비사업 정보몽땅">서울특별시 정비사업 정보몽땅</option> <option data-link="http://www.gov.kr/portal/main" title="정부24">정부24</option> <option data-link="http://lofin.mois.go.kr/" title="지방재정365 지방재정통합공개시스템">지방재정365 지방재정통합공개시스템</option> <option data-link="http://www.cleaneye.go.kr" title="클린아이 지방공공기관통합공시">클린아이 지방공공기관통합공시</option> <option data-link="http://contents.archives.go.kr" title="행정안전부 국가기록원">행정안전부 국가기록원</option> </select> <span class="abs_btn" style="padding-left:3px;"> <a href="#" class="btn_susu" onclick="goLinkSiteFn();" title="새창열림">이동</a> </span> </li> </ul> </div> <div class="foot_text"> <div class="in_text"> <span class="call">1588-2572</span> <p> 대한민국정보공개 30112 세종특별자치시 도움6로 42(어진동)<br/> 이용문의 : 1588-2572 (월~금 09:00~18:00, 공휴일 제외) <br/>대표메일 : openinfo@korea.kr <strong style="font-size:13px;">ⓒ Ministry of the Interior and Safety. Some Rights Reserved.</strong> </p> <div id="mark_img" class="mark_img"> <a title="새창" href="http://www.wa.or.kr/board/list.asp?BoardID=0006" target="_blank"> <img class="wa" alt="(사)한국장애인단체총연합회 한국웹접근성인증평가원 웹 접근성 우수사이트 인증마크(WA인증마크)" src="/images/common/wa_certification_mark.bmp"> </a> </div> </div> </div> </div> <script type="text/javaScript" language="javascript" > const scui = ''; //<![CDATA[ /* 상세검색이동 */ goLinkSiteFn = function() { var url = $("#sel01 option:selected").attr('data-link'); if(url != null && url != "" && url.indexOf("http") > -1){ window.open(url); } else { alert("관련기관을 선택해주세요."); $("#sel01").focus(); } }; //]]> </script> <!-- FOOTER END --> </div> </body> </html>