/*
 * Generated by the Jasper component of Apache Tomcat
 * Version: Apache Tomcat/7.0.47
 * Generated at: 2026-06-29 07:37:38 UTC
 * Note: The last modified time of this file was set to
 *       the last modified time of the source file after
 *       generation to assist with modification tracking.
 */
package org.apache.jsp.pages.common;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public final class selectorg_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static final javax.servlet.jsp.JspFactory _jspxFactory =
          javax.servlet.jsp.JspFactory.getDefaultFactory();

  private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;

  private javax.el.ExpressionFactory _el_expressionfactory;
  private org.apache.tomcat.InstanceManager _jsp_instancemanager;

  public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
    return _jspx_dependants;
  }

  public void _jspInit() {
    _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
    _jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
  }

  public void _jspDestroy() {
  }

  public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
        throws java.io.IOException, javax.servlet.ServletException {

    final javax.servlet.jsp.PageContext pageContext;
    javax.servlet.http.HttpSession session = null;
    final javax.servlet.ServletContext application;
    final javax.servlet.ServletConfig config;
    javax.servlet.jsp.JspWriter out = null;
    final java.lang.Object page = this;
    javax.servlet.jsp.JspWriter _jspx_out = null;
    javax.servlet.jsp.PageContext _jspx_page_context = null;


    try {
      response.setContentType("text/html; charset=UTF-8");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\n");
      out.write("<!DOCTYPE html>\n");
      out.write("<html>\n");
      out.write("<head>\n");
      out.write("<link rel=\"stylesheet\" href=\"/layui/css/layui.css\"\n");
      out.write("\t  media=\"all\">\n");
      out.write("<link rel=\"stylesheet\" href=\"/com/com.css\" media=\"all\">\n");
      out.write("<script src=\"/jquery/jquery.min-1.12.3.js\" charset=\"utf-8\"></script>\n");
      out.write("<script src=\"/com/com.js\" charset=\"utf-8\"></script>\n");
      out.write("<link rel=\"stylesheet\"\n");
      out.write("\thref=\"/ztree/css/zTreeStyle/zTreeStyle.css\" type=\"text/css\">\n");
      out.write("\n");
      out.write("<script type=\"text/javascript\"\n");
      out.write("\tsrc=\"/ztree/js/jquery.ztree.core.js\"></script>\n");
      out.write("\n");
      out.write("<meta charset=\"utf-8\">\n");
      out.write("<title>layui</title>\n");
      out.write("<meta name=\"renderer\" content=\"webkit\">\n");
      out.write("<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\">\n");
      out.write("<meta name=\"viewport\"\n");
      out.write("\tcontent=\"width=device-width, initial-scale=1, maximum-scale=1\">\n");
      out.write("<style type=\"text/css\">\n");
      out.write(".leftPart {\n");
      out.write("\tfloat: left;\n");
      out.write("\twidth: 250px;\n");
      out.write("}\n");
      out.write("\n");
      out.write(".rightPart {\n");
      out.write("\tpostion: absuloted;\n");
      out.write("\tmargin-left: 200px;\n");
      out.write("}\n");
      out.write("\n");
      out.write("#treeDemo {\n");
      out.write("\tborder: 1px solid #e4e4e4;\n");
      out.write("\tbackground: #fff;\n");
      out.write("\twidth: 600px;\n");
      out.write("\theight: 800px;\n");
      out.write("\toverflow-y: scroll;\n");
      out.write("\toverflow-x: auto;\n");
      out.write("}\n");
      out.write("</style>\n");
      out.write("</head>\n");
      out.write("<body>\n");
      out.write("\n");
      out.write("\t<div style=\"height: 5px;\"></div>\n");
      out.write("\n");
      out.write("\t<div class=\"zTreeDemoBackground\">\n");
      out.write("\t\t<ul id=\"treeDemo\" class=\"ztree\"></ul>\n");
      out.write("\n");
      out.write("\t</div>\n");
      out.write("\n");
      out.write("\t");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\t<script src=\"/layui/layui.all.js\" charset=\"utf-8\"></script>\n");
      out.write("\t<script>\n");
      out.write("var setting = {\n");
      out.write("\t\tdata : {\n");
      out.write("\t\t\tkey : {\n");
      out.write("\t\t\t\ttitle : \"t\"\n");
      out.write("\t\t\t},\n");
      out.write("\t\t\tsimpleData : {\n");
      out.write("\t\t\t\tenable : true\n");
      out.write("\t\t\t}\n");
      out.write("\t\t},\n");
      out.write("\t\tcallback : {\n");
      out.write("\t\t\tbeforeClick : beforeClick,\n");
      out.write("\t\t\tonClick : onClick\n");
      out.write("\t\t}\n");
      out.write("\t};\n");
      out.write("\n");
      out.write("\t\n");
      out.write("\tvar log, className = \"dark\";\n");
      out.write("\tfunction beforeClick(treeId, treeNode, clickFlag) {\n");
      out.write("\t\tclassName = (className === \"dark\" ? \"\" : \"dark\");\n");
      out.write("\t\treturn (treeNode.click != false);\n");
      out.write("\t}\n");
      out.write("\tvar departmentId = \"\";\n");
      out.write("\tfunction onClick(event, treeId, treeNode, clickFlag) {\n");
      out.write("\t\tparent.setOrg(treeNode);\n");
      out.write("\n");
      out.write("\t}\n");
      out.write("\tfunction getTime() {\n");
      out.write("\t\tvar now = new Date(), h = now.getHours(), m = now.getMinutes(), s = now\n");
      out.write("\t\t\t\t.getSeconds();\n");
      out.write("\t\treturn (h + \":\" + m + \":\" + s);\n");
      out.write("\t}\n");
      out.write("\t\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("layui.use(['table','form'], function(){\n");
      out.write("\t\n");
      out.write("\tvar form = layui.form;\n");
      out.write("\t\n");
      out.write("\tAjaxTool.XPost(\"/common/department\", {}, function(data) {\n");
      out.write("\t\tvar treeData = data.data;\n");
      out.write("\t\t\n");
      out.write("\t\tvar treeObj = $.fn.zTree.init($(\"#treeDemo\"), setting, treeData);\n");
      out.write("\t\ttreeObj.expandAll(true);\n");
      out.write("\t\t\n");
      out.write("\t\t//layer.msg(JSON.stringify(data),{icon:1});\n");
      out.write("\t}, function(err) {\n");
      out.write("\t\tlayer.msg(\"err\", {\n");
      out.write("\t\t\ticon : 2\n");
      out.write("\t\t});\n");
      out.write("\t});\n");
      out.write("\t\n");
      out.write("\t\n");
      out.write("\t\n");
      out.write("  var table = layui.table;\n");
      out.write("\n");
      out.write("  \n");
      out.write("\n");
      out.write("  \n");
      out.write("  $('.demoTable .layui-btn,.savedata_').on('click', function(){\n");
      out.write("    var type = $(this).data('type');\n");
      out.write("    active[type] ? active[type].call(this) : '';\n");
      out.write("  });\n");
      out.write("\n");
      out.write("});\n");
      out.write("</script>\n");
      out.write("\n");
      out.write("</body>\n");
      out.write("</html>");
    } catch (java.lang.Throwable t) {
      if (!(t instanceof javax.servlet.jsp.SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try { out.clearBuffer(); } catch (java.io.IOException e) {}
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
        else throw new ServletException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
}
