- 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
839 lines
26 KiB
Plaintext
839 lines
26 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>
|
|
</head>
|
|
<script>
|
|
$(document).ready(function(){
|
|
|
|
//닫기
|
|
$("#btnClose").click(function(){
|
|
self.close(0);
|
|
});
|
|
|
|
//저장
|
|
$("#btnSave").click(function(){
|
|
fn_save();
|
|
});
|
|
|
|
//취소
|
|
$("#btnCancel").click(function(){
|
|
var objId = $(this).attr("data-OBJID");
|
|
var params = "?objId="+objId;
|
|
document.form1.action ="/projectConcept/projectConceptDetailPopup.do"+params;
|
|
document.form1.submit();
|
|
});
|
|
|
|
fnc_setFileDropZone("issueDropZone", "${objId}", "ISSUE_ATTACH_01", "이슈정보자료01", "issueAreaDraw1",false,null,null);
|
|
fnc_setFileDropZone("issue1DropZone", "${objId}", "ISSUE_ATTACH_02", "이슈정보자료02", "issueAreaDraw2",false,null,null);
|
|
fnc_setFileDropZone("issue2DropZone", "${objId}", "ISSUE_ATTACH_03", "이슈정보자료03", "issueAreaDraw3",false,null,null);
|
|
fnc_setFileDropZone("issue3DropZone", "${objId}", "ISSUE_ATTACH_04", "이슈정보자료04", "issueAreaDraw4",false,null,null);
|
|
|
|
|
|
issueAreaDraw1();
|
|
issueAreaDraw2();
|
|
issueAreaDraw3();
|
|
issueAreaDraw4();
|
|
|
|
if("${info.WPST_CD}" == "WPS00700"){
|
|
fnc_datepick();
|
|
}
|
|
|
|
if("${info.SOL_USER_DEPT_ID}" != null){
|
|
optionwriteGroup("${info.SOL_USER_DEPT_ID}");
|
|
}
|
|
|
|
if("${info.CUSTOMER_CD}" != null){
|
|
optionJobGroup("${info.CUSTOMER_CD}");
|
|
}
|
|
|
|
|
|
$("#btnUpload").click(function(){
|
|
var files = $("#file1")[0].files;
|
|
if(files.length > 0){
|
|
fnc_fileMultiUpload(files, null, "${objId}", "CUSTOMER_01", "고객정보자료", null, "projectAreaDraw");
|
|
//file객체 초기화
|
|
$("#file1").val("");
|
|
}else{
|
|
Swal.fire("선택된 File이 없습니다.");
|
|
}
|
|
});
|
|
|
|
|
|
|
|
|
|
});
|
|
</script>
|
|
<script>
|
|
//oem 목록 조회
|
|
function fn_setOEMList(){
|
|
$.ajax({
|
|
url:"/common/getOEMList.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].OEM_NAME+"("+data[i].OEM_CODE+")</option>";
|
|
});
|
|
|
|
$("#oemObjId").append(appendCode);
|
|
|
|
$("#oemObjId > option[value=${info.OEM_OBJID}]").attr("selected", "true");
|
|
$("#oemObjId").trigger("change");
|
|
},
|
|
error: function(jqxhr, status, error){
|
|
}
|
|
});
|
|
}
|
|
|
|
|
|
//형상 영역을 display 한다.
|
|
function issueAreaDraw1(){
|
|
fn_Img_fileCallback("issueAttach","ISSUE_ATTACH_01");
|
|
}
|
|
//형상 영역을 display 한다.
|
|
function issueAreaDraw2(){
|
|
fn_Img_fileCallback("issueAttach1","ISSUE_ATTACH_02");
|
|
}
|
|
//형상 영역을 display 한다.
|
|
function issueAreaDraw3(){
|
|
fn_fileCallback("issueAttach2","ISSUE_ATTACH_03");
|
|
}
|
|
//형상 영역을 display 한다.
|
|
function issueAreaDraw4(){
|
|
fn_fileCallback("issueAttach3","ISSUE_ATTACH_04");
|
|
}
|
|
|
|
//첨부파일 목록을 가져온다.
|
|
function fn_fileCallback(areaId,fileType){
|
|
$.ajax({
|
|
url:"/common/getFileList.do",
|
|
type:"POST",
|
|
data:{"targetObjId":"${objId}", "docType":fileType},
|
|
dataType:"json",
|
|
async:false,
|
|
success:function(data){
|
|
|
|
if(0 < data.length){
|
|
|
|
//첨부파일 목록 영역 show
|
|
$("#"+areaId+"FileArea").empty();
|
|
|
|
if(0 < $("#"+areaId+"DefaultRow").length){
|
|
$("#"+areaId+"DefaultRow").hide();
|
|
}
|
|
|
|
$.each(data, function(i){
|
|
|
|
var appendText = "";
|
|
if("issueAttach2" == areaId || "issueAttach3" == areaId){
|
|
var path = data[i].FILE_PATH;
|
|
var fileName = data[i].SAVED_FILE_NAME;
|
|
var fileExt = data[i].UPPER_FILE_EXT;
|
|
appendText += "<colgroup>";
|
|
appendText +=" <col width='10%''>";
|
|
appendText +=" <col width='*'>";
|
|
appendText +=" <col width='20%'>";
|
|
appendText +=" </colgroup>";
|
|
appendText+= "<tr>";
|
|
appendText+= " <td>"+[i+1]+"</td>";
|
|
appendText+= " <td class='align_l'><a href='javascript:fnc_downloadFile(\""+data[i].OBJID+"\")'> "+data[i].REAL_FILE_NAME+"</a>";
|
|
<c:if test="${param.actionType eq 'regist' or info.WRITER eq connectUserId or 'plm_admin' eq connectUserId}">
|
|
appendText+= "<a href='javascript:fileDelete(\""+data[i].OBJID+"\",\""+areaId+"\")'><div class='delete_btn'></div></a>";
|
|
</c:if>
|
|
appendText+= "</td>";
|
|
appendText+= " <td>"+data[i].REGDATE+"</td>";
|
|
appendText+= "</tr>";
|
|
}
|
|
$("#"+areaId+"FileArea").append(appendText);
|
|
});
|
|
}else{
|
|
$("#"+areaId+"DropZone").show();
|
|
$("#"+areaId+"AttachFileList").hide();
|
|
$("#"+areaId+"FileArea").empty();
|
|
var appendText = "";
|
|
appendText += "<tr>";
|
|
appendText += "<td>첨부 파일이 없습니다.</td>";
|
|
appendText +="</tr>";
|
|
$("#"+areaId+"FileArea").append(appendText);
|
|
}
|
|
},
|
|
error: function(jqxhr, status, error){
|
|
}
|
|
});
|
|
}//파일 첨부 END
|
|
|
|
//첨부파일 목록을 가져온다.
|
|
function fn_Img_fileCallback(areaId,fileType){
|
|
$.ajax({
|
|
url:"/common/getFileList.do",
|
|
type:"POST",
|
|
data:{"targetObjId":"${objId}", "docType":fileType},
|
|
dataType:"json",
|
|
async:false,
|
|
success:function(data){
|
|
|
|
if(0 < data.length){
|
|
|
|
//첨부파일 목록 영역 show
|
|
$("#"+areaId+"FileArea").empty();
|
|
|
|
if(0 < $("#"+areaId+"DefaultRow").length){
|
|
$("#"+areaId+"DefaultRow").hide();
|
|
}
|
|
|
|
$.each(data, function(i){
|
|
|
|
var appendText = "";
|
|
if("issueAttach" == areaId){
|
|
var path = data[i].FILE_PATH;
|
|
var fileName = data[i].SAVED_FILE_NAME;
|
|
var fileExt = data[i].UPPER_FILE_EXT;
|
|
var srcLocation = encodeURI("/common/viewImage.do?realFileName="+data[i].REAL_FILE_NAME+"&savedFileName="+data[i].SAVED_FILE_NAME+"&attDir="+data[i].FILE_PATH);
|
|
appendText+= "<img src='"+srcLocation+"' style='width:96% !important; height:132px; margin:0;padding:0;' onclick=\"openImagePopUp(this.src)\" style='cursor:pointer;' />";
|
|
|
|
appendText+= " <div class='align_l'><a href='javascript:fnc_downloadFile(\""+data[i].OBJID+"\")'> "+data[i].REAL_FILE_NAME+"</a>";
|
|
<c:if test="${param.actionType eq 'regist' or info.WRITER eq connectUserId or 'plm_admin' eq connectUserId}">
|
|
appendText+= "<a href='javascript:fileDelete(\""+data[i].OBJID+"\",\""+areaId+"\")'><div class='delete_btn'></div></a>";
|
|
</c:if>
|
|
appendText+= "</div>";
|
|
$("#issueDropZone").hide();
|
|
} else if("issueAttach1" == areaId){
|
|
var path = data[i].FILE_PATH;
|
|
var fileName = data[i].SAVED_FILE_NAME;
|
|
var fileExt = data[i].UPPER_FILE_EXT;
|
|
var srcLocation = encodeURI("/common/viewImage.do?realFileName="+data[i].REAL_FILE_NAME+"&savedFileName="+data[i].SAVED_FILE_NAME+"&attDir="+data[i].FILE_PATH);
|
|
appendText+= "<img src='"+srcLocation+"' style='width:96% !important; height:132px; margin:0;padding:0;' onclick=\"openImagePopUp(this.src)\" style='cursor:pointer;' />";
|
|
appendText+= " <div class='align_l'><a href='javascript:fnc_downloadFile(\""+data[i].OBJID+"\")'> "+data[i].REAL_FILE_NAME+"</a>";
|
|
<c:if test="${param.actionType eq 'regist' or info.WRITER eq connectUserId or 'plm_admin' eq connectUserId}">
|
|
appendText+= "<a href='javascript:fileDelete(\""+data[i].OBJID+"\",\""+areaId+"\")'><div class='delete_btn'></div></a>";
|
|
</c:if>
|
|
appendText+= "</div>";
|
|
$("#issue1DropZone").hide();
|
|
}
|
|
|
|
$("#"+areaId+"FileArea").append(appendText);
|
|
});
|
|
}else{
|
|
$("#"+areaId+"DropZone").show();
|
|
$("#"+areaId+"AttachFileList").hide();
|
|
$("#"+areaId+"FileArea").empty();
|
|
|
|
if("issueAttach" == areaId){
|
|
$("#issueDropZone").show();
|
|
} else if("issueAttach1" == areaId){
|
|
$("#issue1DropZone").show();
|
|
}
|
|
|
|
/* var appendText = "";
|
|
appendText += "<tr>";
|
|
appendText += "<td>첨부 파일이 없습니다.</td>";
|
|
appendText +="</tr>";
|
|
$("#"+areaId+"FileArea").append(appendText); */
|
|
}
|
|
},
|
|
error: function(jqxhr, status, error){
|
|
}
|
|
});
|
|
}//파일 첨부 END
|
|
|
|
|
|
/*첨부 파일 삭제 */
|
|
function fileDelete(fileObjId,areaId){
|
|
var type =areaId;
|
|
if(confirm("파일을 삭제하시겠습니까?")){
|
|
$.ajax({
|
|
url:"/common/deleteFileInfo.do",
|
|
type:"POST",
|
|
data:{"objId":fileObjId},
|
|
dataType:"json",
|
|
async:true,
|
|
success:function(data){
|
|
if(type=="issueAttach2"){
|
|
fn_fileCallback("issueAttach2","ISSUE_ATTACH_02");
|
|
}else if(type=="issueAttach3"){
|
|
fn_fileCallback("issueAttach3","ISSUE_ATTACH_03");
|
|
}else if(type=="issueAttach"){
|
|
fn_Img_fileCallback("issueAttach","ISSUE_ATTACH");
|
|
}else if(type=="issueAttach1"){
|
|
fn_Img_fileCallback("issueAttach1","ISSUE_ATTACH_01");
|
|
}
|
|
},
|
|
error: function(jqxhr, status, error){
|
|
}
|
|
});
|
|
}
|
|
}
|
|
|
|
//수주활동 등록정보 저장
|
|
function fn_save(){
|
|
|
|
if(fnc_valitate("form1")){
|
|
if(confirm("저장하시겠습니까?")){
|
|
saveProcess();
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
function fn_checkProductCnt(){
|
|
var result = false;
|
|
var objId = $("#objId").val();
|
|
|
|
$.ajax({
|
|
url:"/projectConcept/getProjectConceptProductCnt.do",
|
|
type:"POST",
|
|
data:{"targetObjId":objId},
|
|
dataType:"json",
|
|
async:false,
|
|
success:function(data){
|
|
var cnt = data.CNT;
|
|
|
|
if(cnt > 0){
|
|
result = true;
|
|
}else{
|
|
result = false;
|
|
}
|
|
},
|
|
error: function(jqxhr, status, error){
|
|
}
|
|
});
|
|
|
|
return result;
|
|
}
|
|
|
|
function saveProcess(){
|
|
|
|
$("#content").attr("disabled",false);
|
|
//var project_no = $("#parent_objid option:selected").text();
|
|
//$("#project_no").val(project_no);
|
|
//발생비용 콤마 빼기
|
|
var cur_cost = $("#recycle_result_amt").val();
|
|
$("#cur_cost").val(cur_cost.replace(/,/g, ''));
|
|
|
|
//체크된 상태값 가져오기
|
|
$("input:checkbox[name='wpstCheck']").each(function(){
|
|
if($(this).is(":checked") == true) {
|
|
$("#appr_wpst_cd").val($(this).val());
|
|
}
|
|
});
|
|
|
|
if($("#wpst_cd").val() == 'WPS00800'){
|
|
$("#wpst_cd").val("WPS00900");
|
|
} else if($("#wpst_cd").val() == 'WPS00900'){
|
|
$("#wpst_cd").val("WPS00900");
|
|
}
|
|
|
|
if($("#appr_wpst_cd").val() == 'notTarget'){
|
|
$("#wpst_cd").val("WPS01200");
|
|
}
|
|
|
|
if(!fn_valueCheck()){
|
|
return false;
|
|
}
|
|
|
|
$.ajax({
|
|
url:"/project/saveIssueMgmtInfo.do",
|
|
type:"POST",
|
|
data:$("#form1").serialize(),
|
|
dataType:"json",
|
|
success:function(data){
|
|
console.log(data.result);
|
|
Swal.fire(data.msg);
|
|
opener.fn_search();
|
|
self.close();
|
|
},
|
|
error: function(jqxhr, status, error){
|
|
}
|
|
});
|
|
}
|
|
|
|
function fn_valueCheck(){
|
|
|
|
//수정일때만 최초 등록시에는 체크 안함
|
|
if("${info.WPST_CD}" != 'WPS00700'){
|
|
//체크된 상태값 가져오기 *미조치대상, 설계반영
|
|
var checkVal = 0;
|
|
$("input:checkbox[name='wpstCheck']").each(function(){
|
|
if($(this).is(":checked") == true) {
|
|
checkVal++;
|
|
}
|
|
});
|
|
if(checkVal <= 0){
|
|
/* Swal.fire("미조치대상 및 설계반영은 필수 항목 입니다.");
|
|
return false; */
|
|
}
|
|
|
|
if($("#appr_wpst_cd").val() != 'notTarget'){
|
|
if($("#cur_cost").val() == ''){
|
|
/* Swal.fire("발생비용은 필수 항목 입니다.");
|
|
return false; */
|
|
}
|
|
}
|
|
}
|
|
return true;
|
|
|
|
}
|
|
|
|
//코드값을 받아와서 동적으로 selectbox 생성
|
|
function optionJobGroup(value){
|
|
var val=value;
|
|
var params = "";
|
|
var option="";
|
|
var combobox = $("#parent_objid");
|
|
combobox.empty();
|
|
if(val!=""){
|
|
params += "code="+val;
|
|
$.ajax({
|
|
type : "POST",
|
|
url : "/project/makeproject.do",
|
|
data : params,
|
|
dataType:"json",
|
|
async: false,
|
|
success: function(data){
|
|
if(data.RESULT !=""){
|
|
option += "<option value=''>전체</option>";
|
|
option += data.RESULT;
|
|
combobox.append(option);
|
|
}
|
|
}
|
|
});
|
|
|
|
if("${info.PARENT_OBJID}" != null){
|
|
$("#parent_objid").val("${info.PARENT_OBJID}");
|
|
}
|
|
// Swal.fire(Number(lev-1));
|
|
//$("#code"+Number(lev-1)).val(code).prop("selected", true);
|
|
}else{
|
|
|
|
option += "<option value=''>전체</option>";
|
|
combobox.append(option);
|
|
}
|
|
}
|
|
|
|
|
|
//코드값을 받아와서 동적으로 selectbox 생성
|
|
function optionwriteGroup(code){
|
|
var val=code;
|
|
var params = "";
|
|
var option="";
|
|
var combobox = $("#sol_userid");
|
|
combobox.empty();
|
|
if(val!=""){
|
|
params += "codeId="+val;
|
|
$.ajax({
|
|
type : "POST",
|
|
url : "/projectConcept/makewrite.do",
|
|
data : params,
|
|
dataType:"json",
|
|
async: false,
|
|
success: function(data){
|
|
if(data.RESULT !=""){
|
|
option += "<option value=''>전체</option>";
|
|
option += data.RESULT;
|
|
combobox.append(option);
|
|
}
|
|
}
|
|
});
|
|
if("${info.SOL_USERID}" != null){
|
|
$("#sol_userid").val("${info.SOL_USERID}");
|
|
}
|
|
// Swal.fire(Number(lev-1));
|
|
//$("#code"+Number(lev-1)).val(code).prop("selected", true);
|
|
}else{
|
|
|
|
option += "<option value=''>전체</option>";
|
|
combobox.append(option);
|
|
}
|
|
}
|
|
|
|
function inputNumberFormat(obj) {
|
|
obj.value = comma(uncomma(obj.value));
|
|
}
|
|
|
|
function comma(str) {
|
|
str = String(str);
|
|
return str.replace(/(\d)(?=(?:\d{3})+(?!\d))/g, '$1,');
|
|
}
|
|
|
|
function uncomma(str) {
|
|
str = String(str);
|
|
return str.replace(/[^\d]+/g, '');
|
|
}
|
|
|
|
function fn_wpstCheck(obj){
|
|
|
|
var val = $(obj).val();
|
|
|
|
if($(obj).is(":checked") == true){
|
|
$("input:checkbox[name='wpstCheck']").each(function(){
|
|
if(val != $(this).val()) {
|
|
$(this).attr("checked", false);
|
|
}
|
|
});
|
|
}
|
|
}
|
|
|
|
</script>
|
|
<body>
|
|
<form name="form1" id="form1" action="" method="post">
|
|
<input type="hidden" name="objId" id="objId" value="${objId}">
|
|
<input type="hidden" name="owner" id="owner" value="${owner}">
|
|
<!-- <input type="hidden" name="project_no" id="project_no" value=""> -->
|
|
<input type="hidden" name="cur_cost" id="cur_cost" value="">
|
|
<input type="hidden" name="wpst_cd" id="wpst_cd" value="${info.WPST_CD}">
|
|
<input type="hidden" name="appr_wpst_cd" id="appr_wpst_cd" value="">
|
|
<section class="business_popup_min_width">
|
|
<div class="plm_menu_name">
|
|
<h2>
|
|
<span>설비조립_이슈등록</span>
|
|
</h2>
|
|
</div>
|
|
<div id="businessPopupFormWrap">
|
|
<table class="pmsPopupForm">
|
|
<colgroup>
|
|
<col width="10%"/>
|
|
<col width="*"/>
|
|
<col width="10%"/>
|
|
<col width="*"/>
|
|
<col width="10%"/>
|
|
<col width="*"/>
|
|
<col width="10%"/>
|
|
<col width="*"/>
|
|
</colgroup>
|
|
<tr>
|
|
<td class="input_title">
|
|
<label for="isu_cd">구분</label>
|
|
</td>
|
|
<td>
|
|
${info.ISU_NAME}
|
|
<input type="hidden" name="isu_cd" id="isu_cd" value="${info.ISU_CD}">
|
|
</td>
|
|
|
|
<td class="input_title">
|
|
<label for="customer_cd">발주처</label>
|
|
</td>
|
|
|
|
<td>
|
|
${info.CUSTOMER_NAME}
|
|
<input type="hidden" name="customer_cd" id="customer_cd" value="${info.CUSTOMER_CD}">
|
|
</td>
|
|
|
|
|
|
<td class="input_title">
|
|
<label for="">Project No</label>
|
|
</td>
|
|
<td>
|
|
${info.PROJECT_NAME}
|
|
<input type="hidden" name="project_no" id="project_no" value="${info.PROJECT_NAME}">
|
|
<input type="hidden" name="parent_objid" id="parent_objid" value="${info.PARENT_OBJID}">
|
|
</td>
|
|
<td class="input_title">
|
|
<label for="occu_cd">발생처</label>
|
|
</td>
|
|
<td>
|
|
${info.OCCU_NAME}
|
|
<input type="hidden" name="occu_cd" id="occu_cd" value="${info.OCCU_CD}">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title">
|
|
<label for="step_cd">단계</label>
|
|
</td>
|
|
<td colspan="">
|
|
${info.STEP_NAME}
|
|
<input type="hidden" name="step_cd" id="step_cd" value="${info.STEP_CD}">
|
|
</td>
|
|
<td class="input_title">
|
|
<label for="case_cd">유형</label>
|
|
</td>
|
|
<td colspan="">
|
|
${info.CASE_NAME}
|
|
<input type="hidden" name="case_cd" id="case_cd" value="${info.CASE_CD}">
|
|
</td>
|
|
<td class="input_title">
|
|
<label for="team_cd">팀명</label>
|
|
</td>
|
|
<td colspan="">
|
|
${info.SOL_USER_DEPT}
|
|
</td>
|
|
|
|
<td class="input_title">
|
|
<label for="sol_userid">조치담당자</label>
|
|
</td>
|
|
<td colspan="">
|
|
${info.SOL_USER_NAME}
|
|
<input type="hidden" name="sol_userid" id="sol_userid" value="${info.SOL_USERID}">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title">
|
|
<label for="title">제목</label>
|
|
</td>
|
|
<td colspan="5">
|
|
<input type="text" name="title" id="title" value="${info.TITLE}" style="width:100%;" ${info.WPST_CD ne 'WPS00700' ? 'readonly' : ''}>
|
|
</td>
|
|
<td class="input_title">
|
|
<label for="req_date">조치요청일</label>
|
|
</td>
|
|
<td colspan="">
|
|
<!-- <input type="text" id="req_date" name="req_date" class="date_margin" value=""onchange="fn_checkDate()"> -->
|
|
<input type="text" name="req_date" id="req_date" value="${info.REQ_DATE}" class="date_margin" required reqTitle="조치요청일" ${info.WPST_CD ne 'WPS00700' ? 'readonly' : ''}>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table class="pmsPopupForm">
|
|
<colgroup>
|
|
<col width="25%">
|
|
<col width="25%">
|
|
<col width="25%">
|
|
<col width="25%">
|
|
</colgroup>
|
|
<tr class="plm_thead">
|
|
<td colspan="2" style="text-align:center;">현상 및 문제점</td>
|
|
<td colspan="2" style="text-align:center;">조치결과</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<span>[문제점 현상]</span>
|
|
<textarea placeholder="문제점 현상" id="content" name="content" style="border:1px solid #ccc; width:100%; height:150px;" ${info.WPST_CD ne 'WPS00700' ? 'disabled' : ''}>${info.CONTENT}</textarea>
|
|
</td>
|
|
<td>
|
|
<span>[이미지:사진]</span>
|
|
<div id="issueDropZone" class="dropzone"style="width:98% !important; height:144px; margin:0;padding:0; line-height: 144px;">Drag & Drop Files Here</div>
|
|
<div id="issueAttachFileArea"></div>
|
|
</td>
|
|
<td>
|
|
<span>[원인분석]</span>
|
|
<textarea placeholder="원인분석" id="resultContents" name="resultContents" style="border:1px solid #ccc; width:100%; height:150px;" ${info.WPST_CD eq 'WPS00700' ? 'disabled' : ''}>${info.RESULT}</textarea>
|
|
</td>
|
|
<td>
|
|
<span>[조치내역 및 결과]</span>
|
|
<div id="issue1DropZone" class="dropzone"style="width:98% !important; height:144px; margin:0;padding:0; line-height: 144px;">Drag & Drop Files Here</div>
|
|
<div id="issueAttach1FileArea"></div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table class="pmsPopupForm">
|
|
<colgroup>
|
|
<col width="6%"/>
|
|
<col width="*"/>
|
|
<col width="*"/>
|
|
<col width="6%"/>
|
|
<col width="*"/>
|
|
<col width="*"/>
|
|
</colgroup>
|
|
<tr>
|
|
<td colspan="3"></td>
|
|
<td colspan="3" >
|
|
<span style="background:#eee; border-top: 4px solid #eee;">※미조치대상</span>
|
|
<span style="display:inline-block; width:50px; border-top:2px solid #e6d69b; padding-left:5px;">
|
|
<input type="checkbox" name="wpstCheck" onclick="fn_wpstCheck(this);" value="notTarget"
|
|
${info.APPR_WPST_CD eq 'notTarget' ? 'checked':''} ${info.WPST_CD eq 'WPS00700' ? 'disabled' : ''}>
|
|
</span>
|
|
<span style="background:#eee; border-top: 4px solid #eee;">※설계반영 </span>
|
|
<span style="display:inline-block; width:120px; border-top:2px solid #e6d69b; padding-left:5px;">
|
|
적용
|
|
<input type="checkbox" name="wpstCheck" onclick="fn_wpstCheck(this);" value="action"
|
|
${info.APPR_WPST_CD eq 'action' ? 'checked':''} ${info.WPST_CD eq 'WPS00700' ? 'disabled' : ''}>
|
|
미적용
|
|
<input type="checkbox" name="wpstCheck" onclick="fn_wpstCheck(this);" value="notAction"
|
|
${info.APPR_WPST_CD eq 'notAction' ? 'checked':''} ${info.WPST_CD eq 'WPS00700' ? 'disabled' : ''}>
|
|
</span>
|
|
<span style="background:#eee; border-top: 4px solid #eee;">※발생비용</span>
|
|
<input type="text" style="width:160px; text-align:right; padding-right:5px;"
|
|
id="recycle_result_amt" name="recycle_result_amt" value="${info.CUR_COST}" onkeyup="inputNumberFormat(this)" ${info.WPST_CD eq 'WPS00700' ? 'readonly' : ''}/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td rowspan="2" class="input_title">
|
|
<label for="">첨부파일</label>
|
|
</td>
|
|
<td colspan="2">
|
|
<div id="issue2DropZone" class="dropzone"style="width:99.5% !important;">Drag & Drop Files Here</div>
|
|
</td>
|
|
<td rowspan="2" class="input_title">
|
|
<label for="">첨부파일</label>
|
|
</td>
|
|
<td colspan="2">
|
|
<div id="issue3DropZone" class="dropzone"style="width:99.5% !important;">Drag & Drop Files Here</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<div class="plm_table_wrap">
|
|
<div style="overflow-y:scroll;">
|
|
<table class="plm_table" style="width:100%;">
|
|
<colgroup>
|
|
<col width="10%">
|
|
<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="height:75px;">
|
|
<table class="plm_table">
|
|
<colgroup>
|
|
<col width="10%">
|
|
<col width="*">
|
|
<col width="20%">
|
|
</colgroup>
|
|
</table>
|
|
<table id="issueAttach2FileArea" class="fileListscrollTbody"></table>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
<td colspan="2">
|
|
<div class="plm_table_wrap">
|
|
<div style="overflow-y:scroll;">
|
|
<table class="plm_table" style="width:100%;">
|
|
<colgroup>
|
|
<col width="10%">
|
|
<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="height:75px;">
|
|
<table class="plm_table">
|
|
<colgroup>
|
|
<col width="10%">
|
|
<col width="*">
|
|
<col width="20%">
|
|
</colgroup>
|
|
</table>
|
|
<table id="issueAttach3FileArea" class="fileListscrollTbody"></table>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<div class="btn_wrap" style="clear:both;">
|
|
<!-- <input type="button" value="Edit" class="plm_btns" onclick=""> -->
|
|
<div class="plm_btn_wrap_center">
|
|
<c:if test="${param.actionType eq 'regist' or info.WRITER eq connectUserId or 'plm_admin' eq connectUserId}">
|
|
<input type="button" value="저장" id="btnSave" class="plm_btns">
|
|
</c:if>
|
|
<input type="button" value="닫기" id="btnClose" class="plm_btns">
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</form>
|
|
</body>
|
|
</html>
|
|
|
|
|
|
|
|
<!-- <tr>
|
|
<td rowspan="2" class="input_sub_title">
|
|
<label for="">자료</label>
|
|
</td>
|
|
<td colspan="7">
|
|
<div id="projectDropZone" class="dropzone"style="width:99% !important;">Drag & Drop Files Here</div>
|
|
<input type="file" name="file1" id="file1" multiple style="width:90%;">
|
|
<input type="button" id="btnUpload" value="Upload" class="upload_btns">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="7">
|
|
<div class="project_form_in_table"style="width:100%" id="projectFileAreaTable" >
|
|
<div style="overflow-y:scroll;">
|
|
<table class=""fileListscrollThead"" style="width:100%;">
|
|
<colgroup>
|
|
<col width="10%">
|
|
<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="height:50px;">
|
|
<table class="plm_table">
|
|
<colgroup>
|
|
<col width="10%">
|
|
<col width="*">
|
|
<col width="20%">
|
|
</colgroup>
|
|
</table>
|
|
<table id="projectFileArea" class="fileListscrollTbody">
|
|
|
|
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
|
|
|
|
</tr> -->
|
|
|
|
|
|
|
|
<!-- <td colspan="7">
|
|
<div id="project1DropZone" class="dropzone"style="width:99% !important;">Drag & Drop Files Here</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="7">
|
|
<div class="project_form_in_table"style="width:100%" id="project1FileAreaTable" >
|
|
<div style="overflow-y:scroll;">
|
|
<table class=""fileListscrollThead"" style="width:100%;">
|
|
<colgroup>
|
|
<col width="10%">
|
|
<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="height:50px;">
|
|
<table class="plm_table">
|
|
<colgroup>
|
|
<col width="10%">
|
|
<col width="*">
|
|
<col width="20%">
|
|
</colgroup>
|
|
</table>
|
|
<table id="project1FileArea" class="fileListscrollTbody">
|
|
|
|
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</td> --> |