ERP-node/WebContent/WEB-INF/view/protoDevMng/protoTestHistoryFormPopUp.jsp

118 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>
$(function(){
//START자료등록 팝업
$(".startFile").click(function(){
var objId = $(this).attr("data-OBJID");
var params = "?objId="+objId;
window.open("/protoDevMng/protoTestResultDetailPopUp.do"+params, "", "width=800, height=385");
});
$("#btnClose").click(function(){
self.close(0);
});
});
</script>
<script>
//시작품 검사관리 시작업체 Popup 검색기능
function fn_search(){
var form = document.form1;
form.target="_self";
form.action = "";
form.submit();
}
//결과 상세 화면을 호출한다.
function fn_openTestResult(objId){
window.open("/protoDevMng/protoTestResultDetailPopUp.do?objId="+objId, "", "width=800, height=385");
}
</script>
</head>
<body>
<form name="form1" action="" method="post">
<section class="min-width:333px;">
<div class="plm_menu_name">
<h2>
<span>시작품검사</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="10%"/>
<col width="20%"/>
<col width="10%"/>
<col width="10%"/>
<col width="20%"/>
<col width="20%"/>
<col width="10%"/>
</colgroup>
<thead>
<tr class="plm_thead">
<td>No.</td>
<td>구분</td>
<td>차수</td>
<td>결과</td>
<td>등록자</td>
<td>등록일</td>
<td>첨부</td>
</tr>
</thead>
</table>
</div>
<div class="plm_scroll_table" style="width:100%; height:250px;">
<table class="plm_table">
<colgroup>
<col width="10%"/>
<col width="20%"/>
<col width="10%"/>
<col width="10%"/>
<col width="20%"/>
<col width="20%"/>
<col width="10%"/>
</colgroup>
<c:choose>
<c:when test="${empty resultList}">
<tr style="text-align:center;">
<td align="center" colspan="7">조회된 데이터가 없습니다.</td>
</tr>
</c:when>
<c:otherwise>
<c:forEach var="item" items="${resultList}" varStatus="varStatus">
<tr>
<td>${item.RNUM}</td>
<td title="${'weld' eq item.RESULT_TYPE?'용접검사':'골격검사'}">${'weld' eq item.RESULT_TYPE?'용접검사':'골격검사'}</td>
<td title="${item.TEST_ROUND}">${item.TEST_ROUND}</td>
<td title="${item.TEST_RESULT_TITLE}"><a href="#" onclick="fn_openTestResult('${item.OBJID}');">${item.TEST_RESULT_TITLE}</a></td>
<td title="${item.DEPT_NAME} ${item.USER_NAME}">${item.DEPT_NAME} ${item.USER_NAME}</td>
<td title="${item.REGDATE_TITLE}">${item.REGDATE_TITLE}</td>
<td><a href="#" class="startFile file_${item.START_FILE_CNT eq 0?'empty_':''}icon" data-OBJID="${item.OBJID}"></a></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>