- 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
113 lines
3.2 KiB
Plaintext
113 lines
3.2 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">
|
|
<link rel="stylesheet" href="css/basic.css">
|
|
<title><%=Constants.SYSTEM_NAME%></title>
|
|
|
|
<script>
|
|
$(function(){
|
|
$(document).ready(function(){
|
|
$("#btnModify").click(function(){
|
|
//if(confirm("Edit Mode로 이동하시겠습니까?")){
|
|
document.form1.action = "/admin/designCheckListGroupFormPopup.do";
|
|
document.form1.submit();
|
|
//}
|
|
});
|
|
});
|
|
|
|
//제품군별 제품 목록 조회
|
|
fn_setProductList();
|
|
|
|
});
|
|
</script>
|
|
<script>
|
|
//product 목록 조회
|
|
function fn_setProductList(){
|
|
$.ajax({
|
|
url:"/common/getProductList.do",
|
|
type:"POST",
|
|
data:{"isJson":true},
|
|
dataType:"json",
|
|
success:function(data){
|
|
var appendCode = "";
|
|
|
|
$.each(data, function(i){
|
|
appendCode += "<option value='"+data[i].OBJID+"'>"+data[i].PRODUCT_NAME+"</option>";
|
|
});
|
|
|
|
$("#prodObjId").append(appendCode);
|
|
|
|
var dbVal = fnc_checkNull("${info.PROD_OBJID}");
|
|
if(dbVal != ""){
|
|
$("#prodObjId > option[value="+dbVal+"]").attr("selected", "true");
|
|
}
|
|
},
|
|
error: function(jqxhr, status, error){
|
|
}
|
|
});
|
|
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<section id="commonSection">
|
|
<div class=admin_title>
|
|
<h2>설계체크리스트 대분류</h2>
|
|
</div>
|
|
<div id="adminPopupFormWrap">
|
|
<form id="form1" name="form1" method="post">
|
|
<input type="hidden" id="objId" name="objId" value="${info.OBJID}">
|
|
<table id="adminPopupForm">
|
|
<colgroup>
|
|
<col width="37%" />
|
|
<col width="63%" />
|
|
</colgroup>
|
|
<tbody>
|
|
<tr>
|
|
<td><label>제품명</label></td>
|
|
<td style="font-size:13px;" class="admin_tr_data_border_bottom">${info.PROD_NAME}</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>설계체크리스트 대분류</label></td>
|
|
<td style="font-size:13px;" class="admin_tr_data_border_bottom">
|
|
<input type="text" title="설계체크리스트 대분류" name="groupName" id="groupName" maxlength="100" value="${info.GROUP_NAME}" required readonly="readonly">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>SEQ</label></td>
|
|
<td style="font-size:13px;" class="admin_tr_data_border_bottom">
|
|
<input type="text" title="SEQ" name="seqNum" id="seqNum" value="${info.SEQ}" maxlength="100" required readonly="readonly">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>활성화 여부</label></td>
|
|
<td style="font-size:13px;" class="admin_tr_data_border_bottom">
|
|
<c:if test="${info.STATUS eq 'active'}">
|
|
활성화
|
|
</c:if>
|
|
<c:if test="${info.STATUS eq 'inActive'}">
|
|
비활성화
|
|
</c:if>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<div id="adminPopupBtnWrap">
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div class="btnCenterWrap">
|
|
<center class="center_btns_wrap">
|
|
<input type="button" value="Edit" class="btns" id="btnModify">
|
|
<input type="button" value="닫기" name="" id="btn_close" class="btns" onclick="javascript:self.close();">
|
|
</center>
|
|
</div>
|
|
</section>
|
|
</body>
|
|
</html> |