/*
 * Generated by the Jasper component of Apache Tomcat
 * Version: ......
 * Generated at: 2022-03-16 06:26:49 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;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.*;
import java.text.*;
import wiseoa.*;
import wiseoa.car.jstl.*;
import wiseoa.mail.jstl.*;
import java.util.*;
import java.net.*;
import wiseoa.*;
import wiseoa.util.*;
import wiseoa.RBAC.*;
import wiseoa.mail.jstl.*;
import wiseoa.util.*;

public final class car_005fright_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;

  static {
    _jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(1);
    _jspx_dependants.put("/rightverify.jsp", Long.valueOf(1476341677059L));
  }

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

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

  public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
    if (_el_expressionfactory == null) {
      synchronized (this) {
        if (_el_expressionfactory == null) {
          _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
        }
      }
    }
    return _el_expressionfactory;
  }

  public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
    if (_jsp_instancemanager == null) {
      synchronized (this) {
        if (_jsp_instancemanager == null) {
          _jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
        }
      }
    }
    return _jsp_instancemanager;
  }

  public void _jspInit() {
  }

  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("\r\n");
      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("\r\n");
      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("\r\n");
      out.write("\r\n");
      out.write(" \r\n");
      out.write("\r\n");
      out.write("\r\n");
  
	
	//éå¸¸æ¯å¯¹äºé£æ­¤éè¦æç®¡çåæéçé¡µé¢ç¨åå«æ¬é¡µé¢çæ¹å¼æ¥è¿è¡æéæ§å¶
	// å¦æå½åç¨æ·æç®¡çåæéï¼é£ä¹ç´æ¥è¿å
	// å¦æå½åé¡µé¢æ²¡æå å¥å°å·¥ä½å°ä¸­ï¼è¡¨ç¤ºæ²¡æè¿è¡é¢å¤ææï¼é£ä¹æç¤ºæ æé
	//å¦æå å¥å°äºå·¥ä½å°ï¼å¹¶ä¸åéå½åç¨æ·æ¥ææéï¼é£ä¹ok 
	User user=User.getUserFromRequest( request);
	 
	 if ( user.getRole()!=1) //å¦æä¸æ¯ç³»ç»ç®¡çæéçäººï¼
	 {
		 	String url =WiseFilter.getShortURL( request); 
			int unit = user.getUnit();
		 
			RBAC_cache cache = RBAC_cache.getInstance(null, unit);
 			if (!cache.needVerify(url)) 
 			{
 				String s= User.TIP_NORIGHT;
	 			response.sendRedirect( "SystemTip.jsp?info="+  URLEncoder.encode(s,"UTF-8") );
	 			return;
			} 

            //å¦æä¹æ²¡æè¿è¡å·¥ä½å°ææ
  	 		if ( ! WiseFilter.urlOnCommision( user, url ,0) ) 
			{ 
 	    		String s= User.TIP_NORIGHT;
	 			response.sendRedirect( "SystemTip.jsp?info="+  URLEncoder.encode(s,"UTF-8") );
	 			return;
			}
	 
	 }


      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("  \r\n");
  
    request.setCharacterEncoding("UTF-8");
    FF.setResponseContentType(response);
	 

      out.write("\r\n");
      out.write("\r\n");
      out.write("<HTML>\r\n");
      out.write("  <head><meta http-equiv=\"X-UA-Compatible\" content=\"IE=EmulateIE7\" />\r\n");
      out.write(" \r\n");
      out.write("    <META http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\r\n");
      out.write("    <TITLE>车辆管理</TITLE>\r\n");
      out.write("    \r\n");
      out.write("    <META http-equiv=\"pragma\" content=\"no-cache\">\r\n");
      out.write("    <META http-equiv=\"cache-control\" content=\"no-cache\">\r\n");
      out.write("    <META http-equiv=\"expires\" content=\"0\">\r\n");
      out.write("    \r\n");
      out.write("    \r\n");
      out.write("    \r\n");
      out.write("     \r\n");
      out.write("    <LINK rel=\"stylesheet\" type=\"text/css\" href=\"css/normal.css\">\r\n");
      out.write("\r\n");
      out.write("\t\r\n");
      out.write("\t<LINK href=\"grid/runtime/styles/xp/grid.css\" rel=\"stylesheet\" type=\"text/css\" ></link>\r\n");
      out.write("\t\r\n");
      out.write("\t \r\n");
      out.write(" <!-- grid format -->\r\n");
      out.write("\t<STYLE>\r\n");
      out.write("\t\t \r\n");
      out.write("\t\tbody {margin-left: 1px;\tmargin-top: 0px;\tmargin-right: 0px;\tmargin-bottom: 0px; background-color:#EEEEEE}\r\n");
      out.write("\t\r\n");
      out.write("    \t.selectspan  { border:1px solid #a0a0a0;overflow:hidden;width:150;}\r\n");
      out.write("\t    .flatselect { width:153;margin:-2;}\r\n");
      out.write(" \r\n");
      out.write("\t.style1 {color: #666699}\r\n");
      out.write("    </STYLE>\r\n");
      out.write("\t\r\n");
      out.write("\t  <LINK rel=\"stylesheet\" type=\"text/css\" href=\"zbutton/zbutton.css\">\r\n");
      out.write("    <SCRIPT type=\"text/javascript\" src=\"zbutton/zbutton.js\"></SCRIPT>\r\n");
      out.write("\t  <SCRIPT type=\"text/javascript\" src=\"js/jsrsClient_rev.js\"></SCRIPT>\t \r\n");
      out.write(" \r\n");
      out.write("\t\r\n");
      out.write("</HEAD>\r\n");
      out.write("  \r\n");
      out.write("  <BODY>\r\n");
      out.write(" <table width=\"100%\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td width=\"20%\" height=35 align=\"center\" valign=\"middle\" nowrap background=\"image/grayband1.jpg\" inline><span class=\"c1\">&nbsp;</span><span class=\"px16\">&nbsp;<img src=\"image/car.gif\" width=\"64\" height=\"32\" align=\"absmiddle\">&nbsp;车辆管理权限设置&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></td>\r\n");
      out.write("    <td width=\"45\" background=\"image/grayband2.jpg\"><img src=\"image/grayband2.jpg\" width=\"45\" height=\"35\"></td>\r\n");
      out.write("    <td width='90%' align=\"left\" valign=\"bottom\" nowrap background=\"image/grayband3.jpg\" style='padding-bottom=5' ><SPAN class=\"px12\"   id=info  >\t\r\n");
      out.write("    &nbsp;&nbsp;&nbsp;</td>\r\n");
      out.write("  </tr>\r\n");
      out.write("</table>\r\n");
      out.write("\r\n");
      out.write(" \r\n");
      out.write(" <table border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td width=\"10\" height=\"31\">&nbsp;</td>\r\n");
      out.write("    <td width=\"373\">&nbsp;</td>\r\n");
      out.write("   </tr>\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td height=\"30\">&nbsp;</td>\r\n");
      out.write("    <td>拥有用车申请批复权限的人员列表(<span class=\"style1\">多个人员名字之间用空格分开</span>)</td>\r\n");
      out.write("   </tr>\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td>&nbsp;</td>\r\n");
      out.write("    <td><input class='textbox' type=\"text\" id=\"s1\" value='");
      out.print(System_BaseInfo.getInstance(request).CarAssessUserNameList);
      out.write("'></td>\r\n");
      out.write("   </tr>\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td>&nbsp;</td>\r\n");
      out.write("    <td>&nbsp;</td>\r\n");
      out.write("   </tr>\r\n");
      out.write("    <tr>\r\n");
      out.write("    <td height=\"30\">&nbsp;</td>\r\n");
      out.write("    <td>拥有用车结算管理权限的人员列表(<span class=\"style1\">多个人员名字之间用空格分开</span>)</td>\r\n");
      out.write("   </tr>\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td>&nbsp;</td>\r\n");
      out.write("    <td><input class='textbox' type=\"text\" id=\"s4\" value='");
      out.print(System_BaseInfo.getInstance(request).CarCost2UserNameList);
      out.write("'></td>\r\n");
      out.write("   </tr>\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td>&nbsp;</td>\r\n");
      out.write("    <td>&nbsp;</td>\r\n");
      out.write("   </tr>\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td>&nbsp;</td>\r\n");
      out.write("    <td>拥有车辆费用管理的人员列表(<span class=\"style1\">多个人员名字之间用空格分开</span>)</td>\r\n");
      out.write("   </tr>\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td>&nbsp;</td>\r\n");
      out.write("    <td><input class='textbox' type=\"text\" id=\"s2\" value='");
      out.print(System_BaseInfo.getInstance(request).CarCostUserNameList);
      out.write("'></td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td>&nbsp;</td>\r\n");
      out.write("    <td>&nbsp;</td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td>&nbsp;</td>\r\n");
      out.write("    <td>拥有车辆信息设置权限的人员列表(<span class=\"style1\">多个人员名字之间用空格分开</span>)</td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td>&nbsp;</td>\r\n");
      out.write("    <td><input class='textbox' type=\"text\" id=\"s3\" value='");
      out.print(System_BaseInfo.getInstance(request).CarConfigUserNameList);
      out.write("'> </td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td>&nbsp;</td>\r\n");
      out.write("    <td>&nbsp;</td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td>&nbsp;</td>\r\n");
      out.write("    <td align='right'>\r\n");
      out.write("\t<SCRIPT language=\"javascript\">\r\n");
      out.write("\t\t \t\t\t\tfunction cb_save_onclick()\r\n");
      out.write("\t\t\t\t\t\t{\r\n");
      out.write("\t\t\t\t\t\t   var p=new Array(4);\r\n");
      out.write("\t\t\t\t\t\t\tp[0]= document.getElementById('s1').value;\r\n");
      out.write("\t\t\t\t\t\t\tp[1]= document.getElementById('s2').value;\r\n");
      out.write("\t\t\t\t\t\t\tp[2]= document.getElementById('s3').value;\r\n");
      out.write("\t\t\t\t\t\t\tp[3]= document.getElementById('s4').value;\r\n");
      out.write("\t\t\t\t\t\t\t\r\n");
      out.write("\t\t\t\t\t\t\tjsrsExecute(\"servlet/wiseoa.mail.rpc.Admin_System_Base\", callback, \"SetCarManager\", p ,false);\r\n");
      out.write("  \r\n");
      out.write("\t\t\t\t\t    }\r\n");
      out.write("\t\t\t\t\t\t\r\n");
      out.write("\t\t\t\t\t\tfunction  callback(msg)\r\n");
      out.write("\t\t\t\t\t\t{\r\n");
      out.write("\t\t\t\t\t\t\tif (extractValue(msg ,\"ok\")==\"true\") \r\n");
      out.write("\t\t\t\t\t\t\t{\r\n");
      out.write("\t\t\t\t\t\t\t   alert(\"保存成功.\");\r\n");
      out.write("\t\t\t\t\t\t\t \r\n");
      out.write("\t\t\t\t\t\t\t}else\r\n");
      out.write("\t\t\t\t\t\t\t{\r\n");
      out.write("\t\t\t\t\t\t\t   alert ( extractValue(msg, \"error\"));\r\n");
      out.write("\t\t\t\t\t\t\t} \r\n");
      out.write("\t\t\t\t\t\t}\r\n");
      out.write("\t\r\n");
      out.write("\t\t\t\t\t\r\n");
      out.write("\t\t\t\t\t var cb =new zbutton('cb_save','保存','image/disk.gif');\r\n");
      out.write("        \t</SCRIPT>\r\n");
      out.write("\t</td>\r\n");
      out.write("  </tr>\r\n");
      out.write("</table>\r\n");
      out.write("\r\n");
      out.write("   \r\n");
      out.write("  </BODY>\r\n");
      out.write("   \r\n");
      out.write("</HTML>\r\n");
    } catch (java.lang.Throwable t) {
      if (!(t instanceof javax.servlet.jsp.SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try {
            if (response.isCommitted()) {
              out.flush();
            } else {
              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);
    }
  }
}
