【调度系统】广东民航医疗快线调度系统源代码
wlzboy
2025-09-06 2decf5219e3476e30095fd9dbf6e49c55e105563
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%Session.CodePage=65001%>
<%
LoginError=Request("LoginError")
LoginSuccess=Request("LoginSuccess")
%>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>民航医疗快线运营系统</title>
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
        <!-- stylesheets -->
        <link rel="stylesheet" type="text/css" href="resources/css/reset.css" />
        <link rel="stylesheet" type="text/css" href="resources/css/style.css" media="screen" />
        <link id="color" rel="stylesheet" type="text/css" href="resources/css/colors/purple.css" />
        <!-- scripts (jquery) -->
        <script src="resources/scripts/jquery-1.4.2.min.js" type="text/javascript"></script>
        <script src="resources/scripts/jquery-ui-1.8.custom.min.js" type="text/javascript"></script>
        <script src="resources/scripts/smooth.js" type="text/javascript"></script>
        <script type="text/javascript">
            $(document).ready(function () {
                style_path = "resources/css/colors";
 
                $("input.focus").focus(function () {
                    if (this.value == this.defaultValue) {
                        this.value = "";
                    }
                    else {
                        this.select();
                    }
                });
 
                $("input.focus").blur(function () {
                    if ($.trim(this.value) == "") {
                        this.value = (this.defaultValue ? this.defaultValue : "");
                    }
                });
 
                $("input:submit, input:reset").button();
            });
        </script>
        <script>
        //每日GPS数据抓取
        $.ajax({
            type: "POST",  
            url: "/goocar/GPSmilestat_admin.asp",//需要跳转到的界面 the page you want to post data  
            data: {},  
            beforeSend: function() {},//在发送之前你可以进行相关操作 what you want to do before send  
            success: function(data) {
                //alert(data);
            }
        })
        </script>
    </head>
    <body>
        <div id="login">
            <!-- login -->
            <div class="title">
                <h5>Sign In to 民航医疗快线运营系统</h5>
                <div class="corner tl"></div>
                <div class="corner tr"></div>
            </div>
            <%if LoginError<>"" then%>
            <div class="messages">
                <div id="message-error" class="message message-error">
                    <div class="image">
                        <img src="resources/images/icons/error.png" alt="Error" height="32" />
                    </div>
                    <div class="text">
                        <h6>Error Message</h6>
                        <span><%=LoginError%></span>
                    </div>
                    <div class="dismiss">
                        <a href="#message-error"></a>
                    </div>
                </div>
            </div>
            <%elseif LoginSuccess<>"" then%>
            <div class="messages">
                <div id="message-error" class="message message-success">
                    <div class="image">
                        <img src="resources/images/icons/success.png" alt="Success" height="32" />
                    </div>
                    <div class="text">
                        <h6>Success Message</h6>
                        <span><%=LoginSuccess%></span>
                    </div>
                    <div class="dismiss">
                        <a href="#message-error"></a>
                    </div>
                </div>
            </div>
            <%end if%>
            <div class="inner">
                <form action="index.gds" method="post">
                <div class="form">
                    <!-- fields -->
                    <div class="fields">
                        <div class="field">
                            <div class="label">
                                <label for="username">账号:</label>
                            </div>
                            <div class="input">
                                <input type="text" id="admin" name="admin" size="40" value="<%=Request.Cookies("CAMEName")%>" placeholder="请输入账号或手机" class="focus" />
                            </div>
                        </div>
                        <!--
                        <div class="field">
                            <div class="label">
                                <label for="password">Password:</label>
                            </div>
                            <div class="input">
                                <input type="password" id="password" name="password" size="40" value="" class="focus" />
                            </div>
                        </div>
                        -->
                        <div class="field">
                            <div class="label">
                                <label for="password">验证码:</label>
                            </div>
                            <div class="input">
                                <input type="text" id="loginAuthorize" name="loginAuthorize" size="10" style="width: 54px;" value="" class="focus" />&nbsp;<input type="button" id="button_AuthorizeNO1" name="button_AuthorizeNO1" value="发送企微验证码"  style="background: #9a6d92 url(../../../resources/images/colors/purple/button_highlight.png) repeat-x;color: #ffffff;width: 180px;" onclick="JS_Authorize(1);">&nbsp;<input type="button" id="button_AuthorizeNO2" name="button_AuthorizeNO2" value="短信(备用)"  style="background: #9a6d92 url(../../../resources/images/colors/purple/button_highlight.png) repeat-x;color: #ffffff;width: 90px;display: none;" onclick="JS_Authorize(2);">
                            </div>
                            <script LANGUAGE="javascript">
                                function JS_Authorize(SendType) {
                                    OA_User=document.all.admin.value;
                                    button_AuthorizeNO1=document.all.button_AuthorizeNO1.value;
                                    button_AuthorizeNO2=document.all.button_AuthorizeNO2.value;
                                    if (OA_User=="")
                                    {
                                        alert("请输入登陆账号!");
                                        return false;
                                    }
                                    else if (button_AuthorizeNO1=="发送企微验证码" && SendType==1){
                                        $.ajax({
                                            type:'post',
                                            url:'/weixin/message_send_login.gds?SendType=1&OA_User='+OA_User,
                                            success:function(data){
                                                if(data == '1'){
                                                    document.all.button_AuthorizeNO1.value="验证码已发送";
                                                    document.getElementById("button_AuthorizeNO1").style.width="90px";
                                                    document.getElementById("button_AuthorizeNO2").style.display="block";
                                                    JS_login_weixin();
                                                    //alert("验证码已通过企业微信发送");
                                                    return false;
                                                }else{
                                                    alert("提交失败,请重试!"+data);
                                                    return false;
                                                }
                                            }
                                        });
                                    }
                                    else if (button_AuthorizeNO2=="短信(备用)" && SendType==2){
                                        $.ajax({
                                            type:'post',
                                            url:'/weixin/message_send_login.gds?SendType=2&OA_User='+OA_User,
                                            success:function(data){
                                                if(data == '1'){
                                                    document.all.button_AuthorizeNO2.value="验证码已发送";
                                                    alert("验证码已通过手机短信发送");
                                                    return false;
                                                }else{
                                                    alert("提交失败,请重试!"+data);
                                                    return false;
                                                }
                                            }
                                        });
                                    }
                                }
 
                                function JS_login_weixin() {
                                    OA_User=document.all.admin.value;
                                    $.ajax({  
                                        type: "POST",  
                                        url: "/inc/chkadmin.gds",//需要跳转到的界面 the page you want to post data  
                                        data: {  
                                            //要传给后台的数据 the data you should send to background  
                                            admin:OA_User,
                                            Phonelogin:"YES"
                                        },
                                        dataType:'json',
                                        beforeSend: function() {},//在发送之前你可以进行相关操作 what you want to do before send  
                                        success: function(data) {
                                            console.log(data);
                                            if (data!='')
                                            {
                                                if (data.result==1){
                                                    window.location.href="/index.gds";
                                                }else{
                                                    window.setTimeout("JS_login_weixin()",1000);
                                                }
                                            }
                                        }
                                    })
                                }
                            </script>
                        </div>
                        <!--
                        <div class="field">
                            <div class="checkbox">
                                <input type="checkbox" id="remember" name="remember" />
                                <label for="remember">Remember me</label>
                            </div>
                        </div>
                        -->
                        <div class="buttons">
                            <input type="submit" value="Sign In" />
                        </div>
                    </div>
                    <!-- end fields -->
                    <!-- links -->
                    <!--
                    <div class="links">
                        <a href="index.html">Forgot your password?</a>
                    </div>
                    -->
                    <!-- end links -->
                </div>
                </form>
            </div>
            <!-- end login -->
            <!--
            <div id="colors-switcher" class="color">
                <a href="" class="blue" title="Blue"></a>
                <a href="" class="green" title="Green"></a>
                <a href="" class="brown" title="Brown"></a>
                <a href="" class="purple" title="Purple"></a>
                <a href="" class="red" title="Red"></a>
                <a href="" class="greyblue" title="GreyBlue"></a>
            </div>
            -->
        </div>
    </body>
</html>