📄 user_005flist_jsp.java
字号:
if (pagectl == null){
pagectl = new cn.com.chx.util.PageControl();
_jspx_page_context.setAttribute("pagectl", pagectl, PageContext.REQUEST_SCOPE);
}
}
out.write("\r\n");
out.write("<table width=\"98%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <th width=\"24\" height=\"24\" class=\"navlist\" scope=\"col\"><img src=\"../images/");
out.print(css_name);
out.write("/navicon.gif\" width=\"24\" height=\"24\"></th>\r\n");
out.write(" <th class=\"navlist\" scope=\"col\"><div align=\"left\"><a href=\"#\">目录管理 >>\r\n");
out.write(" 用户管理 >> 用户列表</a></div></th>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <th height=\"7\" colspan=\"2\" scope=\"row\" background=\"../images/");
out.print(css_name);
out.write("/navditu.gif\"></th>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <th height=\"10\" colspan=\"2\" scope=\"row\"></th>\r\n");
out.write(" </tr>\r\n");
out.write("</table>\r\n");
out.write("<table width=\"98%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <th width=\"65\" height=\"41\" scope=\"col\"><img src=\"../images/");
out.print(css_name);
out.write("/maintabletophy1.gif\" width=\"65\" height=\"41\"></th>\r\n");
out.write(" <th class=\"mainnoteword\" scope=\"col\"><div align=\"center\">\r\n");
out.write(" <table width=\"100%\" height=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <th width=\"40%\" height=\"7\" scope=\"col\"></th>\r\n");
out.write(" <th width=\"60%\" height=\"7\" scope=\"col\"></th>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <th class=\"mainnotefont\" scope=\"row\"><div align=\"left\">请输入查询条件</div></th>\r\n");
out.write(" <td><div align=\"right\">\r\n");
out.write(" <td>\r\n");
out.write("<div align=\"right\">\r\n");
out.write("<font color=\"#FF0000\">\r\n");
if (_jspx_meth_c_out_0(_jspx_th_html_form_0, _jspx_page_context))
return;
out.write("\r\n");
out.write("</font>\r\n");
out.write("</div>\r\n");
out.write("</td>\r\n");
out.write("\t\t\t</div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write(" </div></th>\r\n");
out.write(" <th width=\"65\" height=\"41\" scope=\"col\"><img src=\"../images/");
out.print(css_name);
out.write("/maintabletophy2.gif\" width=\"65\" height=\"41\"></th>\r\n");
out.write(" </tr>\r\n");
out.write("</table>\r\n");
out.write("<table width=\"98%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <th height=\"24\" class=\"maintableleft\" scope=\"col\"></th>\r\n");
out.write(" <th scope=\"col\"><table width=\"100%\" border=\"1\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#FFFFFF\" class=\"mainlisttable\">\r\n");
out.write(" <tr>\r\n");
out.write(" <th width=\"26%\" class=\"mainlisttabledark\" scope=\"col\"><div align=\"right\">用户号:</div></th>\r\n");
out.write(" <th width=\"74%\" class=\"mainlisttable\" scope=\"col\"> <div align=\"left\">\r\n");
out.write(" <input name=\"q_like_str_ID\" type=\"text\" class=\"input\">\r\n");
out.write(" </div></th>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <th class=\"mainlisttabledark\" scope=\"row\"><div align=\"right\">用户名:</div></th>\r\n");
out.write(" <td class=\"mainlisttable\"> <div align=\"left\">\r\n");
out.write(" <input name=\"q_like_str_NAME\" type=\"text\" class=\"input\">\r\n");
out.write(" </div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <th class=\"mainlisttabledark\" scope=\"row\"><div align=\"right\">所属部门:</div></th>\r\n");
out.write(" <td class=\"mainlisttable\"><div align=\"left\">\r\n");
out.write(" <input name=\"q_like_str_ORG_PK\" type=\"hidden\">\r\n");
out.write(" <input name=\"org_name\" type=\"text\" class=\"input\"><a href=\"#\" onClick=\"window.open ('/oa/oaweb/catalog/PubOrgTreeAction.do?actionType=query&fieldname=org_name&fieldid=q_like_str_ORG_PK', 'viewwindows', 'height=300, width=200, toolbar=no, menubar=no, scrollbars=auto, resizable=no, location=no, status=no')\">选择</a>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <th class=\"mainlisttabledark\" scope=\"row\"><div align=\"right\">用户状态:</div></th>\r\n");
out.write(" <td class=\"mainlisttable\"><div align=\"left\">\r\n");
out.write(" <select name=\"q_like_str_STATE\" class=\"select\" size=\"1\">\r\n");
out.write(" <option value=\"\">请选择</option>\r\n");
out.write(" <option value=\"0\">正常</option>\r\n");
out.write(" <option value=\"1\">停用</option> \r\n");
out.write(" </select>\r\n");
out.write(" </div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <th class=\"mainlisttabledark\" scope=\"row\"><div align=\"right\">用户级别:</div></th>\r\n");
out.write(" <td class=\"mainlisttable\"><div align=\"left\">\r\n");
out.write(" <select name=\"q_like_str_LEVELS\" class=\"select\" size=\"1\">\r\n");
out.write(" <option value=\"\">请选择</option>\r\n");
out.write(" <option value=\"0\">正职</option>\r\n");
out.write(" <option value=\"1\">副职</option> \r\n");
out.write("\t\t\t\t<option value=\"2\">一般工作人员</option>\r\n");
out.write(" </select>\r\n");
out.write(" </div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <th class=\"mainlisttabledark\" scope=\"row\"><div align=\"right\">用户类型:</div></th>\r\n");
out.write(" <td class=\"mainlisttable\"><div align=\"left\">\r\n");
out.write(" <select name=\"q_like_str_TYPE\" class=\"select\" size=\"1\">\r\n");
out.write(" <option value=\"\">请选择</option>\r\n");
out.write(" <option value=\"0\">普通用户</option>\r\n");
out.write(" <option value=\"1\">管理员</option> \r\n");
out.write("\r\n");
out.write(" </select>\r\n");
out.write(" </div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table></th>\r\n");
out.write(" <th class=\"maintableright\" scope=\"col\"></th>\r\n");
out.write(" </tr>\r\n");
out.write("</table>\r\n");
out.write("<table width=\"98%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <th width=\"65\" height=\"41\" scope=\"col\"><img src=\"../images/");
out.print(css_name);
out.write("/maintablebottomhy1.gif\" width=\"65\" height=\"41\"></th>\r\n");
out.write(" <th valign=\"top\" class=\"maintablebottom\" scope=\"col\"><table width=\"100%\" height=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <th scope=\"col\"> <div align=\"center\">\r\n");
out.write(" <input type=\"button\" name=\"submit12\" value=\"查 询\" class=\"button\" onclick=\"javascript:submitForm('query','');\">\r\n");
out.write(" </div></th>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <th height=\"7\" scope=\"row\"></th>\r\n");
out.write(" </tr>\r\n");
out.write(" </table></th>\r\n");
out.write(" <th width=\"65\" height=\"41\" scope=\"col\"><img src=\"../images/");
out.print(css_name);
out.write("/maintablebottomhy2.gif\" width=\"65\" height=\"41\"></th>\r\n");
out.write(" </tr>\r\n");
out.write("</table>\r\n");
out.write("<table width=\"98%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <th width=\"65\" height=\"41\" scope=\"col\"><img src=\"../images/");
out.print(css_name);
out.write("/maintabletophy1.gif\" width=\"65\" height=\"41\"></th>\r\n");
out.write(" <th class=\"mainnoteword\" scope=\"col\"><div align=\"center\">\r\n");
out.write(" <table width=\"100%\" height=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <th width=\"40%\" height=\"7\" scope=\"col\"></th>\r\n");
out.write(" <th width=\"60%\" height=\"7\" scope=\"col\"></th>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <th class=\"mainnotefont\" scope=\"row\"><div align=\"left\">用户列表</div></th>\r\n");
out.write(" <td><div align=\"right\"> </div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write(" </div></th>\r\n");
out.write(" <th width=\"65\" height=\"41\" scope=\"col\"><img src=\"../images/");
out.print(css_name);
out.write("/maintabletophy2.gif\" width=\"65\" height=\"41\"></th>\r\n");
out.write(" </tr>\r\n");
out.write("</table>\r\n");
out.write("<table width=\"98%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <th rowspan=\"2\" class=\"maintableleft\" scope=\"col\"></th>\r\n");
out.write(" <th scope=\"col\"><table width=\"100%\" border=\"1\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#FFFFFF\" class=\"mainlisttable\">\r\n");
out.write(" <tr align=\"center\" class=\"mainlisttitle\">\r\n");
out.write(" <td width=\"8%\" height=\"18\" class=\"mainlisttoptitle\">选择</td>\r\n");
out.write(" <td width=\"15%\" class=\"mainlisttoptitle\">用户号</td>\r\n");
out.write(" <td width=\"15%\" class=\"mainlisttoptitle\">用户姓名</td>\r\n");
out.write(" <td width=\"14%\">用户类别</td>\r\n");
out.write(" <td width=\"17%\">部门</td>\r\n");
out.write(" <td width=\"8%\">状态</td>\r\n");
out.write(" <!--td width=\"17%\">开户日期</td-->\r\n");
out.write(" <td width=\"23%\">操作</td>\r\n");
out.write(" </tr>\r\n");
out.write("\t\t");
if (_jspx_meth_c_if_0(_jspx_th_html_form_0, _jspx_page_context))
return;
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\t\t\t ");
if (_jspx_meth_c_set_0(_jspx_th_html_form_0, _jspx_page_context))
return;
out.write("\r\n");
out.write("\r\n");
out.write("\t\t");
// logic:iterate
org.apache.struts.taglib.logic.IterateTag _jspx_th_logic_iterate_0 = (org.apache.struts.taglib.logic.IterateTag) _jspx_tagPool_logic_iterate_property_name_id.get(org.apache.struts.taglib.logic.IterateTag.class);
_jspx_th_logic_iterate_0.setPageContext(_jspx_page_context);
_jspx_th_logic_iterate_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
_jspx_th_logic_iterate_0.setId("ListShowBean");
_jspx_th_logic_iterate_0.setName("UserForm");
_jspx_th_logic_iterate_0.setProperty("RecordSet");
int _jspx_eval_logic_iterate_0 = _jspx_th_logic_iterate_0.doStartTag();
if (_jspx_eval_logic_iterate_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
java.lang.Object ListShowBean = null;
if (_jspx_eval_logic_iterate_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
out = _jspx_page_context.pushBody();
_jspx_th_logic_iterate_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
_jspx_th_logic_iterate_0.doInitBody();
}
ListShowBean = (java.lang.Object) _jspx_page_context.findAttribute("ListShowBean");
do {
out.write("\r\n");
out.write("\t\t\t ");
if (_jspx_meth_c_if_1(_jspx_th_logic_iterate_0, _jspx_page_context))
return;
out.write("\r\n");
out.write(" ");
if (_jspx_meth_c_if_2(_jspx_th_logic_iterate_0, _jspx_page_context))
return;
out.write("\r\n");
out.write("\r\n");
out.write("\t\t\t<td nowrap> <p align=\"center\">\r\n");
out.write(" ");
HashMap map = (HashMap)ListShowBean;
String id = "1";
id = (String)map.get("$ID");
String type = (String)map.get("$TYPE");
String outtype="";
//"0"普通用户/
//"1"管理员
if(type.equalsIgnoreCase("0")){
outtype="普通用户";
}
if(type.equalsIgnoreCase("1")){
outtype="管理员";
}
//user状态
String stype = (String)map.get("$STATE");
String souttype="";
//0使用1停用
if(stype.equalsIgnoreCase("0")){
souttype="使用";
}
if(stype.equalsIgnoreCase("1")){
souttype="停用";
}
out.write("\r\n");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -