- 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
247 lines
8.3 KiB
Plaintext
247 lines
8.3 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 fn_refresh(){
|
|
document.form1.action = "/problem/problemRegistListPopup.do";
|
|
document.form1.submit();
|
|
}
|
|
|
|
function fn_search(){
|
|
document.form1.action = "/problem/problemRegistListPopup.do";
|
|
document.form1.submit();
|
|
}
|
|
//상태변경
|
|
function fn_changeStatus(status, objId, targetObjId){
|
|
$.ajax({
|
|
url:"/problem/changeProblemStatusInfo.do",
|
|
type:"POST",
|
|
data:{"objId":objId, "status":status, "targetObjId":targetObjId},
|
|
dataType:"text",
|
|
success:function(data){
|
|
//Swal.fire("변경되었습니다.");
|
|
},
|
|
error: function(jqxhr, status, error){
|
|
}
|
|
});
|
|
}
|
|
|
|
//과거차 대상여부 변경
|
|
function fn_changeContinualMngType(type, objId){
|
|
$.ajax({
|
|
url:"/problem/changeProblemContinualMngTypeInfo.do",
|
|
type:"POST",
|
|
data:{"objId":objId, "type":type},
|
|
dataType:"text",
|
|
success:function(data){
|
|
//Swal.fire("변경되었습니다.");
|
|
},
|
|
error: function(jqxhr, status, error){
|
|
}
|
|
});
|
|
}
|
|
|
|
//첨부파일 미리보기
|
|
function openImagePopUp(url){
|
|
var img=new Image();
|
|
img.src=url;
|
|
var img_width=img.width;
|
|
var img_height=img.height;
|
|
var win_width=img.width+25;
|
|
var height=img.height+30;
|
|
|
|
window.open(url,"partListShapeImgPopUp","width="+img_width+",height="+height+", menubars=no, scrollbars=yes'");
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<form name="form1" action="" method="post">
|
|
<div id="pageMinWidth">
|
|
<div class="plm_menu_name">
|
|
<h2>
|
|
<span>양산문제점</span>
|
|
</h2>
|
|
</div>
|
|
<section class="contents_page_basic_margin">
|
|
<div class="plm_table_wrap" style="margin-top:15px;]">
|
|
<table class="plm_table">
|
|
<colgroup>
|
|
<col width="2%">
|
|
<col width="6%">
|
|
<col width="5%">
|
|
<col width="5%">
|
|
<col width="*">
|
|
<col width="*">
|
|
<col width="*">
|
|
<col width="5%">
|
|
<col width="5%">
|
|
<col width="5%">
|
|
<col width="5%">
|
|
<col width="5%">
|
|
<col width="5%">
|
|
</colgroup>
|
|
<thead>
|
|
<tr class="plm_thead">
|
|
<td rowspan="2"> </td>
|
|
<td rowspan="2">Part No</td>
|
|
<td rowspan="2" colspan="2">유형</td>
|
|
<td rowspan="2">제목</td>
|
|
<td rowspan="2">문제점</td>
|
|
<td rowspan="2">개선대책</td>
|
|
<td colspan="2">제기</td>
|
|
<td colspan="2">반영</td>
|
|
<td rowspan="2">확인결과</td>
|
|
<td rowspan="2">과거차<br>대상여부</td>
|
|
</tr>
|
|
<tr class="plm_sub_thead">
|
|
<td>제기일</td>
|
|
<td>조치요청일</td>
|
|
<td>반영예정일</td>
|
|
<td>반영여부</td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<c:choose>
|
|
<c:when test="${!empty LIST}">
|
|
<c:forEach var="i" items="${LIST}" varStatus="status">
|
|
<tr>
|
|
<td><input type="radio" name="chk" value="${i.OBJID}"></td>
|
|
<td>${i.PART_NO}</td>
|
|
<td>
|
|
<c:choose>
|
|
<c:when test="${i.TYPE1 eq 'design'}">
|
|
설계
|
|
</c:when>
|
|
<c:when test="${i.TYPE1 eq 'mold'}">
|
|
금형
|
|
</c:when>
|
|
<c:when test="${i.TYPE1 eq 'quality'}">
|
|
품질
|
|
</c:when>
|
|
<c:when test="${i.TYPE1 eq 'facilities'}">
|
|
설비
|
|
</c:when>
|
|
<c:otherwise>
|
|
${i.TYPE1}
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</td>
|
|
<td>${i.TYPE2}</td>
|
|
<td><a href="#" class="btnDetail" data-OBJID="${i.OBJID}">${i.SUBJECT}</a></td>
|
|
<td>
|
|
<c:choose>
|
|
<c:when test="${empty i.PROBLEM_ATTACH_REAL_FILE_NAME}">
|
|
</c:when>
|
|
<c:otherwise>
|
|
<img src="/common/viewImage.do?realFileName=${i.PROBLEM_ATTACH_REAL_FILE_NAME}&savedFileName=${i.PROBLEM_ATTACH_SAVED_FILE_NAME}&attDir=${i.PROBLEM_ATTACH_FILE_PATH}" height='80px' width='auto' onclick='openImagePopUp(this.src)' style='cursor:pointer;'/>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</td>
|
|
<td>
|
|
<c:choose>
|
|
<c:when test="${empty i.RESPONSE_ATTACH_REAL_FILE_NAME}">
|
|
</c:when>
|
|
<c:otherwise>
|
|
<img src="/common/viewImage.do?realFileName=${i.RESPONSE_ATTACH_REAL_FILE_NAME}&savedFileName=${i.RESPONSE_ATTACH_SAVED_FILE_NAME}&attDir=${i.RESPONSE_ATTACH_FILE_PATH}" height='80px' width='auto' onclick='openImagePopUp(this.src)' style='cursor:pointer;'/>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</td>
|
|
<td>${i.REQ_DATE}</td>
|
|
<td>${i.RES_PLAN_DATE}</td>
|
|
<td>${i.REFLECT_PLAN_DATE}</td>
|
|
<td>
|
|
<c:choose>
|
|
<c:when test="${i.REFLECT_RESULT eq 'Y'}">
|
|
반영완료
|
|
</c:when>
|
|
<c:when test="${i.REFLECT_RESULT eq 'N'}">
|
|
미반영
|
|
</c:when>
|
|
<c:otherwise>
|
|
예정
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</td>
|
|
<td>
|
|
<select name="status" data-OBJID="${i.OBJID}" data-TARGET_OBJID="${i.TARGET_OBJID}" class="status">
|
|
<option value="create" ${i.STATUS eq 'create'?'selected':''}>미결</option>
|
|
<option value="complete" ${i.STATUS eq 'complete'?'selected':''}>완료</option>
|
|
</select>
|
|
</td>
|
|
<td>
|
|
<select name="continualMngType" class="continualMngType" data-OBJID="${i.OBJID}">
|
|
<option value="Y" ${i.CONTINUAL_MNG_TYPE eq 'Y'?'selected':''}>대상</option>
|
|
<option value="N" ${i.CONTINUAL_MNG_TYPE eq 'N'?'selected':''}>비대상</option>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
</c:forEach>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<tr>
|
|
<td colspan="13" 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>
|
|
</div>
|
|
<div class="btn_wrap">
|
|
<div class="plm_btn_wrap_center">
|
|
<input type="button" value="저장" id="btnSave" class="plm_btns">
|
|
<input type="button" value="닫기" id="btnClose" class="plm_btns">
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html> |