wzp
2021-09-16 37080f5d0add35dc528212ece83adff1db6c50ee
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
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GwRmResend.aspx.cs" Inherits="GwRmResend" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<meta name="renderer" content="webkit" /><meta http-equiv="Cache-Control" content="no-siteapp" />
<title>push</title>
    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->
    <link rel="shortcut icon" href="favicon.ico" /><link href="css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet" />
    <link href="css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet" /><link href="css/plugins/iCheck/custom.css" rel="stylesheet" />
    <link href="css/animate.min.css" rel="stylesheet" /><link href="css/style.min862f.css?v=4.1.0" rel="stylesheet" />
    <link href="css/plugins/sweetalert/sweetalert.css" rel="stylesheet" /><link href="css/plugins/datapicker/datepicker3.css" rel="stylesheet" />
    <link href="css/jquery.numberedtextarea.css" rel="stylesheet" />
    <script src="js/loading.js" type="text/javascript"></script>
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/json.js"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>
    <script src="js/content.min.js?v=1.0.0"></script>
    <script src="js/plugins/iCheck/icheck.min.js"></script>
    <script src="js/plugins/sweetalert/sweetalert.min.js"></script>
    <script src="js/plugins/datapicker/bootstrap-datepicker.js"></script>
    <script type="text/javascript" src="/js/jquery-loading.js"></script>
    <script type="text/javascript" src="/js/jquery-form.js"></script>
    <script type="text/javascript" src="/js/jquery.numberedtextarea.js"></script>
    <script type="text/javascript" src="/js/mytek-pager.js"></script>
    <script src="js/mytek-pagination.js?r=11" type="text/javascript"></script>
    <style>
        body { font-size: 12px; color: #111111; }
        .mask { position: absolute; top: 0px; filter: alpha(opacity=60); background-color: #777; z-index: 1002; left: 0px; opacity: 0.5; -moz-opacity: 0.5; text-align: center; display: none; }
        .mask span { height: 70%; display: inline-block; vertical-align: middle; }
        .mask span img { vertical-align: middle; }
    </style>
    <script>
        (function ($) {
            $.ajaxBak = $.ajax;
 
            $.ajax = function (options) {
                options.timeout = 300000;
                options.url = options.url + (options.url.indexOf("?") > 0 ? "&" : "?") + "r=" + Math.random();
 
                options.complete = function (e) {
                    $("body").hideLoading();
                }
 
                if (options.showloading !== false) {
                    $("body").showLoading();
                }
 
                try {
                    return $.ajaxBak.call(this, options);
                } catch (e) {
                    if (options.showloading !== false) {
                        $("body").hideLoading();
                    }
                }
                return this;
            }
        })(jQuery);
 
       $(document).ready(function(){
            $(".icheck-me").iCheck({checkboxClass:"icheckbox_square-green",radioClass:"iradio_square-green",});
            $(".input-group.date").datepicker({todayBtn:"linked",keyboardNavigation:!1,forceParse:!1,calendarWeeks:!0,autoclose:!0});
            $("[data-toggle='tooltip']").tooltip();
            $("[data-toggle=popover]").popover()
       });
    </script>
    
    <script>
        $(function () {
 
            var pagination = new Pagination();
            pagination.setPageIndex(1);
            pagination.setPageSize(20);
 
            var time = '<%__w.Write(string.Format("{0}", (object) DateTime.Today.ToString("yyyy-MM-dd")));%>';
            function loadPageList() {
                var SelectedApID = $("#ApID").val();
                var SelectedOpID = $("#OpID").val();
                var SelectedSpID = $("#SpID").val();
                var SelectedDestnationID = $("#DestnationID").val();
                var SelectedDate = $("#sDate").val();
                if (SelectedDate == "" || SelectedDate == null) {
                    $("#sDate").val(time);
                }
                $.ajax({
                    url: "GwRm.ashx",
                    type: "POST",
                    data: { action: "loadGwRmSendPageList", pageIndex: pagination.getPageIndex(), pageSize: pagination.getPageSize() },
                    success: function (result) {
                        if (result.OK) {
                            $("#gwRmTable tbody").html(result.Message.Table);
                            pagination.setRecordCount(result.Message.TotalCount);
                            $("#pagination").html(pagination.getHtml());
//                            setTimeout(loadPageList, 5000);
                        } else {
                            mytek.alert(result.Message, result.OK);
                        }
                    }
                });
            }
 
            $(document).ready(function () {
 
                $(document).on("click", "a[data-index]", function () {
                    pagination.setPageIndex($(this).attr("data-index"));
                    loadPageList();
                });
 
                $(document).on("click", ".action-query", function () {
                    pagination.setPageIndex(1);
                    loadPageList();
                });
 
               loadPageList();
            });
 
        })
    </script>
</head>
<body class="white-bg">
    
    <div class="wrapper wrapper-content table-responsive">
        
 
    <div class="table-responsive">
        <table class="table table-striped table-bordered table-hover" id="gwRmTable">
            <thead>
                <tr class="header">
                    <th>
                        AP消息ID
                    </th>
                    <th>
                        OP消息ID
                    </th>
                    <th>
                        CLIENTID
                    </th>
                    <th>
                        SPID
                    </th>
                    <th>
                        APID
                    </th>
                    <th>
                        OPID
                    </th>
                    <th>
                        下发号码
                    </th>
                    <th>
                        接收号码
                    </th>
                    <th>
                        状态
                    </th>
                    <th>
                        提交时间
                    </th>
                    <th>
                        处理时间
                    </th>
                    <th>
                        状态报告时间
                    </th>
                    <th>
                        重推状态
                    </th>
                </tr>
            </thead>
            <tbody>
            </tbody>
        </table>
    </div>
    <div id="pagination">
    </div>
 
        <div id="mask" class="mask">
            <span></span>
            <img src="img/spinning-circles.svg" alt="载入中..." /></div>
    </div>
</body>
</html>