2024-10-23 16:03 관리자 페이징 수정

This commit is contained in:
myname 2024-10-23 16:04:29 +09:00
parent bbc21324bc
commit 789692f374
8 changed files with 421 additions and 425 deletions

View File

@ -1,156 +1,156 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%> <%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<!doctype html> <!doctype html>
<html lang="ko"> <html lang="ko">
<head> <head>
<title>정보 관리</title> <title>정보 관리</title>
<link href='/css/space.css' rel='stylesheet' type='text/css'/> <link href='/css/space.css' rel='stylesheet' type='text/css'/>
<link href='/css/seed.contents.css' rel='stylesheet' type='text/css'/> <link href='/css/seed.contents.css' rel='stylesheet' type='text/css'/>
<link href='/css/seed.mediaquery.css' rel='styleGsheet' type='text/css'/> <link href='/css/seed.mediaquery.css' rel='styleGsheet' type='text/css'/>
<link href='/site/ntcc/css/gtmCustom.css' rel='stylesheet' type='text/css'/> <link href='/site/ntcc/css/gtmCustom.css' rel='stylesheet' type='text/css'/>
<script src="/editor/webnote.js"></script> <script src="/editor/webnote.js"></script>
</head> </head>
<body> <body>
<div class="page-title-wrap clear"> <div class="page-title-wrap clear">
<div class="page-title-inner"> <div class="page-title-inner">
<h3 class="page-title">분쟁조정 사례(${menuName})</h3> <h3 class="page-title">분쟁조정 사례(${menuName})</h3>
<div class="tooltipBox type01"> <div class="tooltipBox type01">
<button type="button" class="page-tip">페이지안내</button> <button type="button" class="page-tip">페이지안내</button>
<div class="tooltipText"> <div class="tooltipText">
<p>분쟁조정 사례(${menuName})에 대한 목록 화면 입니다.</p> <p>분쟁조정 사례(${menuName})에 대한 목록 화면 입니다.</p>
</div> </div>
</div> </div>
</div> </div>
<div class="sch-content-wrap clear"> <div class="sch-content-wrap clear">
<form name="searchFrm" id="searchFrm" action="" method="get"> <form name="searchFrm" id="searchFrm" action="" method="get">
<input type="hidden" name="examNo" id="examNo" value=""> <input type="hidden" name="examNo" id="examNo" value="">
<input type="hidden" name="page" id="page" value="${pageMaker.cri.page}"> <input type="hidden" name="page" id="page" value="${pageMaker.cri.page}">
<input type="hidden" name="fileFuncType" id="fileFuncType" value="exam"> <input type="hidden" name="fileFuncType" id="fileFuncType" value="exam">
<fieldset> <fieldset>
<select name="searchType" id="searchType" class="sch-select" title="자료유형 선택"> <select name="searchType" id="searchType" class="sch-select" title="자료유형 선택">
<option value="title" <c:if test="${param.searchType == 'title'}">selected="selected"</c:if>>제목</option> <option value="title" <c:if test="${param.searchType == 'title'}">selected="selected"</c:if>>제목</option>
<option value="content" <c:if test="${param.searchType == 'content'}">selected="selected"</c:if>>내용</option> <option value="content" <c:if test="${param.searchType == 'content'}">selected="selected"</c:if>>내용</option>
</select> </select>
<input type="text" name="searchTilte" value="${param.searchTilte}" class="sch-text" title="제목검색"> <input type="text" name="searchTilte" value="${param.searchTilte}" class="sch-text" title="제목검색">
<button type="button" class="btn btn_text btn_36 blue_border btn-page-sch" title="검색 완료 버튼" onclick="goPage('search', '')">검색</button> <button type="button" class="btn btn_text btn_36 blue_border btn-page-sch" title="검색 완료 버튼" onclick="goPage('search', '')">검색</button>
</fieldset> </fieldset>
</form> </form>
</div> </div>
</div> </div>
<div class="form-wrap"> <div class="form-wrap">
<div class="table-layout"> <div class="table-layout">
<table> <table>
<caption>분쟁조정 사례 테이블입니다.</caption> <caption>분쟁조정 사례 테이블입니다.</caption>
<colgroup> <colgroup>
<col class="item-mobile-hidden" style="width:5%"> <col class="item-mobile-hidden" style="width:5%">
<col class="item-mobile-hidden" style="width:15%"> <col class="item-mobile-hidden" style="width:15%">
<col class="title"> <col class="title">
<col class="item-mobile-hidden" style="width:10%"> <col class="item-mobile-hidden" style="width:10%">
<col class="item-mobile-hidden" style="width:10%"> <col class="item-mobile-hidden" style="width:10%">
</colgroup> </colgroup>
<thead> <thead>
<tr> <tr>
<th scope="col" class="item-mobile-hidden">번호</th> <th scope="col" class="item-mobile-hidden">번호</th>
<th scope="col" class="item-mobile-hidden">유형</th> <th scope="col" class="item-mobile-hidden">유형</th>
<th scope="col">제목</th> <th scope="col">제목</th>
<th scope="col" class="item-mobile-hidden">대분류</th> <th scope="col" class="item-mobile-hidden">대분류</th>
<!-- <th scope="col" class="item-mobile-hidden">소분류</th> <!-- <th scope="col" class="item-mobile-hidden">소분류</th>
--> -->
<th scope="col" class="item-mobile-hidden">조회수</th> <th scope="col" class="item-mobile-hidden">조회수</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<c:forEach items="${bbsList}" var="list" varStatus="status"> <c:forEach items="${bbsList}" var="list" varStatus="status">
<tr> <tr>
<td class="item-mobile-hidden">${(pageMaker.totalCount - ((pageMaker.cri.page-1)*pageMaker.cri.perPageNum)) - status.index}</td> <td class="item-mobile-hidden">${(pageMaker.totalCount - ((pageMaker.cri.page-1)*pageMaker.cri.perPageNum)) - status.index}</td>
<td class="item-mobile-hidden">${list.EXAM_TYPE}</td> <td class="item-mobile-hidden">${list.EXAM_TYPE}</td>
<td><a href="javascript:goPage('view', '${list.EXAM_NO}');">${list.EXAM_SUBJ}</a></td> <td><a href="javascript:goPage('view', '${list.EXAM_NO}');">${list.EXAM_SUBJ}</a></td>
<td class="item-mobile-hidden">${list.EXAM_RESULT1}</td> <td class="item-mobile-hidden">${list.EXAM_RESULT1}</td>
<%-- <td class="item-mobile-hidden">${list.EXAM_RESULT2}</td> <%-- <td class="item-mobile-hidden">${list.EXAM_RESULT2}</td>
--%> --%>
<td class="item-mobile-hidden">${list.EXAM_CNT}</td> <td class="item-mobile-hidden">${list.EXAM_CNT}</td>
</tr> </tr>
</c:forEach> </c:forEach>
</tbody> </tbody>
</table> </table>
</div> </div>
<div class="change-state-area btn_wrap right" style="overflow: hidden;padding:0;"> <div class="change-state-area btn_wrap right" style="overflow: hidden;padding:0;">
<button type="button" onclick="goPage('write','')" class="btn-change-state btn btn_text btn_46 blue_fill">글쓰기</button> <button type="button" onclick="goPage('write','')" class="btn-change-state btn btn_text btn_46 blue_fill">글쓰기</button>
</div> </div>
</div> </div>
<!-- 페이징 --> <!-- 페이징 -->
<div class="pagination-container"> <div class="pagination-container">
<div class="pagination-inner clear"> <div class="pagination-inner clear">
<div class='pagination-control prev clear'> <div class='pagination-control prev clear'>
<a class='first-btn' href="javascript:goPage('paging', '1')" title="첫페이지"></a> <a class='first-btn' href="javascript:goPage('paging', '1')" title="첫페이지"></a>
<c:choose> <c:choose>
<c:when test="${pageMaker.prev}"> <c:when test="${pageMaker.prev}">
<a class='prev-btn' href="javascript:goPage('paging', '${pageMaker.cri.page - 1}')" title="이전페이지"><img src="/img/common/list_navi2.gif" alt="이전 목록으로 이동" /></a> <a class='prev-btn' href="javascript:goPage('paging', '${pageMaker.cri.page - 1}')" title="이전페이지"></a>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<a class='prev-btn' href="javascript:goPage('paging', '${pageMaker.cri.page}')" title="이전페이지"><img src="/img/common/list_navi2.gif" alt="이전 목록으로 이동" /></a> <a class='prev-btn' href="javascript:goPage('paging', '${pageMaker.cri.page}')" title="이전페이지"></a>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</div> </div>
<ul class='pagination clear'> <ul class='pagination clear'>
<c:forEach begin="${pageMaker.startPage}" end="${pageMaker.endPage }" var="idx"> <c:forEach begin="${pageMaker.startPage}" end="${pageMaker.endPage }" var="idx">
<c:choose> <c:choose>
<c:when test="${idx == pageMaker.cri.page }"> <c:when test="${idx == pageMaker.cri.page }">
<li><a class='on' href="javascript:goPage('paging', '${idx}')" title="현재페이지">${idx}</a></li> <li><a class='on' href="javascript:goPage('paging', '${idx}')" title="현재페이지">${idx}</a></li>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<li><a href="javascript:goPage('paging', '${idx}')" title="${idx}페이지">${idx}</a></li> <li><a href="javascript:goPage('paging', '${idx}')" title="${idx}페이지">${idx}</a></li>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</c:forEach> </c:forEach>
</ul> </ul>
<div class='pagination-control next clear'> <div class='pagination-control next clear'>
<c:choose> <c:choose>
<c:when test="${pageMaker.next}"> <c:when test="${pageMaker.next}">
<a class='next-btn' href="javascript:goPage('paging', '${pageMaker.cri.page + 1}')" title="다음페이지"><img src="/img/common/list_navi3.gif" alt="다음 목록으로 이동" /></a> <a class='next-btn' href="javascript:goPage('paging', '${pageMaker.cri.page + 1}')" title="다음페이지"></a>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<a class='next-btn' href="javascript:goPage('paging', '${pageMaker.cri.page}')" title="다음페이지"><img src="/img/common/list_navi3.gif" alt="다음 목록으로 이동" /></a> <a class='next-btn' href="javascript:goPage('paging', '${pageMaker.cri.page}')" title="다음페이지"></a>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
<a class='last-btn' href="javascript:goPage('paging', '${pageMaker.endPage}')" title="마지막페이지"><img src="/img/common/list_navi4.gif" alt="마지막 목록으로 이동" /></a> <a class='last-btn' href="javascript:goPage('paging', '${pageMaker.endPage}')" title="마지막페이지"></a>
</div> </div>
</div> </div>
</div> </div>
<!-- 페이징 END --> <!-- 페이징 END -->
<script type="text/javascript"> <script type="text/javascript">
function goPage(type, param){ function goPage(type, param){
if(type == 'write'){ if(type == 'write'){
$("#examNo").remove(); $("#examNo").remove();
$("#fileFuncType").remove(); $("#fileFuncType").remove();
$("#searchFrm").attr("action","/gtm/case/exam/${boardIdx}/write.do"); $("#searchFrm").attr("action","/gtm/case/exam/${boardIdx}/write.do");
$("#searchFrm").submit(); $("#searchFrm").submit();
}else if(type == 'search'){ }else if(type == 'search'){
$("#examNo").remove(); $("#examNo").remove();
$("#fileFuncType").remove(); $("#fileFuncType").remove();
$("#page").val("1"); $("#page").val("1");
$("#searchFrm").attr("action","/gtm/case/exam/${boardIdx}/list.do"); $("#searchFrm").attr("action","/gtm/case/exam/${boardIdx}/list.do");
$("#searchFrm").submit(); $("#searchFrm").submit();
}else if(type == 'view'){ }else if(type == 'view'){
$("#examNo").val(param); $("#examNo").val(param);
$("#searchFrm").attr("action","/gtm/case/exam/${boardIdx}/view.do"); $("#searchFrm").attr("action","/gtm/case/exam/${boardIdx}/view.do");
$("#searchFrm").submit(); $("#searchFrm").submit();
}else if(type == 'paging'){ }else if(type == 'paging'){
$("#examNo").remove(); $("#examNo").remove();
$("#fileFuncType").remove(); $("#fileFuncType").remove();
$("#page").val(param); $("#page").val(param);
$("#searchFrm").attr("action","/gtm/case/exam/${boardIdx}/list.do"); $("#searchFrm").attr("action","/gtm/case/exam/${boardIdx}/list.do");
$("#searchFrm").submit(); $("#searchFrm").submit();
} }
} }
</script> </script>
</body> </body>
</html> </html>

