System_privilege_new.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:5k
源码类别:
电子政务应用
开发平台:
Java
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <%@ taglib uri="/vnex_organization.tld" prefix="org" %>
- <HTML><jsp:include page="/vnex/page/FORM_HEAD.jsp" />
- <STYLE>
- #ssm2 A {
- FONT-SIZE: 12px; COLOR: black; FONT-FAMILY: verdana; TEXT-DECORATION: none
- }
- #ssm2 A:hover {
- COLOR: red
- }
- </STYLE>
- <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu_system.js"></script>
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
- <script language="Javascript">
- function dosubmit()
- {
- if (form1.privilegeName.value =="")
- {
- alert("权限名称不能为空!");
- form1.privilegeName.focus();
- return false;
- }
- if (form1.privilegeName.value.length > 12 )
- {
- alert("权限名称长度不能大于12!");
- form1.privilegeName.focus();
- return false;
- }
- if (form1.description.value.length > 25 )
- {
- alert("描述长度不能大于25!");
- form1.description.focus();
- return false;
- }
- if (form1.groupName.value.length > 5 )
- {
- alert("分类长度不能大于5!");
- form1.groupName.focus();
- return false;
- }
- if (form1.type1.value.length > 10 )
- {
- alert("类型长度不能大于10!");
- form1.type1.focus();
- return false;
- }
- form1.action="/mainctrl/system/privilegeCreate";
- form1.submit();
- }
- </script>
- <DIV align=center>
- <form name="form1" method="post" >
- <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
- <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
- <TR>
- <TD colSpan=3 align="center" class="iframestyle" valign="top"> <!--菜单开始 -->
- <br>
- <table width="600" border="1" cellspacing="1" bordercolor="#666666">
- <tr valign="top" bgcolor="#fafafa">
- <td height="178" >
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td bgcolor="#fafafa">
- <table class=title cellpadding="2" cellspacing="1" border="0" width="600">
- <tr>
- <td colspan="2" bgcolor="#666666"><font class="strongw">
- <org:OrganizationNaviBar level="1"/> <a href="/mainctrl/system/privilegeList"><font color="#ffffff">系统权限设置维护</font></a>>>
- 新增系统权限设置</font></td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="15%" align="left"> <font class="strong"> 编号:</font>
- </td>
- <td width="85%" align="left"> 自动产生 </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="15%" align="left"><font class="strong"> 名称:</font></td>
- <td width="85%" align="left">
- <input type="text" name="privilegeName" size="24" value="" class="text">
- * (注:带*为必填内容)
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="15%" align="left" bgcolor="#e0e0e0"><font class="strong"> 描述:</font></td>
- <td width="85%" align="left">
- <input type="text" name="description" size="72" value="" class="text">
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="15%" align="left"><font class="strong"> 分组:</font></td>
- <td width="85%" align="left">
- <input type="text" name="groupName" size="24" value="" class="text">
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="15%" align="left"><font class="strong"> 类型:</font></td>
- <td width="85%" align="left">
- <input type="text" name="type1" size="6" value="" class="text">
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td colspan="2" height="30" align="center">
- <input type="button" value="保存" name="B1" class="text" onclick="dosubmit()">
-
- <input type="button" value="返回" name="B2" onClick="location='/mainctrl/system/privilegeList'" class="text">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <br>
- <br>
- <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
- </TD>
- </TR>
- <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
- </TABLE>
- <BR>
- <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
- </form>
- </DIV>
- </BODY>
- </HTML>