ERP-node/WebContent/WEB-INF/view/project/wbs/wbsTaskConnectFNTaskListPop...

115 lines
3.9 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>
$(document).ready(function(){
$("#btnClose").click(function(){
self.close(0);
});
});
</script>
<script>
function fn_openConnectTaskDetail(objId,taskType){
var url = "";
var windowOption = "width=1500, height=680";
//개발 Master
if("${devMaster}" == taskType){
url = "/devInfoMng/devMaster/devMasterConnectPartListDetailPopUp.do?objId="+objId;
}else if("${dfmea}" == taskType){
url = "/productDevMng/dfmea/dfmeaListDetailPopUp.do?targetObjId="+objId;
windowOption = "width=1600, height=670";
}else if("${protoStock}" == taskType){
url = "/protoDevMng/protoStockDetailPopUp.do?objId="+objId;
windowOption = "width=1300, height=675";
}else if("${protoPlan}" == taskType){
url = "/protoDevMng/protoPlanMngDetailPopUp.do?objId="+objId
windowOption = "width=1900, height=840";
}else if("${protoTest}" == taskType){
url = "/protoDevMng/protoTestListFormPopUp.do?objId="+objId;
windowOption = "width=1600, height=670";
}else if("${qualityTest}" == taskType){
url = "/quality/qualityTestPartListDetailPopup.do?targetObjId="+objId;
windowOption = "width=1120, height=440";
}else if("${applyHistory}" == taskType){
url = "/problem/problemContinualMngReflectFormPopup.do?objId="+objId;
windowOption = "width=500, height=330";
}else if("${structureReviewReport}" == taskType){
url = "/structureReviewReport/structureReviewReportDetailPopup.do?objId="+objId;
windowOption = "width=1250, height=915";
}
/* else if("${eoApply}" == taskType){
url = "/devInfoMng/devMaster/devMasterConnectPartListDetailPopUp.do?objId="+objId;
} */
window.open(url, "", windowOption);
}
</script>
</head>
<body>
<form name="form1" action="" method="post">
<section class="min-width:333px;">
<div class="plm_menu_name">
<h2>
<span>WBS Task Link 목록</span>
</h2>
</div>
<section class="contents_page_basic_margin">
<div class="plm_table_wrap">
<div style="overflow-y:scroll;margin-top:15px;">
<table class="plm_table" style="width:100%;">
<colgroup>
<col width="7%"/>
<col width="*"/>
<col width="20%"/>
</colgroup>
<thead>
<tr class="plm_thead">
<td>No</td>
<td>구분</td>
<td>연결일자</td>
</tr>
</thead>
</table>
</div>
<div class="plm_scroll_table" style="width:100%; height:300px;">
<table class="plm_table">
<colgroup>
<col width="7%"/>
<col width="*"/>
<col width="20%"/>
</colgroup>
<c:choose>
<c:when test="${empty connectTaskList}">
<tr style="text-align:center;">
<td align="center" colspan="3">조회된 데이터가 없습니다.</td>
</tr>
</c:when>
<c:otherwise>
<c:forEach var="item" items="${connectTaskList}" varStatus="varStatus">
<tr>
<td>${item.RNUM}</td>
<td><a href="#" onclick="fn_openConnectTaskDetail('${item.SUB_OBJID}','${item.TASK_TYPE}');">${item.TASK_TYPE_TITLE}</a></td>
<td>${item.REGDATE_TITLE}</td>
</tr>
</c:forEach>
</c:otherwise>
</c:choose>
</table>
</div>
</div>
<div class="btn_wrap">
<div class="plm_btn_wrap_center">
<input type="button" value="닫기" id="btnClose" class="plm_btns">
</div>
</div>
</section>
</section>
</form>
</body>
</html>