209 lines
8.1 KiB
Plaintext
209 lines
8.1 KiB
Plaintext
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
|
pageEncoding="UTF-8"%>
|
|
<%@ page import="com.pms.common.utils.*"%>
|
|
<%@ page import="java.util.*"%>
|
|
<%@include file="/init.jsp"%>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title><%=Constants.SYSTEM_NAME%></title>
|
|
<script type="text/javascript" src="/js/jquery.floatThead.min.js" ></script>
|
|
<script>
|
|
$(document).ready(function() {
|
|
$(".select2").each(function(i,o){
|
|
$(this).val( $(this).attr("data-value") ).trigger("change");
|
|
});
|
|
|
|
$('.select2').select2();
|
|
fnc_datepick();
|
|
$('.date').each(function(i,o){
|
|
$(this).attr("size","10");
|
|
$(this).datepicker({
|
|
changeMonth:true,
|
|
changeYear:true
|
|
});
|
|
});
|
|
|
|
|
|
$('#fixTable').floatThead();
|
|
//닫기
|
|
$("#btnClose").click(function(){
|
|
self.close(0);
|
|
});
|
|
|
|
|
|
//취소
|
|
$("#btnCancel").click(function(){
|
|
var objId = $(this).attr("data-OBJID");
|
|
var params = "?objId="+objId;
|
|
document.form1.action ="/project/wbs/wbsTaskListDetailPopUp.do"+params;
|
|
document.form1.target ="_self";
|
|
document.form1.submit();
|
|
});
|
|
|
|
$(".level_1").css("background-color", "#a3a5a2");
|
|
$(".level_2").css("background-color", "#e0e1e0");
|
|
$(".level_3").css("background-color", "#f1edfc");
|
|
|
|
|
|
//체크박스 전체선택/전체해제
|
|
$("#allCheck").click(function(){
|
|
if($("#allCheck").prop("checked")) {
|
|
$("input[type=checkbox]").prop("checked",true);
|
|
} else {
|
|
$("input[type=checkbox]").prop("checked",false);
|
|
}
|
|
});
|
|
|
|
|
|
|
|
|
|
$("input").change(function(){
|
|
var _thisvalue = $(this).val();
|
|
var _name = $(this).attr("name");
|
|
$("input[name='"+_name+"']").each(function (i) {
|
|
var maxvalue = $("input[name='"+_name+"']").eq(i).val().replace(/-/g,"");
|
|
if(_thisvalue.replace(/-/g,"") <= maxvalue){
|
|
_thisvalue = $("input[name='"+_name+"']").eq(i).val();
|
|
}
|
|
});
|
|
//$("#"+_name+"_MAX").text(_thisvalue);
|
|
|
|
var trindex = $(this).parent().parent().index();
|
|
var tdindex = $(this).parent().index();
|
|
$("#fixTable tr:eq(0) td:eq("+(tdindex-1)+")").text(_thisvalue);
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<form name="hiddenForm" id="hiddenForm" method="post">
|
|
<input type="hidden" name="OBJID" id="OBJID">
|
|
<input type="hidden" name="PARENT_OBJID" id="PARENT_OBJID" value="${param.OBJID}">
|
|
<input type="hidden" name="PREV_TASK_SEQ" id="PREV_TASK_SEQ">
|
|
<input type="hidden" name="PARENT_OBJID" id="PARENT_OBJID">
|
|
</form>
|
|
<form name="form1" id="form1" action="" method="post">
|
|
<input type="hidden" name="projectObjId" value="${param.OBJID}">
|
|
<input type="hidden" name="parentObjId">
|
|
<input type="hidden" name="taskObjId">
|
|
<input type="hidden" name="projStep">
|
|
<input type="hidden" name="status">
|
|
<input type="hidden" name="OBJID" value="${param.OBJID}">
|
|
<div class="plm_menu_name">
|
|
</div>
|
|
<section class="contents_page_basic_margin" style="margin-top: 3px; height: 710px;">
|
|
<div>
|
|
<div class="plm_btn_wrap">
|
|
</div>
|
|
<section class="contents_page_basic_margin" style="margin-top: 3px; height: 710px;">
|
|
<div>
|
|
</div>
|
|
|
|
<div class="plm_table_wrap" style="overflow : auto; height: 710px">
|
|
<div class="in_table_scroll_wrap _table1" style="height:52px; width: 99.1%;">
|
|
<table class="plm_table" style="border-Spacing:0; border-Collapse: separate;">
|
|
<colgroup>
|
|
<col width="20px">
|
|
<col width="50px">
|
|
<col width="200px">
|
|
|
|
<col width="80px">
|
|
<col width="80px">
|
|
|
|
<col width="80px">
|
|
<col width="80px">
|
|
<col width="80px">
|
|
</colgroup>
|
|
<thead>
|
|
<tr class="plm_thead">
|
|
<td rowspan="2"><input type="checkbox" id="allCheck" name=""></td>
|
|
<td colspan="2">셋업WBS</td>
|
|
<td colspan="2">계획</td>
|
|
<td colspan="3">실적</td>
|
|
</tr>
|
|
</thead>
|
|
<tr class="plm_sub_thead">
|
|
<td></td>
|
|
<td>구분</td>
|
|
<td>TASK명</td>
|
|
<td>시작일</td>
|
|
<td>종료일</td>
|
|
<td>시작일</td>
|
|
<td>종료일</td>
|
|
<td>지연일</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="plm_scroll_table" style="height:600px;">
|
|
<table id="dataTable" class="plm_table" style="width:99.4%; ">
|
|
<colgroup>
|
|
<col width="20px">
|
|
<col width="50px">
|
|
<col width="200px">
|
|
|
|
<col width="80px">
|
|
<col width="80px">
|
|
<col width="80px">
|
|
<col width="80px">
|
|
<col width="80px">
|
|
</colgroup>
|
|
<tbody class="font_white">
|
|
<c:choose>
|
|
<c:when test="${empty projectTaskList}">
|
|
<tr style="text-align:center;">
|
|
<td align="center" colspan="11">조회된 데이터가 없습니다.</td>
|
|
</tr>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<c:set var="leafIdx" value="1" />
|
|
<c:forEach var="item" items="${projectTaskList}" varStatus="varStatus">
|
|
<c:if test="${varStatus.index > 0}">
|
|
</c:if>
|
|
<tr style="background-color:<c:if test="${empty item.PARENT_OBJID}">#E2EFDA</c:if>">
|
|
<input type="hidden" name="TASK_OBJID" value="${item.OBJID }" />
|
|
<td class="align_c"><c:if test="${not empty item.PARENT_OBJID}"><input type='checkbox' name='CHK_OBJID' value='${item.OBJID }' data-PARENT_OBJID='${item.PARENT_OBJID }' data-TASK_SEQ="${item.TASK_SEQ}" data-PARENT_OBJID="${item.PARENT_OBJID }"></c:if></td>
|
|
<%-- <td>${varStatus.index}</td> --%>
|
|
|
|
<td title="${item.TASK_CATEGORY}">${item.TASK_CATEGORY}</td>
|
|
<td title="${item.TASK_NAME}" class="align_l">${item.TASK_NAME}</td>
|
|
|
|
<c:choose>
|
|
<c:when test="${empty item.PARENT_OBJID}">
|
|
<td title="${item.SETUP_PLAN_START_MIN}">${fn:replace(item.SETUP_PLAN_START_MIN, '9999', '')}<input type="hidden" name="SETUP_PLAN_START" class="align_c" value="${item.SETUP_PLAN_START_MIN}" /></td>
|
|
<td title="${item.SETUP_PLAN_END_MAX }">${item.SETUP_PLAN_END_MAX}<input type="hidden" name="SETUP_PLAN_END" class="align_c" value="${item.SETUP_PLAN_END_MAX }" /></td>
|
|
<td title="${item.SETUP_ACT_START_MIN }">${fn:replace(item.SETUP_ACT_START_MIN, '9999', '') }<input type="hidden" name="SETUP_ACT_START" class="align_c" value="${item.SETUP_ACT_START_MIN }" /></td>
|
|
<td title="${item.SETUP_ACT_END_MAX }">${item.SETUP_ACT_END_MAX}<input type="hidden" name="SETUP_ACT_END" class="align_c" value="${item.SETUP_ACT_END_MAX }" /></td>
|
|
<td title="${item.SETUP_DELAYE_DAY_SUM}">${item.SETUP_DELAYE_DAY_SUM}<input type="hidden" name="SETUP_DELAYE_DAY" class="align_c" value="" /></td>
|
|
|
|
</c:when>
|
|
<c:otherwise>
|
|
<td title="${item.SETUP_PLAN_START}"><input type="text" name="SETUP_PLAN_START" class="date" data-leafIdx="${varStatus.index}" value="${item.SETUP_PLAN_START}" /></td>
|
|
<td title="${item.SETUP_PLAN_END }"><input type="text" name="SETUP_PLAN_END" class="date" data-leafIdx="${varStatus.index}" value="${item.SETUP_PLAN_END }" /></td>
|
|
<td title="${item.SETUP_ACT_START }"><input type="text" name="SETUP_ACT_START" class="date" data-leafIdx="${varStatus.index}" value="${item.SETUP_ACT_START }" /></td>
|
|
<td title="${item.SETUP_ACT_END }"><input type="text" name="SETUP_ACT_END" class="date" data-leafIdx="${varStatus.index}" value="${item.SETUP_ACT_END }" /></td>
|
|
<td title="${item.SETUP_DELAYE_DAY}"><input type="text" name="SETUP_DELAYE_DAY" class="align_c" value="${item.SETUP_DELAYE_DAY }" /></td>
|
|
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</tr>
|
|
</c:forEach>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</section>
|
|
|
|
<div class="btn_wrap" style="top:40px">
|
|
<div class="plm_btn_wrap_center">
|
|
<input type="button" value="닫기" id="btnClose" class="plm_btns">
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html>
|