- Add Docker Compose configurations for dev, prod, and standalone environments - Add database initialization scripts (init-db.sh, init-db-docker.sh) - Add enhanced start-docker-linux.sh with DB init support - Add comprehensive database initialization guide - Support for automatic dbexport.pgsql import on first run - Include safety checks for production environment
625 lines
22 KiB
Plaintext
625 lines
22 KiB
Plaintext
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
|
<%@ page import="com.pms.common.utils.*"%>
|
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
|
<%@ page import="java.util.*" %>
|
|
<%@include file= "/init.jsp" %>
|
|
<%
|
|
PersonBean person = (PersonBean)session.getAttribute(Constants.PERSON_BEAN);
|
|
String connector = person.getUserId();
|
|
%>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title><%=Constants.SYSTEM_NAME%>1</title>
|
|
<!-- //JSTL 페이징 변수선언 -->
|
|
<c:set var="totalCount" value="${empty TOTAL_COUNT?0:TOTAL_COUNT}" />
|
|
<c:set var="maxPage" value="${empty MAX_PAGE_SIZE?1:MAX_PAGE_SIZE}" />
|
|
<c:set var="nPage" value="${empty param.page?1:param.page}" />
|
|
<c:set var="pageIndex" value="${(nPage-1)/10}" />
|
|
<c:set var="nextPage" value="${empty NEXT_PAGE?1:NEXT_PAGE}" />
|
|
<c:set var="prevPage" value="${empty PREV_PAGE?1:PREV_PAGE}" />
|
|
<c:set var="now" value="<%=new java.util.Date() %>"/>
|
|
<c:set var="sysYear"><fmt:formatDate value="${now}" pattern="yyyy" /></c:set>
|
|
|
|
<c:set var="connector" value="<%=connector %>" />
|
|
<script>
|
|
$(document).ready(function(){
|
|
$("#btnSearch").click(function(){
|
|
$("#page").val("1");
|
|
fn_search();
|
|
});
|
|
|
|
|
|
//견적서 자료등록 팝업
|
|
$(".estimateFile").click(function(){
|
|
var objId = $(this).attr("data-OBJID");
|
|
var params = "?targetObjId="+objId;
|
|
window.open("/projectConcept/estimateFileRegistPopup.do"+params, "", "width=800, height=335");
|
|
});
|
|
|
|
//SR자료등록 팝업
|
|
$(".srFile").click(function(){
|
|
var objId = $(this).attr("data-OBJID");
|
|
var params = "?targetObjId="+objId;
|
|
window.open("/projectConcept/srFileRegistPopup.do"+params, "", "width=800, height=335");
|
|
});
|
|
//Data자료등록 팝업
|
|
$(".dataFile").click(function(){
|
|
var objId = $(this).attr("data-OBJID");
|
|
var params = "?targetObjId="+objId;
|
|
window.open("/projectConcept/dataFileRegistPopup.do"+params, "", "width=800, height=335");
|
|
});
|
|
|
|
//협업자료등록 팝업
|
|
$(".cooperationFile").click(function(){
|
|
var objId = $(this).attr("data-OBJID");
|
|
var params = "?targetObjId="+objId;
|
|
window.open("/projectConcept/cooperationFileRegistPopup.do"+params, "", "width=800, height=335");
|
|
});
|
|
//최종산출물 팝업
|
|
$(".finalFile").click(function(){
|
|
var objId = $(this).attr("data-OBJID");
|
|
var params = "?targetObjId="+objId;
|
|
window.open("/projectConcept/finalFileRegistPopup.do"+params, "", "width=800, height=335");
|
|
});
|
|
|
|
//qna 팝업
|
|
$("#btnDelete").click(function(){
|
|
fn_pmsConceptDel();
|
|
});
|
|
|
|
//수주활동 등록 팝업
|
|
$(".btnRegist").click(function(){
|
|
var params = "?actionType=regist"
|
|
window.open("/project/projectFormPopUp.do"+params, "", "width=645, height=700");
|
|
});
|
|
/*
|
|
$(".btnRegist").click(function(){
|
|
var params = "?actionType=regist"
|
|
window.open("/projectConcept/projectConceptFormPopup.do"+params, "", "width=995, height=648");
|
|
});
|
|
*/
|
|
//입찰품목 등록팝업
|
|
$(".conceptItemRegist").click(function(){
|
|
var params = "?actionType=regist"
|
|
window.open("/projectConcept/projectConceptProductInfoFormPopup.do"+params, "", "width=705, height=785");
|
|
});
|
|
|
|
$(".btnChart").click(function(){
|
|
var url = $(this).attr("url");
|
|
var carType = $(this).attr("carType");
|
|
var productType = $(this).attr("productType");
|
|
|
|
var pageUrl = url+"_"+carType+"_"+productType+".html";
|
|
|
|
window.open(pageUrl, "" ,"width=1000, height=400");
|
|
});
|
|
|
|
//수주활동 상세
|
|
$(".btnProjectConceptDetail").click(function(){
|
|
var objId = $(this).attr("data-OBJID");
|
|
fn_projectConceptDetail(objId);
|
|
});
|
|
|
|
//수주활동 제품별 상세
|
|
$(".btnProjectConceptProductDetail").click(function(){
|
|
var objId = $(this).attr("data-OBJID");
|
|
fn_projectConceptProductDetail(objId);
|
|
});
|
|
|
|
|
|
$(".biddingResult").change(function(){
|
|
var projectConceptProdObjId = $(this).attr("data-OBJID");
|
|
var biddingResult = $(this).val();
|
|
|
|
$.ajax({
|
|
url:"/projectConcept/updateProjectConceptProdBiddingResult.do",
|
|
type:"POST",
|
|
data:{"projectConceptProdObjId":projectConceptProdObjId, "biddingResult":biddingResult},
|
|
dataType:"html",
|
|
success:function(data){
|
|
console.log("biddingResult : "+biddingResult);
|
|
|
|
|
|
},
|
|
error: function(jqxhr, status, error){
|
|
}
|
|
});
|
|
|
|
});
|
|
|
|
//고객사 목록 조회
|
|
fn_setOEMList();
|
|
|
|
//고객사별 차종 목록 조회
|
|
$("#search_oem").change(function(){
|
|
var oemObjId = $(this).val();
|
|
|
|
fn_setCarTypeList(oemObjId);
|
|
});
|
|
|
|
//제품군 목록 조회
|
|
fn_setProductGroupList();
|
|
|
|
//제품군 제품 목록 조회
|
|
$("#search_productGroup").change(function(){
|
|
var productGroup = $(this).val();
|
|
fn_setProductTypeList(productGroup);
|
|
});
|
|
|
|
//메일배포
|
|
$("#btnSendMail").click(function(){
|
|
fn_sendMail();
|
|
});
|
|
|
|
//확정
|
|
$(".btnComplete").click(function(){
|
|
fn_completeProjectConcept();
|
|
});
|
|
|
|
//엔터 조회
|
|
$("input").keyup(function(e){
|
|
if(e.keyCode == 13){
|
|
$("#page").val("1");
|
|
fn_search();
|
|
}
|
|
|
|
});
|
|
|
|
//투자비 관리 팝업
|
|
$(".investCostMngPop").click(function(){
|
|
var objId = $(this).attr("data-OBJID");
|
|
var params = "?targetObjId="+objId;
|
|
window.open("/project/investCostMngPop.do"+params, "", "width=800, height=335");
|
|
});
|
|
|
|
/*
|
|
$("input[type=radio]").change(function(){
|
|
if($(this).prop("checked")){
|
|
var finalFileCnt = $(this).attr("data-FINAL_FILE_CNT");
|
|
|
|
if(finalFileCnt > 0){
|
|
$(".btnComplete").show();
|
|
}else{
|
|
$(".btnComplete").hide();
|
|
}
|
|
}
|
|
});
|
|
*/
|
|
fnc_datepick();
|
|
});
|
|
</script>
|
|
<script>
|
|
//확정
|
|
function fn_completeProjectConcept(){
|
|
var conceptObjId = $("input[type=radio]:checked").attr("data-CONCEPT_OBJID");
|
|
var conceptProdObjId = $("input[type=radio]:checked").attr("data-CONCEPT_PROD_OBJID");
|
|
|
|
var biddingResult = fnc_checkNull($("#biddingResult_"+conceptProdObjId).val());
|
|
if(biddingResult == ""){
|
|
Swal.fire("입찰결과를 선택해 주시기 바랍니다.");
|
|
return;
|
|
}
|
|
if(confirm("확정하시겠습니까?")){
|
|
$.ajax({
|
|
url:"/projectConcept/completeProjectConceptProductInfo.do",
|
|
type:"POST",
|
|
data:{"targetObjId":conceptObjId, "conceptProdObjId":conceptProdObjId},
|
|
dataType:"json",
|
|
success:function(data){
|
|
|
|
},
|
|
error: function(jqxhr, status, error){
|
|
},
|
|
complete:function(){
|
|
fn_search();
|
|
}
|
|
});
|
|
}
|
|
}
|
|
|
|
//메일 배포
|
|
function fn_sendMail(){
|
|
var objId = fnc_checkNull($("input[type=radio]:checked").val());
|
|
if(objId != ""){
|
|
var params = "";
|
|
params += "?parentType=projectConcept";
|
|
params += "&objId="+objId;
|
|
window.open("/common/searchMailReceiver.do"+params, "", "width=480, height=367");
|
|
}else{
|
|
Swal.fire("선택된 대상이 없습니다.");
|
|
}
|
|
}
|
|
|
|
//수주활동 상세
|
|
function fn_projectConceptDetail(objId){
|
|
window.open("/projectConcept/projectConceptDetailPopup.do?objId="+objId, "", "width=660, height=630");
|
|
}
|
|
|
|
//수주활동 제품별 상세
|
|
function fn_projectConceptProductDetail(objId){
|
|
window.open("/projectConcept/projectConceptProductDetailPopup.do?objId="+objId, "", "width=770, height=685");
|
|
}
|
|
|
|
//수주활동 검색 기능
|
|
function fn_search(){
|
|
document.form1.action = "/project/getProjectProductList.do";
|
|
document.form1.submit();
|
|
}
|
|
|
|
//oem 목록 조회
|
|
function fn_setOEMList(){
|
|
$.ajax({
|
|
url:"/common/getOEMList.do",
|
|
type:"POST",
|
|
data:{"isJson":true},
|
|
dataType:"json",
|
|
success:function(data){
|
|
var appendCode = "";
|
|
|
|
$.each(data, function(i){
|
|
appendCode += "<option value='"+data[i].OBJID+"'>"+data[i].OEM_NAME+"("+data[i].OEM_CODE+")</option>";
|
|
});
|
|
|
|
$("#search_oem").append(appendCode);
|
|
|
|
var paramValue = "${param.search_oem}";
|
|
|
|
if(paramValue != ""){
|
|
$("#search_oem > option[value="+paramValue+"]").attr("selected", "true");
|
|
$("#search_oem").trigger("change");
|
|
}
|
|
},
|
|
error: function(jqxhr, status, error){
|
|
}
|
|
});
|
|
}
|
|
|
|
//car 목록 조회
|
|
function fn_setCarTypeList(oemObjId){
|
|
if(oemObjId != ""){
|
|
$.ajax({
|
|
url:"/common/getCarTypeList.do",
|
|
type:"POST",
|
|
data:{"isJson":true, "search_oemObjId":oemObjId},
|
|
dataType:"json",
|
|
success:function(data){
|
|
var appendCode = "";
|
|
appendCode += "<option value=''>선택</option>";
|
|
$.each(data, function(i){
|
|
appendCode += "<option value='"+data[i].OBJID+"'>"+data[i].CAR_CODE+"("+data[i].CAR_NAME+")</option>";
|
|
});
|
|
$("#search_carType").children().remove();
|
|
$("#search_carType").append(appendCode);
|
|
$("#search_carType > option[value=${param.search_carType}]").attr("selected", "true");
|
|
},
|
|
error: function(jqxhr, status, error){
|
|
}
|
|
});
|
|
}else{
|
|
$("#search_carType").children().remove();
|
|
$("#search_carType").append("<option value=''>선택</option>");
|
|
}
|
|
}
|
|
//제품군 목록 조회
|
|
function fn_setProductGroupList(){
|
|
$.ajax({
|
|
url:"/common/getProductGroupList.do",
|
|
type:"POST",
|
|
data:{"isJson":true},
|
|
dataType:"json",
|
|
success:function(data){
|
|
var appendCode = "";
|
|
|
|
$.each(data, function(i){
|
|
appendCode += "<option value='"+data[i].objid+"'>"+data[i].product_group_name+"</option>";
|
|
});
|
|
|
|
$("#search_productGroup").append(appendCode);
|
|
|
|
var paramValue = "${param.search_productGroup}";
|
|
if(paramValue != ""){
|
|
$("#search_productGroup > option[value="+paramValue+"]").attr("selected", "true");
|
|
$("#search_productGroup").trigger("change");
|
|
}
|
|
},
|
|
error: function(jqxhr, status, error){
|
|
}
|
|
});
|
|
}
|
|
//제품 목록 조회
|
|
function fn_setProductTypeList(productGroup){
|
|
if(productGroup != ""){
|
|
$.ajax({
|
|
url:"/common/getProductList.do",
|
|
type:"POST",
|
|
data:{"isJson":true, "search_productGroupObjId":productGroup},
|
|
dataType:"json",
|
|
success:function(data){
|
|
var appendCode = "";
|
|
appendCode += "<option value=''>선택</option>";
|
|
$.each(data, function(i){
|
|
appendCode += "<option value='"+data[i].objid+"'>"+data[i].product_name+"</option>";
|
|
});
|
|
|
|
$("#search_productType").children().remove();
|
|
$("#search_productType").append(appendCode);
|
|
$("#search_productType > option[value=${param.search_productType}]").attr("selected", "true");
|
|
},
|
|
error: function(jqxhr, status, error){
|
|
}
|
|
});
|
|
}else{
|
|
$("#search_productType").children().remove();
|
|
$("#search_productType").append("<option value=''>선택</option>");
|
|
}
|
|
}
|
|
|
|
//프로젝트 등록 Excel Export
|
|
function excelExport(){
|
|
document.form1.action = "/projectConcept/getProjectConceptProductList.do?actionType=excel";
|
|
document.form1.submit();
|
|
}
|
|
|
|
//제품군 수정 팝업창
|
|
function set_prod_modify(p_objId){
|
|
var params = "/projectConcept/projectFormEditPopUp.do?mode=edit&objId="+p_objId;
|
|
window.open(params, "", "width=645, height=740");
|
|
}
|
|
|
|
//선택 삭제
|
|
function fn_pmsConceptDel(){
|
|
var checkArr = new Array();
|
|
$("input[name=ckBox]:checked").each(function(i){
|
|
checkArr.push($(this).val());
|
|
});
|
|
if (confirm("선택한 내역을 삭제하시겠습니까?")) {
|
|
var param = $("#form1").serialize();
|
|
console.log(checkArr);
|
|
param = param + "&checkArr="+checkArr;
|
|
$.ajax({
|
|
type : "POST",
|
|
url : "/projectConcept/deleteProjectConcept.do",
|
|
data : param,
|
|
dataType : "json",
|
|
success : function(data) {
|
|
Swal.fire(data.msg);
|
|
fn_search();
|
|
},
|
|
error : function(jqxhr, status, error) {
|
|
}
|
|
});
|
|
}
|
|
}
|
|
|
|
//프로젝트에 해당하는 WBS Task 목록 PopUp을 호출한다.
|
|
function fn_openProjectWBSTask(projectObjId){
|
|
if(null != projectObjId){
|
|
window.open("/project/wbs/wbsTaskDetailPopUp.do?OBJID="+projectObjId+"&objId="+projectObjId, "", "width=1700, height=700");
|
|
}else{
|
|
Swal.fire("잘못된 접근입니다.");
|
|
}
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<form name="form1"id="form1" action="" method="post">
|
|
<div class="content-box">
|
|
<div class="content-box-s" style="min-width:1680px;">
|
|
<div class="plm_menu_name">
|
|
<h2>
|
|
<span>프로젝트관리_프로젝트진행</span>
|
|
</h2>
|
|
</div>
|
|
<div id="plmSearchZon">
|
|
<table>
|
|
<tr>
|
|
<td><label for="">년도</label></td>
|
|
<td>
|
|
<select name="search_req_yearly" id="search_req_yearly">
|
|
<option value="">선택</option>
|
|
<c:forEach begin="${sysYear-4}" end="${sysYear}" var="req_year">
|
|
<option value="${req_year}"${param.search_req_yearly eq req_year ? 'selected':'' }>${req_year}</option>
|
|
</c:forEach>
|
|
</select>
|
|
</td>
|
|
<td><label for="">프로젝트구분</label></td>
|
|
<td>
|
|
<select name="search_projectType" id="search_projectType" type="select">
|
|
<option value="">선택</option>
|
|
<option value="new" ${'new' eq param.search_projectType ? 'selected':''}>신차</option>
|
|
<option value="derivative" ${'derivative' eq param.search_projectType ? 'selected':''}>파생차</option>
|
|
<option value="sample" ${'sample' eq param.search_projectType ? 'selected':''}>시작차</option>
|
|
</select>
|
|
</td>
|
|
<td><label for="">지역</label></td>
|
|
<td>
|
|
<select name="search_region" id="search_region">
|
|
<option value="">선택</option>
|
|
<option value="D"${param.search_region eq'D'?'selected':''}>국내</option>
|
|
<option value="F"${param.search_region eq'F'?'selected':''}>해외</option>
|
|
</select>
|
|
</td>
|
|
<td><label for="">고객사</label></td>
|
|
<td>
|
|
<select name="search_oem" id="search_oem">
|
|
<option value="">선택</option>
|
|
</select>
|
|
</td>
|
|
<td><label for="">차종</label></td>
|
|
<td>
|
|
<select name="search_carType" id="search_carType">
|
|
<option value="">선택</option>
|
|
</select>
|
|
</td>
|
|
<td><label for="">제품군</label></td>
|
|
<td>
|
|
<select name="search_productGroup" id="search_productGroup">
|
|
<option value="">선택</option>
|
|
</select>
|
|
</td>
|
|
<td><label for="">수주결과</label></td>
|
|
<td>
|
|
<select name="search_bidding" id="search_bidding">
|
|
<option value="">선택</option>
|
|
<option value="-1354737475"${param.search_bidding eq '-1354737475'?'selected':''}>수주</option>
|
|
<option value="-1829808203"${param.search_bidding eq '-1829808203'?'selected':''}>진행중</option>
|
|
<option value="-1255760493"${param.search_bidding eq '-1255760493'?'selected':''}>실패</option>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<section class="contents_page_basic_margin">
|
|
<div class="btn_wrap">
|
|
<div class="plm_btn_wrap">
|
|
<input type="button" value="조회" class="plm_btns" id="btnSearch">
|
|
<!-- <input type="button" value="QnA" class="plm_btns btnQna">-->
|
|
<!-- <input type="button" value="메일배포" class="plm_btns" id="btnSendMail"> -->
|
|
<!--<input type="button" value="Excel Export" class="plm_btns" onclick="excelExport()">-->
|
|
</div>
|
|
</div>
|
|
<div class="plm_table_wrap">
|
|
<table class="plm_table">
|
|
<colgroup>
|
|
<col width="2%">
|
|
<col width="5%">
|
|
<col width="5%">
|
|
<col width="8%">
|
|
<col width="10%">
|
|
<col width="*">
|
|
<col width="*">
|
|
<col width="*">
|
|
<col width="*">
|
|
<col width="*">
|
|
<col width="*">
|
|
<col width="*">
|
|
<col width="*">
|
|
<col width="4%">
|
|
<col width="4%">
|
|
<col width="4%">
|
|
<!-- <col width="4%"> -->
|
|
<col width="4%">
|
|
<col width="*">
|
|
<col width="3%">
|
|
</colgroup>
|
|
<thead>
|
|
<tr class="plm_thead">
|
|
<td rowspan="2">선택</td>
|
|
<td rowspan="2">Project No</td>
|
|
<td rowspan="2">지역</td>
|
|
<td rowspan="2">프로젝트 구분</td>
|
|
<td rowspan="2">고객사</td>
|
|
<td rowspan="2">차종</td>
|
|
<td colspan="2">수주품목</td>
|
|
<td colspan="4">생산</td>
|
|
<td rowspan="2">PM</td>
|
|
<td colspan="2">일정관리</td>
|
|
<td colspan="3">문제점관리</td>
|
|
<!-- <td rowspan="2">수주활동<br>상세</td> -->
|
|
<td colspan="2">투자비관리<br>(억원)</td>
|
|
</tr>
|
|
<tr class="plm_sub_thead">
|
|
<td>제품군</td>
|
|
<td>제품</td>
|
|
<td>양산일</td>
|
|
<td>총 생산수량</td>
|
|
<td>연평균</td>
|
|
<td>공장</td>
|
|
<td>Task관리</td>
|
|
<td>진척도</td>
|
|
<td>발생</td>
|
|
<td>조치</td>
|
|
<td>미결</td>
|
|
<td>집행금액</td>
|
|
<td>건수</td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<c:choose>
|
|
<c:when test="${!empty LIST}">
|
|
<c:forEach var="info" items="${LIST}" varStatus="status">
|
|
<tr>
|
|
<td title="${info.concept_objid}"><input type="checkbox" value="${info.concept_objid}" name="ckBox" id="ckBox" data-objId="${info.concept_objid}"></td>
|
|
<td title="${info.estimate_no}">${info.estimate_no}</td>
|
|
<td title="${info.foreign_type}">${info.foreign_type}</td>
|
|
<td title="${info.pjt_type}">${info.pjt_type}</td>
|
|
<td title="${info.oem_name} (${info.oem_come})">${info.oem_name} (${info.oem_code})</td>
|
|
<td title="${info.car_code} (${info.car_name})">${info.car_code} (${info.car_name})</td>
|
|
<td title="${info.product_group_name}">${info.product_group_name}</td>
|
|
<td title="${info.concept_prod_cnt}"><a href="javascript:set_prod_modify('${info.concept_objid}');">${info.concept_prod_cnt}</a></td>
|
|
<td title="${info.milestone_date}">${info.milestone_date}</td>
|
|
<td class="align_r" title="${info.total_production_cnt}"><fmt:formatNumber value="${info.total_production_cnt}" pattern="#,###"/> </td>
|
|
<td class="align_r" title="${info.yearly_avg_production_cnt}"><fmt:formatNumber value="${info.yearly_avg_production_cnt}" pattern="#,###"/> </td>
|
|
<td title="${info.oem_factory_name}">${info.oem_factory_name}</td>
|
|
<td title="${info.pm_info}">${info.pm_info}</td>
|
|
<td><input type="button" class="blue_btn" value="WBS" onclick="fn_openProjectWBSTask('${info.concept_objid}');" style="float:none;"></td>
|
|
<td>${info.wbs_task_ratio}</td>
|
|
<td >0</td>
|
|
<td >0</td>
|
|
<td>0</td>
|
|
<td>${info.invest_amoumt}</td>
|
|
<td><a href="#" class="investCostMngPop" data-OBJID="${info.concept_objid}">${info.invest_cnt}</a></td>
|
|
<!--<td><a href="#" class="investCostMngPop file_${info.invest_cnt eq 0?'empty_':''}icon" data-OBJID="${info.concept_objid}"></a></td>-->
|
|
<!-- <td><a href="#" class="file_icon btnProjectConceptDetail" data-OBJID="${info.concept_objid}"></a></td> -->
|
|
</tr>
|
|
</c:forEach>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<tr>
|
|
<td colspan="20" align="center">조회된 데이터가 없습니다.</td>
|
|
</tr>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="pdm_page">
|
|
<input type="hidden" name="page" id="page" value="${nPage}">
|
|
<c:if test="${!empty LIST}">
|
|
<div class="page_pro">
|
|
<table>
|
|
<tr>
|
|
<c:choose>
|
|
<c:when test="${nPage > 1}">
|
|
<td><a href="javascript:fnc_goPrev('${prevPage}');">prev</a></td>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<td class="no_more_page">prev</td>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
<c:forEach var="v" begin="${nPage>5?nPage-5:1}" end="${nPage>5?nPage+4:10}" step="1" varStatus="status">
|
|
<c:if test="${status.index -1 < maxPage}">
|
|
<c:choose>
|
|
<c:when test="${status.index eq nPage}">
|
|
<td><a href="#" class="now_page">${nPage}</a></td>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<td><a href="javascript:fnc_goPage('${status.index}');">${status.index}</a></td>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</c:if>
|
|
</c:forEach>
|
|
<c:choose>
|
|
<c:when test="${nPage < maxPage}">
|
|
<td><a href="javascript:fnc_goNext('${nextPage}');">next</a></td>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<td class="no_more_page">next</td>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</tr>
|
|
</table>
|
|
<c:if test="${!empty LIST}">
|
|
<p id="adminPageCount">총 ${totalCount}건</p>
|
|
</c:if>
|
|
</div>
|
|
</c:if>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html> |