📄 node_o.asp
字号:
<%
'************************************************************************************************
' 文件名: node_o.asp
' Copyright(c) 2001-2002 上海阿尔卡特网络支援系统有限公司
'
' 创建人 : 周秋舫
' 日 期 : 2002-05-13
' 修改历史 :
' ****年**月**日 ****** 修改内容:**************************************************
' 功能描述 : 业主组织结构管理
' 版 本 :
'************************************************************************************************
option explicit
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "no-cache"
Response.Expires = -1
%>
<!-- #include file="../include/config.inc" -->
<!-- #include file="../include/common.inc" -->
<!-- #include file="../include/debug.inc" -->
<!-- #include file="../include/db.inc" -->
<!-- #include file="../include/date.inc" -->
<!-- #include file="../include/datahandle.inc" -->
<!-- #include file="../include/recordlist.inc" -->
<!-- #include file="../include/security.inc" -->
<!-- #include file="../common/commonpage.inc" -->
<!-- #include file="node_o.inc" -->
<%
call CheckSecurity()
'' 如果不是人事管理员,则无权进入本页
if Not IsHrAdmin then
Response.Clear
Response.Redirect "../common/error.asp?error=只有人事管理员才能进行人事组织结构管理!"
Response.end
end if
'********************************************************************************************************
' 服务器端代码
dim pNodeId : pNodeId = GetParam("node_id")
'********************************************************************************************************
%>
<html>
<head>
<title>上海信息大楼 Shanghai Information Tower</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../common/common.css" type="text/css">
<style type="text/css">
textarea{scrollbar-face-color:#FFFFFF;scrollbar-shadow-color:#FFFFFF;scrollbar-highlight-color:#FFFFFF;scrollbar-3dlight-color:white; scrollbar-darkshadow-color:white; scrollbar-track-color:#FFFFFF; scrollbar-arrow-color:green}
</style>
<script language="javascript">
function showhide(oImg, obj)
{
if (obj.style.display == "none")
{
oImg.src = "images/minus.gif";
obj.style.display = "block";
}
else
{
oImg.src = "images/plus.gif";
obj.style.display = "none";
}
if (window.event.srcElement.id == "node")
ResetColorStyle();
}
function ResetColorStyle()
{
var objArray, obj;
objArray = document.all.node;
for (var j=0; j<objArray.length; j++)
{
obj = objArray(j);
obj.style.color = "black";
}
if (window.event.srcElement.tagName == "IMG")
window.event.srcElement.offsetParent.style.color = 'red';
else
window.event.srcElement.style.color = "red";
}
</script>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" background="../images/bg/bg0.jpg">
<br>
<%
Response.Write OuterTableHeader
Response.Write HeaderWithMenu
Response.Write InnerTableHeader
'********************************************************************************************************
' 主体从这里开始
'-------------------------------------------------------------------------------------------------------------------------------------------------
%>
<table cellspacing=1 cellpadding=0 bgcolor=white width=600 height=310 border=0>
<tr height=20 bgcolor=#0040a0 style="color:white;font-weight:600">
<td align=center width=100>组织结构树形图</td>
<td align=center width="*">编辑部门岗位信息</td></tr>
<tr height="*">
<td width=100 valign=top><%TableNodes(pNodeId)%></td>
<td width="*" valign=top rowspan=2><IFRAME frameborder=0 src="" width=493 height=300 id="winDetail" style="border:1px solid #eeeeee" scrolling=no></IFRAME></td>
</tr>
</table>
<%
Response.Write TableLink
'-------------------------------------------------------------------------------------------------------------------------------------------------
' 主体到这里结束
'********************************************************************************************************
Response.Write InnerTableTailer
Response.Write Footer
Response.Write OuterTableTailer
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -