【调度系统】广东民航医疗快线调度系统源代码
wzp
2025-05-14 a023d5daed320eb4dbf6cfb8c28529d41cf5f9c3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%Session.CodePage=65001%>
<!--#include virtual="/inc/chkadmin.gds"-->
<!--#include virtual="/inc/function.gds"-->
<%
HospDepartmentSearchTXT=trim(Request("HospDepartmentSearchTXT"))
OA_CompetencyID=trim(Request("OA_CompetencyID"))
acc1=trim(Request("page"))
t=trim(Request("t"))
if acc1="" then acc1=1
acc2=1
i=0
acc3=0
Set rs = Server.CreateObject("ADODB.Recordset")
if len(HospDepartmentSearchTXT)>0 then
    sql="select vId,vtext from dictionary where vType=1 and vtitle='HospitalDepartment' and (vtext like '%"&HospDepartmentSearchTXT&"%') order by vOrder,vID"
else
    sql="select vId,vtext from dictionary where vType=1 and vtitle='HospitalDepartment' order by vOrder"
end if
    rs.open Sql,objConn,1,1
    if not rs.eof then
        rs.pagesize=30
        rs.absolutepage=acc1
        acc2=rs.pagecount
        acc3=rs.recordcount
    end If
    %>
        <script language=javascript>
        var HospDepartmentListArray=new Array()
        <%
            do while not rs.Eof and i<30
                HospDID        = rs("vId")
                HospDName    = rs("vtext")
                %>
                HospDepartmentListArray[<%=i%>]=new Array("<%=HospDID%>","<%=HospDName%>")
                <%i=i+1
                rs.movenext
            loop
            rs.close()
        %>
        parent.JS_HospDepartmentList(HospDepartmentListArray,<%=acc1%>,<%=acc2%>,'<%=HospDepartmentSearchTXT%>',<%=acc3%>);
        </script>
 
 
<%Response.End%>