100 lines
3.0 KiB
Plaintext
100 lines
3.0 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>
|
|
|
|
$(document).ready(function(){
|
|
$("#btnClose").click(function(){
|
|
self.close(0);
|
|
});
|
|
$("#btnSave").click(function(){
|
|
var result = $("#result").val();
|
|
if(result != ""){
|
|
fn_save();
|
|
}else{
|
|
Swal.fire("결과를 선택해 주시기 바랍니다.");
|
|
}
|
|
});
|
|
|
|
});
|
|
</script>
|
|
<script>
|
|
function fn_save(){
|
|
$.ajax({
|
|
url:"/project/wbs/saveWBSTaskConfirmInfo.do",
|
|
type:"POST",
|
|
data:$("#form1").serialize(),
|
|
dataType:"json",
|
|
async:false,
|
|
success:function(data){
|
|
if(data.result == "true" || data.result == true || data.result){
|
|
Swal.fire("저장되었습니다.");
|
|
opener.opener.location.reload();
|
|
self.close();
|
|
}else{
|
|
Swal.fire("저장에 실패하였습니다.");
|
|
}
|
|
},
|
|
error: function(jqxhr, status, error){
|
|
}
|
|
});
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<form name="form1" id="form1" action="" method="post">
|
|
<input type="hidden" name="objId" id="objId" value="${confirmMap.OBJID}">
|
|
<input type="hidden" name="targetObjId" id="targetObjId" value="${confirmMap.TARGET_OBJID}">
|
|
<input type="hidden" name="userType" id="userType" value="${confirmMap.CONFIRM_TYPE}">
|
|
<!--333x265-->
|
|
<section class="min-width:333px;">
|
|
<div class="plm_menu_name">
|
|
<h2>
|
|
<span>Task 확인</span>
|
|
</h2>
|
|
</div>
|
|
<div id="businessPopupFormWrap">
|
|
<div class="form_popup_title"> 확인 결과 등록</div>
|
|
<table class="pmsPopupForm">
|
|
<colgroup>
|
|
<col width="25%"/>
|
|
<col width="75%"/>
|
|
</colgroup>
|
|
<tr>
|
|
<td class="input_title">
|
|
<label for="">결과</label>
|
|
</td>
|
|
<td>
|
|
<select name="result" id="result" style="width:97%;">
|
|
<option value="">선택</option>
|
|
<option value="ok" ${'ok' eq confirmMap.RESULT ? 'selected':''}>승인</option>
|
|
<option value="ng" ${'ng' eq confirmMap.RESULT ? 'selected':''}>반려</option>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="input_title">
|
|
<label for="">comment</label>
|
|
</td>
|
|
<td>
|
|
<textarea name="contents" id="contents" rows="5" style="width:97%;">${confirmMap.CONTENTS}</textarea>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<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>
|
|
</div>
|
|
</section>
|
|
</form>
|
|
</body>
|
|
</html> |