⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c0facbd79630001d1f81bebe3c68a6df

📁 客户关系管理系统主要管理新老客户的一些信息并可以发现潜在客户
💻
字号:
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%@ include file="/commons/taglibs.jsp" %>

<html>
  <head>

    
    <title>My JSP 'clientList.jsp' starting page</title>
    <%@ include file="/commons/meta.jsp" %>
    
   <script Language="JavaScript">
	function CheckForm()
	{
	   if(document.form1.USER_PRIV.value=="1")
	   { if(!window.confirm("本角色为内置的‘超级系统管理员’角色,确定要改其名称吗?"))
	     return (false);
	   }
	   
	   if(document.form1.description.value=="")
	   { alert("角色描述不能为空!");
	     return (false);
	   }
	
	   if(document.form1.roleName.value=="")
	   { alert("角色称谓不能为空!");
	     return (false);
	   }
	}
</script>
  </head>
  
  <body class="bodycolor" topmargin="5" onload="document.form1.PRIV_NO.focus();">
<table     class="title1">
  <tr>
    <td class="Big"><img src="${ctx }/images/edit.gif" WIDTH="16" HEIGHT="16" align="absmiddle"><span class="big3"> 新建角色</span>
    </td>
  </tr>
</table>

<form action="role.do"  method="post" name="form1" onsubmit="return CheckForm();">
<html:hidden property="p" value="save"/>
<html:hidden property="id" value="${roleForm.id }"/>
<table     class="tablestyle1">
  
   <tr>
    <td nowrap class="TableData" width="25%">角色名称:</td>
    <td nowrap class="TableData">
        <html:text property="roleName" styleClass="BigInput" size="20" maxlength="100"/>&nbsp;
        <font color="red"><html:errors property="roleName"/></font>
    </td>
   </tr>
   <tr>
    <td nowrap class="TableData">角色描述:</td>
    <td nowrap class="TableData">
        <html:textarea  property="description" cols="57" rows="3" styleClass="BigInput" />&nbsp;
        <font color="red"><html:errors property="roleName"/></font>
    </td>
   </tr>
    <td class="TableControl" colspan="2" align="center">
        <input type="hidden" value="" name="USER_PRIV">
        <input type="submit" value="确定" class="BigButton">&nbsp;&nbsp;
        <input type="button" value="返回" class="BigButton" onclick="history.back(-1)">
    </td>

</table>
  </form>


</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -