【调度系统】广东民航医疗快线调度系统源代码
wzp
2024-12-06 0df39a8c5a45c6ff25411eace15d40a606f9769c
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%Session.CodePage=65001%>
<%
'Response.Cookies("OA")("adminID")=""
'Response.end
searchTXT=Request("searchTXT")
ReportType=SafeRequest(Request("ReportType"))
RType=SafeRequest(Request("RType"))
ListType=SafeRequest(Request("ListType"))
state=request("state")
If state<>"" Then
    stateSP=split(state,"|")
    for i = 0 to UBOUND(stateSP)
        If InStr(stateSP(i),"searchTXT=")=1 Then
            searchTXT=Replace(stateSP(i),"searchTXT=","")
        ElseIf InStr(stateSP(i),"ReportType=")=1 Then
            ReportType=Replace(stateSP(i),"ReportType=","")
        ElseIf InStr(stateSP(i),"RType=")=1 Then
            RType=Replace(stateSP(i),"RType=","")
        ElseIf InStr(stateSP(i),"ListType=")=1 Then
            ListType=Replace(stateSP(i),"ListType=","")
        End If
    Next
End If
If ReportType="" Then ReportType="2"
If RType="" Then RType="1"
If searchTXT="1" Then searchTXT=date()-weekday(date())+7
'if OrdState="" then Response.Redirect "/"
state=ReportType%>
<!--#include virtual="/weixin/OAuth2.gds"-->
<!--#include virtual="/inc/function.gds"-->
<%
Set rs = Server.CreateObject("ADODB.Recordset")
'session("adminID")=85
'个人信息
sql="select * from OA_User where OA_User_ID="&session("adminID")
rs.open sql,objConn,1,1
If not rs.Eof then
OA_weixinUserID    = rs("OA_weixinUserID")
OA_Name            = rs("OA_Name")
OA_weixinAvatar    = rs("OA_weixinAvatar")
OA_DepartmentID    = rs("OA_DepartmentID")
session("admin_Power")=rs("OA_Power")
admin_Power=session("admin_Power")
End If
rs.close()
If isDepartment("0702")=0 Then Response.Redirect "/m_logout.html"
If OA_weixinAvatar="" Then OA_weixinAvatar="/resources/images/icon_avatar_default.png"
%>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>设置</title>
 
<!-- Bootstrap -->
<link href="/css/bootstrap.css" rel="stylesheet">
<link href="/css/layout.css" rel="stylesheet">
<script type="text/javascript" src="/js/jquery-1.7.1.min.js"></script>
<style>
.switch {
    right: .625em;
    top: 50%;
    margin-top: -1.078125em;
    background: url(/resources/images/check-sprites-5.png) no-repeat;
    position: absolute;
    background-position: 0 -60px;
    background-size: 100px 100px;
    width: 55px;
    height: 35px;
}
.switched {
    background: url(/resources/images/check-sprites-5.png) no-repeat;
    background-size: 3.5em;
    background-position: 0 -21px;
    background-size: 100px 100px;
    width: 55px;
    height: 32px;
}
</style>
</head>
 
<body>
 
 
<div class="container">
    <h1 class="text-center h2">推送设置</h1>
</div>
 
 
<div class="container-fluid title">
    <div class="row" style="margin-right: -10px;margin-left: -30px;">
        <div class="col-xs-12">日间订单推送(8时~22时)<div id="useJdbeanIcon1" class="switch<%If isDepartment("070202")=1 then%> switched<%End If%>" style="position:absolute;right:3px;"> </div></div>
    </div>
</div>
<div class="container-fluid title">
    <div class="row" style="margin-right: -10px;margin-left: -30px;">
        <div class="col-xs-12">夜间订单推送(22时~次日8时)<div id="useJdbeanIcon2" class="switch<%If isDepartment("070203")=1 then%> switched<%End If%>" style="position:absolute;right:3px;"> </div></div>
    </div>
</div>
<div class="container-fluid title">
    <div class="row" style="margin-right: -10px;margin-left: -30px;">
        <div class="col-xs-12"><%If NewAdmin="1" then%>权限重载完成!!<%else%><a href="?NewAdmin=1">刷新账号权限</a><%End If%></div>
    </div>
</div>
<div id="SetupSave"></div>
<script>
    /* 按钮开关 */
    $(function(){
        <%If isDepartment("070202")=1 then%>
        var onOff = true;
        <%else%>
        var onOff = false;
        <%End If%>
        $("#useJdbeanIcon1").click(function(){
            if(onOff){
                $(this).removeClass("switched");
                onOff = false;
                $("#SetupSave").load("admin_save.gds?admin_save=40&PowerID=070202&Pis=0")
            }else{
                $(this).addClass("switched");
                onOff = true;
                $("#SetupSave").load("admin_save.gds?admin_save=40&PowerID=070202&Pis=1")
            }
            
            
        });
    });
    $(function(){
        <%If isDepartment("070203")=1 then%>
        var onOff = true;
        <%else%>
        var onOff = false;
        <%End If%>
        $("#useJdbeanIcon2").click(function(){
            if(onOff){
                $(this).removeClass("switched");
                onOff = false;
                $("#SetupSave").load("admin_save.gds?admin_save=40&PowerID=070203&Pis=0")
            }else{
                $(this).addClass("switched");
                onOff = true;
                $("#SetupSave").load("admin_save.gds?admin_save=40&PowerID=070203&Pis=1")
            }
            
            
        });
    });
</script>
<!--#include virtual="/m_Report_footer.gds"-->
 
 
</body>
</html>