Merge branch 'master' of

http://tolag3@vcs.iten.co.kr:9999/itnAdmin/fairnet
This commit is contained in:
leejunho 2024-12-06 12:37:32 +09:00
parent c2a451ce0a
commit cf4af620b5
10 changed files with 1128 additions and 138 deletions

View File

@ -12,7 +12,7 @@ import lombok.Setter;
@Getter
@Setter
@NoArgsConstructor
public class SearchVO implements Serializable {
public class SearchVO extends ComDefaultVO implements Serializable {
private static final long serialVersionUID = 1L;
@ -22,8 +22,8 @@ public class SearchVO implements Serializable {
*/
private String searchType;
private String searchKeyword;
private String pagingSize;
private String page;
private String pagingSize = "10";
private String page = "1";
/*

View File

@ -6,12 +6,12 @@ import java.util.Map;
import org.springframework.stereotype.Service;
import org.springframework.ui.ModelMap;
import com.fasterxml.jackson.databind.node.TextNode;
import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl;
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
import kcc.com.srch.service.SearchService;
import kcc.com.srch.service.SearchVO;
import seed.utils.FairnetUtils;
import seed.utils.SeedUtils;
@Service("SearchService")
public class SearchServiceImpl extends EgovAbstractServiceImpl implements SearchService {
@ -22,12 +22,13 @@ public class SearchServiceImpl extends EgovAbstractServiceImpl implements Search
ModelMap model
){
// Map<String, Object> application = FairnetUtils.searchApplication("application", "테스트", "3", "1");
Map<String, Object> board = FairnetUtils.searchApplication("board", searchVO.getSearchKeyword(), searchVO.getPagingSize(), "1");
Map<String, Object> completed = FairnetUtils.searchApplication("completed", searchVO.getSearchKeyword(), searchVO.getPagingSize(), "1");
Map<String, Object> conference = FairnetUtils.searchApplication("conference", searchVO.getSearchKeyword(), searchVO.getPagingSize(), "1");
Map<String, Object> counsel = FairnetUtils.searchApplication("counsel", searchVO.getSearchKeyword(), searchVO.getPagingSize(), "1");
Map<String, Object> process = FairnetUtils.searchApplication("process", searchVO.getSearchKeyword(), searchVO.getPagingSize(), "1");
// searchVO.setPage(SeedUtils.setReplaceNull(searchVO.getPageIndex()) != "" ? SeedUtils.setReplaceNull(searchVO.getPageIndex()) : "1");
Map<String, Object> board = FairnetUtils.searchApplication("board", searchVO.getSearchKeyword(), searchVO.getPagingSize(), searchVO.getPageIndex());
Map<String, Object> completed = FairnetUtils.searchApplication("completed", searchVO.getSearchKeyword(), searchVO.getPagingSize(), searchVO.getPageIndex());
Map<String, Object> conference = FairnetUtils.searchApplication("conference", searchVO.getSearchKeyword(), searchVO.getPagingSize(), searchVO.getPageIndex());
Map<String, Object> counsel = FairnetUtils.searchApplication("counsel", searchVO.getSearchKeyword(), searchVO.getPagingSize(), searchVO.getPageIndex());
Map<String, Object> process = FairnetUtils.searchApplication("process", searchVO.getSearchKeyword(), searchVO.getPagingSize(),searchVO.getPageIndex());
BigDecimal totCnt = new BigDecimal(0);
@ -44,6 +45,44 @@ public class SearchServiceImpl extends EgovAbstractServiceImpl implements Search
model.addAttribute("counsel", counsel);
model.addAttribute("process", process);
PaginationInfo paginationInfo = new PaginationInfo();
paginationInfo.setCurrentPageNo(searchVO.getPageIndex());
paginationInfo.setRecordCountPerPage(searchVO.getPageUnit());
paginationInfo.setPageSize(searchVO.getPageSize());
searchVO.setFirstIndex(paginationInfo.getFirstRecordIndex());
searchVO.setLastIndex(paginationInfo.getLastRecordIndex());
searchVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
int totalREcordCount = 0;
if("process".equals(searchVO.getSearchType())) {
if(process != null) {
totalREcordCount = Integer.valueOf((String)process.get("totcnt"));
}
}else if("conference".equals(searchVO.getSearchType())) {
if(conference != null) {
totalREcordCount = Integer.valueOf((String)conference.get("totcnt"));
}
}else if("completed".equals(searchVO.getSearchType())) {
if(completed != null) {
totalREcordCount = Integer.valueOf((String)completed.get("totcnt"));
}
}else if("board".equals(searchVO.getSearchType())) {
if(board != null) {
totalREcordCount = Integer.valueOf((String)board.get("totcnt"));
}
}else if("counsel".equals(searchVO.getSearchType())) {
if(counsel != null) {
totalREcordCount = Integer.valueOf((String)counsel.get("totcnt"));
}
}else {
paginationInfo.setTotalRecordCount(totCnt.intValue());
}
paginationInfo.setTotalRecordCount(totalREcordCount);
model.addAttribute("paginationInfo", paginationInfo);
}

View File

@ -8,6 +8,7 @@ import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
import kcc.com.srch.service.SearchService;
import kcc.com.srch.service.SearchVO;
@ -27,9 +28,81 @@ public class SearchController {
) throws Exception {
searchVO.setPagingSize("3");
searchVO.setPageIndex(1);
searchVO.setSearchType("ALL");
searchService.searchListSet(searchVO, model);
return "com/srch/searchList";
}
@RequestMapping(value = "/com/srch/SearchProcess.do")
public String SearchProcess(
ModelMap model
, @ModelAttribute("searchVO") SearchVO searchVO
) throws Exception {
searchVO.setPagingSize("10");
searchVO.setSearchType("process");
searchService.searchListSet(searchVO, model);
return "com/srch/searchProcess";
}
@RequestMapping(value = "/com/srch/SearchConference.do")
public String SearchConference(
ModelMap model
, @ModelAttribute("searchVO") SearchVO searchVO
) throws Exception {
searchVO.setPagingSize("10");
searchVO.setSearchType("conference");
searchService.searchListSet(searchVO, model);
return "com/srch/searchConference";
}
@RequestMapping(value = "/com/srch/SearchCompleted.do")
public String SearchCompleted(
ModelMap model
, @ModelAttribute("searchVO") SearchVO searchVO
) throws Exception {
searchVO.setPagingSize("10");
searchVO.setSearchType("completed");
searchService.searchListSet(searchVO, model);
return "com/srch/searchCompleted";
}
@RequestMapping(value = "/com/srch/SearchBoard.do")
public String SearchBoard(
ModelMap model
, @ModelAttribute("searchVO") SearchVO searchVO
) throws Exception {
searchVO.setPagingSize("10");
searchVO.setSearchType("board");
searchService.searchListSet(searchVO, model);
return "com/srch/searchBoard";
}
@RequestMapping(value = "/com/srch/SearchCounsel.do")
public String SearchCounsel(
ModelMap model
, @ModelAttribute("searchVO") SearchVO searchVO
) throws Exception {
searchVO.setPagingSize("10");
searchVO.setSearchType("counsel");
searchService.searchListSet(searchVO, model);
return "com/srch/searchCounsel";
}
}

View File

@ -340,7 +340,7 @@ public class FairnetUtils {
String searchType
, String searchKeyword
, String pagingSize
, String page
, int page
) {
String url = new SearchGlobalSet().getHost()

View File

@ -0,0 +1,166 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<link rel="stylesheet" type="text/css" href="/css/jquery-ui.css" >
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/jquery-ui.min.js"></script>
<script type="text/javascript" src="/js/beta.fix.js"></script>
<script type="text/javascript" src="/js/datepicker.js"></script>
<script type="text/javascript">
function goSearch(obj){
document.search.submit();
}
function linkPage(pageNo){
document.search.pageIndex.value = pageNo ;
document.search.action = '/com/srch/SearchBoard.do';
document.search.submit();
}
function doCollection(type){
var url = '';
if(type === 'ALL'){
url = '/com/srch/Search.do';
}else if(type === 'process'){
url = '/com/srch/SearchProcess.do';
}else if(type === 'conference'){
url = '/com/srch/SearchConference.do';
}else if(type === 'completed'){
url = '/com/srch/SearchCompleted.do';
}else if(type === 'board'){
url = '/com/srch/SearchBoard.do';
}else if(type === 'counsel'){
url = '/com/srch/SearchCounsel.do';
}
document.search.searchType.value = type;
document.search.action = url;
document.search.submit();
}
</script>
<style>
.page-content{padding-left:0;padding-right:0;}
.cs-search-wrapper {margin-top:40px;font-family:'Malgun Gothic';}
.cs-search{position: relative;}
.cs-search .blue_window{display:inline-block;width:561px;height:40px;border: 1px solid #676fb2;border-right:0;}
.cs-search label{background:url(/img/search-fofair.png) no-repeat 15px 50%;width:147px;height:40px;margin-bottom:0;
text-indent:-999em;}
.cs-search .query{width:100%;height:100%;padding:4px 10px;border:0;font-size:15px;}
.cs-search .query::-webkit-input-placeholder {font-family:'Malgun Gothic';color: #757575;font-size:15px;letter-spacing: -1px;}
.cs-search .query::-moz-placeholder {font-family:'Malgun Gothic';color: #757575;font-size:15px;letter-spacing: -1px;}
.cs-search .query:-ms-input-placeholder {font-family:'Malgun Gothic';color: #757575;font-size:15px;letter-spacing: -1px;}
.cs-search .query:-moz-placeholder {font-family:'Malgun Gothic';color: #757575;font-size:15px;letter-spacing: -1px;}
.cs-search .cs-search-btn{width:57px;height:40px;white-space: nowrap;background: #818ce3;color: #fff;-moz-box-shadow: inset 0 0 10px #5f6cd4;-webkit-box-shadow: inset 0 0 10px #5f6cd4;box-shadow:inset 0 0 10px #5f6cd4;}
.cs-search-lnb{overflow:hidden;list-style:none;border-bottom:1px solid #e8e8e8}
.cs-search-lnb li{float:left;}
.cs-search-lnb li:first-child{margin-left:139px;}
.cs-search-lnb li a{position:relative;display:block;height:54px;margin: 2px 8px 0;padding: 0 8px;line-height:54px;}
.cs-search-lnb li a.on{color: #5f6cd4;font-weight:700}
.cs-search-lnb li a.on:after{content:'';display:block;position:absolute;left:0;bottom:0;width:100%;height:3px;background:#5f6cd4}
.cs-content-search{padding:16px 0 0 163px;}
.cs-result-stats{font-size:13px;color:#808080;margin-bottom:38px;}
.result-box{max-width:618px;padding:16px 0;border-top:1px solid #e8e8e8}
.result-box h2{margin-bottom: 10px;font-size:15px;}
.result-link{font-size:18px;color:#1a0dab;}
.result-link.more{font-size:16px;}
.result-link:hover{text-decoration:underline;}
.result-list{position: relative;margin-bottom:23px;}
.result-list:last-child{margin-bottom:0;}
.result-date{color:#545454;line-height: 1.4;}
.result-content{padding:4px 0;text-overflow: ellipsis;white-space: nowrap;overflow: hidden;}
</style>
<div class="cs-search-wrapper">
<div class="search-form-wrap">
<form:form name="search" id="search" action="/com/srch/Search.do" class="search-form" method="post">
<input type="hidden" id="pageIndex" name="pageIndex" value="1"/>
<input type="hidden" id="searchType" name="searchType" value="board"/>
<fieldset>
<div class="cs-search">
<label for="query">kofair</label>
<span class="blue_window">
<input name="searchKeyword" id="searchKeyword" type="text" value="${searchVO.searchKeyword}" class="query" title="검색어 입력" placeholder="한국공정거래조정원 통합검색" >
</span>
<a style="display: unset;"><input type="button" value="검색" class="cs-search-btn" onClick="javascript:goSearch(this);" />&nbsp;
</a>
</div>
</fieldset>
</form:form>
</div>
<c:if test="${not empty searchVO.searchKeyword}">
<ul class="cs-search-lnb">
<li><a href="#none" onClick="javascript:doCollection('ALL');">통합검색</a></li>
<li>
<a href="#none" onClick="doCollection('process');">
사건처리 관리 [${empty process.totcnt ? "0":process.totcnt}]
</a>
</li>
<li>
<a href="#none" onClick="doCollection('conference');">
협의회 관리 [${empty conference.totcnt ? "0":conference.totcnt}]
</a>
</li>
<li>
<a href="#none" onClick="doCollection('completed');">
사건종료 관리 [${empty completed.totcnt ? "0":completed.totcnt}]
</a>
</li>
<li>
<a href="#none" onClick="doCollection('board');" class="on">
게시판 [${empty board.totcnt ? "0":board.totcnt}]
</a>
</li>
<li>
<a href="#none" onClick="doCollection('counsel');">
상담 관리 [${empty counsel.totcnt ? "0":counsel.totcnt}]
</a>
</li>
</ul>
<c:choose>
<c:when test="${fn:length(board.list) > 0}">
<div class="cs-content-search">
<div class="cs-result-stats">검색어 '<c:out value="${searchVO.searchKeyword}"/>'에 대해 총 ${board.totcnt}건이 검색되었습니다.</div>
<div class="result-box cass">
<h2>게시판</h2>
<c:forEach var="list" items="${board.list}" varStatus="sts1">
<div class="result-list">
<a href="/gtm/case/team/board/view.do?fileFuncType=team&page=1&teamNo=${list.url}" class="result-link" target="_blank">${list.teamTitle}</a>
<div class="result-content">내용: ${list.teamContent} </div>
<div class="result-content">작성자: ${list.teamRegnm} </div>
<span class="result-date">작성일: ${list.teamRegdate} </span>
</div>
</c:forEach>
</div>
<div class="page">
<ul class="inline">
<ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="linkPage" />
</ul>
</div>
</div>
</c:when>
<c:otherwise>
<div class="result-box h2">
<p>'<c:out value="${searchVO.searchKeyword}"/>'에 대한 검색결과가 없습니다.</p>
<ul>
<li>단어의 철자가 정확한지 확인해 보세요.</li>
<li>한글을 영어로 혹은 영어를 한글로 입력했는지 확인해 보세요.</li>
<li>검색어의 단어 수를 줄이거나, 보다 일반적인 검색어로 다시 검색해 보세요.</li>
<li>두 단어 이상의 검색어인 경우, 띄어쓰기를 확인해 보세요.</li>
</ul>
</div>
</c:otherwise>
</c:choose>
</c:if>
</div>

View File

@ -0,0 +1,171 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<link rel="stylesheet" type="text/css" href="/css/jquery-ui.css" >
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/jquery-ui.min.js"></script>
<script type="text/javascript" src="/js/beta.fix.js"></script>
<script type="text/javascript" src="/js/datepicker.js"></script>
<script type="text/javascript">
function goSearch(obj){
document.search.submit();
}
function linkPage(pageNo){
document.search.pageIndex.value = pageNo ;
document.search.action = '/com/srch/SearchCompleted.do';
document.search.submit();
}
function doCollection(type){
var url = '';
if(type === 'ALL'){
url = '/com/srch/Search.do';
}else if(type === 'process'){
url = '/com/srch/SearchProcess.do';
}else if(type === 'conference'){
url = '/com/srch/SearchConference.do';
}else if(type === 'completed'){
url = '/com/srch/SearchCompleted.do';
}else if(type === 'board'){
url = '/com/srch/SearchBoard.do';
}else if(type === 'counsel'){
url = '/com/srch/SearchCounsel.do';
}
document.search.searchType.value = type;
document.search.action = url;
document.search.submit();
}
</script>
<style>
.page-content{padding-left:0;padding-right:0;}
.cs-search-wrapper {margin-top:40px;font-family:'Malgun Gothic';}
.cs-search{position: relative;}
.cs-search .blue_window{display:inline-block;width:561px;height:40px;border: 1px solid #676fb2;border-right:0;}
.cs-search label{background:url(/img/search-fofair.png) no-repeat 15px 50%;width:147px;height:40px;margin-bottom:0;
text-indent:-999em;}
.cs-search .query{width:100%;height:100%;padding:4px 10px;border:0;font-size:15px;}
.cs-search .query::-webkit-input-placeholder {font-family:'Malgun Gothic';color: #757575;font-size:15px;letter-spacing: -1px;}
.cs-search .query::-moz-placeholder {font-family:'Malgun Gothic';color: #757575;font-size:15px;letter-spacing: -1px;}
.cs-search .query:-ms-input-placeholder {font-family:'Malgun Gothic';color: #757575;font-size:15px;letter-spacing: -1px;}
.cs-search .query:-moz-placeholder {font-family:'Malgun Gothic';color: #757575;font-size:15px;letter-spacing: -1px;}
.cs-search .cs-search-btn{width:57px;height:40px;white-space: nowrap;background: #818ce3;color: #fff;-moz-box-shadow: inset 0 0 10px #5f6cd4;-webkit-box-shadow: inset 0 0 10px #5f6cd4;box-shadow:inset 0 0 10px #5f6cd4;}
.cs-search-lnb{overflow:hidden;list-style:none;border-bottom:1px solid #e8e8e8}
.cs-search-lnb li{float:left;}
.cs-search-lnb li:first-child{margin-left:139px;}
.cs-search-lnb li a{position:relative;display:block;height:54px;margin: 2px 8px 0;padding: 0 8px;line-height:54px;}
.cs-search-lnb li a.on{color: #5f6cd4;font-weight:700}
.cs-search-lnb li a.on:after{content:'';display:block;position:absolute;left:0;bottom:0;width:100%;height:3px;background:#5f6cd4}
.cs-content-search{padding:16px 0 0 163px;}
.cs-result-stats{font-size:13px;color:#808080;margin-bottom:38px;}
.result-box{max-width:618px;padding:16px 0;border-top:1px solid #e8e8e8}
.result-box h2{margin-bottom: 10px;font-size:15px;}
.result-link{font-size:18px;color:#1a0dab;}
.result-link.more{font-size:16px;}
.result-link:hover{text-decoration:underline;}
.result-list{position: relative;margin-bottom:23px;}
.result-list:last-child{margin-bottom:0;}
.result-date{color:#545454;line-height: 1.4;}
.result-content{padding:4px 0;text-overflow: ellipsis;white-space: nowrap;overflow: hidden;}
</style>
<div class="cs-search-wrapper">
<div class="search-form-wrap">
<form:form name="search" id="search" action="/com/srch/Search.do" class="search-form" method="post">
<input type="hidden" id="pageIndex" name="pageIndex" value="1"/>
<input type="hidden" id="searchType" name="searchType" value="completed"/>
<fieldset>
<div class="cs-search">
<label for="query">kofair</label>
<span class="blue_window">
<input name="searchKeyword" id="searchKeyword" type="text" value="${searchVO.searchKeyword}" class="query" title="검색어 입력" placeholder="한국공정거래조정원 통합검색" >
</span>
<a style="display: unset;"><input type="button" value="검색" class="cs-search-btn" onClick="javascript:goSearch(this);" />&nbsp;
</a>
</div>
</fieldset>
</form:form>
</div>
<c:if test="${not empty searchVO.searchKeyword}">
<ul class="cs-search-lnb">
<li><a href="#none" onClick="javascript:doCollection('ALL');">통합검색</a></li>
<li>
<a href="#none" onClick="doCollection('process');">
사건처리 관리 [${empty process.totcnt ? "0":process.totcnt}]
</a>
</li>
<li>
<a href="#none" onClick="doCollection('conference');">
협의회 관리 [${empty conference.totcnt ? "0":conference.totcnt}]
</a>
</li>
<li>
<a href="#none" onClick="doCollection('completed');" class="on">
사건종료 관리 [${empty completed.totcnt ? "0":completed.totcnt}]
</a>
</li>
<li>
<a href="#none" onClick="doCollection('board');">
게시판 [${empty board.totcnt ? "0":board.totcnt}]
</a>
</li>
<li>
<a href="#none" onClick="doCollection('counsel');">
상담 관리 [${empty counsel.totcnt ? "0":counsel.totcnt}]
</a>
</li>
</ul>
<c:choose>
<c:when test="${fn:length(completed.list) > 0}">
<div class="cs-content-search">
<div class="cs-result-stats">검색어 '<c:out value="${searchVO.searchKeyword}"/>'에 대해 총 ${completed.totcnt}건이 검색되었습니다.</div>
<div class="result-box cass">
<h2>사건종료관리</h2>
<c:forEach var="list" items="${completed.list}" varStatus="sts1">
<div class="result-list">
<a href="/gtm/case/trublend/trublendView/View.do?type=TP_RCEPTEDIT&caseNo=${list.url}" class="result-link" target="_blank">${list.caseNo}</a>
<div class="result-content">신청인: ${list.companyCeo}, 신청인 상호명: ${list.applcntCompany}, 신청인소재지: ${list.roadAddr1} </div>
<div class="result-content">신청인 담당자 연락처: ${list.contactHp} </div>
<div class="result-content">피신청인: ${list.respondentCeo}, 피신청인 상호명: ${list.respondentCompany} </div>
<div class="result-content">피신청인 담당자 연락처: ${list.pcontactHp} </div>
<div class="result-content">신청취지: ${list.applicationObj}</div>
<div class="result-content">조정결과: ${list.mediationBig} [${list.mediationSmall}]</div>
<div class="result-content">접수일: ${list.caseDate}, 종료회차: ${list.conferenceNames} </div>
<div class="result-content">담당자: ${list.caseExaminerNm} </div>
<span class="result-date">종료일자 : ${list.fixDay} </span>
</div>
</c:forEach>
</div>
<div class="page">
<ul class="inline">
<ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="linkPage" />
</ul>
</div>
</div>
</c:when>
<c:otherwise>
<div class="result-box h2">
<p>'<c:out value="${searchVO.searchKeyword}"/>'에 대한 검색결과가 없습니다.</p>
<ul>
<li>단어의 철자가 정확한지 확인해 보세요.</li>
<li>한글을 영어로 혹은 영어를 한글로 입력했는지 확인해 보세요.</li>
<li>검색어의 단어 수를 줄이거나, 보다 일반적인 검색어로 다시 검색해 보세요.</li>
<li>두 단어 이상의 검색어인 경우, 띄어쓰기를 확인해 보세요.</li>
</ul>
</div>
</c:otherwise>
</c:choose>
</c:if>
</div>

View File

@ -0,0 +1,174 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<link rel="stylesheet" type="text/css" href="/css/jquery-ui.css" >
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/jquery-ui.min.js"></script>
<script type="text/javascript" src="/js/beta.fix.js"></script>
<script type="text/javascript" src="/js/datepicker.js"></script>
<script type="text/javascript">
function goSearch(obj){
document.search.submit();
}
function linkPage(pageNo){
document.search.pageIndex.value = pageNo ;
document.search.action = '/com/srch/SearchConference.do';
document.search.submit();
}
function doCollection(type){
var url = '';
if(type === 'ALL'){
url = '/com/srch/Search.do';
}else if(type === 'process'){
url = '/com/srch/SearchProcess.do';
}else if(type === 'conference'){
url = '/com/srch/SearchConference.do';
}else if(type === 'completed'){
url = '/com/srch/SearchCompleted.do';
}else if(type === 'board'){
url = '/com/srch/SearchBoard.do';
}else if(type === 'counsel'){
url = '/com/srch/SearchCounsel.do';
}
document.search.searchType.value = type;
document.search.action = url;
document.search.submit();
}
</script>
<style>
.page-content{padding-left:0;padding-right:0;}
.cs-search-wrapper {margin-top:40px;font-family:'Malgun Gothic';}
.cs-search{position: relative;}
.cs-search .blue_window{display:inline-block;width:561px;height:40px;border: 1px solid #676fb2;border-right:0;}
.cs-search label{background:url(/img/search-fofair.png) no-repeat 15px 50%;width:147px;height:40px;margin-bottom:0;
text-indent:-999em;}
.cs-search .query{width:100%;height:100%;padding:4px 10px;border:0;font-size:15px;}
.cs-search .query::-webkit-input-placeholder {font-family:'Malgun Gothic';color: #757575;font-size:15px;letter-spacing: -1px;}
.cs-search .query::-moz-placeholder {font-family:'Malgun Gothic';color: #757575;font-size:15px;letter-spacing: -1px;}
.cs-search .query:-ms-input-placeholder {font-family:'Malgun Gothic';color: #757575;font-size:15px;letter-spacing: -1px;}
.cs-search .query:-moz-placeholder {font-family:'Malgun Gothic';color: #757575;font-size:15px;letter-spacing: -1px;}
.cs-search .cs-search-btn{width:57px;height:40px;white-space: nowrap;background: #818ce3;color: #fff;-moz-box-shadow: inset 0 0 10px #5f6cd4;-webkit-box-shadow: inset 0 0 10px #5f6cd4;box-shadow:inset 0 0 10px #5f6cd4;}
.cs-search-lnb{overflow:hidden;list-style:none;border-bottom:1px solid #e8e8e8}
.cs-search-lnb li{float:left;}
.cs-search-lnb li:first-child{margin-left:139px;}
.cs-search-lnb li a{position:relative;display:block;height:54px;margin: 2px 8px 0;padding: 0 8px;line-height:54px;}
.cs-search-lnb li a.on{color: #5f6cd4;font-weight:700}
.cs-search-lnb li a.on:after{content:'';display:block;position:absolute;left:0;bottom:0;width:100%;height:3px;background:#5f6cd4}
.cs-content-search{padding:16px 0 0 163px;}
.cs-result-stats{font-size:13px;color:#808080;margin-bottom:38px;}
.result-box{max-width:618px;padding:16px 0;border-top:1px solid #e8e8e8}
.result-box h2{margin-bottom: 10px;font-size:15px;}
.result-link{font-size:18px;color:#1a0dab;}
.result-link.more{font-size:16px;}
.result-link:hover{text-decoration:underline;}
.result-list{position: relative;margin-bottom:23px;}
.result-list:last-child{margin-bottom:0;}
.result-date{color:#545454;line-height: 1.4;}
.result-content{padding:4px 0;text-overflow: ellipsis;white-space: nowrap;overflow: hidden;}
</style>
<div class="cs-search-wrapper">
<div class="search-form-wrap">
<form:form name="search" id="search" action="/com/srch/Search.do" class="search-form" method="post">
<input type="hidden" id="pageIndex" name="pageIndex" value="1"/>
<input type="hidden" id="searchType" name="searchType" value="conference"/>
<fieldset>
<div class="cs-search">
<label for="query">kofair</label>
<span class="blue_window">
<input name="searchKeyword" id="searchKeyword" type="text" value="${searchVO.searchKeyword}" class="query" title="검색어 입력" placeholder="한국공정거래조정원 통합검색" >
</span>
<a style="display: unset;"><input type="button" value="검색" class="cs-search-btn" onClick="javascript:goSearch(this);" />&nbsp;
</a>
</div>
</fieldset>
</form:form>
</div>
<c:if test="${not empty searchVO.searchKeyword}">
<ul class="cs-search-lnb">
<li><a href="#none" onClick="javascript:doCollection('ALL');">통합검색</a></li>
<li>
<a href="#none" onClick="doCollection('process');">
사건처리 관리 [${empty process.totcnt ? "0":process.totcnt}]
</a>
</li>
<li>
<a href="#none" onClick="doCollection('conference');" class="on">
협의회 관리 [${empty conference.totcnt ? "0":conference.totcnt}]
</a>
</li>
<li>
<a href="#none" onClick="doCollection('completed');">
사건종료 관리 [${empty completed.totcnt ? "0":completed.totcnt}]
</a>
</li>
<li>
<a href="#none" onClick="doCollection('board');">
게시판 [${empty board.totcnt ? "0":board.totcnt}]
</a>
</li>
<li>
<a href="#none" onClick="doCollection('counsel');">
상담 관리 [${empty counsel.totcnt ? "0":counsel.totcnt}]
</a>
</li>
</ul>
<c:choose>
<c:when test="${fn:length(conference.list) > 0}">
<div class="cs-content-search">
<div class="cs-result-stats">검색어 '<c:out value="${searchVO.searchKeyword}"/>'에 대해 총 ${conference.totcnt}건이 검색되었습니다.</div>
<div class="result-box cass">
<h2>협의회관리</h2>
<c:forEach var="list" items="${conference.list}" varStatus="sts1">
<div class="result-list">
<a href="/gtm/case/trublcfrncmng/endNticeView/View.do?type=N&cfrncNo=${list.url}" class="result-link" target="_blank">${list.conferenceNames}</a>
<div class="result-content">사건번호: ${list.caseNo} </div>
<div class="result-content">신청인: ${list.companyCeo}, 신청인상호명: ${list.applcntCompany}, 신청인 소재지: ${list.roadAddr1} </div>
<div class="result-content">신청인 담당자 전화번호: ${list.contactHp} </div>
<div class="result-content">피신청인: ${list.respondentCeo}, 피신청인상호명: ${list.respondentCompany} </div>
<div class="result-content">피신청인 담당자 전화번호: ${list.pcontactHp} </div>
<div class="result-content">신청취지: ${list.applicationObj}</div>
<div class="result-content">조정결과: ${list.mediationBig} [${list.mediationSmall}]</div>
<div class="result-content">회의구분: ${list.conferenceGubunNm} [${list.stateProNm}]</div>
<div class="result-content">보고안건: ${list.dlbrtmtrCnt}, 심의안건: ${list.endmtrCnt} </div>
<div class="result-content">참석의원: ${list.memberName} </div>
<div class="result-content">회의장소: ${list.conferencePlace} </div>
<span class="result-date">개최일시 : ${list.fixDay} </span>
</div>
</c:forEach>
</div>
<div class="page">
<ul class="inline">
<ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="linkPage" />
</ul>
</div>
</div>
</c:when>
<c:otherwise>
<div class="result-box h2">
<p>'<c:out value="${searchVO.searchKeyword}"/>'에 대한 검색결과가 없습니다.</p>
<ul>
<li>단어의 철자가 정확한지 확인해 보세요.</li>
<li>한글을 영어로 혹은 영어를 한글로 입력했는지 확인해 보세요.</li>
<li>검색어의 단어 수를 줄이거나, 보다 일반적인 검색어로 다시 검색해 보세요.</li>
<li>두 단어 이상의 검색어인 경우, 띄어쓰기를 확인해 보세요.</li>
</ul>
</div>
</c:otherwise>
</c:choose>
</c:if>
</div>

View File

@ -0,0 +1,167 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<link rel="stylesheet" type="text/css" href="/css/jquery-ui.css" >
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/jquery-ui.min.js"></script>
<script type="text/javascript" src="/js/beta.fix.js"></script>
<script type="text/javascript" src="/js/datepicker.js"></script>
<script type="text/javascript">
function goSearch(obj){
document.search.submit();
}
function linkPage(pageNo){
document.search.pageIndex.value = pageNo ;
document.search.action = '/com/srch/SearchCounsel.do';
document.search.submit();
}
function doCollection(type){
var url = '';
if(type === 'ALL'){
url = '/com/srch/Search.do';
}else if(type === 'process'){
url = '/com/srch/SearchProcess.do';
}else if(type === 'conference'){
url = '/com/srch/SearchConference.do';
}else if(type === 'completed'){
url = '/com/srch/SearchCompleted.do';
}else if(type === 'board'){
url = '/com/srch/SearchBoard.do';
}else if(type === 'counsel'){
url = '/com/srch/SearchCounsel.do';
}
document.search.searchType.value = type;
document.search.action = url;
document.search.submit();
}
</script>
<style>
.page-content{padding-left:0;padding-right:0;}
.cs-search-wrapper {margin-top:40px;font-family:'Malgun Gothic';}
.cs-search{position: relative;}
.cs-search .blue_window{display:inline-block;width:561px;height:40px;border: 1px solid #676fb2;border-right:0;}
.cs-search label{background:url(/img/search-fofair.png) no-repeat 15px 50%;width:147px;height:40px;margin-bottom:0;
text-indent:-999em;}
.cs-search .query{width:100%;height:100%;padding:4px 10px;border:0;font-size:15px;}
.cs-search .query::-webkit-input-placeholder {font-family:'Malgun Gothic';color: #757575;font-size:15px;letter-spacing: -1px;}
.cs-search .query::-moz-placeholder {font-family:'Malgun Gothic';color: #757575;font-size:15px;letter-spacing: -1px;}
.cs-search .query:-ms-input-placeholder {font-family:'Malgun Gothic';color: #757575;font-size:15px;letter-spacing: -1px;}
.cs-search .query:-moz-placeholder {font-family:'Malgun Gothic';color: #757575;font-size:15px;letter-spacing: -1px;}
.cs-search .cs-search-btn{width:57px;height:40px;white-space: nowrap;background: #818ce3;color: #fff;-moz-box-shadow: inset 0 0 10px #5f6cd4;-webkit-box-shadow: inset 0 0 10px #5f6cd4;box-shadow:inset 0 0 10px #5f6cd4;}
.cs-search-lnb{overflow:hidden;list-style:none;border-bottom:1px solid #e8e8e8}
.cs-search-lnb li{float:left;}
.cs-search-lnb li:first-child{margin-left:139px;}
.cs-search-lnb li a{position:relative;display:block;height:54px;margin: 2px 8px 0;padding: 0 8px;line-height:54px;}
.cs-search-lnb li a.on{color: #5f6cd4;font-weight:700}
.cs-search-lnb li a.on:after{content:'';display:block;position:absolute;left:0;bottom:0;width:100%;height:3px;background:#5f6cd4}
.cs-content-search{padding:16px 0 0 163px;}
.cs-result-stats{font-size:13px;color:#808080;margin-bottom:38px;}
.result-box{max-width:618px;padding:16px 0;border-top:1px solid #e8e8e8}
.result-box h2{margin-bottom: 10px;font-size:15px;}
.result-link{font-size:18px;color:#1a0dab;}
.result-link.more{font-size:16px;}
.result-link:hover{text-decoration:underline;}
.result-list{position: relative;margin-bottom:23px;}
.result-list:last-child{margin-bottom:0;}
.result-date{color:#545454;line-height: 1.4;}
.result-content{padding:4px 0;text-overflow: ellipsis;white-space: nowrap;overflow: hidden;}
</style>
<div class="cs-search-wrapper">
<div class="search-form-wrap">
<form:form name="search" id="search" action="/com/srch/Search.do" class="search-form" method="post">
<input type="hidden" id="pageIndex" name="pageIndex" value="1"/>
<input type="hidden" id="searchType" name="searchType" value="counsel"/>
<fieldset>
<div class="cs-search">
<label for="query">kofair</label>
<span class="blue_window">
<input name="searchKeyword" id="searchKeyword" type="text" value="${searchVO.searchKeyword}" class="query" title="검색어 입력" placeholder="한국공정거래조정원 통합검색" >
</span>
<a style="display: unset;"><input type="button" value="검색" class="cs-search-btn" onClick="javascript:goSearch(this);" />&nbsp;
</a>
</div>
</fieldset>
</form:form>
</div>
<c:if test="${not empty searchVO.searchKeyword}">
<ul class="cs-search-lnb">
<li><a href="#none" onClick="javascript:doCollection('ALL');">통합검색</a></li>
<li>
<a href="#none" onClick="doCollection('process');">
사건처리 관리 [${empty process.totcnt ? "0":process.totcnt}]
</a>
</li>
<li>
<a href="#none" onClick="doCollection('conference');">
협의회 관리 [${empty conference.totcnt ? "0":conference.totcnt}]
</a>
</li>
<li>
<a href="#none" onClick="doCollection('completed');">
사건종료 관리 [${empty completed.totcnt ? "0":completed.totcnt}]
</a>
</li>
<li>
<a href="#none" onClick="doCollection('board');">
게시판 [${empty board.totcnt ? "0":board.totcnt}]
</a>
</li>
<li>
<a href="#none" onClick="doCollection('counsel');" class="on">
상담 관리 [${empty counsel.totcnt ? "0":counsel.totcnt}]
</a>
</li>
</ul>
<c:choose>
<c:when test="${fn:length(counsel.list) > 0}">
<div class="cs-content-search">
<div class="cs-result-stats">검색어 '<c:out value="${searchVO.searchKeyword}"/>'에 대해 총 ${counsel.totcnt}건이 검색되었습니다.</div>
<div class="result-box cass">
<h2>상담관리</h2>
<c:forEach var="list" items="${counsel.list}" varStatus="sts1">
<div class="result-list">
<a href="/gtm/case/onlineCounsel/view.do?type=L&fileFuncType=CIVIL_TYPE&counselSeq=${list.url}" class="result-link" target="_blank">${list.counselTitle}</a>
<div class="result-content">상담번호: ${list.counselSeq} </div>
<div class="result-content">신청인: ${list.applcntNm}, 조정유형: ${list.mediationTypeName} </div>
<div class="result-content">상담방식: ${list.civilType}, 상담경로: ${list.noticeType} </div>
<div class="result-content">진행상태: ${list.counselStateName}, 처리일자: ${list.noticeDate}, 담당자: ${list.managerNm} </div>
<span class="result-date">등록일: ${list.counselRegdate} </span>
</div>
</c:forEach>
</div>
<div class="page">
<ul class="inline">
<ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="linkPage" />
</ul>
</div>
</div>
</c:when>
<c:otherwise>
<div class="result-box h2">
<p>'<c:out value="${searchVO.searchKeyword}"/>'에 대한 검색결과가 없습니다.</p>
<ul>
<li>단어의 철자가 정확한지 확인해 보세요.</li>
<li>한글을 영어로 혹은 영어를 한글로 입력했는지 확인해 보세요.</li>
<li>검색어의 단어 수를 줄이거나, 보다 일반적인 검색어로 다시 검색해 보세요.</li>
<li>두 단어 이상의 검색어인 경우, 띄어쓰기를 확인해 보세요.</li>
</ul>
</div>
</c:otherwise>
</c:choose>
</c:if>
</div>

View File

@ -1,6 +1,7 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<link rel="stylesheet" type="text/css" href="/css/jquery-ui.css" >
@ -15,6 +16,27 @@
function goSearch(obj){
document.search.submit();
}
function doCollection(type){
var url = '';
if(type === 'ALL'){
url = '/com/srch/Search.do';
}else if(type === 'process'){
url = '/com/srch/SearchProcess.do';
}else if(type === 'conference'){
url = '/com/srch/SearchConference.do';
}else if(type === 'completed'){
url = '/com/srch/SearchCompleted.do';
}else if(type === 'board'){
url = '/com/srch/SearchBoard.do';
}else if(type === 'counsel'){
url = '/com/srch/SearchCounsel.do';
}
document.search.searchType.value = type;
document.search.action = url;
document.search.submit();
}
</script>
@ -53,6 +75,8 @@
<div class="cs-search-wrapper">
<div class="search-form-wrap">
<form:form name="search" id="search" action="/com/srch/Search.do" class="search-form" method="post">
<input type="hidden" id="pageIndex" name="pageIndex" value="1"/>
<input type="hidden" id="searchType" name="searchType" value=""/>
<fieldset>
<div class="cs-search">
<label for="query">kofire</label>
@ -71,145 +95,148 @@
<ul class="cs-search-lnb">
<li><a href="#none" onClick="javascript:doCollection('ALL');" class="on">통합검색</a></li>
<li>
<a href="#none" onClick="process">
사건처리 관리 [${empty board.totcnt ? "0":board.totcnt}]
<a href="#none" onClick="doCollection('process');">
사건처리 관리 [${empty process.totcnt ? "0":process.totcnt}]
</a>
</li>
<li>
<a href="#none" onClick="conference">
협의회 관리 [${empty completed.totcnt ? "0":completed.totcnt}]
<a href="#none" onClick="doCollection('conference');">
협의회 관리 [${empty conference.totcnt ? "0":conference.totcnt}]
</a>
</li>
<li>
<a href="#none" onClick="completed">
사건종료 관리 [${empty conference.totcnt ? "0":conference.totcnt}]
<a href="#none" onClick="doCollection('completed');">
사건종료 관리 [${empty completed.totcnt ? "0":completed.totcnt}]
</a>
</li>
<li>
<a href="#none" onClick="board">
게시판 [${empty counsel.totcnt ? "0":counsel.totcnt}]
<a href="#none" onClick="doCollection('board');">
게시판 [${empty board.totcnt ? "0":board.totcnt}]
</a>
</li>
<li>
<a href="#none" onClick="counsel">
상담 관리 [${empty process.totcnt ? "0":process.totcnt}]
<a href="#none" onClick="doCollection('counsel');">
상담 관리 [${empty counsel.totcnt ? "0":counsel.totcnt}]
</a>
</li>
</ul>
<div class="cs-content-search">
<div class="cs-result-stats">검색어 '검색어'에 대해 총 ${totCnt}건이 검색되었습니다.</div>
<div class="result-box cass">
<h2>사건처리관리</h2>
<c:forEach var="list" items="${process.list}" varStatus="sts1">
<div class="result-list">
<a href="${list.url}" class="result-link" target="_blank">${list.docId}</a>
<div class="result-content">사건구분: ${list.caseGubunNm} </div>
<div class="result-content">신청인: ${list.companyCeo}, 신청인 상호명: ${list.applcntCompany}, 신청인소재지: ${list.roadAddr1}, 신청경로: ${list.docCheck} </div>
<div class="result-content">신청인 담당자 연락처: ${list.contactHp}</div>
<div class="result-content">피신청인: ${list.respondentCeo}, 피신청인 상호명: ${list.respondentCompany}, 자산총액: ${list.kpiAssets1} </div>
<div class="result-content">피신청인 담당자 연락처: ${list.pcontactHp}</div>
<div class="result-content">신청취지: ${list.applicationObj}</div>
<div class="result-content">현재단계: ${list.stateProNm}, 다음단계: ${list.stateProNext}, 기간경과여부: ${list.termCheck}</div>
<div class="result-content">조정결과: ${list.mediationBig} [${list.mediationSmall}]</div>
<div class="result-content">담당자: ${list.caseExaminerNm}, 진행일수: <span class="prodate_put">${list.proDate}</span> </div>
<div class="org_prodate" style="display:none;">${list.proDate} </div>
<span class="result-date">접수일 : ${list.caseDate} </span>
</div>
</c:forEach>
<a href="#none" class="result-link.more" onClick="javascript:doCollection('');">더보기</a>
</div>
<div class="result-box">
<h2>협의회관리</h2>
<c:forEach var="list" items="${conference.list}" varStatus="sts1">
<div class="result-list">
<a href="${list.url}" class="result-link" target="_blank">${list.conferenceNames}</a>
<div class="result-content">사건번호: ${list.caseNo} </div>
<div class="result-content">신청인: ${list.companyCeo}, 신청인상호명: ${list.applcntCompany}, 신청인 소재지: ${list.roadAddr1} </div>
<div class="result-content">신청인 담당자 전화번호: ${list.contactHp} </div>
<div class="result-content">피신청인: ${list.respondentCeo}, 피신청인상호명: ${list.respondentCompany} </div>
<div class="result-content">피신청인 담당자 전화번호: ${list.pcontactHp} </div>
<div class="result-content">신청취지: ${list.applicationObj}</div>
<div class="result-content">조정결과: ${list.mediationBig} [${list.mediationSmall}]</div>
<div class="result-content">회의구분: ${list.conferenceGubunNm} [${list.stateProNm}]</div>
<div class="result-content">보고안건: ${list.dlbrtmtrCnt}, 심의안건: ${list.endmtrCnt} </div>
<div class="result-content">참석의원: ${list.memberName} </div>
<div class="result-content">회의장소: ${list.conferencePlace} </div>
<span class="result-date">개최일시 : ${list.fixDay} </span>
</div>
</c:forEach>
<a href="#none" class="result-link.more" onClick="javascript:doCollection('');">더보기</a>
</div>
<div class="result-box">
<h2>사건종료관리</h2>
<c:forEach var="list" items="${completed.list}" varStatus="sts1">
<div class="result-list">
<a href="${list.url}" class="result-link" target="_blank">${list.docId}</a>
<div class="result-content">신청인: ${list.companyCeo}, 피신청인: ${list.applcntCompany}, 신청인소재지: ${list.roadAddr1} </div>
<div class="result-content">신청인 담당자 연락처: ${list.contactHp} </div>
<div class="result-content">피신청인: ${list.respondentCeo}, 피신청인: ${list.respondentCompany} </div>
<div class="result-content">피신청인 담당자 연락처: ${list.pcontactHp} </div>
<div class="result-content">신청취지: ${list.applicationObj}</div>
<div class="result-content">조정결과: ${list.mediationBig} [${list.mediationSmall}]</div>
<div class="result-content">접수일: ${list.caseDate}, 종료회차: ${list.conferenceNames} </div>
<div class="result-content">담당자: ${list.caseExaminerNm} </div>
<span class="result-date">종료일자 : ${list.fixDay} </span>
</div>
</c:forEach>
<a href="#none" class="result-link.more" onClick="javascript:doCollection('');">더보기</a>
</div>
<div class="result-box">
<h2>게시판</h2>
<c:forEach var="list" items="${board.list}" varStatus="sts1">
<div class="result-list">
<a href="${list.url}" class="result-link" target="_blank">${list.teamTitle}</a>
<div class="result-content">내용: ${list.teamContent} </div>
<div class="result-content">작성자: ${list.teamRegnm} </div>
<span class="result-date">작성일: ${list.teamRegdate} </span>
</div>
</c:forEach>
<a href="#none" class="result-link.more" onClick="javascript:doCollection('');">더보기</a>
</div>
<div class="result-box">
<h2>상담관리</h2>
<c:forEach var="list" items="${counsel.list}" varStatus="sts1">
<div class="result-list">
<a href="${list.url}" class="result-link" target="_blank">${list.counselTitle}</a>
<div class="result-content">상담번호: ${list.counselSeq} </div>
<div class="result-content">신청인: ${list.applcntNm}, 조정유형: ${list.mediationTypeName} </div>
<div class="result-content">상담방식: ${list.civilType}, 상담경로: ${list.noticeType} </div>
<div class="result-content">진행상태: ${list.counselStateName}, 처리일자: ${list.noticeDate}, 담당자: ${list.managerNm} </div>
<span class="result-date">등록일: ${list.counselRegdate} </span>
</div>
</c:forEach>
<a href="#none" class="result-link.more" onClick="javascript:doCollection('');">더보기</a>
</div>
<%-- <div class="result-box h2">
<p>'<%=query %>'에 대한 검색결과가 없습니다.</p>
<ul>
<li>단어의 철자가 정확한지 확인해 보세요.</li>
<li>한글을 영어로 혹은 영어를 한글로 입력했는지 확인해 보세요.</li>
<li>검색어의 단어 수를 줄이거나, 보다 일반적인 검색어로 다시 검색해 보세요.</li>
<li>두 단어 이상의 검색어인 경우, 띄어쓰기를 확인해 보세요.</li>
</ul>
</div> --%>
</div>
<c:choose>
<c:when test="${totCnt ne '0'}">
<div class="cs-content-search">
<div class="cs-result-stats">검색어 '<c:out value="${searchVO.searchKeyword}"/>'에 대해 총 ${totCnt}건이 검색되었습니다.</div>
<c:if test="${fn:length(process.list) > 0}">
<div class="result-box cass">
<h2>사건처리관리</h2>
<c:forEach var="list" items="${process.list}" varStatus="sts1">
<div class="result-list">
<a href="/gtm/case/trublprocessmng/rceptEdit/Edit.do?type=TP_RCEPTEDIT&caseNo=${list.url}" class="result-link" target="_blank">${list.docId}</a>
<div class="result-content">사건구분: ${list.caseGubunNm} </div>
<div class="result-content">신청인: ${list.companyCeo}, 신청인 상호명: ${list.applcntCompany}, 신청인소재지: ${list.roadAddr1}, 신청경로: ${list.docCheck} </div>
<div class="result-content">신청인 담당자 연락처: ${list.contactHp}</div>
<div class="result-content">피신청인: ${list.respondentCeo}, 피신청인 상호명: ${list.respondentCompany}, 자산총액: ${list.kpiAssets1} </div>
<div class="result-content">피신청인 담당자 연락처: ${list.pcontactHp}</div>
<div class="result-content">신청취지: ${list.applicationObj}</div>
<div class="result-content">현재단계: ${list.stateProNm}, 다음단계: ${list.stateProNext}, 기간경과여부: ${list.termCheck}</div>
<div class="result-content">조정결과: ${list.mediationBig} [${list.mediationSmall}]</div>
<div class="result-content">담당자: ${list.caseExaminerNm}, 진행일수: <span class="prodate_put">${list.proDate}</span> </div>
<div class="org_prodate" style="display:none;">${list.proDate} </div>
<span class="result-date">접수일 : ${list.caseDate} </span>
</div>
</c:forEach>
<a href="#none" class="result-link.more" onClick="javascript:doCollection('process');">더보기</a>
</div>
</c:if>
<c:if test="${fn:length(conference.list) > 0}">
<div class="result-box">
<h2>협의회관리</h2>
<c:forEach var="list" items="${conference.list}" varStatus="sts1">
<div class="result-list">
<a href="/gtm/case/trublcfrncmng/endNticeView/View.do?type=N&cfrncNo=${list.url}" class="result-link" target="_blank">${list.conferenceNames}</a>
<div class="result-content">사건번호: ${list.caseNo} </div>
<div class="result-content">신청인: ${list.companyCeo}, 신청인상호명: ${list.applcntCompany}, 신청인 소재지: ${list.roadAddr1} </div>
<div class="result-content">신청인 담당자 전화번호: ${list.contactHp} </div>
<div class="result-content">피신청인: ${list.respondentCeo}, 피신청인상호명: ${list.respondentCompany} </div>
<div class="result-content">피신청인 담당자 전화번호: ${list.pcontactHp} </div>
<div class="result-content">신청취지: ${list.applicationObj}</div>
<div class="result-content">조정결과: ${list.mediationBig} [${list.mediationSmall}]</div>
<div class="result-content">회의구분: ${list.conferenceGubunNm} [${list.stateProNm}]</div>
<div class="result-content">보고안건: ${list.dlbrtmtrCnt}, 심의안건: ${list.endmtrCnt} </div>
<div class="result-content">참석의원: ${list.memberName} </div>
<div class="result-content">회의장소: ${list.conferencePlace} </div>
<span class="result-date">개최일시 : ${list.fixDay} </span>
</div>
</c:forEach>
<a href="#none" class="result-link.more" onClick="javascript:doCollection('conference');">더보기</a>
</div>
</c:if>
<c:if test="${fn:length(completed.list) > 0}">
<div class="result-box">
<h2>사건종료관리</h2>
<c:forEach var="list" items="${completed.list}" varStatus="sts1">
<div class="result-list">
<a href="/gtm/case/trublend/trublendView/View.do?type=TP_RCEPTEDIT&caseNo=${list.url}" class="result-link" target="_blank">${list.caseNo}</a>
<div class="result-content">신청인: ${list.companyCeo}, 신청인 상호명: ${list.applcntCompany}, 신청인소재지: ${list.roadAddr1} </div>
<div class="result-content">신청인 담당자 연락처: ${list.contactHp} </div>
<div class="result-content">피신청인: ${list.respondentCeo}, 피신청인 상호명: ${list.respondentCompany} </div>
<div class="result-content">피신청인 담당자 연락처: ${list.pcontactHp} </div>
<div class="result-content">신청취지: ${list.applicationObj}</div>
<div class="result-content">조정결과: ${list.mediationBig} [${list.mediationSmall}]</div>
<div class="result-content">접수일: ${list.caseDate}, 종료회차: ${list.conferenceNames} </div>
<div class="result-content">담당자: ${list.caseExaminerNm} </div>
<span class="result-date">종료일자 : ${list.fixDay} </span>
</div>
</c:forEach>
<a href="#none" class="result-link.more" onClick="javascript:doCollection('completed');">더보기</a>
</div>
</c:if>
<c:if test="${fn:length(board.list) > 0}">
<div class="result-box">
<h2>게시판</h2>
<c:forEach var="list" items="${board.list}" varStatus="sts1">
<div class="result-list">
<a href="/gtm/case/team/board/view.do?fileFuncType=team&page=1&teamNo=${list.url}" class="result-link" target="_blank">${list.teamTitle}</a>
<div class="result-content">내용: ${list.teamContent} </div>
<div class="result-content">작성자: ${list.teamRegnm} </div>
<span class="result-date">작성일: ${list.teamRegdate} </span>
</div>
</c:forEach>
<a href="#none" class="result-link.more" onClick="javascript:doCollection('board');">더보기</a>
</div>
</c:if>
<c:if test="${fn:length(counsel.list) > 0}">
<div class="result-box">
<h2>상담관리</h2>
<c:forEach var="list" items="${counsel.list}" varStatus="sts1">
<div class="result-list">
<a href="/gtm/case/onlineCounsel/view.do?type=L&fileFuncType=CIVIL_TYPE&counselSeq=${list.url}" class="result-link" target="_blank">${list.counselTitle}</a>
<div class="result-content">상담번호: ${list.counselSeq} </div>
<div class="result-content">신청인: ${list.applcntNm}, 조정유형: ${list.mediationTypeName} </div>
<div class="result-content">상담방식: ${list.civilType}, 상담경로: ${list.noticeType} </div>
<div class="result-content">진행상태: ${list.counselStateName}, 처리일자: ${list.noticeDate}, 담당자: ${list.managerNm} </div>
<span class="result-date">등록일: ${list.counselRegdate} </span>
</div>
</c:forEach>
<a href="#none" class="result-link.more" onClick="javascript:doCollection('counsel');">더보기</a>
</div>
</c:if>
</div>
</c:when>
<c:otherwise>
<div class="result-box h2">
<p>'<c:out value="${searchVO.searchKeyword}"/>'에 대한 검색결과가 없습니다.</p>
<ul>
<li>단어의 철자가 정확한지 확인해 보세요.</li>
<li>한글을 영어로 혹은 영어를 한글로 입력했는지 확인해 보세요.</li>
<li>검색어의 단어 수를 줄이거나, 보다 일반적인 검색어로 다시 검색해 보세요.</li>
<li>두 단어 이상의 검색어인 경우, 띄어쓰기를 확인해 보세요.</li>
</ul>
</div>
</c:otherwise>
</c:choose>
</c:if>
</div>
</div>

View File

@ -0,0 +1,173 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<link rel="stylesheet" type="text/css" href="/css/jquery-ui.css" >
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/jquery-ui.min.js"></script>
<script type="text/javascript" src="/js/beta.fix.js"></script>
<script type="text/javascript" src="/js/datepicker.js"></script>
<script type="text/javascript">
function goSearch(obj){
document.search.submit();
}
function linkPage(pageNo){
document.search.pageIndex.value = pageNo ;
document.search.action = '/com/srch/SearchProcess.do';
document.search.submit();
}
function doCollection(type){
var url = '';
if(type === 'ALL'){
url = '/com/srch/Search.do';
}else if(type === 'process'){
url = '/com/srch/SearchProcess.do';
}else if(type === 'conference'){
url = '/com/srch/SearchConference.do';
}else if(type === 'completed'){
url = '/com/srch/SearchCompleted.do';
}else if(type === 'board'){
url = '/com/srch/SearchBoard.do';
}else if(type === 'counsel'){
url = '/com/srch/SearchCounsel.do';
}
document.search.searchType.value = type;
document.search.action = url;
document.search.submit();
}
</script>
<style>
.page-content{padding-left:0;padding-right:0;}
.cs-search-wrapper {margin-top:40px;font-family:'Malgun Gothic';}
.cs-search{position: relative;}
.cs-search .blue_window{display:inline-block;width:561px;height:40px;border: 1px solid #676fb2;border-right:0;}
.cs-search label{background:url(/img/search-fofair.png) no-repeat 15px 50%;width:147px;height:40px;margin-bottom:0;
text-indent:-999em;}
.cs-search .query{width:100%;height:100%;padding:4px 10px;border:0;font-size:15px;}
.cs-search .query::-webkit-input-placeholder {font-family:'Malgun Gothic';color: #757575;font-size:15px;letter-spacing: -1px;}
.cs-search .query::-moz-placeholder {font-family:'Malgun Gothic';color: #757575;font-size:15px;letter-spacing: -1px;}
.cs-search .query:-ms-input-placeholder {font-family:'Malgun Gothic';color: #757575;font-size:15px;letter-spacing: -1px;}
.cs-search .query:-moz-placeholder {font-family:'Malgun Gothic';color: #757575;font-size:15px;letter-spacing: -1px;}
.cs-search .cs-search-btn{width:57px;height:40px;white-space: nowrap;background: #818ce3;color: #fff;-moz-box-shadow: inset 0 0 10px #5f6cd4;-webkit-box-shadow: inset 0 0 10px #5f6cd4;box-shadow:inset 0 0 10px #5f6cd4;}
.cs-search-lnb{overflow:hidden;list-style:none;border-bottom:1px solid #e8e8e8}
.cs-search-lnb li{float:left;}
.cs-search-lnb li:first-child{margin-left:139px;}
.cs-search-lnb li a{position:relative;display:block;height:54px;margin: 2px 8px 0;padding: 0 8px;line-height:54px;}
.cs-search-lnb li a.on{color: #5f6cd4;font-weight:700}
.cs-search-lnb li a.on:after{content:'';display:block;position:absolute;left:0;bottom:0;width:100%;height:3px;background:#5f6cd4}
.cs-content-search{padding:16px 0 0 163px;}
.cs-result-stats{font-size:13px;color:#808080;margin-bottom:38px;}
.result-box{max-width:618px;padding:16px 0;border-top:1px solid #e8e8e8}
.result-box h2{margin-bottom: 10px;font-size:15px;}
.result-link{font-size:18px;color:#1a0dab;}
.result-link.more{font-size:16px;}
.result-link:hover{text-decoration:underline;}
.result-list{position: relative;margin-bottom:23px;}
.result-list:last-child{margin-bottom:0;}
.result-date{color:#545454;line-height: 1.4;}
.result-content{padding:4px 0;text-overflow: ellipsis;white-space: nowrap;overflow: hidden;}
</style>
<div class="cs-search-wrapper">
<div class="search-form-wrap">
<form:form name="search" id="search" action="/com/srch/Search.do" class="search-form" method="post">
<input type="hidden" id="pageIndex" name="pageIndex" value="1"/>
<input type="hidden" id="searchType" name="searchType" value="process"/>
<fieldset>
<div class="cs-search">
<label for="query">kofair</label>
<span class="blue_window">
<input name="searchKeyword" id="searchKeyword" type="text" value="${searchVO.searchKeyword}" class="query" title="검색어 입력" placeholder="한국공정거래조정원 통합검색" >
</span>
<a style="display: unset;"><input type="button" value="검색" class="cs-search-btn" onClick="javascript:goSearch(this);" />&nbsp;
</a>
</div>
</fieldset>
</form:form>
</div>
<c:if test="${not empty searchVO.searchKeyword}">
<ul class="cs-search-lnb">
<li><a href="#none" onClick="javascript:doCollection('ALL');">통합검색</a></li>
<li>
<a href="#none" onClick="doCollection('process');" class="on">
사건처리 관리 [${empty process.totcnt ? "0":process.totcnt}]
</a>
</li>
<li>
<a href="#none" onClick="doCollection('conference');">
협의회 관리 [${empty conference.totcnt ? "0":conference.totcnt}]
</a>
</li>
<li>
<a href="#none" onClick="doCollection('completed');">
사건종료 관리 [${empty completed.totcnt ? "0":completed.totcnt}]
</a>
</li>
<li>
<a href="#none" onClick="doCollection('board');">
게시판 [${empty board.totcnt ? "0":board.totcnt}]
</a>
</li>
<li>
<a href="#none" onClick="doCollection('counsel');">
상담 관리 [${empty counsel.totcnt ? "0":counsel.totcnt}]
</a>
</li>
</ul>
<c:choose>
<c:when test="${fn:length(process.list) > 0}">
<div class="cs-content-search">
<div class="cs-result-stats">검색어 '<c:out value="${searchVO.searchKeyword}"/>'에 대해 총 ${process.totcnt}건이 검색되었습니다.</div>
<div class="result-box cass">
<h2>사건처리관리</h2>
<c:forEach var="list" items="${process.list}" varStatus="sts1">
<div class="result-list">
<a href="/gtm/case/trublprocessmng/rceptEdit/Edit.do?type=TP_RCEPTEDIT&caseNo=${list.url}" class="result-link" target="_blank">${list.docId}</a>
<div class="result-content">사건구분: ${list.caseGubunNm} </div>
<div class="result-content">신청인: ${list.companyCeo}, 신청인 상호명: ${list.applcntCompany}, 신청인소재지: ${list.roadAddr1}, 신청경로: ${list.docCheck} </div>
<div class="result-content">신청인 담당자 연락처: ${list.contactHp}</div>
<div class="result-content">피신청인: ${list.respondentCeo}, 피신청인 상호명: ${list.respondentCompany}, 자산총액: ${list.kpiAssets1} </div>
<div class="result-content">피신청인 담당자 연락처: ${list.pcontactHp}</div>
<div class="result-content">신청취지: ${list.applicationObj}</div>
<div class="result-content">현재단계: ${list.stateProNm}, 다음단계: ${list.stateProNext}, 기간경과여부: ${list.termCheck}</div>
<div class="result-content">조정결과: ${list.mediationBig} [${list.mediationSmall}]</div>
<div class="result-content">담당자: ${list.caseExaminerNm}, 진행일수: <span class="prodate_put">${list.proDate}</span> </div>
<div class="org_prodate" style="display:none;">${list.proDate} </div>
<span class="result-date">접수일 : ${list.caseDate} </span>
</div>
</c:forEach>
</div>
<div class="page">
<ul class="inline">
<ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="linkPage" />
</ul>
</div>
</div>
</c:when>
<c:otherwise>
<div class="result-box h2">
<p>'<c:out value="${searchVO.searchKeyword}"/>'에 대한 검색결과가 없습니다.</p>
<ul>
<li>단어의 철자가 정확한지 확인해 보세요.</li>
<li>한글을 영어로 혹은 영어를 한글로 입력했는지 확인해 보세요.</li>
<li>검색어의 단어 수를 줄이거나, 보다 일반적인 검색어로 다시 검색해 보세요.</li>
<li>두 단어 이상의 검색어인 경우, 띄어쓰기를 확인해 보세요.</li>
</ul>
</div>
</c:otherwise>
</c:choose>
</c:if>
</div>