visual studio +sql 企业劳动力管理系统

  • v2_395493
    了解作者
  • 12.9MB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-04-29 02:07
    上传日期
visual studio +sql 企业劳动力管理系统visual studio +sql 企业劳动力管理系统visual studio +sql 企业劳动力管理系统visual studio +sql 企业劳动力管理系统visual studio +sql 企业劳动力管理系统
劳力管理系统.rar
内容介绍
package org.apache.jsp; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; import org.apache.jasper.runtime.*; import com.hr.vo.Employee; public class outwork_jsp extends HttpJspBase { private static java.util.Vector _jspx_includes; private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_form_method_action; private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_hidden_property_name; private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_logic_iterate_property_name_id; private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_text_property_name_indexed; private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_hidden_property_name_indexed; private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_select_property_name_indexed_indexed; private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_optionsCollection_value_property_name_label; public outwork_jsp() { _jspx_tagPool_html_form_method_action = new org.apache.jasper.runtime.TagHandlerPool(); _jspx_tagPool_html_hidden_property_name = new org.apache.jasper.runtime.TagHandlerPool(); _jspx_tagPool_logic_iterate_property_name_id = new org.apache.jasper.runtime.TagHandlerPool(); _jspx_tagPool_html_text_property_name_indexed = new org.apache.jasper.runtime.TagHandlerPool(); _jspx_tagPool_html_hidden_property_name_indexed = new org.apache.jasper.runtime.TagHandlerPool(); _jspx_tagPool_html_select_property_name_indexed_indexed = new org.apache.jasper.runtime.TagHandlerPool(); _jspx_tagPool_html_optionsCollection_value_property_name_label = new org.apache.jasper.runtime.TagHandlerPool(); } public java.util.List getIncludes() { return _jspx_includes; } public void _jspDestroy() { _jspx_tagPool_html_form_method_action.release(); _jspx_tagPool_html_hidden_property_name.release(); _jspx_tagPool_logic_iterate_property_name_id.release(); _jspx_tagPool_html_text_property_name_indexed.release(); _jspx_tagPool_html_hidden_property_name_indexed.release(); _jspx_tagPool_html_select_property_name_indexed_indexed.release(); _jspx_tagPool_html_optionsCollection_value_property_name_label.release(); } public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { JspFactory _jspxFactory = null; javax.servlet.jsp.PageContext pageContext = null; HttpSession session = null; ServletContext application = null; ServletConfig config = null; JspWriter out = null; Object page = this; JspWriter _jspx_out = null; try { _jspxFactory = JspFactory.getDefaultFactory(); response.setContentType("text/html; charset=GBK"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("<html>\r\n"); out.write("<head>\r\n "); out.write("<link rel=\"STYLESHEET\" type=\"text/css\" href=\"css/shared.css\">\r\n"); out.write("<title>\r\nlistsalary\r\n"); out.write("</title>\r\n"); out.write("<script language=\"javascript\">\r\nvar selectedTr = null;\r\nfunction setTrColor(colorTr,color)\r\n{\r\n if(colorTr.tagName==\"TR\")\r\n {\r\n for(var i=0;i"); out.write("<colorTr.childNodes.length;i++)\r\n {\r\n colorTr.childNodes(i).style.backgroundColor = color;\r\n colorTr.childNodes(i).children(0).style.backgroundColor = color;\r\n }\r\n }\r\n}\r\nfunction addoutwork()\r\n{\r\n document.outWorkActionForm.operation.value = \"add\";\r\n document.outWorkActionForm.submit();\r\n}\r\nfunction deleteoutwork()\r\n{\r\n\r\n if(selectedTr!=null)\r\n { alert(selectedTr.childNodes(0).children(1).value);\r\n\tif(selectedTr.childNodes(0).children(1).value!=0&&selectedTr.childNodes(0).children(1).value!=null)\r\n {\r\n\t\tdocument.outWorkActionForm.deleteUID.value = selectedTr.childNodes(0).children(1).value;\r\n\t\tdocument.outWorkActionForm.operation.value=\"delete\";\r\n\t\toutworkRows.removeChild(selectedTr);\r\n \t\tselectedTr = null;\r\n \t\tdocument.outWorkActionForm.submit();\r\n }else\r\n\t{\r\n\t\toutworkRows.removeChild(selectedTr);\r\n\t\tselectedTr = null;\r\n\t}\r\n }\r\n}\r\nfunction saveoutwork()\r\n{\r\n\r\n \tdocument.outWorkActionForm.operation.value = \"save\";\r\n\tdocument.outWorkActionForm.submit();\r\n}\r\nfunction onClickedCell()\r\n"); out.write("{\r\n var clickedcell = event.srcElement;\r\n if(selectedTr!=null)\r\n{\r\n setTrColor(selectedTr,\"#FFFFFF\");\r\n}\r\n while(clickedcell.tagName!=\"TR\")\r\n {\r\n clickedcell = clickedcell.parentElement;\r\n }\r\n selectedTr = clickedcell;\r\n setTrColor(selectedTr,\"#FFDDFF\");\r\n}\r\n"); out.write("</script>\r\n"); out.write("</head>\r\n"); out.write("<body bgcolor=\"#ffffff\" >\r\n"); out.write("<h3 align=\"center\">\r\n员工出差信息\r\n"); out.write("</h3>\r\n"); out.write("<br>\r\n"); out.write("<hr height=1 />\r\n"); /* ---- 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(pageContext); _jspx_th_html_form_0.setParent(null); _jspx_th_html_form_0.setMethod("post"); _jspx_th_html_form_0.setAction("outWorkAction.do"); 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\n"); if (_jspx_meth_html_hidden_0(_jspx_th_html_form_0, pageContext)) return; out.write("\r\n"); if (_jspx_meth_html_hidden_1(_jspx_th_html_form_0, pageContext)) return; out.write("\r\n"); out.write("<table width=\"100%\">\r\n"); out.write("<tr>\r\n"); out.write("<td class=\"tdframe\">\r\n"); out.write("<table class=\"table1\" width=\"100%\">\r\n"); out.write("<thead class=\"tdsectionbar\">\r\n"); out.write("<td align=\"center\" class=\"tdsectionbar\" >出差开始"); out.write("</td>\r\n"); out.write("<td align=\"center\" class=\"tdsectionbar\" >出差结束"); out.write("</td>\r\n"); out.write("<td align=\"center\" class=\"tdsectionbar\" >出差天数"); out.write("</td>\r\n"); out.write("<td align=\"center\" class=\"tdsectionbar\" >员工"); out.write("</td>\r\n"); out.write("<td align=\"center\" class=\"tdsectionbar\" >差旅费(元)"); out.write("</td>\r\n"); out.write("<td align=\"center\" class=\"tdsectionbar\" >住宿费(元)"); out.write("</td>\r\n"); out.write("<td align=\"center\" class=\"tdsectionbar\" >从公司借(元)"); out.write("</td>\r\n"); out.write("<td align=\"center\" class=\"tdsectionbar\" >归还公司(元)"); out.write("</td>\r\n"); out.write("<td align=\"center\" class=\"tdsectionbar\" >备注"); out.write("</td>\r\n"); out.write("</thead>\r\n"); out.write("<tbody id=\"outworkRows\" onclick=\"onClickedCell()\">\r\n"); /* ---- logic:iterate ---- */ org.apache.struts.taglib.logic.IterateTag _jspx_th_logic_iterate_0 = (org.apa
评论
    相关推荐