System_privilege_new.jsp
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:5k
源码类别:

电子政务应用

开发平台:

Java

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <%@ taglib uri="/vnex_organization.tld" prefix="org" %>
  3. <HTML><jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  4. <STYLE>
  5. #ssm2 A {
  6. FONT-SIZE: 12px; COLOR: black; FONT-FAMILY: verdana; TEXT-DECORATION: none
  7. }
  8. #ssm2 A:hover {
  9. COLOR: red
  10. }
  11. </STYLE>
  12. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  13. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_system.js"></script>
  14. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  15. <script language="Javascript">
  16. function dosubmit()
  17. {
  18. if (form1.privilegeName.value =="")
  19. {
  20. alert("权限名称不能为空!");
  21. form1.privilegeName.focus();
  22. return false;
  23. }
  24. if (form1.privilegeName.value.length > 12 )
  25. {
  26. alert("权限名称长度不能大于12!");
  27. form1.privilegeName.focus();
  28. return false;
  29. }
  30. if (form1.description.value.length > 25 )
  31. {
  32. alert("描述长度不能大于25!");
  33. form1.description.focus();
  34. return false;
  35. }
  36. if (form1.groupName.value.length > 5 )
  37. {
  38. alert("分类长度不能大于5!");
  39. form1.groupName.focus();
  40. return false;
  41. }
  42. if (form1.type1.value.length > 10 )
  43. {
  44. alert("类型长度不能大于10!");
  45. form1.type1.focus();
  46. return false;
  47. }
  48. form1.action="/mainctrl/system/privilegeCreate";
  49. form1.submit();
  50. }
  51. </script>
  52. <DIV align=center>
  53. <form name="form1" method="post" >
  54.   <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  55.     <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  56.     <TR> 
  57.         <TD colSpan=3 align="center" class="iframestyle" valign="top"> <!--菜单开始 --> 
  58.           <br>
  59.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  60.             <tr valign="top" bgcolor="#fafafa"> 
  61.               <td height="178" > 
  62.                   <table width="100%" border="0" cellspacing="0" cellpadding="0">
  63.                     <tr> 
  64.                     <td bgcolor="#fafafa"> 
  65.                       <table class=title cellpadding="2" cellspacing="1" border="0" width="600">
  66.                         <tr> 
  67.                           <td colspan="2" bgcolor="#666666"><font class="strongw"> 
  68.                             <org:OrganizationNaviBar level="1"/> <a href="/mainctrl/system/privilegeList"><font color="#ffffff">系统权限设置维护</font></a>&gt;&gt; 
  69.                             新增系统权限设置</font></td>
  70.                         </tr>
  71.                         <tr bgcolor="#e0e0e0"> 
  72.                           <td width="15%" align="left"> <font class="strong">&nbsp;编号:</font> 
  73.                           </td>
  74.                           <td width="85%" align="left"> 自动产生 </td>
  75.                         </tr>
  76.                         <tr bgcolor="#fafafa"> 
  77.                           <td width="15%" align="left"><font class="strong">&nbsp;名称:</font></td>
  78.                           <td width="85%" align="left"> 
  79.                             <input type="text" name="privilegeName" size="24" value="" class="text">&nbsp;
  80.                             *&nbsp; (注:带*为必填内容) 
  81.                           </td>
  82.                         </tr>
  83.                         <tr bgcolor="#e0e0e0"> 
  84.                           <td width="15%" align="left" bgcolor="#e0e0e0"><font class="strong">&nbsp;描述:</font></td>
  85.                           <td width="85%" align="left"> 
  86.                             <input type="text" name="description" size="72" value="" class="text">
  87.                           </td>
  88.                         </tr>
  89.                         <tr bgcolor="#fafafa"> 
  90.                           <td width="15%" align="left"><font class="strong">&nbsp;分组:</font></td>
  91.                           <td width="85%" align="left"> 
  92.                             <input type="text" name="groupName" size="24" value="" class="text">
  93.                           </td>
  94.                         </tr>
  95.                         <tr bgcolor="#e0e0e0"> 
  96.                           <td width="15%" align="left"><font class="strong">&nbsp;类型:</font></td>
  97.                           <td width="85%" align="left"> 
  98.                             <input type="text" name="type1" size="6" value="" class="text">
  99.                           </td>
  100.                         </tr>
  101.                         <tr bgcolor="#fafafa"> 
  102.                           <td colspan="2" height="30" align="center"> 
  103.                             <input type="button" value="保存" name="B1" class="text" onclick="dosubmit()">
  104.                             &nbsp;&nbsp; 
  105.                             <input type="button" value="返回" name="B2" onClick="location='/mainctrl/system/privilegeList'" class="text">
  106.                           </td>
  107.                         </tr>
  108.                       </table>
  109.                     </td>
  110.                     </tr>
  111.                   </table>                                                  
  112.               </td>
  113.             </tr>
  114.           </table>
  115.           <br>
  116.           <br>
  117.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  118.        </TD>
  119.      </TR>
  120.      <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  121.   </TABLE>
  122.     <BR>
  123.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  124. </form>
  125. </DIV>
  126. </BODY>
  127. </HTML>