View File

@ -130,10 +130,10 @@
<a class='first-btn' href="javascript:goPage('paging', '1')" title="첫페이지"></a> <a class='first-btn' href="javascript:goPage('paging', '1')" title="첫페이지"></a>
<c:choose> <c:choose>
<c:when test="${pageMaker.prev}"> <c:when test="${pageMaker.prev}">
<a class='prev-btn' href="javascript:goPage('paging', '${pageMaker.cri.page - 1}')" title="이전페이지"><img src="/img/common/list_navi2.gif" alt="이전 목록으로 이동" /></a> <a class='prev-btn' href="javascript:goPage('paging', '${pageMaker.cri.page - 1}')" title="이전페이지"><s:message code="common.page.next"/></a>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<a class='prev-btn' href="javascript:goPage('paging', '${pageMaker.cri.page}')" title="이전페이지"><img src="/img/common/list_navi2.gif" alt="이전 목록으로 이동" /></a> <a class='prev-btn' href="javascript:goPage('paging', '${pageMaker.cri.page}')" title="이전페이지"><s:message code="common.page.next"/></a>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</div> </div>
@ -154,14 +154,15 @@
<div class='pagination-control next clear'> <div class='pagination-control next clear'>
<c:choose> <c:choose>
<c:when test="${pageMaker.next}"> <c:when test="${pageMaker.next}">
<a class='next-btn' href="javascript:goPage('paging', '${pageMaker.cri.page + 1}')" title="다음페이지"><img src="/img/common/list_navi3.gif" alt="다음 목록으로 이동" /></a> <a class='next-btn' href="javascript:goPage('paging', '${pageMaker.cri.page + 1}')" title="다음페이지"><s:message code="common.page.next"/></a>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<a class='next-btn' href="javascript:goPage('paging', '${pageMaker.cri.page}')" title="다음페이지"><img src="/img/common/list_navi3.gif" alt="다음 목록으로 이동" /></a> <a class='next-btn' href="javascript:goPage('paging', '${pageMaker.cri.page}')" title="다음페이지"><s:message code="common.page.next"/></a>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
<a class='last-btn' href="javascript:goPage('paging', '${pageMaker.endPage}')" title="마지막페이지"><img src="/img/common/list_navi4.gif" alt="마지막 목록으로 이동" /></a> <a class='last-btn' href="javascript:goPage('paging', '${pageMaker.endPage}')" title="마지막페이지"><s:message code="common.page.next"/></a>
</div> </div>
</div> </div>
</div> </div>
<!-- 페이징 END --> <!-- 페이징 END -->

View File

@ -302,10 +302,10 @@
<a class='first-btn' href="javascript:goPage('paging', '1')" title="첫페이지"></a> <a class='first-btn' href="javascript:goPage('paging', '1')" title="첫페이지"></a>
<c:choose> <c:choose>
<c:when test="${pageMaker.prev}"> <c:when test="${pageMaker.prev}">
<a class='prev-btn' href="javascript:goPage('paging', '${pageMaker.cri.page - 1}')" title="이전페이지"><img src="/img/common/list_navi2.gif" alt="이전 목록으로 이동" /></a> <a class='prev-btn' href="javascript:goPage('paging', '${pageMaker.cri.page - 1}')" title="이전페이지"></a>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<a class='prev-btn' href="javascript:goPage('paging', '${pageMaker.cri.page}')" title="이전페이지"><img src="/img/common/list_navi2.gif" alt="이전 목록으로 이동" /></a> <a class='prev-btn' href="javascript:goPage('paging', '${pageMaker.cri.page}')" title="이전페이지"></a>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</div> </div>
@ -326,13 +326,13 @@
<div class='pagination-control next clear'> <div class='pagination-control next clear'>
<c:choose> <c:choose>
<c:when test="${pageMaker.next}"> <c:when test="${pageMaker.next}">
<a class='next-btn' href="javascript:goPage('paging', '${pageMaker.cri.page + 1}')" title="다음페이지"><img src="/img/common/list_navi3.gif" alt="다음 목록으로 이동" /></a> <a class='next-btn' href="javascript:goPage('paging', '${pageMaker.cri.page + 1}')" title="다음페이지"></a>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<a class='next-btn' href="javascript:goPage('paging', '${pageMaker.cri.page}')" title="다음페이지"><img src="/img/common/list_navi3.gif" alt="다음 목록으로 이동" /></a> <a class='next-btn' href="javascript:goPage('paging', '${pageMaker.cri.page}')" title="다음페이지"></a>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
<a class='last-btn' href="javascript:goPage('paging', '${pageMaker.endPage}')" title="마지막페이지"><img src="/img/common/list_navi4.gif" alt="마지막 목록으로 이동" /></a> <a class='last-btn' href="javascript:goPage('paging', '${pageMaker.endPage}')" title="마지막페이지"></a>
</div> </div>
</div> </div>
</div> </div>

