699 lines
26 KiB
Plaintext
699 lines
26 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%></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 type="text/javascript" src="/js/googlechart/loader.js"></script>
|
|
<script type="text/javascript">
|
|
|
|
google.charts.load('current', {'packages':['timeline']});
|
|
google.charts.setOnLoadCallback(drawChart);
|
|
function drawChart() {
|
|
|
|
var container = document.getElementById('timeline');
|
|
var chart = new google.visualization.Timeline(container);
|
|
var dataTable = new google.visualization.DataTable();
|
|
|
|
dataTable.addColumn({ type: 'string', id: 'Position' });
|
|
dataTable.addColumn({ type: 'string', id: 'Name' });
|
|
dataTable.addColumn({ type: 'date', id: 'Start' });
|
|
dataTable.addColumn({ type: 'date', id: 'End' });
|
|
|
|
<c:forEach var="info" items="${timeLine}" varStatus="status">
|
|
|
|
DESIGN_PLAN_END = "${info.DESIGN_PLAN_END}";
|
|
PURCHASE_PLAN_START = "${info.PURCHASE_PLAN_START}";
|
|
|
|
PURCHASE_PLAN_END = "${info.PURCHASE_PLAN_END}";
|
|
PRODUCE_PLAN_START = "${info.PRODUCE_PLAN_START}";
|
|
|
|
DESIGN_ACT_END = "${info.DESIGN_ACT_END}";
|
|
PURCHASE_ACT_START = "${info.PURCHASE_ACT_START}";
|
|
|
|
PURCHASE_ACT_END = "${info.PURCHASE_ACT_END}";
|
|
PRODUCE_ACT_START = "${info.PRODUCE_ACT_START}";
|
|
|
|
DESIGN_PLAN_START = "${info.DESIGN_PLAN_START}"
|
|
PRODUCE_PLAN_END = "${info.PRODUCE_PLAN_END}";
|
|
DESIGN_ACT_START = "${info.DESIGN_ACT_START}";
|
|
PRODUCE_ACT_END = "${info.PRODUCE_ACT_END}";
|
|
|
|
SHIP_PLAN_END = "${info.SHIP_PLAN_END}";
|
|
SHIP_ACT_END = "${info.SHIP_ACT_END}";
|
|
|
|
|
|
if(fnc_isEmpty(PRODUCE_ACT_END)){
|
|
PRODUCE_ACT_END = PRODUCE_ACT_START;
|
|
}
|
|
|
|
/* if(fnc_dateCheck(DESIGN_PLAN_END, DESIGN_PLAN_START)){
|
|
DESIGN_PLAN_END = DESIGN_PLAN_START;
|
|
}; */
|
|
|
|
/* if(!fnc_dateCheck('PURCHASE_PLAN_START', 'PURCHASE_PLAN_END')){
|
|
PURCHASE_PLAN_END = PURCHASE_PLAN_START;
|
|
console.log(PURCHASE_PLAN_END)
|
|
};
|
|
|
|
if(fnc_dateCheck(PRODUCE_PLAN_END, PRODUCE_PLAN_START)){
|
|
PRODUCE_PLAN_END = PRODUCE_PLAN_START;
|
|
};
|
|
|
|
if(fnc_dateCheck(DESIGN_ACT_END, DESIGN_ACT_START)){
|
|
DESIGN_ACT_END = DESIGN_ACT_START;
|
|
};
|
|
|
|
if(fnc_dateCheck(PURCHASE_ACT_END, PURCHASE_ACT_START)){
|
|
PURCHASE_ACT_END = PURCHASE_ACT_START;
|
|
};
|
|
|
|
if(fnc_dateCheck(PRODUCE_ACT_END, PRODUCE_ACT_START)){
|
|
PRODUCE_ACT_END = PRODUCE_ACT_START;
|
|
}; */
|
|
|
|
/* console.log(PRODUCE_PLAN_END)
|
|
console.log(PRODUCE_PLAN_START) */
|
|
<%-- if(fnc_isNotEmpty(PLAN_START) && fnc_isNotEmpty(PLAN_END)){
|
|
dataTable.addRows([
|
|
|
|
[ '${info.PROJECT_NO}', '${info.TASK_NAME}', new Date(${info.PLAN_START_YYYY}, ${info.PLAN_START_MM}, ${info.PLAN_START_DD}), new Date(${info.PLAN_END_YYYY}, ${info.PLAN_END_MM}, ${info.PLAN_END_DD}) ]
|
|
|
|
[ '${info.PROJECT_NO}', '${info.TASK_NAME}', new Date(PLAN_START.substr(0,4), PLAN_START.substr(4,2), PLAN_START.substr(6,2)), new Date(PLAN_END.substr(0,4), PLAN_END.substr(4,2), PLAN_END.substr(6,2)) ]
|
|
]);
|
|
} --%>
|
|
if(fnc_isNotEmpty(PRODUCE_ACT_START) && fnc_isNotEmpty(PRODUCE_ACT_END)){
|
|
dataTable.addRows([
|
|
[ '계획 '+'${info.PROJECT_NO}', '설계', new Date('${info.DESIGN_PLAN_START_YYYY}', Number(fnc_checkNullDefaultValue('${info.DESIGN_PLAN_START_MM}', '0'))-1, '${info.DESIGN_PLAN_START_DD}'), new Date(DESIGN_PLAN_END.substring(0,4), Number(fnc_checkNullDefaultValue(DESIGN_PLAN_END.substring(4,6), '0') )-1, DESIGN_PLAN_END.substring(6,8)) ],
|
|
[ '계획 '+'${info.PROJECT_NO}', '구매', new Date(PURCHASE_PLAN_START.substring(0,4), Number(fnc_checkNullDefaultValue(PURCHASE_PLAN_START.substring(4,6),'0'))-1, PURCHASE_PLAN_START.substring(6,8)), new Date(PURCHASE_PLAN_END.substring(0,4), Number(fnc_checkNullDefaultValue(PURCHASE_PLAN_END.substring(4,6), '0') )-1, PURCHASE_PLAN_END.substring(6,8)) ],
|
|
[ '계획 '+'${info.PROJECT_NO}', '제작~출하', new Date(PRODUCE_PLAN_START.substring(0,4), Number(fnc_checkNullDefaultValue(PRODUCE_PLAN_START.substring(4,6),'0' ))-1, PRODUCE_PLAN_START.substring(6,8)), new Date(SHIP_PLAN_END.substring(0,4), Number(fnc_checkNullDefaultValue(SHIP_PLAN_END.substring(4,6),'0' ))-1, SHIP_PLAN_END.substring(6,8)) ],
|
|
[ '실적 '+'${info.PROJECT_NO}', '설계', new Date(DESIGN_ACT_START.substring(0,4), Number(fnc_checkNullDefaultValue(DESIGN_ACT_START.substring(4,6), '0' ))-1, DESIGN_ACT_START.substring(6,8)), new Date(DESIGN_ACT_END.substring(0,4), Number(fnc_checkNullDefaultValue(DESIGN_ACT_END.substring(4,6), '0'))-1, DESIGN_ACT_END.substring(6,8)) ],
|
|
[ '실적 '+'${info.PROJECT_NO}', '구매', new Date(PURCHASE_ACT_START.substring(0,4), Number(fnc_checkNullDefaultValue(PURCHASE_ACT_START.substring(4,6),'0' ))-1, PURCHASE_ACT_START.substring(6,8)), new Date(PURCHASE_ACT_END.substring(0,4), Number(fnc_checkNullDefaultValue(PURCHASE_ACT_END.substring(4,6), '0'))-1, PURCHASE_ACT_END.substring(6,8)) ],
|
|
[ '실적 '+'${info.PROJECT_NO}', '제작~출하', new Date(PRODUCE_ACT_START.substring(0,4), Number(fnc_checkNullDefaultValue(PRODUCE_ACT_START.substring(4,6), '0'))-1, PRODUCE_ACT_START.substring(6,8)), new Date(PRODUCE_ACT_END.substring(0,4), Number(fnc_checkNullDefaultValue(PRODUCE_ACT_END.substring(4,6),'0') )-1, PRODUCE_ACT_END.substring(6,8)) ]
|
|
]);
|
|
}else {
|
|
dataTable.addRows([
|
|
['계획', '설계', new Date(), new Date()],
|
|
['계획', '구매', new Date(), new Date()],
|
|
['계획', '제작', new Date(), new Date()],
|
|
['실적', '설계', new Date(), new Date()],
|
|
['실적', '구매', new Date(), new Date()],
|
|
['실적', '제작', new Date(), new Date()],
|
|
]);
|
|
}
|
|
|
|
</c:forEach>
|
|
|
|
var options = {
|
|
timeline: { groupByRowLabel: true, showBarLabel:true, height:26},
|
|
avoidOverlappingGridLines: false,
|
|
colors: [ 'a3d977', 'c1e4f7', 'ffbbb1', 'ff8f80', 'c92d39', 'ffdba9', 'd1bcd2', ],
|
|
legend: 'top' ,
|
|
hAxis: { format: 'yy/M', gridlines: {count: 15}
|
|
//,position: 'top'
|
|
}
|
|
};
|
|
|
|
chart.draw(dataTable, options);
|
|
}
|
|
|
|
/* function afterDraw() {
|
|
var g = document.getElementsByTagName("svg")[0].getElementsByTagName("g")[1];
|
|
document.getElementsByTagName("svg")[0].parentNode.style.top = '40px';
|
|
document.getElementsByTagName("svg")[0].style.overflow = 'visible';
|
|
var height = Number(g.getElementsByTagName("text")[0].getAttribute('y')) + 15;
|
|
g.setAttribute('transform','translate(0,-'+height+')');
|
|
g = null;
|
|
} */
|
|
</script>
|
|
|
|
<link href="/js/googlechart/xxx.css" rel="stylesheet" />
|
|
<style>
|
|
|
|
#chart {
|
|
max-width: 650px;
|
|
margin: 35px auto;
|
|
}
|
|
::-webkit-scrollbar {
|
|
width: 0px;
|
|
height: 15px;
|
|
}
|
|
|
|
.timeline_thead {
|
|
height:25px; width:100%; text-align:center; font-size:13px; line-height: 25px;
|
|
}
|
|
|
|
</style>
|
|
<script>
|
|
$(document).ready(function(){
|
|
|
|
$("._table1").scroll(function () {
|
|
$("._table2").scrollLeft($("._table1").scrollLeft());
|
|
});
|
|
$("._table2").scroll(function () {
|
|
$("._table1").scrollLeft($("._table2").scrollLeft());
|
|
});
|
|
|
|
//날짜
|
|
_fnc_datepick();
|
|
|
|
|
|
$('.select2').select2();
|
|
|
|
$("#btnSearch").click(function(){
|
|
$("#page").val("1");
|
|
fn_search();
|
|
});
|
|
|
|
//SR자료등록 팝업
|
|
$(".File").click(function(){
|
|
var popup_width = 800;
|
|
var popup_height = 250;
|
|
|
|
var objId = $(this).attr("data-OBJID");
|
|
var docType =$(this).attr("data-docType");
|
|
var docTypeName = $(this).attr("data-docTypeName");
|
|
var params = "?targetObjId="+objId+"&docType="+docType+"&docTypeName="+docTypeName;
|
|
var url = "/projectConcept/FileRegistPopup.do"+params;
|
|
|
|
fn_centerPopup(popup_width, popup_height, url);
|
|
});
|
|
|
|
//영업활동 등록 팝업
|
|
$(".btnRegist").click(function(){
|
|
var popup_width = 1200;
|
|
var popup_height = 730;
|
|
var params = "?actionType=regist"
|
|
var url = "/contractMgmt/contracMgmtFormPopup.do"+params;
|
|
//window.open("/ordermgmt/ordermgmtUpdateFormPopup.do"+params, "", "width=650, height=750","menubars=no, scrollbars=yes, resizable=yes");
|
|
fn_centerPopup(popup_width, popup_height, url);
|
|
});
|
|
|
|
//wbs 등록
|
|
$(".wbs").click(function(){
|
|
var popup_width = 1800;
|
|
var popup_height = 1000;
|
|
var objId = $(this).attr("data-OBJID");
|
|
var params = "?OBJID="+objId;
|
|
var url = "/project/wbsTaskProductFormPopUp.do"+params;
|
|
fn_centerPopup(popup_width, popup_height, url);
|
|
});
|
|
|
|
|
|
|
|
//고객 등록 팝업
|
|
$(".supplyMng").click(function(){
|
|
//window.open("/ordermgmt/ordermgmtUpdateFormPopup.do"+params, "", "width=650, height=750","menubars=no, scrollbars=yes, resizable=yes");
|
|
window.open("/contractMgmt/supplyMngPagingList.do", "", "width=1150, height=676","menubars=no, scrollbars=yes, resizable=yes");
|
|
});
|
|
|
|
|
|
//엔터 조회
|
|
$("input").keyup(function(e){
|
|
if(e.keyCode == 13){
|
|
$("#page").val("1");
|
|
fn_search();
|
|
}
|
|
});
|
|
|
|
|
|
//체크박스 전체선택/전체해제
|
|
$("#allCheck").click(function(){
|
|
if($("#allCheck").prop("checked")) {
|
|
$("input[type=checkbox]").prop("checked",true);
|
|
} else {
|
|
$("input[type=checkbox]").prop("checked",false);
|
|
}
|
|
});
|
|
|
|
|
|
//삭제
|
|
$("#btnDelete").click(function(){
|
|
fn_delete();
|
|
});
|
|
|
|
|
|
$("#btnExcel").click(function(){
|
|
document.form1.actionType.value = "excel";
|
|
document.form1.action = "/contractMgmt/contractList.do";
|
|
document.form1.submit();
|
|
});
|
|
|
|
});
|
|
|
|
|
|
function _fnc_datepick(){
|
|
var $dateinput = $("input.date_icon");
|
|
for(var i=0; i<$dateinput.length; i++){
|
|
$dateinput.eq(i).attr("size","10");
|
|
$dateinput.eq(i).datepicker({
|
|
changeMonth:true,
|
|
changeYear:true
|
|
});
|
|
}
|
|
}
|
|
|
|
function fn_delete(){
|
|
|
|
if(0 < $("input[name=chk_objId]:checked").length){
|
|
if(confirm("선택한 정보를 삭제하시겠습니까?")){
|
|
var param = $("#form1").serialize();
|
|
$.ajax({
|
|
type : "POST",
|
|
url : "/contractMgmt/deleteContractMngInfo.do",
|
|
data: param,
|
|
dataType:"json",
|
|
success:function(data){
|
|
if(data.result == 'true'){
|
|
Swal.fire("삭제되었습니다.");
|
|
fn_search();
|
|
};
|
|
}
|
|
,error: function(jqxhr, status, error){
|
|
}
|
|
});
|
|
}
|
|
}else{
|
|
Swal.fire("선택한 항목이 없습니다.");
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
//영업활동등록 상세
|
|
function fn_projectConceptDetail(objId){
|
|
var popup_width = 1200;
|
|
var popup_height = 800;
|
|
var url = "/contractMgmt/contracMgmtFormPopup.do?objId="+objId;
|
|
|
|
fn_centerPopup(popup_width, popup_height, url);
|
|
}
|
|
|
|
function fn_search(){
|
|
document.form1.action = "/project/projectMgmtTotalList.do";
|
|
document.form1.submit();
|
|
}
|
|
|
|
|
|
//코드값을 받아와서 동적으로 selectbox 생성
|
|
function optionJobGroup(code){
|
|
var val=code;
|
|
var params = "";
|
|
var option="";
|
|
var combobox = $("#writer");
|
|
combobox.empty();
|
|
if(val!=""){
|
|
params += "codeId="+val;
|
|
$.ajax({
|
|
type : "POST",
|
|
url : "/projectConcept/makewrite.do",
|
|
data : params,
|
|
dataType:"json",
|
|
async: false,
|
|
success: function(data){
|
|
if(data.RESULT !=""){
|
|
option += "<option value=''>전체</option>";
|
|
option += data.RESULT;
|
|
combobox.append(option);
|
|
}
|
|
}
|
|
});
|
|
// Swal.fire(Number(lev-1));
|
|
//$("#code"+Number(lev-1)).val(code).prop("selected", true);
|
|
}else{
|
|
|
|
option += "<option value=''>전체</option>";
|
|
combobox.append(option);
|
|
}
|
|
}
|
|
|
|
|
|
//코드값을 받아와서 동적으로 selectbox 생성
|
|
function makeSelect(code){
|
|
var val=code;
|
|
var params = "";
|
|
var option="";
|
|
var combobox = $("#outc_cd6_td");
|
|
combobox.empty();
|
|
|
|
|
|
/* <select name="outc_cd6" id="outc_cd6" type="select">
|
|
<option value="">선택</option>
|
|
</select> */
|
|
|
|
if(val!="" && val!="PLA03000"){
|
|
params += "codeId="+val;
|
|
$.ajax({
|
|
type : "POST",
|
|
url : "/ordermgmt/makeCodeselect.do",
|
|
data : params,
|
|
dataType:"json",
|
|
async: false,
|
|
success: function(data){
|
|
if(data.RESULT !=""){
|
|
option += "<select name='outc_cd6' id='outc_cd6' type='select'>"
|
|
option += "<option value=''>선택</option>";
|
|
option += data.RESULT;
|
|
option += "</select>";
|
|
combobox.append(option);
|
|
$("#outc_cd6").val("${param.outc_cd6}");
|
|
//$("#outc_cd6").select2();
|
|
}
|
|
}
|
|
});
|
|
}else{
|
|
if(val=="PLA03000"){
|
|
option += "<input type='text' name='outc_cd6' id='outc_cd6' value='${param.outc_cd6}'>"
|
|
combobox.append(option);
|
|
}else{
|
|
option += "<select name='outc_cd6' id='outc_cd6' type='select'>"
|
|
option += "<option value=''>선택</option>";
|
|
option += "</select>";
|
|
combobox.append(option);
|
|
//$("#outc_cd6").select2();
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
function saveexcelpop() {
|
|
|
|
var partLength = $("input[name=partCheckBox]:checked").length;
|
|
if(partLength == 0){
|
|
Swal.fire('선택된 영업정보가 없습니다.');
|
|
return;
|
|
}
|
|
if(partLength > 1){
|
|
Swal.fire('단건씩 선택해 주세요');
|
|
return;
|
|
}
|
|
|
|
var orderobjId ="";
|
|
$("input[name=partCheckBox]:checked").each(function(){
|
|
orderobjId = fnc_checkNull($(this).attr("data-objId").replace(" ",""));
|
|
});
|
|
|
|
var url = "/ordermgmt/openOrderExcelImportPopUp.do?orderobjId="+orderobjId;
|
|
var target = "openOrderExcelImportPopUp";
|
|
window.open(url, target,"width=1245, height=700, menubars=no, scrollbars=yes, resizable=yes");
|
|
}
|
|
|
|
|
|
//프로젝트의 form,detail 팝업을 보여준다.
|
|
function openProjectFormPopUp(objId){
|
|
window.open("","projectFormPopUp","width=1150, height=676");
|
|
var params = "?actionType=regist"
|
|
var url = "/project/projectFormPopUp.do"+params;
|
|
if("" != objId){
|
|
url = "/project/projectDetailPopUp.do";
|
|
}
|
|
var form = document.form1;
|
|
form.objId.value = objId;
|
|
form.action = url;
|
|
form.target = "projectFormPopUp";
|
|
form.submit();
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<form name="form1" id="form1" action="" method="post">
|
|
<input type="hidden" name="actionType" value="" />
|
|
<div class="min_part_enroll">
|
|
<div class="content-box">
|
|
<div class="content-box-s">
|
|
<div class="plm_menu_name">
|
|
<h2>
|
|
<span>프로젝트관리_프로젝트종합</span>
|
|
</h2>
|
|
</div>
|
|
<div id="plmSearchZon">
|
|
<table>
|
|
<tr>
|
|
<td><label for="Year">년도</label></td>
|
|
<td>
|
|
<select name="Year" id="Year" class="select2" autocomplete="off">
|
|
<option value="">선택</option>
|
|
<c:forEach begin="${sysYear-4}" end="${sysYear}" var="req_year">
|
|
<option value="${req_year}"${param.Year eq req_year ? 'selected':'' }>${req_year}</option>
|
|
</c:forEach>
|
|
</select>
|
|
</td>
|
|
|
|
|
|
<%-- <td><label for="project_no">당사 프로젝트번호</label></td>
|
|
<td>
|
|
<select name="project_no" id="project_no" style="" class="select2" autocomplete="off">
|
|
<option value="">선택</option>
|
|
${code_map.project_no}
|
|
</select>
|
|
</td>
|
|
|
|
<td><label for="category_cd">구분</label></td>
|
|
<td>
|
|
<select name="category_cd" id="category_cd" style="" class="select2" autocomplete="off">
|
|
<option value="">선택</option>
|
|
${code_map.category_cd}
|
|
</select>
|
|
</td>
|
|
|
|
|
|
<td><label for="customer_objid">고객사</label></td>
|
|
<td>
|
|
<select name="customer_objid" id="customer_objid" style="" class="select2" autocomplete="off">
|
|
<option value="">선택</option>
|
|
${code_map.customer_cd}
|
|
</select>
|
|
</td>
|
|
|
|
<td><label for="product">제품구분</label></td>
|
|
<td>
|
|
<select name="product" id="product" style="" class="select2" autocomplete="off">
|
|
<option value="">선택</option>
|
|
${code_map.product_cd}
|
|
</select>
|
|
</td>
|
|
|
|
<td class="align_r">
|
|
<label>요청납기일</label>
|
|
</td>
|
|
<td>
|
|
<input type="text" name="contract_start_date" id="contract_start_date" style="width:90px;" autocomplete="off" value="${param.contract_start_date}" class="date_icon">~
|
|
<input type="text" name="contract_end_date" id="contract_end_date" style="width:90px;" autocomplete="off" value="${param.contract_end_date}" class="date_icon">
|
|
</td>
|
|
|
|
|
|
<td class="align_r">
|
|
<label>입고지</label>
|
|
</td>
|
|
<td>
|
|
<input type="text" name="location" id="location" style="width:100px;" autocomplete="off" value="${param.location}">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
|
|
<td class="align_r">
|
|
<label>셋업지</label>
|
|
</td>
|
|
<td>
|
|
<input type="text" name="setup" id="setup" style="width:100px;" autocomplete="off" value="${param.setup}">
|
|
</td>
|
|
|
|
|
|
<td><label for="pm_user_id">PM</label></td>
|
|
<td>
|
|
<select name="pm_user_id" id="pm_user_id" style="" class="select2" autocomplete="off">
|
|
<option value="">선택</option>
|
|
${code_map.pm_user_id}
|
|
</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" name="btnSearch">
|
|
</div>
|
|
</div>
|
|
<table class="in_table_scroll_wrap _table1" style="width:100%;">
|
|
<tr>
|
|
<td style="width:50%;">
|
|
<div class="in_table_scroll_wrap _table1" style="height:53px;width:100%;">
|
|
<table class="plm_table">
|
|
<colgroup>
|
|
<col width="90px"><!-- 영업번호 -->
|
|
<col width="60px"><!-- 구분 -->
|
|
<col width="120px"><!-- 고객사-->
|
|
<col width="70px"><!-- 제품구분 -->
|
|
<col width="100px"><!-- 고객사프로젝트명 -->
|
|
<col width="80px"><!-- 요청납기일-->
|
|
<col width="60px"><!-- 입고지-->
|
|
<col width="60px"><!-- 셋업지-->
|
|
<col width="60px"><!-- 설비방향 -->
|
|
<col width="60px"><!-- 설비방향 -->
|
|
<!-- <col width="50px"> --><!-- 설비방향 -->
|
|
|
|
</colgroup>
|
|
<thead>
|
|
<tr class="plm_thead">
|
|
<td colspan="10">프로젝트정보</td>
|
|
<!-- <td colspan="8">진행관리</td> -->
|
|
<!-- <td colspan="3">이슈관리</td>
|
|
<td colspan="2">원가관리</td> -->
|
|
</tr>
|
|
<tr class="plm_sub_thead">
|
|
<td>프로젝트번호</td>
|
|
<td>구분</td>
|
|
<td>고객사</td>
|
|
<td>제품구분</td>
|
|
<td>프로젝트명</td>
|
|
<td>요청납기일</td>
|
|
<td>입고지</td>
|
|
<td>셋업지</td>
|
|
<td>담당자</td>
|
|
<td>PM</td>
|
|
<!-- <td></td> -->
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</div>
|
|
<div class="in_table_scroll_wrap _table2" style="height:580px;width:100%;">
|
|
<table class="plm_table">
|
|
<colgroup>
|
|
<col width="90px"><!-- 영업번호 -->
|
|
<col width="60px"><!-- 구분 -->
|
|
<col width="120px"><!-- 고객사-->
|
|
<col width="70px"><!-- 제품구분 -->
|
|
<col width="100px"><!-- 고객사프로젝트명 -->
|
|
<col width="80px"><!-- 요청납기일-->
|
|
<col width="60px"><!-- 입고지-->
|
|
<col width="60px"><!-- 셋업지-->
|
|
<col width="60px"><!-- 설비방향 -->
|
|
<col width="60px"><!-- 설비방향 -->
|
|
<!-- <col width="50px"> --><!-- 설비방향 -->
|
|
</colgroup>
|
|
<c:choose>
|
|
<c:when test="${!empty LIST}">
|
|
<c:forEach var="info" items="${LIST}" varStatus="status">
|
|
<tr style="height:40.99px">
|
|
<td rowspan="2" title="${info.PROJECT_NO}" style="text-align:left; padding-left: 5px;"><a href="#" onclick="javascript:fn_projectConceptDetail('${info.OBJID}')">${info.PROJECT_NO}</a></td><!-- 계약번호 -->
|
|
<td title="${info.CATEGORY_NAME}" style="text-align:left; padding-left: 5px;"">${info.CATEGORY_NAME}</td><!-- 지역 -->
|
|
<td title="${info.CUSTOMER_NAME}" style="text-align:left; padding-left: 5px;">${info.CUSTOMER_NAME}</td><!-- 고객명 -->
|
|
<td title="${info.PRODUCT_NAME}" style="text-align:left; padding-left: 5px;">${info.PRODUCT_NAME}</td><!-- 사업자등록번호 -->
|
|
<td title="${info.PROJECT_NAME}" style="text-align:left; padding-left: 5px;">${info.PROJECT_NAME}</td><!-- 프로젝트명 -->
|
|
<td title="${info.DUE_DATE}">${info.DUE_DATE}</td><!-- 요청납기일 -->
|
|
<td title="${info.LOCATION}">${info.LOCATION}</td><!-- 입고지 -->
|
|
<td title="${info.SETUP}">${info.SETUP}</td><!-- 셋업지 -->
|
|
<td title="${info.WRITER_NAME}">${info.WRITER_NAME}</td><!-- 담당자 -->
|
|
<td title="${info.CHG_USER_NAME}">${info.CHG_USER_NAME}</td><!-- PM -->
|
|
<!-- <td>계획</td> -->
|
|
</tr>
|
|
|
|
<tr style="height:40.99px">
|
|
<td></td>
|
|
<td></td>
|
|
<td></td>
|
|
<td></td>
|
|
<td></td>
|
|
<td></td>
|
|
<td></td>
|
|
<td></td>
|
|
<td></td>
|
|
<!-- <td>실적</td> -->
|
|
</tr>
|
|
|
|
|
|
</c:forEach>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<tr>
|
|
<td colspan="30" align="center">조회된 데이터가 없습니다.</td>
|
|
</tr>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
<td style="width:50%;">
|
|
<div class="plm_thead timeline_thead" style="background: #67686f;">진행관리</div>
|
|
<div class="timeline_thead" style="background-color:#ffffff;">(추진기간)</div>
|
|
<div id="timeline" style="height:580px; width:100%; overflow:hidden;"></div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<div class="pdm_page">
|
|
<input type="hidden" name="page" id="page" value="${nPage}">
|
|
<c:if test="${!empty LIST}">
|
|
<div class="page_pro">
|
|
<table align="center">
|
|
<tr>
|
|
<c:choose>
|
|
<c:when test="${nPage > 1}">
|
|
<td><a href="javascript:fnc_goPrev('${prevPage}');">prev</a></td>
|
|
<td> </td>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<td class="no_more_page">prev</td>
|
|
<td> </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>
|
|
<td> </td>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<td><a href="javascript:fnc_goPage('${status.index}');">${status.index}</a></td>
|
|
<td> </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>
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html> |