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

📄 linkmaninfo.jsp

📁 自己制作的联通CRM,支持客户分类,管理,升级,积分管理等等..
💻 JSP
字号:
<%@ page contentType="text/html; charset=GBK" language="java"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean"
	prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html"
	prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic"
	prefix="logic"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/UrlTag" prefix="UrlTag"%>
<html:html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
	<meta http-equiv="pragma" content="no-cache" />
	<meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
	<meta http-equiv="expires" content="Wed, 26 Feb 1970 08:21:57 GMT" />
	<link href="${pageContext.request.contextPath}/image/main.css"
		rel="stylesheet" type="text/css">
	<title>用户详细资料</title>


	<style type="text/css">
<!--
.STYLE1 {
	font-size: 14px;
	font-weight: bold;
	font-family: "宋体";
}

http://bbs.51js.com/viewthread.php?tid=47590
-->
    </style>

	<script language="javascript">

	function closewindow()
	{
		window.close();
	}
	
	function addinfosub(){
		var a = document.getElementById("name0");
		if(a.value=="0"){
			alert("集团名称必须选择!");
			form1.companyname.focus();
		}
		else if(form1.linkman.value.length==0){
			alert("联系人姓名必须填写!");
			form1.linkman.focus();
		}
		else if(form1.linkmanduty.value.length==0){
			alert("联系人职务必须填写!");
			form1.linkmanduty.focus();
		}
		else if(form1.contacttype.value.length==0){
			alert("具体联系方式必须填写!");
			form1.contacttype.focus();
		}
		else {
			
			form1.submit();
		}
	}
	
	function modinfosub(){
		if(form1.linkman.value.length==0){
			alert("联系人姓名必须填写!");
			form1.linkman.focus();
		}
		else if(form1.linkmanduty.value.length==0){
			alert("联系人职务必须填写!");
			form1.linkmanduty.focus();
		}
		else if(form1.contacttype.value.length==0){
			alert("具体联系方式必须填写!");
			form1.contacttype.focus();
		}
		else {
			
			form1.submit();
		}
	}
	
	function cancelinfo(){
		if(window.confirm("您确定取消操作吗?")){
			window.location.href="${pageContext.request.contextPath}/linkmanInfoManage.do?tag=enterPageInfo";
		}
	
	}
	
</script>


</head>
<body>
	<table width="100%" border="0" align="center" cellpadding="0"
		cellspacing="0">
		<tr>
			<td align="center" valign="middle">
				<table width="80%" border="0" cellpadding="0" cellspacing="0">
					<tr>
						<td height="20" align="center" valign="middle">
							<span class="STYLE1">集 团 联 系 人 信 息 编 辑</span>
						</td>
					</tr>
				</table>
				<table width="80%" border="1" cellpadding="0" cellspacing="0"
					bordercolor="#D71920">
					<tr>
						<td align="center" valign="middle">
							<table width="100%" border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td height="10" colspan="3">
										&nbsp;


									</td>
								</tr>
								<tr>
									<td width="4%">
										&nbsp;


									</td>
									<td width="92%">
										<html:form action="/linkmanInfoManage" styleId="form1">
											<table width="100%" border="1" cellspacing="0"
												cellpadding="0" id="ttc">
												<logic:equal value="add" name="linkmanInfoManageForm"
													scope="request" property="tag">
													<tr>
														<td height="20" align="right" valign="middle" id="ttc"
															width="30%">
															集团名称:
														</td>
														<td align="left" valign="middle" nowrap id="ttc"
															width="40%">
															&nbsp;
															<html:select property="companyid" styleId="name0">
																	<html:option value="0">
																		==选择集团==
																	</html:option>
																	<logic:iterate id="company" name="companylist"
																		scope="request">
																		<html:option value="${company.companyid},${company.companyname}">
																			${company.companyname}
																		</html:option>
																	</logic:iterate>
															</html:select>
														</td>
														<td width="30%" align="left" valign="middle" id="ttc">
															&nbsp;
															<span style="color: red;">请选择集团名称</span>
														</td>
													</tr>
												</logic:equal>
												<logic:equal value="mod" name="linkmanInfoManageForm"
													scope="request" property="tag">
													<tr>
														<td height="20" align="right" valign="middle" id="ttc"
															width="30%">
															集团名称:
														</td>
														<td align="left" valign="middle" nowrap id="ttc"
															width="40%">
															&nbsp;
															<html:text property="companyname" readonly="true"></html:text>
															<html:hidden property="companyid"/>
															<html:hidden property="nid"/>
														</td>
														<td width="30%" align="left" valign="middle" id="ttc">
															&nbsp;
														</td>
													</tr>
												</logic:equal>
												<tr id="aa" style="">
													<td height="20" align="right" valign="middle" nowrap
														id="ttc" width="30%">
														联系人姓名:
													</td>
													<td align="left" valign="middle" nowrap id="ttc"
														width="40%">
														&nbsp;
														<html:text property="linkman"></html:text>
													</td>
													<td width="30%" align="left" valign="middle" id="ttc">
														&nbsp;
													</td>
												</tr>
												<tr>
													<td height="20" align="right" valign="middle" nowrap
														id="ttc" width="30%">
														联系人职务
													</td>
													<td align="left" valign="middle" nowrap id="ttc"
														width="40%">
														&nbsp;
														<html:text property="linkmanduty"></html:text>
													</td>
													<td width="30%" align="left" valign="middle" id="ttc">
														&nbsp;
													</td>
												</tr>
												<tr>
													<td height="24" align="right" valign="middle" nowrap
														id="ttc" width="30%">
														具体联系方式:
													</td>
													<td align="left" valign="middle" nowrap id="ttc"
														width="40%">
														&nbsp;
														<html:text property="contacttype"></html:text>
													</td>
													<td width="30%" align="left" valign="middle" id="ttc" nowrap>
														&nbsp;
														<span style="color: red;">写详细点,以便联系!</span>
													</td>
												</tr>
												<tr>
													<td height="20" colspan="3" align="center" valign="middle"
														nowrap id="ttc">
														<logic:equal value="add" name="linkmanInfoManageForm"
															property="tag" scope="request">
															<input type="button" value="取消" onClick="cancelinfo();" />
															&nbsp;&nbsp;&nbsp;&nbsp;
															<html:hidden property="tag" value="addinfo"/>															
															<input type="button" value="确定" onClick="addinfosub();" />
														</logic:equal>
														<logic:equal value="mod" name="linkmanInfoManageForm"
															property="tag" scope="request">
															<input type="button" value="取消" onClick="cancelinfo();" />
															&nbsp;&nbsp;&nbsp;&nbsp;
															<html:hidden property="tag" value="modinfo"/>
															<input type="button" value="确定" onClick="modinfosub();" />
														</logic:equal>
													</td>
												</tr>
											</table>
										</html:form>
									</td>
									<td width="4%">
										&nbsp;


									</td>
								</tr>
								<tr>
									<td height="10" colspan="3">
										&nbsp;


									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
</body>
</html:html>

⌨️ 快捷键说明

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