|
|
<%@ page contentType="text/html; charset=euc-kr" |
|
|
import="kr.co.kihyun.beans.user.HttpSSOLogin" |
|
|
import="kr.co.kihyun.text.html.ServletUtil" |
|
|
import="kr.co.kihyun.lang.MString" import="kr.co.kihyun.lang.MLong" |
|
|
import="java.net.URLDecoder" import="kr.co.kihyun.lang.Encoder" |
|
|
import="kr.co.kihyun.beans.totsys.report.ReportList" |
|
|
import="kr.co.kihyun.beans.user.User" |
|
|
import="kr.co.kihyun.moumi.report.MReport" |
|
|
import="kr.co.kihyun.moumi.Moumi"%> |
|
|
|
|
|
<%@ include file="/totsys/common/inc/sec/secure.inc.jsp"%> |
|
|
|
|
|
<% try { |
|
|
String rootID = request.getParameter("rootID"); |
|
|
//System.out.println(":::::rootID:::::" + rootID); |
|
|
|
|
|
if (HttpSSOLogin.getSysAuth(request) != Moumi.SYSADM & HttpSSOLogin.getSysAuth(request) != Moumi.SUB_SYSADM) { |
|
|
out.println(ServletUtil.alert(Moumi.getMessageBundle().getString("moumi.message.popup.notAuth"))); |
|
|
String connURL = "parent.location='/totsys/login/login.jsp';"; |
|
|
out.println(ServletUtil.getJavaScript(connURL)); |
|
|
return; |
|
|
} |
|
|
%> |
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
|
|
<html> |
|
|
<head> |
|
|
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr"> |
|
|
<script type="text/javascript" src="/test/jquery-1.6.4.js"></script> |
|
|
<script type="text/javascript" src="/test/_lib/jquery.cookie.js"></script> |
|
|
<script type="text/javascript" src="/test/_lib/jquery.hotkeys.js"></script> |
|
|
<script type="text/javascript" src="/test/jquery.jstree.js"></script> |
|
|
<title>Á¶Á÷µµ °ü¸®</title> |
|
|
<link rel="stylesheet" href="css/kecttep.css" type="text/css"> |
|
|
<link rel="stylesheet" href="/totsys/common/css/text.css" type="text/css"> |
|
|
<link rel="stylesheet" href="/totsys/common/css/SquareButtons.css" type="text/css"> |
|
|
<style> |
|
|
a:link { |
|
|
font-style: none; |
|
|
line-height: normal; |
|
|
color: #004080; |
|
|
text-decoration: none; |
|
|
} |
|
|
|
|
|
a:visited { |
|
|
font-style: none; |
|
|
line-height: normal; |
|
|
color: #3366CC; |
|
|
text-decoration: none; |
|
|
} |
|
|
|
|
|
a:active { |
|
|
font-style: none; |
|
|
line-height: normal; |
|
|
color: #535353; |
|
|
text-decoration: none; |
|
|
} |
|
|
|
|
|
a:hover { |
|
|
font-style: none; |
|
|
line-height: normal; |
|
|
color: #FF6600;; |
|
|
text-decoration: none; |
|
|
} |
|
|
|
|
|
img { |
|
|
border: none; |
|
|
} |
|
|
</style> |
|
|
<script src="/totsys/common/js/org_search.js"></script> |
|
|
<script Language="javascript"> |
|
|
// ºÎ¼ ¼±Åà ½Ã À¯Àú »Ì¾Æ³»±â. |
|
|
function userList(id, name, type) { |
|
|
type = type.toLowerCase(); |
|
|
|
|
|
if (type == 'root') |
|
|
return; |
|
|
|
|
|
if (type != '') { |
|
|
idAll = id; |
|
|
selid = id; |
|
|
selname = name; |
|
|
} else { |
|
|
idAll = ''; |
|
|
selid = ''; |
|
|
selname = ''; |
|
|
type = 'dept'; |
|
|
} |
|
|
seltype = type; |
|
|
idUpper = false; |
|
|
userGroup = false; |
|
|
if (type == 'user') |
|
|
id = id.split('/')[0]; |
|
|
|
|
|
document.detailFrame.location.replace('/totsys/sysadm/' + type + '/' + type + '_view.jsp?' + type + 'ID=' + id); |
|
|
} |
|
|
|
|
|
function searchWord() { |
|
|
var type = $('#findOption').val(); |
|
|
type = type.toUpperCase(); |
|
|
//alert("type = " + type); |
|
|
var word = $('#search').val(); |
|
|
word = $.trim(word) //2014.08.18 Add by KWON,HAN |
|
|
$('#search').val(word); //2014.08.18 Add by KWON,HAN |
|
|
|
|
|
if (word.length < 2) { |
|
|
alert("°Ë»ö¾î´Â 2±ÛÀÚ ÀÌ»óÀ̾î¾ß ÇÕ´Ï´Ù."); |
|
|
return; |
|
|
} |
|
|
var $ff = $("#leftFrame"); |
|
|
$ff[0].contentWindow.$("#searchType").text(type); //°Ë»öÀ¯Çü |
|
|
$ff[0].contentWindow.$("#searchWord").text(word); //°Ë»ö°ª |
|
|
$ff[0].contentWindow.$("#search").click(); |
|
|
} |
|
|
|
|
|
//Á¶Á÷µµ¿¡¼ °Ë»öµÈ ³ëµå·Î Æ÷Ä¿½º¸¦ À̵¿½ÃŲ´Ù. strType : down, up |
|
|
function focusMove(strType) { |
|
|
//alert("strType = " + strType); |
|
|
var $ff = $("#leftFrame"); |
|
|
$ff[0].contentWindow.$("#moveType").text(strType); //Æ÷Ä¿½ºÀ̵¿Å¸ÀÔ |
|
|
$ff[0].contentWindow.$("#focusMove").click(); |
|
|
} |
|
|
|
|
|
function treeReload() { |
|
|
var $ff = $("#leftFrame"); |
|
|
$ff[0].contentWindow.$("#refresh").click(); |
|
|
} |
|
|
|
|
|
</script> |
|
|
</head> |
|
|
<body> |
|
|
<form name="list" method="post" action="/servlet/kr.co.kihyun.beans.user.HttpDeptList" target="deptFrame"> |
|
|
<input type="hidden" name="idList"> |
|
|
<input type="hidden" name="nameList"> |
|
|
<input type="hidden" name="typeList"> |
|
|
<input type="hidden" name="openeridList"> |
|
|
<input type="hidden" name="openernameList"> |
|
|
<input type="hidden" name="openertypeList"> |
|
|
</form> |
|
|
<table border="0" cellspacing="0" cellpadding="0"> |
|
|
<jsp:include page="/totsys/common/inc/title/title.jsp" flush="true" /> |
|
|
</table> |
|
|
<table width="930" border="0" cellpadding="0" cellspacing="0" bordercolor="#abbddd"> |
|
|
<tr> |
|
|
<td width="400" align="left" class="kecttep_title" style="padding-left: 15px;"> |
|
|
<img src="/totsys/common/web/report_dept/images/ico_1.gif"> |
|
|
<%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.deptMap")%> |
|
|
</td> |
|
|
<td width="20" align="left" > </td> |
|
|
<td width="510" align="left" class="kecttep_title" style="padding-left: 20px;"> |
|
|
<img src="/totsys/common/web/report_dept/images/ico_1.gif"> |
|
|
<%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.detail")%><%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.info")%> |
|
|
</td> |
|
|
</tr> |
|
|
<!-- ºÐ·ù,ºÎ¼ ¼±Åà --> |
|
|
<tr> |
|
|
<td width="400" valign="top"> |
|
|
<table width="400" border="0" cellpadding="0" cellspacing="0" bordercolor="#abbddd"> |
|
|
<tr> |
|
|
<td height="30" style="padding: 0;"><jsp:include page="toolbar.jsp" flush="true" /></td> |
|
|
</tr> |
|
|
<tr> |
|
|
<td style="padding: 0;"> |
|
|
<!--// <iframe name="leftFrame" id="leftFrame" src="newTree2.jsp?userYN=Y&rootID=<%=rootID%>" width="400" height="325" frameborder="0"></iframe>//--> |
|
|
<iframe name="leftFrame" id="leftFrame" src="./newTree2.jsp?userYN=Y&rootID=<%=rootID%>" width="400" height="325" frameborder="0"></iframe> |
|
|
</td> |
|
|
</tr> |
|
|
<tr class="toolbar"> |
|
|
<td class="kecttep_title" style="padding-left: 10px" align="left">°Ë»ö : |
|
|
<span style="width: 100px"> |
|
|
<select id="findOption" name="findOption" class="inputtxt" onchange="$('#search').val(''); |
|
|
showMSG(this.options[this.selectedIndex].value, msg)"> |
|
|
<option value="user" selected><%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.user")%></option> |
|
|
<option value="dept"><%=Moumi.getMessageBundle().getString("moumi.message.doc.Devision")%><%=Moumi.getMessageBundle().getString("moumi.message.doc.Name")%></option> |
|
|
</select> |
|
|
</span> |
|
|
<input id="search" name="search" type="text" class="inputtxt" value="" size="20" onkeyDown="if(event.keyCode === 13) { searchWord(); }" style="ime-mode:active;"/> |
|
|
<a href="#" onclick="searchWord()"><img src="/totsys/common/images/bt_search_inquiry2.gif" border="0" align="absmiddle"></a> |
|
|
<a href="#" onclick="focusMove('down');"><img src="/totsys/common/images/bt_down.jpg" border="0" align="absmiddle"></a> |
|
|
<a href="#" onclick="focusMove('up');"><img src="/totsys/common/images/bt_up.jpg" border="0" align="absmiddle"></a> |
|
|
</td> |
|
|
</tr> |
|
|
</table> |
|
|
</td> |
|
|
<td width="20" > </td> |
|
|
<td align="right" valign="top"> |
|
|
<table width="510" border="0" cellpadding="0" cellspacing="0" bordercolor="#abbddd"> |
|
|
<tr> |
|
|
<td><iframe name="detailFrame" src="about:blank" width="520" height="500" frameborder="0"></iframe></td> |
|
|
</tr> |
|
|
</table> |
|
|
</td> |
|
|
</tr> |
|
|
</table> |
|
|
</body> |
|
|
</html> |
|
|
<% |
|
|
} catch (Exception e) { |
|
|
e.printStackTrace(); |
|
|
out.println(Moumi.getMessageBundle().getString("moumi.message.tot_doc.error") + "sysadm/org/org_view.jsp"); |
|
|
} finally { |
|
|
} |
|
|
%>
|
|
|
|