Files
vexplor/WebContent/WEB-INF/view/distribution/sendFileDetailPopup.jsp
2025-08-21 09:41:46 +09:00

164 lines
5.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 type="text/javascript">
$(function(){
$(document).ready(function(){
});
$('#btn_close').click(function(){
self.close();
});
fn_refreshReceiverList();
});
function fn_refreshReceiverList(){
var targetObjId = $("#objId").val();
$.ajax({
url:"/distribution/getSendFileReceiverList.do",
type:"POST",
data:{"targetObjId":targetObjId},
dataType:"json",
async:false,
success:function(data){
var appendText = "";
if(data.length > 0){
$.each(data, function(i){
appendText += "<tr>";
appendText += "<td>"+(i+1)+"</td>";
appendText += "<td>"+fnc_checkNull(data[i].RECEIVER_USER_TYPE_NAME)+"</td>";
appendText += "<td>"+fnc_checkNull(data[i].RECEIVER_DEPT_NAME)+"</td>";
appendText += "<td>"+fnc_checkNull(data[i].RECEIVER_USER_NAME)+"</td>";
appendText += "</tr>";
});
}else{
appendText += "<td colspan='4' align='center'>등록된 수신인이 없습니다.</td>";
}
$("#receiverList").empty();
$("#receiverList").append(appendText);
},
error: function(jqxhr, status, error){
}
});
}
</script>
</head>
<body class="backcolor_light_blue">
<form name="form1" id="form1" method="post">
<input type="hidden" name="objId" id="objId" value="${info.OBJID}">
<section>
<div class="pdm_menu_name">
<h2>
<span>파일송부</span>
</h2>
</div>
<div id="distributionPopupFormWrap">
<div class="form_popup_title">&nbsp;&nbsp;&nbsp;파일송부</div>
<table id="distributionPopupForm">
<colgroup>
<col width="10%">
<col width="20%">
<col width="8%">
<col width="20%">
<col width="18%">
<col width="8%">
<col width="13%">
<col width="*">
</colgroup>
<tr></tr>
<tr>
<td class="tr_title_border_bottom">
<label for="">제목</label>
</td>
<td colspan="6"><p>${info.TITLE}</p></td>
</tr>
<tr></tr>
<tr>
<td class="tr_title_border_bottom">
<label for="">내용</label>
</td>
<td colspan="6">
<textarea name="name" rows="6" cols="4" disabled>${info.DESCRIPTION}</textarea>
</td>
</tr>
<tr></tr>
<tr>
<td class="tr_title_border_bottom">
<label for="">첨부파일</label>
</td>
<td colspan="8">
<div id="fileList">
<table id="fileAreaTable" class="spec_data_in_table">
<tr id="fileDefaultRow">
<td>첨부된 파일이 없습니다.</td>
</tr>
<tbody id="fileArea">
</tbody>
</table>
</div>
</td>
</tr>
<tr></tr>
<tr>
<td class="tr_title_border_bottom">
<label for="">수신인</label>
</td>
<td colspan="8">
<div id="partExcelPopupFormWrap">
<div id="excelUploadPopupForm">
<div style="overflow-y:scroll; margin-top:0px;">
<table class="excelUploadPopupForm" style="margin:0;">
<colgroup>
<col width="5%"/>
<col width="*"/>
<col width="*"/>
<col width="*"/>
</colgroup>
<thead>
<tr>
<td>No</td>
<td>소속</td>
<td>부서명</td>
<td>성명</td>
</tr>
</thead>
</table>
</div>
<div style="overflow-y:scroll; height:150px;">
<table class="excelUploadPopupForm" style="margin:0;">
<colgroup>
<col width="5%"/>
<col width="*"/>
<col width="*"/>
<col width="*"/>
</colgroup>
<tbody id="receiverList">
<tr>
<td colspan="4">등록된 수신인이 없습니다.</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</td>
</tr>
</table>
<div class="btnCenterWrap">
<center class="center_btns_wrap">
<input type="button" value="닫기" id="btn_close" class="pdm_btns">
</center>
</div>
</div>
</section>
</form>
</body>
</html>