⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wupin_jsp.java

📁 一套JAVA开发的OA系统,包括工作流,客户管理、个人管理、车辆管理,人事管理等。
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
      out.write("\t      \t \t    \treturn;\r\n");
      out.write("\t      \t\t\t}\r\n");
      out.write("\t            }\r\n");
      out.write("\t            else\r\n");
      out.write("\t            {\r\n");
      out.write("\t              alert(\"请选择需要删除的记录\");\r\n");
      out.write("\t              return;\r\n");
      out.write("\t            }\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\r\n");
      out.write("\t\t\tdocument.StuffInfoForm.actionType.value = act;\r\n");
      out.write("\t\t\tif (param!='')\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\tdocument.StuffInfoForm.doKey.value = param;\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\r\n");
      out.write("\t\t\tdocument.StuffInfoForm.submit();\r\n");
      out.write("\t\t}\r\n");
      out.write("\t//-->\r\n");
      out.write("\t</script>\r\n");
      out.write("</head>\r\n");
      out.write("<body>\r\n");
      out.write("\t");
      //  logic:notPresent
      org.apache.struts.taglib.logic.NotPresentTag _jspx_th_logic_notPresent_0 = (org.apache.struts.taglib.logic.NotPresentTag) _jspx_tagPool_logic_notPresent_name.get(org.apache.struts.taglib.logic.NotPresentTag.class);
      _jspx_th_logic_notPresent_0.setPageContext(_jspx_page_context);
      _jspx_th_logic_notPresent_0.setParent(null);
      _jspx_th_logic_notPresent_0.setName("RecordSet");
      int _jspx_eval_logic_notPresent_0 = _jspx_th_logic_notPresent_0.doStartTag();
      if (_jspx_eval_logic_notPresent_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n");
          out.write("\t\t\t");

				Collection col = new ArrayList();
				pageContext.setAttribute("RecordSet", col);
			
          out.write('\r');
          out.write('\n');
          out.write('	');
          int evalDoAfterBody = _jspx_th_logic_notPresent_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_logic_notPresent_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_logic_notPresent_name.reuse(_jspx_th_logic_notPresent_0);
      out.write('\r');
      out.write('\n');
      out.write('	');
      if (_jspx_meth_commontag_getcontentid_0(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("\r\n");
      out.write("\t");
      //  html:form
      org.apache.struts.taglib.html.FormTag _jspx_th_html_form_0 = (org.apache.struts.taglib.html.FormTag) _jspx_tagPool_html_form_method_action.get(org.apache.struts.taglib.html.FormTag.class);
      _jspx_th_html_form_0.setPageContext(_jspx_page_context);
      _jspx_th_html_form_0.setParent(null);
      _jspx_th_html_form_0.setAction("/oaweb/resmanage/StuffInfoAction.do");
      _jspx_th_html_form_0.setMethod("post");
      int _jspx_eval_html_form_0 = _jspx_th_html_form_0.doStartTag();
      if (_jspx_eval_html_form_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write('\r');
          out.write('\n');
          out.write('	');
          if (_jspx_meth_html_hidden_0(_jspx_th_html_form_0, _jspx_page_context))
            return;
          out.write('\r');
          out.write('\n');
          out.write('	');
          if (_jspx_meth_html_hidden_1(_jspx_th_html_form_0, _jspx_page_context))
            return;
          out.write('\r');
          out.write('\n');
          out.write('	');
          if (_jspx_meth_html_hidden_2(_jspx_th_html_form_0, _jspx_page_context))
            return;
          out.write('\r');
          out.write('\n');
          out.write('	');
          if (_jspx_meth_html_hidden_3(_jspx_th_html_form_0, _jspx_page_context))
            return;
          out.write('\r');
          out.write('\n');
          out.write('	');
          if (_jspx_meth_html_hidden_4(_jspx_th_html_form_0, _jspx_page_context))
            return;
          out.write('\r');
          out.write('\n');
          out.write('	');
          cn.com.chx.util.PageControl pagectl = null;
          synchronized (request) {
            pagectl = (cn.com.chx.util.PageControl) _jspx_page_context.getAttribute("pagectl", PageContext.REQUEST_SCOPE);
            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("<div align=\"center\">\r\n");
          out.write("<table width=\"95%\"  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=\"");
          out.print(Constant.ROOTPATH );
          out.write("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=\"2.htm\">物品管理</a>&gt;&gt;\r\n");
          out.write("          <a href=\"2\">物品库存列表</a><span class=\"navlist\"></span></div></th>\r\n");
          out.write("    </tr>\r\n");
          out.write("    <tr>\r\n");
          out.write("      <th height=\"7\" colspan=\"2\" scope=\"row\" background=\"");
          out.print(Constant.ROOTPATH );
          out.write("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("  ");
          out.write("\r\n");
          out.write("\r\n");
          out.write("\r\n");
          out.write("\r\n");

      UserModel t_model = (UserModel)session.getAttribute("userinfo");
      String userid = t_model.getId();
	  ShowButton showButton = new ShowButton();
	  showButton.setUserModel(userid);
      Map bmap =  showButton.getUserWithButton();

          out.write("\r\n");
          out.write("\r\n");

		String label = request.getParameter("label");

          out.write("\r\n");
          out.write("<table width=\"95%\" height=\"29\"  border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
          out.write("    <tr>\r\n");
          out.write("      <th width=\"9\" height=\"29\" scope=\"col\"><img src=\"");
          out.print(Constant.ROOTPATH );
          out.write("images/");
          out.print(css_name);
          out.write("/lableimages/toptable_left.gif\" width=\"9\" height=\"29\"></th>\r\n");
          out.write("      <th class=\"toptable_middle\" scope=\"col\"> <div align=\"left\">\r\n");
          out.write("          <table   border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
          out.write("            <tr>\r\n");
          out.write("           \r\n");
          out.write("            ");
 try
			{
			 if(bmap.get("/oa/oaweb/resmanage/StuffClassAction.do?actionType=query")!=null){
        	if(label.equals("class")){
        	
          out.write("\r\n");
          out.write("              <th scope=\"col\"><table width=\"100%\"  border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
          out.write("                  <tr>\r\n");
          out.write("                    <th width=\"14\" class=\"activelable_left\" scope=\"col\">&nbsp;</th>\r\n");
          out.write("                    <th width=\"26\" align=\"center\" class=\"activelable_middle\" scope=\"col\"><a href=\"StuffClassAction.do?actionType=query&label=class\">·&#20998;&#31867;</a></th>\r\n");
          out.write("                    <th width=\"15\" class=\"activelable_right\" scope=\"col\">&nbsp;</th>\r\n");
          out.write("                  </tr>\r\n");
          out.write("                </table></th>\r\n");
          out.write("                 ");

        	}else{
        		
          out.write("    \r\n");
          out.write("                <th scope=\"col\"><table width=\"100%\"  border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
          out.write("                  <tr>\r\n");
          out.write("                    <th width=\"14\" class=\"lable_left\" scope=\"col\">&nbsp;</th>\r\n");
          out.write("                    <th width=\"26\" align=\"center\" class=\"lable_middle\" scope=\"col\"><a href=\"StuffClassAction.do?actionType=query&label=class\">&#20998;&#31867;</a></th>\r\n");
          out.write("                    <th width=\"15\" class=\"lable_right\" scope=\"col\">&nbsp;</th>\r\n");
          out.write("                  </tr>\r\n");
          out.write("                </table></th>\r\n");
          out.write("                ");
}
}
          out.write("\r\n");
          out.write("                \r\n");
          out.write("         ");
if(bmap.get("/oa/oaweb/resmanage/StuffInfoAction.do?actionType=query")!=null){
          out.write("       \r\n");
          out.write("\t\t ");
if(label.equals("info")){
		 
          out.write("\r\n");
          out.write("              <th scope=\"col\"><table width=\"100%\"  border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
          out.write("                  <tr>\r\n");
          out.write("                    <th class=\"activelable_left\" scope=\"col\">&nbsp;</th>\r\n");
          out.write("                    <th align=\"center\" class=\"activelable_middle\" scope=\"col\"><a href=\"StuffInfoAction.do?actionType=query&label=info\">&#29289;&#21697;&#24211;&#23384;</a></th>\r\n");
          out.write("                    <th class=\"activelable_right\" scope=\"col\">&nbsp;</th>\r\n");
          out.write("                  </tr>\r\n");
          out.write("                </table></th>\r\n");
          out.write("                     ");

        	}else{
        		
          out.write(" \r\n");
          out.write("                <th scope=\"col\"><table width=\"100%\"  border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
          out.write("                  <tr>\r\n");
          out.write("                    <th class=\"lable_left\" scope=\"col\">&nbsp;</th>\r\n");
          out.write("                    <th align=\"center\" class=\"lable_middle\" scope=\"col\"><a href=\"StuffInfoAction.do?actionType=query&label=info\">&#29289;&#21697;&#24211;&#23384;</a></th>\r\n");
          out.write("                    <th class=\"lable_right\" scope=\"col\">&nbsp;</th>\r\n");
          out.write("                  </tr>\r\n");
          out.write("                </table></th>\r\n");
          out.write("                  ");
}
}
          out.write("\r\n");
          out.write("         ");
if(bmap.get("/oa/oaweb/resmanage/StuffRecordAction.do?actionType=query")!=null){
          out.write("          \r\n");
          out.write("\t\t ");
if(label.equals("record")){
		 
          out.write("\r\n");
          out.write("                \r\n");
          out.write("              <th scope=\"col\"><table width=\"100%\"  border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
          out.write("                  <tr>\r\n");
          out.write("                    <th class=\"activelable_left\" scope=\"col\">&nbsp;</th>\r\n");
          out.write("                    <th align=\"center\" class=\"activelable_middle\" scope=\"col\"><a href=\"StuffRecordAction.do?actionType=query&label=record\">&#39046;&#29992;&#30331;&#35760;</a></th>\r\n");
          out.write("                    <th class=\"activelable_right\" scope=\"col\">&nbsp;</th>\r\n");
          out.write("                  </tr>\r\n");
          out.write("                </table></th>\r\n");
          out.write("                      ");

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -