📄 list_jsp.java
字号:
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=\"5%\" height=\"18\" class=\"mainlisttoptitle\">选择</td>\r\n");
out.write(" <td width=\"8%\" class=\"mainlisttoptitle\">车牌号</td>\r\n");
out.write(" <td width=\"8%\" class=\"mainlisttoptitle\">车型</td>\r\n");
out.write(" <td width=\"12%\" class=\"mainlisttoptitle\">预计开始用车时间</td>\r\n");
out.write("\t\t\t\t <td width=\"12%\" class=\"mainlisttoptitle\">预计结束用车时间</td>\r\n");
out.write(" <td width=\"12%\" class=\"mainlisttoptitle\">实际开始用车时间</td>\r\n");
out.write("\t\t\t\t <td width=\"12%\" class=\"mainlisttoptitle\">实际结束用车时间</td>\r\n");
out.write("\t\t\t\t <!-- <td width=\"8%\" class=\"mainlisttoptitle\">车辆状态</td>-->\r\n");
out.write("\t\t\t\t <td width=\"5%\" class=\"mainlisttoptitle\">操作</td>\r\n");
out.write(" </tr>\r\n");
out.write("\t\t\t\t");
if(pagectl.flag){
out.write("\r\n");
out.write(" <tr class=\"odd\">\r\n");
out.write(" <td colspan=\"12\" align=center> <font color=\"#CC0000\">没有相关记录! </font>\r\n");
out.write(" </td>\r\n");
out.write(" </tr>\r\n");
out.write(" ");
}
out.write("\r\n");
out.write(" ");
boolean tr = true;
out.write("\r\n");
out.write(" ");
// 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("cm_usecar_recordForm");
_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(" ");
if (tr) {
out.write("\r\n");
out.write(" <tr class=\"mainlisttabledark\">\r\n");
out.write(" ");
} else {
out.write("\r\n");
out.write(" <tr class=\"mainlisttablelight\">\r\n");
out.write(" ");
}
out.write("\r\n");
out.write(" <td nowrap> <p align=\"center\">\r\n");
out.write(" ");
HashMap map = (HashMap)ListShowBean;
String id = (String)map.get("$apply_pk");
String start_time = (String)map.get("$true_start_time");
String end_time= (String)map.get("$true_end_time");
String car_type = (String)map.get("$car_name");
if(car_type!=null &&car_type.equalsIgnoreCase("1")){
map.put("$car_name","轿车");
}
else if(car_type!=null &&car_type.equalsIgnoreCase("2")){
map.put("$car_name","小货");
}
else if(car_type!=null &&car_type.equalsIgnoreCase("3")){
map.put("$car_name","大货");
}
out.write("\r\n");
out.write("\r\n");
out.write(" ");
// html:multibox
org.apache.struts.taglib.html.MultiboxTag _jspx_th_html_multibox_0 = (org.apache.struts.taglib.html.MultiboxTag) _jspx_tagPool_html_multibox_value_property_nobody.get(org.apache.struts.taglib.html.MultiboxTag.class);
_jspx_th_html_multibox_0.setPageContext(_jspx_page_context);
_jspx_th_html_multibox_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_logic_iterate_0);
_jspx_th_html_multibox_0.setProperty("selected");
_jspx_th_html_multibox_0.setValue(id);
int _jspx_eval_html_multibox_0 = _jspx_th_html_multibox_0.doStartTag();
if (_jspx_th_html_multibox_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
_jspx_tagPool_html_multibox_value_property_nobody.reuse(_jspx_th_html_multibox_0);
out.write(" </p>\r\n");
out.write(" </td>\r\n");
out.write(" <td align=\"center\">");
if (_jspx_meth_bean_write_0(_jspx_th_logic_iterate_0, _jspx_page_context))
return;
out.write("</td>\r\n");
out.write(" <td align=\"center\">");
if (_jspx_meth_bean_write_1(_jspx_th_logic_iterate_0, _jspx_page_context))
return;
out.write("</td>\r\n");
out.write("\r\n");
out.write(" <td align=\"center\">");
if (_jspx_meth_bean_write_2(_jspx_th_logic_iterate_0, _jspx_page_context))
return;
out.write("</td>\r\n");
out.write(" <td align=\"center\">");
if (_jspx_meth_bean_write_3(_jspx_th_logic_iterate_0, _jspx_page_context))
return;
out.write("</td>\r\n");
out.write("\t\t\t<td align=\"center\">");
if (_jspx_meth_bean_write_4(_jspx_th_logic_iterate_0, _jspx_page_context))
return;
out.write("</td>\r\n");
out.write("\t\t\t<td align=\"center\">");
if (_jspx_meth_bean_write_5(_jspx_th_logic_iterate_0, _jspx_page_context))
return;
out.write("</td>\r\n");
out.write("\t\t\t<!--<td align=\"center\">");
if (_jspx_meth_bean_write_6(_jspx_th_logic_iterate_0, _jspx_page_context))
return;
out.write("</td>-->\r\n");
out.write("\t\t\t<td width=\"11%\" align=\"center\"><div align=\"center\">\r\n");
out.write("\t\t\t");
if(start_time==null || start_time.equalsIgnoreCase("")){
out.write("\r\n");
out.write("\t\t\t\t<a href=\"javascript:submitForm('beginUser','");
out.print(id);
out.write("');\">开始用车登记</a>\r\n");
out.write("\t\t\t");
} else if(end_time!=null && !end_time.equalsIgnoreCase("")){
out.write("\r\n");
out.write("\t\t\t\t<a href=\"usercarDetailAction.do?actionType=edit&doKey=");
out.print(id);
out.write("&label=usercar\">查看</a>\r\n");
out.write("\t\t\t");
}else{
out.write("\r\n");
out.write("\t\t\t\t<a href=\"javascript:submitForm('endUser','");
out.print(id);
out.write("');\">结束用车登记</a>\r\n");
out.write("\t\t\t");
}
out.write("\r\n");
out.write("\t\t\t</div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" ");
tr=!tr ;
out.write("\r\n");
out.write(" ");
int evalDoAfterBody = _jspx_th_logic_iterate_0.doAfterBody();
ListShowBean = (java.lang.Object) _jspx_page_context.findAttribute("ListShowBean");
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
if (_jspx_eval_logic_iterate_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
out = _jspx_page_context.popBody();
}
if (_jspx_th_logic_iterate_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
_jspx_tagPool_logic_iterate_property_name_id.reuse(_jspx_th_logic_iterate_0);
out.write("\r\n");
out.write(" </table></th>\r\n");
out.write(" <th rowspan=\"2\" class=\"maintableright\" scope=\"col\"></th>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td><table width=\"100%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=\"36%\" align=\"left\" class=\"mainlisttitle\"><div align=\"center\"><span class=\"wordhrm4\">当前/总数 (");
out.print(pagectl.fromRow);
out.write('-');
out.print(pagectl.toRow);
out.write(')');
out.write('/');
out.print(pagectl.totalRow);
out.write("</span></div></td>\r\n");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -