toolbar.asp
来自「功能齐全的oa系统」· ASP 代码 · 共 55 行
ASP
55 行
<!-- #include virtual="include/DataEnvi.asp" -->
<%
Dim ObjDB,ObjRS
Dim Title,List,Parameter,IntParentID
Dim C,StrDepList
Dim IntMyParentID
IntParentID = Request.QueryString("ParentID")
If IntParentID = "" Then IntParentID = 0
Set ObjDB = Server.CreateObject("Adodb.Connection")
OpenDB ObjDB
Set C = Server.CreateObject("CMS2003.DBHandle")
C.Init(ObjDB)
Sub FindParentName(ParentID)
Dim ObjRS,StrSQL,IntParentID
If ParentID<>0 Then
StrSQL = "Select ParentID,DirName From t_OA_Private_Data Where ID=" & ParentID
Set ObjRS = C.View(StrSQL)
StrDepList = "<span class=hand onclick=" & Chr(34) & "parent.location='index.asp?parentID=" & ParentID & "'" & Chr(34) & ">" & ObjRS("DirName") & "</span>/" & StrDepList
If IntMyParentID="" Then IntMyParentID = ObjRS("ParentID")
FindParentName(ObjRS("ParentID"))
End If
End Sub
Call FindParentName(IntParentID)
Title = "科室数据上载"
List = "111111"
Parameter = "ParentID=" & IntParentID
%>
<script>
function add7(){
addMenuItem(intCount, "do7();", "回上级", "parent1.gif", "parent.gif", "<br>回上级");
}
function do7(){
Waiting()
parent.location = "index.asp?ParentID=<%=IntMyParentID%>"
NowLocation = "Parent"
}
</script>
<!-- #include virtual="Templet/Toolbar.asp" -->
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?