최초커밋
This commit is contained in:
95
WebContent/WEB-INF/view/project/setupWbsTaskAddFormPopUp.jsp
Normal file
95
WebContent/WEB-INF/view/project/setupWbsTaskAddFormPopUp.jsp
Normal file
@@ -0,0 +1,95 @@
|
||||
<%@ 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(){
|
||||
$("#btn_close").click(function(){
|
||||
self.close(0);
|
||||
});
|
||||
|
||||
$('.select2').select2();
|
||||
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
//저장
|
||||
function fn_save(){
|
||||
if(confirm("저장하시겠습니까?")){
|
||||
$.ajax({
|
||||
url:"/project/saveWBSTaskInfosetup.do",
|
||||
type:"POST",
|
||||
data:$("#form1").serialize(),
|
||||
dataType:"json",
|
||||
success:function(data){
|
||||
Swal.fire(data.msg);
|
||||
if(data.result){
|
||||
//opener.fn_search();
|
||||
opener.fn_reload();
|
||||
self.close();
|
||||
}
|
||||
},
|
||||
error: function(jqxhr, status, error){
|
||||
//return false;
|
||||
}
|
||||
});
|
||||
}
|
||||
/* if(fnc_validate()){
|
||||
} */
|
||||
}
|
||||
|
||||
</script>
|
||||
<body>
|
||||
<form name="form1" id="form1" action="" method="post">
|
||||
<input type="hidden" name="objid" id="objid" value="${param.OBJID}">
|
||||
<input type="hidden" name="CONTRACT_OBJID" id="CONTRACT_OBJID" value="${param.TARGET_OBJID}">
|
||||
<input type="hidden" name="PREV_TASK_SEQ" id="PREV_TASK_SEQ" value="${param.PREV_TASK_SEQ}">
|
||||
<%-- <input type="hidden" name="PARENT_OBJID" id="PARENT_OBJID" value="${param.PARENT_OBJID}"> --%>
|
||||
<section class="business_popup_min_width">
|
||||
<div class="plm_menu_name">
|
||||
<h2>
|
||||
<span>Task 등록</span>
|
||||
</h2>
|
||||
</div>
|
||||
<div id="businessPopupFormWrap">
|
||||
<table class="pmsPopupForm" style="width:100%;margin: 10px 0 0 0; float:left;">
|
||||
<colgroup>
|
||||
<col width="20%"/>
|
||||
<col width="*"/>
|
||||
</colgroup>
|
||||
<input type="hidden" class="" title="순" name="task_seq" id="task_seq" value="${resultMap.TASK_SEQ}">
|
||||
|
||||
<tr>
|
||||
<td class="input_title">
|
||||
<label for="">구분</label>
|
||||
</td>
|
||||
<td>
|
||||
<select name="PARENT_OBJID" id="PARENT_OBJID" title="구분" data-value="${item.TASK_CATEGORY}" required/>${code_map.TASK_CATEGORY}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="input_title">
|
||||
<label for="">Task명</label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" class="textbox" title="Task명" name="task_name" id="task_name" value="${resultMap.TASK_NAME}" required>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="btn_wrap" style="clear:both;">
|
||||
<div class="plm_btn_wrap_center">
|
||||
<input type="button" value="저장" class="plm_btns" onclick="fn_save();">
|
||||
<input type="button" value="닫기" id="btn_close" class="plm_btns">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user