⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 view_all.asp.bak

📁 物业管理和办公自动化系统
💻 BAK
字号:
<%
'************************************************************************************************
' 文件名: view_all.asp
' Copyright(c) 2001-2002 上海阿尔卡特网络支援系统有限公司
'
'  创建人 : zhouyun
'  日 期 : 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" -->

<%
'call CheckSecurity()

'*******************************************************************************
' 服务器端代码
dim fid : fid = GetParam("fid")
if IsEmpty(fid) then
	Response.Clear()
	Server.Transfer("sign.asp")
	Response.End
end if

%>

<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>
.conts	{display:none}
.tab	{border-style:solid; border-width:1px;border-color:white gray silver white;
				color:black; background-color:silver;text-align:center;cursor:hand}
.selTab	{border-style:solid; border-width:1px;border-color:white black white white;
				color:black; background-color:white;text-align:center;cursor:hand;}

input	{color:blue;border-width:1}

</style>

<script language="JavaScript">
function public_Labels(label1, label2, label3, label4, label5)
{
	
	t1.innerText = label1;
	t2.innerText = label2;
	t3.innerText = label3;
	t4.innerText = label4;
	t5.innerText = label5;
}

//a public function that the container uses to pass in values for the card containers
function public_Contents(contents1, contents2, contents3, contents4, contents5)
{

	t1Contents.innerHTML = contents1;
	t2Contents.innerHTML = contents2;
	t3Contents.innerHTML = contents3;
	t4Contents.innerHTML = contents4;
	t5Contents.innerHTML = contents5;

	init();
}

//sets the default display to tab 1
function init()
{
	t4Contents.style.display = "block";
	t1.style.display="none";
	t2.style.display="none";
	t3.style.display="none";
	t4.style.display="none";
	t5.style.display="none";
}	

//this is the tab switching function
var currentTab;
var tabBase;
var firstFlag = true;


function changeTabs()
{

	if(firstFlag == true)
	{
		currentTab = t1;
		tabBase = t1base;
		firstFlag = false;
	}

	if(window.event.srcElement.className == "tab")
	{
		currentTab.className = "tab";
		tabBase.style.backgroundColor = "white";

		// 原来的tab的内容隐藏
		tabBaseID = currentTab.id + "base";
		tabContentID = currentTab.id + "Contents";
		tabBase = document.all(tabBaseID);
		tabContent = document.all(tabContentID);
		tabContent.style.display = "none";	


		// 新的tab的内容显示
		currentTab = window.event.srcElement;
		tabBaseID = currentTab.id + "base";
		tabContentID = currentTab.id + "Contents";
		tabBase = document.all(tabBaseID);
		tabContent = document.all(tabContentID);
		currentTab.className = "selTab";
		tabBase.style.backgroundColor = "";
		if(currentTab.id=="t2")
		{
			temp=document.all.t2frame.src
			document.all.t2frame.src=temp
		}
		if(currentTab.id=="t4")
		{
			temp=document.all.t4frame.src
			document.all.t4frame.src=temp
		}
		if(currentTab.id=="t3")
		{
			temp=document.all.t3frame.src
			document.all.t3frame.src=temp
		}
		if(currentTab.id=="t5")
		{
			temp=document.all.t5frame.src
			document.all.t5frame.src=temp
		}
		tabContent.style.display = "block";
		
	}
}

</script>
</head>

<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" background="../images/bg/bg0.jpg" onclick="" onload="init()">

<%
Response.Write OuterTableHeader
Response.Write HeaderWithMenu
Response.Write InnerTableHeader
'*******************************************************************************
' 主体从这里开始
'-------------------------------------------------------------------------------
%>

<table style="width:600; height:370" cellspacing="0" cellpadding="3" bgcolor="white" style="border:1px solid green">
  <tr>
    <td id="t1" class="tab" HEIGHT="25">1-流程信息</td>
    <td id="t2" class="tab">2-流程步骤</td>
    <td id="t3" class="tab">3-查阅文件</td>
    <td id="t4" class="selTab">4-已有意见</td>
    <td id="t5" class="tab">5-填写意见</td>
  </tr>
  <tr height=2>
    <td id="t1base" style="background-color:white"></td>
    <td id="t2base" style="background-color:white"></td>
    <td id="t3base" style="background-color:white"></td>
    <td id="t4base" style="background-color:white"></td>
    <td id="t5base" style="background-color:white"></td>
  </tr>
  <tr>
    <td height="360" colspan="7" id="tabContents" style="border-style:solid;border-width:1px;border-color:white" align=center valign=top>
			<!-- 流程信息 -->
			<div class="conts" id="t1Contents" style="display:none;">
					<%=TabDescription("image/basic.gif", "欢迎查阅待审批流程的流程信息")%>
					<IFRAME frameborder=0 scrolling=no src="sign1.asp?fid=<%=fid%>" width=590 height=300 align=center>
					</IFRAME>
			</div>
			<!-- 流程步骤 -->
			<div class="conts" id="t2Contents" style="display:none;vertical-align:middle">
					<%=TabDescription("image/photo.gif", "欢迎查阅待审批流程步骤信息")%>
					<IFRAME frameborder=0 scrolling=yes src="sign2.asp?fid=<%=fid%>" width=590 height=300 align=center name=t2frame>
					</IFRAME>
			</div>
			<!-- 查阅文件 -->
			<div class="conts" id="t3Contents" style="display:none">
					<%=TabDescription("image/relation.gif", "欢迎查阅待审批的文件")%>
					<IFRAME frameborder=0 scrolling=yes src="sign3.asp?fid=<%=fid%>" width=590 height=300 align=center name=t3frame>
					</IFRAME>
			</div>
			<!-- 已有意见 -->
			<div class="conts" id="t4Contents" style="display:none">
					<%=TabDescription("image/resume.gif", "欢迎查阅现有审批意见")%>
					<IFRAME frameborder=0 scrolling=yes src="sign4.asp?fid=<%=fid%>" width=590 height=300 align=center name=t4frame>
					</IFRAME>
			</div>
			<!-- 填写意见 -->
			<div class="conts" id="t5Contents" style="display:none">
					<%=TabDescription("image/resume.gif", "请填写你的审批意见")%>
					<IFRAME frameborder=0 scrolling=no src="sign5.asp?fid=<%=fid%>" width=590 height=300 align=center name=t5frame>
					</IFRAME>
			</div>
	
	</td>
  </tr>
</table>

<%
Response.Write TableLink
'-------------------------------------------------------------------------------
' 主体到这里结束
'*******************************************************************************
Response.Write InnerTableTailer
Response.Write Footer
Response.Write OuterTableTailer

'===================================================================================
'	Useful Functions
'------------------------------------------------------------------------------------
function TabDescription(pic, desp)
		TabDescription = _
			"<table border=0 cellspacing=1 cellpadding=2 bgcolor=white align=center width=560>" & vbLF & _
			"		<tr bgcolor=white>" & vbLF & _
			"				<td width=35><img border=0 src=""" & pic & """></td>" & vbLF & _
			"				<td valign=middle align=left>" & desp & "</td>" & vbLF & _
			"		</tr>" & vbLF & _
			"</table>" & vbLF & _
			"<hr noshade size=1 width=540>" & vbLF
end function

Function TableLink
	TableLink= _
		"<table width=600 cellspacing=0 cellpadding=0 border=0 align=left>" & _
		"<tr height=10>" & _ 
		"	<td width=600><img src=""../images/bg/line.gif"" width=600 height=3></td>" & _
		"</tr>" & _
		"<tr height=20 align=left>" & _
		"	<td width=600 align=left>&nbsp;" & _
		"		<img src=""../images/goto.gif"" >&nbsp;<a href=""template.asp"">流程模板管理</a>" & _
		"		&nbsp;&nbsp;&nbsp;" & _
		"		<img src=""../images/goto.gif"" >&nbsp;<a href=""sign.asp"">审批管理</a>" & _
		"		&nbsp;&nbsp;&nbsp;" & _
		"		<img src=""../images/goto.gif"" >&nbsp;<a href=""flow.asp"">流程管理</a>" & _
		"	</td>" & _
		"</tr>" & _
		"</table>"

End Function
'===================================================================================
%>


</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -