|
|
1
|
+<%@page language="java" contentType="text/html;charset=utf-8" %>
|
|
|
2
|
+<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
|
|
3
|
+
|
|
|
4
|
+<%
|
|
|
5
|
+ String path = request.getContextPath();
|
|
|
6
|
+ String basePath = request.getScheme() + "://"
|
|
|
7
|
+ + request.getServerName() + ":" + request.getServerPort()
|
|
|
8
|
+ + path + "/";
|
|
|
9
|
+%>
|
|
|
10
|
+
|
|
|
11
|
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
|
12
|
+<html>
|
|
|
13
|
+<head>
|
|
|
14
|
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
|
15
|
+ <link rel="stylesheet" href="<%=basePath %>css/bootstrap.min.css"/>
|
|
|
16
|
+ <link rel="stylesheet" href="<%=basePath %>css/bootstrap-datetimepicker.css"/>
|
|
|
17
|
+ <link href="<%=basePath %>js/bootstrap-plugin/css/bootstrap.table.css" rel="stylesheet" media="screen"/>
|
|
|
18
|
+ <link rel="stylesheet" href="<%=basePath %>css/bootstrap-responsive.min.css"/>
|
|
|
19
|
+ <link rel="stylesheet" href="<%=basePath %>css/fullcalendar.css"/>
|
|
|
20
|
+ <link rel="stylesheet" href="<%=basePath %>css/unicorn.main.css"/>
|
|
|
21
|
+ <link rel="stylesheet" href="<%=basePath %>css/unicorn.grey.css"/>
|
|
|
22
|
+ <link rel="stylesheet" href="<%=basePath %>css/jquery-ui.css"/>
|
|
|
23
|
+ <link rel="stylesheet" href="<%=basePath %>css/uniform.css"/>
|
|
|
24
|
+ <link rel="stylesheet" href="<%=basePath %>css/select2.css"/>
|
|
|
25
|
+ <link rel="stylesheet" href="<%=basePath %>js/jstree/themes/proton/style.css"/>
|
|
|
26
|
+ <link rel="stylesheet" href="<%=basePath %>css/select2.css"/>
|
|
|
27
|
+ <link rel="stylesheet" href="<%=basePath %>css/yoho.css"/>
|
|
|
28
|
+ <script src="<%=basePath %>js/excanvas.min.js" charset="UTF-8" type="text/javascript"></script>
|
|
|
29
|
+ <script src="<%=basePath %>js/jquery-1.12.0.min.js" charset="UTF-8" type="text/javascript"></script>
|
|
|
30
|
+ <script src="<%=basePath %>js/jquery-ui.custom.js" charset="UTF-8" type="text/javascript"></script>
|
|
|
31
|
+ <script src="<%=basePath %>/js/bootstrap.min.js"></script>
|
|
|
32
|
+ <script src="<%=basePath %>/js/unicorn.js"></script>
|
|
|
33
|
+ <script src="<%=basePath %>js/bootstrap-plugin/datetimepicker/moment-with-locales.js" charset="UTF-8"
|
|
|
34
|
+ type="text/javascript"></script>
|
|
|
35
|
+ <script src="<%=basePath %>js/bootstrap-plugin/datetimepicker/bootstrap-datetimepicker.js" charset="UTF-8"
|
|
|
36
|
+ type="text/javascript"></script>
|
|
|
37
|
+ <script src="<%=basePath %>js/global.js" charset="UTF-8" type="text/javascript"></script>
|
|
|
38
|
+ <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.pagination.js" charset="UTF-8"
|
|
|
39
|
+ type="text/javascript"></script>
|
|
|
40
|
+ <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.table.js" charset="UTF-8" type="text/javascript"></script>
|
|
|
41
|
+ <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.dialog.js" charset="UTF-8" type="text/javascript"></script>
|
|
|
42
|
+ <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.form.js" charset="UTF-8" type="text/javascript"></script>
|
|
|
43
|
+ <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.panel.js" charset="UTF-8" type="text/javascript"></script>
|
|
|
44
|
+ <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.alerts.js" charset="UTF-8" type="text/javascript"></script>
|
|
|
45
|
+ <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.accordion.js" charset="UTF-8"
|
|
|
46
|
+ type="text/javascript"></script>
|
|
|
47
|
+ <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.breadcrumb.js" charset="UTF-8"
|
|
|
48
|
+ type="text/javascript"></script>
|
|
|
49
|
+ <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.validate.js" charset="UTF-8"
|
|
|
50
|
+ type="text/javascript"></script>
|
|
|
51
|
+ <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.form.js" charset="UTF-8" type="text/javascript"></script>
|
|
|
52
|
+ <script src="<%=basePath %>js/layer/layer.js" charset="UTF-8" type="text/javascript"></script>
|
|
|
53
|
+ <script src="<%=basePath %>js/bootstrap-plugin/bootstrap.select.js" charset="UTF-8" type="text/javascript"></script>
|
|
|
54
|
+ <script src="<%=basePath %>js/jstree/jstree.min.js"></script>
|
|
|
55
|
+ <script src="<%=basePath %>js/jquery.toaster.js"></script>
|
|
|
56
|
+ <script>
|
|
|
57
|
+ var contextPath = '<%=basePath %>';
|
|
|
58
|
+ </script>
|
|
|
59
|
+ <title>注册短信查询</title>
|
|
|
60
|
+</head>
|
|
|
61
|
+<body>
|
|
|
62
|
+
|
|
|
63
|
+<!-- 头部 -->
|
|
|
64
|
+<div id="head">
|
|
|
65
|
+</div>
|
|
|
66
|
+<!-- 右侧具体内容 -->
|
|
|
67
|
+<div id="content">
|
|
|
68
|
+
|
|
|
69
|
+ <div id="breadcrumb">
|
|
|
70
|
+ <a href="#" title="Go to Home" class="tip-bottom"><i
|
|
|
71
|
+ class="icon-home"></i> Home</a> <a href="#" class="current">查询注册短信</a>
|
|
|
72
|
+ </div>
|
|
|
73
|
+
|
|
|
74
|
+ <div class="container-fluid">
|
|
|
75
|
+
|
|
|
76
|
+
|
|
|
77
|
+ <div class="widget-box">
|
|
|
78
|
+ <div class="widget-title">
|
|
|
79
|
+ <h5>短信查询</h5>
|
|
|
80
|
+ </div>
|
|
|
81
|
+ <div class="widget-content nopadding">
|
|
|
82
|
+ <div class="widget-title" style="height: 53px;">
|
|
|
83
|
+ <div>
|
|
|
84
|
+ <div class="form-inline" role="form" id="inBoxQueryDiv"
|
|
|
85
|
+ style=" margin-top: 12px;margin-left: 25px;float: left;">
|
|
|
86
|
+ <div class="input-group" style="float: left;">
|
|
|
87
|
+ <span class="input-group-addon">手机号码:</span>
|
|
|
88
|
+ <input type="text" id="workid" name="workid" class="form-control" placeholder=""/>
|
|
|
89
|
+ </div>
|
|
|
90
|
+ <button id="searchBtn" class="btn btn-primary" style="margin-left: 18px;">搜索</button>
|
|
|
91
|
+ </div>
|
|
|
92
|
+ </div>
|
|
|
93
|
+ </div>
|
|
|
94
|
+ <div id="jobsTable">
|
|
|
95
|
+
|
|
|
96
|
+ </div>
|
|
|
97
|
+ </div>
|
|
|
98
|
+ </div>
|
|
|
99
|
+ </div>
|
|
|
100
|
+</div>
|
|
|
101
|
+<script src="<%=basePath %>script/common/genarate_left_panel.js"></script>
|
|
|
102
|
+<script>
|
|
|
103
|
+ $("#li_worksystem").addClass("active open");
|
|
|
104
|
+ $("#li_works").addClass("active");
|
|
|
105
|
+</script>
|
|
|
106
|
+<script>
|
|
|
107
|
+
|
|
|
108
|
+ $(function () {
|
|
|
109
|
+ //加载表格
|
|
|
110
|
+ $("#jobsTable").table({
|
|
|
111
|
+ columnAutoWidth: false,
|
|
|
112
|
+ url: contextPath +"sms/getSmsLog",
|
|
|
113
|
+ striped: true,
|
|
|
114
|
+ title: "短信列表",
|
|
|
115
|
+ dataType: "json",
|
|
|
116
|
+ pagination: true,
|
|
|
117
|
+ pageSize: 10,
|
|
|
118
|
+ loadFilter: function (data) {
|
|
|
119
|
+ return defaultLoadFilter(data);
|
|
|
120
|
+ },
|
|
|
121
|
+ columns: [ {
|
|
|
122
|
+ title: "手机号码",
|
|
|
123
|
+ field: "mobile",
|
|
|
124
|
+ width: "10%"
|
|
|
125
|
+ }, {
|
|
|
126
|
+ title: "服务商",
|
|
|
127
|
+ field: "firstService",
|
|
|
128
|
+ formatter : function(value, rowData, rowIndex) {
|
|
|
129
|
+ if(value == '8'){
|
|
|
130
|
+ return '玄武';
|
|
|
131
|
+ }else if(value == '13'){
|
|
|
132
|
+ return '移通';
|
|
|
133
|
+ } else if(value == '24'){
|
|
|
134
|
+ return '玄武400';
|
|
|
135
|
+ }else{
|
|
|
136
|
+ return '国都'
|
|
|
137
|
+ }
|
|
|
138
|
+ },
|
|
|
139
|
+ width: "10%"
|
|
|
140
|
+ }, {
|
|
|
141
|
+ title: "发送内容",
|
|
|
142
|
+ field: "content",
|
|
|
143
|
+ width: "45%"
|
|
|
144
|
+ },{
|
|
|
145
|
+ title: "发送结果",
|
|
|
146
|
+ field: "firstServiceStatus",
|
|
|
147
|
+ formatter : function(value, rowData, rowIndex) {
|
|
|
148
|
+ if(value == '1'){
|
|
|
149
|
+ return '成功';
|
|
|
150
|
+ }else{
|
|
|
151
|
+ return '失败';
|
|
|
152
|
+ }
|
|
|
153
|
+ },
|
|
|
154
|
+ width: "15%"
|
|
|
155
|
+ },{
|
|
|
156
|
+ title: "时间",
|
|
|
157
|
+ field: "createTime",
|
|
|
158
|
+ width: "20%"
|
|
|
159
|
+ }]
|
|
|
160
|
+ });
|
|
|
161
|
+
|
|
|
162
|
+ });
|
|
|
163
|
+
|
|
|
164
|
+ //点击查询按钮
|
|
|
165
|
+ $("#searchBtn").click(function () {
|
|
|
166
|
+ var mobile = $("#workid").val();
|
|
|
167
|
+ $("#jobsTable").table("load", {
|
|
|
168
|
+ 'mobile': mobile
|
|
|
169
|
+ });
|
|
|
170
|
+ });
|
|
|
171
|
+
|
|
|
172
|
+</script> |