View File

@ -265,10 +265,10 @@ function clipCall(crfNm){
<a class='first-btn' href="javascript:goPage('paging', '1')" title="첫페이지"></a> <a class='first-btn' href="javascript:goPage('paging', '1')" title="첫페이지"></a>
<c:choose> <c:choose>
<c:when test="${pageMaker.prev}"> <c:when test="${pageMaker.prev}">
<a class='prev-btn' href="javascript:goPage('paging', '${pageMaker.cri.page - 1}')" title="이전페이지"><img src="/img/common/list_navi2.gif" alt="이전 목록으로 이동" /></a> <a class='prev-btn' href="javascript:goPage('paging', '${pageMaker.cri.page - 1}')" title="이전페이지"></a>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<a class='prev-btn' href="javascript:goPage('paging', '${pageMaker.cri.page}')" title="이전페이지"><img src="/img/common/list_navi2.gif" alt="이전 목록으로 이동" /></a> <a class='prev-btn' href="javascript:goPage('paging', '${pageMaker.cri.page}')" title="이전페이지"></a>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</div> </div>
@ -289,13 +289,13 @@ function clipCall(crfNm){
<div class='pagination-control next clear'> <div class='pagination-control next clear'>
<c:choose> <c:choose>
<c:when test="${pageMaker.next}"> <c:when test="${pageMaker.next}">
<a class='next-btn' href="javascript:goPage('paging', '${pageMaker.cri.page + 1}')" title="다음페이지"><img src="/img/common/list_navi3.gif" alt="다음 목록으로 이동" /></a> <a class='next-btn' href="javascript:goPage('paging', '${pageMaker.cri.page + 1}')" title="다음페이지"></a>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<a class='next-btn' href="javascript:goPage('paging', '${pageMaker.cri.page}')" title="다음페이지"><img src="/img/common/list_navi3.gif" alt="다음 목록으로 이동" /></a> <a class='next-btn' href="javascript:goPage('paging', '${pageMaker.cri.page}')" title="다음페이지"></a>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
<a class='last-btn' href="javascript:goPage('paging', '${pageMaker.endPage}')" title="마지막페이지"><img src="/img/common/list_navi4.gif" alt="마지막 목록으로 이동" /></a> <a class='last-btn' href="javascript:goPage('paging', '${pageMaker.endPage}')" title="마지막페이지"></a>
</div> </div>
</div> </div>
</div> </div>

View File

@ -1,235 +1,235 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%> <%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!doctype html> <!doctype html>
<html lang="ko"> <html lang="ko">
<head> <head>
<title>정보 관리</title> <title>정보 관리</title>
<link href='/css/space.css' rel='stylesheet' type='text/css'/> <link href='/css/space.css' rel='stylesheet' type='text/css'/>
<link href='/css/seed.contents.css' rel='stylesheet' type='text/css'/> <link href='/css/seed.contents.css' rel='stylesheet' type='text/css'/>
<link href='/css/seed.mediaquery.css' rel='styleGsheet' type='text/css'/> <link href='/css/seed.mediaquery.css' rel='styleGsheet' type='text/css'/>
<link href='/site/ntcc/css/gtmCustom.css' rel='stylesheet' type='text/css'/> <link href='/site/ntcc/css/gtmCustom.css' rel='stylesheet' type='text/css'/>
<script src="/editor/webnote.js"></script> <script src="/editor/webnote.js"></script>
</head> </head>
<body> <body>
<form:form name="frm" id="frm" action="" method="post"> <form:form name="frm" id="frm" action="" method="post">
<input type="hidden" id="crfNm" name="crfNm" value=""> <input type="hidden" id="crfNm" name="crfNm" value="">
<input type="hidden" id="CLIPDATA_SEARCHGUBUN" name="CLIPDATA_SEARCHGUBUN" value=""> <input type="hidden" id="CLIPDATA_SEARCHGUBUN" name="CLIPDATA_SEARCHGUBUN" value="">
<input type="hidden" id="CLIPDATA_SEARCHNAME" name="CLIPDATA_SEARCHNAME" value=""> <input type="hidden" id="CLIPDATA_SEARCHNAME" name="CLIPDATA_SEARCHNAME" value="">
</form:form> </form:form>
<div class="page-title-wrap clear"> <div class="page-title-wrap clear">
<div class="page-title-inner"> <div class="page-title-inner">
<h3 class="page-title">위원 관리</h3> <h3 class="page-title">위원 관리</h3>
<div class="sch-content-wrap clear" style="margin-left: 20px"> <div class="sch-content-wrap clear" style="margin-left: 20px">
<button type="button" class="btn excel_download btn-page-sch" title="엑셀다운" onclick="clipCall('trublchargermng');">엑셀다운로드</button> <button type="button" class="btn excel_download btn-page-sch" title="엑셀다운" onclick="clipCall('trublchargermng');">엑셀다운로드</button>
</div> </div>
<div class="tooltipBox type01"> <div class="tooltipBox type01">
<button type="button" class="page-tip">페이지안내</button> <button type="button" class="page-tip">페이지안내</button>
<div class="tooltipText"> <div class="tooltipText">
<p>위원 관리를 할 수 있는 리스트 페이지 입니다.</p> <p>위원 관리를 할 수 있는 리스트 페이지 입니다.</p>
</div> </div>
</div> </div>
</div> </div>
<div class="table_top right"> <div class="table_top right">
<div class="sch-content-wrap clear"> <div class="sch-content-wrap clear">
<form name="searchFrm" id="searchFrm" action="" method="get"> <form name="searchFrm" id="searchFrm" action="" method="get">
<input type="hidden" name="page" id="page" value="${pageMaker.cri.page}"> <input type="hidden" name="page" id="page" value="${pageMaker.cri.page}">
<input type="hidden" name="memberNo" id="memberNo" value=""> <input type="hidden" name="memberNo" id="memberNo" value="">
<fieldset> <fieldset>
<select name="searchGubun" id="searchGubun" class="sch-select" title="자료유형 선택"> <select name="searchGubun" id="searchGubun" class="sch-select" title="자료유형 선택">
<option value="">협의회선택</option> <option value="">협의회선택</option>
</select> </select>
<input type="text" name="searchName" value="${param.searchName}" class="sch-text" title="검색텍스트" placeholder="위원명을 입력하세요"> <input type="text" name="searchName" value="${param.searchName}" class="sch-text" title="검색텍스트" placeholder="위원명을 입력하세요">
<button type="button" class="btn btn_text blue_border btn-page-sch" title="검색 완료 버튼" onclick="goPage('search', '')">검색</button> <button type="button" class="btn btn_text blue_border btn-page-sch" title="검색 완료 버튼" onclick="goPage('search', '')">검색</button>
</fieldset> </fieldset>
</form> </form>
</div> </div>
</div> </div>
</div> </div>
<div class="form-wrap"> <div class="form-wrap">
<div class="table-layout"> <div class="table-layout">
<table> <table>
<caption>자주하는질문 테이블입니다.</caption> <caption>자주하는질문 테이블입니다.</caption>
<colgroup> <colgroup>
<col style="width:10%"> <col style="width:10%">
<col style="width:10%"> <col style="width:10%">
<col style="width:10%"> <col style="width:10%">
<col style="width:10%"> <col style="width:10%">
<col style="width:10%"> <col style="width:10%">
<col style="width:10%"> <col style="width:10%">
<col style="width:10%"> <col style="width:10%">
<col style="width:10%"> <col style="width:10%">
<col style="width:10%"> <col style="width:10%">
</colgroup> </colgroup>
<thead> <thead>
<tr> <tr>
<th scope="col">협의회</th> <th scope="col">협의회</th>
<th scope="col">분야</th> <th scope="col">분야</th>
<th scope="col">위원명</th> <th scope="col">위원명</th>
<th scope="col">기수</th> <th scope="col">기수</th>
<th scope="col">소속</th> <th scope="col">소속</th>
<th scope="col">연락처</th> <th scope="col">연락처</th>
<th scope="col">이메일</th> <th scope="col">이메일</th>
<th scope="col">등록일</th> <th scope="col">등록일</th>
<th scope="col">관리</th> <th scope="col">관리</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<c:forEach items="${memberList}" var="list" varStatus="status"> <c:forEach items="${memberList}" var="list" varStatus="status">
<c:if test="${list.USE_CHECK == 'Y'}"> <c:if test="${list.USE_CHECK == 'Y'}">
<tr> <tr>
<td>${list.CASE_GUBUN_NAME}</td> <td>${list.CASE_GUBUN_NAME}</td>
<td>${list.CASE_FIELD_NAME}</td> <td>${list.CASE_FIELD_NAME}</td>
<td>${list.MEMBER_NAME}</td> <td>${list.MEMBER_NAME}</td>
<td>${list.MEMBER_UNIT_NAME}</td> <td>${list.MEMBER_UNIT_NAME}</td>
<td>${list.MEMBER_COMPANY}</td> <td>${list.MEMBER_COMPANY}</td>
<td>${list.MEMBER_HP}</td> <td>${list.MEMBER_HP}</td>
<td>${list.MEMBER_EMAIL}</td> <td>${list.MEMBER_EMAIL}</td>
<td>${list.REG_DT}</td> <td>${list.REG_DT}</td>
<td> <td>
<div class="change-state-area" style="padding: 0 0;margin-top: 2px;display: inline-block;"> <div class="change-state-area" style="padding: 0 0;margin-top: 2px;display: inline-block;">
<button type="button" class="btn btn_text btn_30 orange_border btn-change-state" style="padding:0 18px;" onclick="goPage('edit','${list.MEMBER_NO}')" >수정</button> <button type="button" class="btn btn_text btn_30 orange_border btn-change-state" style="padding:0 18px;" onclick="goPage('edit','${list.MEMBER_NO}')" >수정</button>
</div> </div>
</td> </td>
</tr> </tr>
</c:if> </c:if>
<c:if test="${list.USE_CHECK == 'N'}"> <c:if test="${list.USE_CHECK == 'N'}">
<tr> <tr>
<td>${list.CASE_GUBUN_NAME}</td> <td>${list.CASE_GUBUN_NAME}</td>
<td>${list.CASE_FIELD_NAME}</td> <td>${list.CASE_FIELD_NAME}</td>
<td>${list.MEMBER_NAME}</td> <td>${list.MEMBER_NAME}</td>
<td>${list.MEMBER_UNIT_NAME}</td> <td>${list.MEMBER_UNIT_NAME}</td>
<td>-</td> <td>-</td>
<td>-</td> <td>-</td>
<td>-</td> <td>-</td>
<td>-</td> <td>-</td>
</tr> </tr>
</c:if> </c:if>
</c:forEach> </c:forEach>
</tbody> </tbody>
</table> </table>
</div> </div>
<div class="change-state-area" style="overflow: hidden;"> <div class="change-state-area" style="overflow: hidden;">
<div align="right"> <div align="right">
<button type="button" class="btn btn_text btn_46 blue_fill btn-change-state" onclick="goPage('write', '');">추가</button> <button type="button" class="btn btn_text btn_46 blue_fill btn-change-state" onclick="goPage('write', '');">추가</button>
</div> </div>
</div> </div>
</div> </div>
<!-- 페이징 --> <!-- 페이징 -->
<div class="pagination-container"> <div class="pagination-container">
<div class="pagination-inner clear"> <div class="pagination-inner clear">
<div class='pagination-control prev clear'> <div class='pagination-control prev clear'>
<a class='first-btn' href="javascript:goPage('paging', '1')" title="첫페이지"></a> <a class='first-btn' href="javascript:goPage('paging', '1')" title="첫페이지"></a>
<c:choose> <c:choose>
<c:when test="${pageMaker.prev}"> <c:when test="${pageMaker.prev}">
<a class='prev-btn' href="javascript:goPage('paging', '${pageMaker.cri.page - 1}')" title="이전페이지"><img src="/img/common/list_navi2.gif" alt="이전 목록으로 이동" /></a> <a class='prev-btn' href="javascript:goPage('paging', '${pageMaker.cri.page - 1}')" title="이전페이지"></a>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<a class='prev-btn' href="javascript:goPage('paging', '${pageMaker.cri.page}')" title="이전페이지"><img src="/img/common/list_navi2.gif" alt="이전 목록으로 이동" /></a> <a class='prev-btn' href="javascript:goPage('paging', '${pageMaker.cri.page}')" title="이전페이지"></a>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</div> </div>
<ul class='pagination clear'> <ul class='pagination clear'>
<c:forEach begin="${pageMaker.startPage}" end="${pageMaker.endPage }" var="idx"> <c:forEach begin="${pageMaker.startPage}" end="${pageMaker.endPage }" var="idx">
<c:choose> <c:choose>
<c:when test="${idx == pageMaker.cri.page }"> <c:when test="${idx == pageMaker.cri.page }">
<li><a class='on' href="javascript:goPage('paging', '${idx}')" title="현재페이지">${idx}</a></li> <li><a class='on' href="javascript:goPage('paging', '${idx}')" title="현재페이지">${idx}</a></li>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<li><a href="javascript:goPage('paging', '${idx}')" title="${idx}페이지">${idx}</a></li> <li><a href="javascript:goPage('paging', '${idx}')" title="${idx}페이지">${idx}</a></li>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</c:forEach> </c:forEach>
</ul> </ul>
<div class='pagination-control next clear'> <div class='pagination-control next clear'>
<c:choose> <c:choose>
<c:when test="${pageMaker.next}"> <c:when test="${pageMaker.next}">
<a class='next-btn' href="javascript:goPage('paging', '${pageMaker.cri.page + 1}')" title="다음페이지"><img src="/img/common/list_navi3.gif" alt="다음 목록으로 이동" /></a> <a class='next-btn' href="javascript:goPage('paging', '${pageMaker.cri.page + 1}')" title="다음페이지"></a>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<a class='next-btn' href="javascript:goPage('paging', '${pageMaker.cri.page}')" title="다음페이지"><img src="/img/common/list_navi3.gif" alt="다음 목록으로 이동" /></a> <a class='next-btn' href="javascript:goPage('paging', '${pageMaker.cri.page}')" title="다음페이지"></a>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
<a class='last-btn' href="javascript:goPage('paging', '${pageMaker.endPage}')" title="마지막페이지"><img src="/img/common/list_navi4.gif" alt="마지막 목록으로 이동" /></a> <a class='last-btn' href="javascript:goPage('paging', '${pageMaker.endPage}')" title="마지막페이지"></a>
</div> </div>
</div> </div>
</div> </div>
<!-- 페이징 END --> <!-- 페이징 END -->
<script type="text/javascript"> <script type="text/javascript">
$(document).ready(function(){ $(document).ready(function(){
memberGubun(); memberGubun();
setTimeout(function() { setTimeout(function() {
if('${param.searchGubun}' != ""){ if('${param.searchGubun}' != ""){
var gubunList = $("#searchGubun option"); var gubunList = $("#searchGubun option");
for(var i = 0; i < gubunList.size(); i++){ for(var i = 0; i < gubunList.size(); i++){
if(gubunList[i].value == '${param.searchGubun}'){ if(gubunList[i].value == '${param.searchGubun}'){
$(gubunList[i]).attr("selected", true); $(gubunList[i]).attr("selected", true);
} }
} }
} }
}, 700); }, 700);
}); });
function goPage(type, param){ function goPage(type, param){
if(type == 'write'){ if(type == 'write'){
$("#memberNo").remove(); $("#memberNo").remove();
$("#searchFrm").attr("action","/gtm/case/trublchargermng/write.do"); $("#searchFrm").attr("action","/gtm/case/trublchargermng/write.do");
$("#searchFrm").submit(); $("#searchFrm").submit();
}else if(type == 'search'){ }else if(type == 'search'){
$("#page").val("1"); $("#page").val("1");
$("#memberNo").remove(); $("#memberNo").remove();
$("#searchFrm").attr("action","/gtm/case/trublchargermng/list.do"); $("#searchFrm").attr("action","/gtm/case/trublchargermng/list.do");
$("#searchFrm").submit(); $("#searchFrm").submit();
}else if(type == 'edit'){ }else if(type == 'edit'){
$("#searchFrm").attr("action","/gtm/case/trublchargermng/edit.do"); $("#searchFrm").attr("action","/gtm/case/trublchargermng/edit.do");
$("#memberNo").val(param); $("#memberNo").val(param);
$("#searchFrm").submit(); $("#searchFrm").submit();
}else if(type == 'paging'){ }else if(type == 'paging'){
$("#page").val(param); $("#page").val(param);
$("#memberNo").remove(); $("#memberNo").remove();
$("#searchFrm").attr("action","/gtm/case/trublchargermng/list.do"); $("#searchFrm").attr("action","/gtm/case/trublchargermng/list.do");
$("#searchFrm").submit(); $("#searchFrm").submit();
} }
} }
function memberGubun(){ function memberGubun(){
var url = ""; var url = "";
//$("#type").val("L"); //$("#type").val("L");
//var param = jQuery('#writeFrm').serialize(); //var param = jQuery('#writeFrm').serialize();
var param = ""; var param = "";
url = "/user/case/common/ajax/JoinTrubleGubun.do"; url = "/user/case/common/ajax/JoinTrubleGubun.do";
XHR(url, param, function(r){ XHR(url, param, function(r){
var sel = ""; var sel = "";
var objList = $("#searchGubun"); var objList = $("#searchGubun");
if(objList.length > 0 && objList.val() == ""){ if(objList.length > 0 && objList.val() == ""){
ajaxCombo(r.data, objList, sel); ajaxCombo(r.data, objList, sel);
} }
}); });
} }
//클립리포트 호출 //클립리포트 호출
function clipCall(crfNm){ function clipCall(crfNm){
$("#crfNm").val(crfNm); $("#crfNm").val(crfNm);
$("#CLIPDATA_SEARCHGUBUN").val($("#searchGubun").val()); $("#CLIPDATA_SEARCHGUBUN").val($("#searchGubun").val());
$("#CLIPDATA_SEARCHNAME").val($("#searchName").val()); $("#CLIPDATA_SEARCHNAME").val($("#searchName").val());
var f = document.frm; var f = document.frm;
f.target = "blank"; f.target = "blank";
f.action = "/clip/ClipReport4/ClipReportViewer/ClipReport4.do"; f.action = "/clip/ClipReport4/ClipReportViewer/ClipReport4.do";
f.submit(); f.submit();
f.target = "_self"; f.target = "_self";
} }
</script> </script>
</body> </body>
</html> </html>

View File

@ -175,10 +175,10 @@
<a class='first-btn' href="javascript:goPage('paging', '1')" title="첫페이지"></a> <a class='first-btn' href="javascript:goPage('paging', '1')" title="첫페이지"></a>
<c:choose> <c:choose>
<c:when test="${pageMaker.prev}"> <c:when test="${pageMaker.prev}">
<a class='prev-btn' href="javascript:goPage('paging', '${pageMaker.cri.page - 1}')" title="이전페이지"><img src="/img/common/list_navi2.gif" alt="이전 목록으로 이동" /></a> <a class='prev-btn' href="javascript:goPage('paging', '${pageMaker.cri.page - 1}')" title="이전페이지"></a>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<a class='prev-btn' href="javascript:goPage('paging', '${pageMaker.cri.page}')" title="이전페이지"><img src="/img/common/list_navi2.gif" alt="이전 목록으로 이동" /></a> <a class='prev-btn' href="javascript:goPage('paging', '${pageMaker.cri.page}')" title="이전페이지"></a>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</div> </div>
@ -199,13 +199,13 @@
<div class='pagination-control next clear'> <div class='pagination-control next clear'>
<c:choose> <c:choose>
<c:when test="${pageMaker.next}"> <c:when test="${pageMaker.next}">
<a class='next-btn' href="javascript:goPage('paging', '${pageMaker.cri.page + 1}')" title="다음페이지"><img src="/img/common/list_navi3.gif" alt="다음 목록으로 이동" /></a> <a class='next-btn' href="javascript:goPage('paging', '${pageMaker.cri.page + 1}')" title="다음페이지"></a>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<a class='next-btn' href="javascript:goPage('paging', '${pageMaker.cri.page}')" title="다음페이지"><img src="/img/common/list_navi3.gif" alt="다음 목록으로 이동" /></a> <a class='next-btn' href="javascript:goPage('paging', '${pageMaker.cri.page}')" title="다음페이지"></a>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
<a class='last-btn' href="javascript:goPage('paging', '${pageMaker.endPage}')" title="마지막페이지"><img src="/img/common/list_navi4.gif" alt="마지막 목록으로 이동" /></a> <a class='last-btn' href="javascript:goPage('paging', '${pageMaker.endPage}')" title="마지막페이지"></a>
</div> </div>
</div> </div>
</div> </div>

View File

@ -400,14 +400,12 @@
<c:when test="${pageMaker.prev}"> <c:when test="${pageMaker.prev}">
<a class='prev-btn' <a class='prev-btn'
href="javascript:goPage('paging', '${pageMaker.cri.page - 1}')" href="javascript:goPage('paging', '${pageMaker.cri.page - 1}')"
title="이전페이지"><img src="/img/common/list_navi2.gif" title="이전페이지"></a>
alt="이전 목록으로 이동" /></a>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<a class='prev-btn' <a class='prev-btn'
href="javascript:goPage('paging', '${pageMaker.cri.page}')" href="javascript:goPage('paging', '${pageMaker.cri.page}')"
title="이전페이지"><img src="/img/common/list_navi2.gif" title="이전페이지"></a>
alt="이전 목록으로 이동" /></a>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</div> </div>
@ -433,20 +431,17 @@
<c:when test="${pageMaker.next}"> <c:when test="${pageMaker.next}">
<a class='next-btn' <a class='next-btn'
href="javascript:goPage('paging', '${pageMaker.cri.page + 1}')" href="javascript:goPage('paging', '${pageMaker.cri.page + 1}')"
title="다음페이지"><img src="/img/common/list_navi3.gif" title="다음페이지"></a>
alt="다음 목록으로 이동" /></a>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<a class='next-btn' <a class='next-btn'
href="javascript:goPage('paging', '${pageMaker.cri.page}')" href="javascript:goPage('paging', '${pageMaker.cri.page}')"
title="다음페이지"><img src="/img/common/list_navi3.gif" title="다음페이지"></a>
alt="다음 목록으로 이동" /></a>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
<a class='last-btn' <a class='last-btn'
href="javascript:goPage('paging', '${pageMaker.endPage}')" href="javascript:goPage('paging', '${pageMaker.endPage}')"
title="마지막페이지"><img src="/img/common/list_navi4.gif" title="마지막페이지"></a>
alt="마지막 목록으로 이동" /></a>
</div> </div>
</div> </div>
</div> </div>

View File

@ -252,10 +252,10 @@ function clipCall(crfNm){
<a class='first-btn' href="javascript:goPage('paging', '1', '')" title="첫페이지"></a> <a class='first-btn' href="javascript:goPage('paging', '1', '')" title="첫페이지"></a>
<c:choose> <c:choose>
<c:when test="${pageMaker.prev}"> <c:when test="${pageMaker.prev}">
<a class='prev-btn' href="javascript:goPage('paging', '${pageMaker.cri.page - 1}', '')" title="이전페이지"><img src="/img/common/list_navi2.gif" alt="이전 목록으로 이동" /></a> <a class='prev-btn' href="javascript:goPage('paging', '${pageMaker.cri.page - 1}', '')" title="이전페이지"></a>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<a class='prev-btn' href="javascript:goPage('paging', '${pageMaker.cri.page}', '')" title="이전페이지"><img src="/img/common/list_navi2.gif" alt="이전 목록으로 이동" /></a> <a class='prev-btn' href="javascript:goPage('paging', '${pageMaker.cri.page}', '')" title="이전페이지"></a>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</div> </div>
@ -276,13 +276,13 @@ function clipCall(crfNm){
<div class='pagination-control next clear'> <div class='pagination-control next clear'>
<c:choose> <c:choose>
<c:when test="${pageMaker.next}"> <c:when test="${pageMaker.next}">
<a class='next-btn' href="javascript:goPage('paging', '${pageMaker.cri.page + 1}', '')" title="다음페이지"><img src="/img/common/list_navi3.gif" alt="다음 목록으로 이동" /></a> <a class='next-btn' href="javascript:goPage('paging', '${pageMaker.cri.page + 1}', '')" title="다음페이지"></a>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<a class='next-btn' href="javascript:goPage('paging', '${pageMaker.cri.page}', '')" title="다음페이지"><img src="/img/common/list_navi3.gif" alt="다음 목록으로 이동" /></a> <a class='next-btn' href="javascript:goPage('paging', '${pageMaker.cri.page}', '')" title="다음페이지"></a>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
<a class='last-btn' href="javascript:goPage('paging', '${pageMaker.endPage}', '')" title="마지막페이지"><img src="/img/common/list_navi4.gif" alt="마지막 목록으로 이동" /></a> <a class='last-btn' href="javascript:goPage('paging', '${pageMaker.endPage}', '')" title="마지막페이지"></a>
</div> </div>
</div> </div>
</div> </div>