📄 manualaud.jsp
字号:
<%@ page contentType="text/html; charset=GBK" language="java"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean"
prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html"
prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic"
prefix="logic"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/UrlTag" prefix="UrlTag"%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
<meta http-equiv="expires" content="Wed, 26 Feb 1970 08:21:57 GMT" />
<link href="${pageContext.request.contextPath}/image/main.css"
rel="stylesheet" type="text/css">
<title>客户分级手工调整</title>
<style type="text/css"></style>
<script language="javascript">
function searchUser(){
alert("根据输入的手机号码到查询!!!");
//var phone=document.getElementsByName("OK");
//alert(phone);
if(form1.phone.value.replace(/[0-9]/g,"").length!=0){
alert("手机号码必须是数字!");
form1.phone.focus();
}else{
var tag = document.getElementById("tag");
tag.value = "searchByPhone";
var userphone = document.getElementById("userphone");
userphone.value = form1.phone.value;
document.form1.submit();
}
}
function detail(userid){
window.open("${pageContext.request.contextPath}/gradeDealAction.do?tag=detail&userid=" + userid,"_blank","top=200,left=200,height=400,width=550");
}
</script>
</head>
<body>
<html:form action="/manualAudUserAction" styleId="form1" method="POST">
<table width="100%" border="0" align="center" cellpadding="0"
cellspacing="0">
<tr>
<td align="center" valign="middle">
<table width="95%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="20" align="center" valign="middle">
<span class="STYLE1">客户分级手工调整页面 </span>
</td>
</tr>
</table>
<table width="95%" border="1" cellpadding="0" cellspacing="0"
bordercolor="#D71920">
<tr>
<td align="center" valign="middle">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="10" colspan="3">
</td>
</tr>
<tr>
<td width="4%">
</td>
<td width="92%">
<table width="100%" border="1" cellspacing="0"
cellpadding="0" id="ttc">
<tr>
<td height="20" id="ttc" align="center">
输入用户手机号码查询:
<html:text property="phone"></html:text>
<input name="OK" type="button" id="OK" value="查询"
onClick="searchUser();" />
<html:hidden property="tag" styleId="tag" />
<html:hidden property="userphone" styleId="userphone" />
</td>
</tr>
</table>
<br>
<table width="100%" border="1" cellspacing="0"
cellpadding="0" id="ttc">
<tr>
<td width="11%" height="21" align="center" valign="middle"
nowrap id="ttc">
<div align="center">
用户编号
</div>
</td>
<td height="20" align="center" valign="middle" nowrap
id="ttc">
<div align="center">
用户手机号码
</div>
</td>
<td align="center" valign="middle" nowrap id="ttc">
<div align="center">
开户时间
</div>
</td>
<td align="center" valign="middle" nowrap id="ttc">
<div align="center">
主套餐
</div>
</td>
<td align="center" valign="middle" nowrap id="ttc">
<div align="center">
是否会员
</div>
</td>
<td align="center" valign="middle" nowrap id="ttc">
<div align="center">
是否集团客户
</div>
</td>
<td align="center" valign="middle" nowrap id="ttc">
<div align="center">
用户级别
</div>
</td>
<td align="center" valign="middle" nowrap id="ttc">
<div align="center">
操作
</div>
</td>
</tr>
<logic:empty name="userList" scope="request">
<tr>
<td colspan="8" align="center" id="ttc">
此时没有客户
</td>
</tr>
</logic:empty>
<logic:notEmpty name="userList" scope="request">
<logic:iterate id="auser" name="userList" scope="request">
<tr>
<td height="20" align="center" valign="middle" nowrap
id="ttc">
${auser.userid}
</td>
<td height="20" align="center" valign="middle" nowrap
id="ttc">
${auser.phone}
</td>
<td height="20" align="center" valign="middle" nowrap
id="ttc">
${auser.regtime}
</td>
<td align="center" valign="middle" nowrap id="ttc">
${auser.mainoption}
</td>
<td align="center" valign="middle" nowrap id="ttc">
<logic:equal value="0" name="auser" property="ismember">
否
</logic:equal>
<logic:equal value="1" name="auser" property="ismember">
是
</logic:equal>
</td>
<td align="center" valign="middle" nowrap id="ttc">
<logic:equal value="0" name="auser"
property="isgroupclient">
否
</logic:equal>
<logic:equal value="1" name="auser"
property="isgroupclient">
是
</logic:equal>
</td>
<td align="center" valign="middle" nowrap id="ttc">
${auser.usergrade}
</td>
<td align="center" valign="middle" nowrap id="ttc">
<UrlTag:edit
href="${pageContext.request.contextPath}/manualAudUserAction.do?tag=modGrade&userid=${auser.userid}&phone=${auser.phone}"
flog="1" param="修改级别" sentence="" />
|
<a href="#" onclick="detail(${auser.userid});">查看详细</a>
</td>
</tr>
</logic:iterate>
</logic:notEmpty>
</table>
<br>
<table width="100%" border="1" cellspacing="0"
cellpadding="0" id="ttc">
<tr>
<td height="20" nowrap id="ttc">
<div align="center">
${requestScope.pageTool}
</div>
</td>
</tr>
</table>
</td>
<td width="4%">
</td>
</tr>
<tr>
<td height="10" colspan="3">
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</html:form>
</body>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -