b2e691ec7b92596d2f5ec80163c1b257cbeafdac.svn-base
4.9 KB
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
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<%@ include file="/WEB-INF/views/jsp/admin/public/publicjs.jsp"%>
<script type="text/javascript">
//全部选中/全部不选中
function checkAllUser(user){
var selectuser = document.getElementsByName("id");
for(var i=0;i<selectuser.length;i++){
selectuser[i].checked = user.checked;
}
}
//批量删除
function deleteAll(){
var selectuser = document.getElementsByName("id");
var flag = false;
for(var i=0;i<selectuser.length;i++){
if(selectuser[i].checked){
flag = true;
}
}
if(!flag){
alert("没有选择执行操作的选项!不能执行该操作");
}
else{
$("#dialog").dialog("destroy");
$("#dialog-confirm").dialog({
resizable: false,
height:140,
modal: true,
buttons: {
'确定': function() {
$(this).dialog('close');
document.Form1.action = "/delLive.html";
document.Form1.submit();
},
'取消': function() {
$(this).dialog('close');
}
}
});
}
}
</script>
</head>
<body>
<form:form action="${basePath }/userDisable/list.html" modelAttribute="userDisable" id="userDisableForm" name="Form1">
<input type="hidden" value="${page.page}" name="page" id="page"></input>
<input type="hidden" value="1" name="formsubmit" id="formsubmit"></input>
<div class="main-title">
<span style="float: left"><img src="<%=request.getContextPath()%>/images/admin/t_mt01.jpg" border="0" />
</span>
<span style="float: left; color: #353C44; font-weight: 600; font-size: 14px;">系统黑名单列表</span>
<span style="float: right">
<img src="<%=request.getContextPath()%>/images/admin/t_mt03.jpg" />
</span>
</div>
<div style="padding-top: 20px;">
<table width="80%" align="center" border="0" cellpadding="0"
cellspacing="1" bgcolor="#CCCCCC" class="productTable">
<tr>
<td align="right" nowrap="nowrap" class="productTable_title">
用户id:
</td>
<td bgcolor="#ffffff">
<form:input path="userId" />
</td>
<td align="right" nowrap="nowrap" class="productTable_title">
手机号:
</td>
<td bgcolor="#ffffff">
<form:input path="msisdn"/>
</td>
<td align="right" nowrap="nowrap" class="productTable_title">
昵称:
</td>
<td bgcolor="#ffffff">
<form:input path="userName" />
</td>
</tr>
<tr>
<td align="center" height="40" colspan="6" bgcolor="#ffffff">
<input type="submit" value="搜 索" class="admin_again"></input>
</td>
</tr>
</table>
</div>
<div style="padding: 5px;">
<table width="100%" class="tablestyle" border="0" cellspacing="1"
cellpadding="0" align="center" bgcolor="#cccccc">
<tr bgcolor="#F2F2F2" align="center" style="font-weight: 600;"
height="22">
<td>
序号
</td>
<td>
用户id
</td>
<td>
用户名称
</td>
<td>
用户手机号
</td>
<td>
管理员id
</td>
<td>
创建时间
</td>
<td>
原因
</td>
<td>
状态
</td>
<td>
操作
</td>
</tr>
<c:forEach items="${disableList}" var="tmp" varStatus="statu">
<tr bgcolor="#FFFFFF" align="center">
<td>
${statu.count }
</td>
<td>
${tmp.userId}
</td>
<td>
${fns:base64decode(tmp.userName)}
</td>
<td>
${tmp.msisdn}
</td>
<td>
${tmp.managerId}
</td>
<td>
<fmt:formatDate value="${tmp.createTime}" pattern="yyyy-MM-dd hh:mm:ss"/>
</td>
<td>
${tmp.reason}
</td>
<td>
<c:choose>
<c:when test="${tmp.type==0}">禁封</c:when>
<c:when test="${tmp.type==1}">解除</c:when>
</c:choose>
</td>
<td nowrap="nowrap">
<a class="handle btn" href="<%=request.getContextPath()%>/UserDisable/Edit.html?id=${tmp.id}"><i class="pencil"></i>编辑</a>
<a href="javascript:submitAction('<%=request.getContextPath()%>/userDisable/delete.html?id=${tmp.id}')" class="handle btn"><i class="pencil"></i>删除</a>
</td>
</tr>
</c:forEach>
</table>
<%@ include file="/WEB-INF/views/jsp/admin/system/keer_pager.jsp"%>
</div>
</form:form>
</body>
</html>