📄 linkmaninfomanage.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"></style>
<script language="javascript">
function deleteinfo(nid){
if(window.confirm("您确定删除此集团的联系人资料吗?")){
window.location.href="${pageContext.request.contextPath}/linkmanInfoManage.do?tag=removeInfo&nid="+nid;
}
}
function detail(nid){
window.open("${pageContext.request.contextPath}/linkmanInfoManage.do?tag=searchDetail&nid=" + nid,"_blank","top=100,left=200,height=560,width=550");
}
</script>
</head>
<body>
<html:form action="/linkmanInfoManage" styleId="form1" method="POST">
<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 style="font-size: 14px;font-weight: bold" 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">
</td>
</tr>
<tr>
<td width="4%">
</td>
<td width="92%">
<table width="100%" border="1" cellspacing="0"
cellpadding="0" id="ttc">
<tr>
<td height="20" id="ttc" nowrap>
<div align="left">
输入集团编号查询:
<label>
<html:text property="companyid"></html:text>
</label>
<label>
或集团名称:
<html:text property="companyname"></html:text>
</label>
<label>
或联系人:
<html:text property="linkman"></html:text>
<html:hidden property="tag" value="searchinfo" />
<html:submit value="查询"></html:submit>
</label>
</div>
</td>
</tr>
</table>
<br>
<table width="100%" border="1" cellspacing="0"
cellpadding="0" id="ttc">
<tr>
<td width="11%" height="21" align="center" valign="middle"
nowrap id="ttc">
<div align="center">
编号
</div>
</td>
<td height="20" align="center" valign="middle" nowrap
id="ttc">
<div align="center">
集团编号
</div>
</td>
<td align="center" valign="middle" nowrap id="ttc">
<div align="center">
集团名称
</div>
</td>
<td align="center" valign="middle" nowrap id="ttc">
<div align="center">
联系人姓名
</div>
</td>
<td align="center" valign="middle" nowrap id="ttc">
<div align="center">
联系人职务
</div>
</td>
<td align="center" valign="middle" nowrap id="ttc">
<div align="center">
具体联系方式
</div>
</td>
<td align="center" valign="middle" nowrap id="ttc">
<div align="center">
操作 ||
<a
href="${pageContext.request.contextPath}/linkmanInfoManage.do?tag=add">添加</a>
</div>
</td>
</tr>
<logic:empty name="list" scope="request">
<tr>
<td colspan="8" align="center" id="ttc">
此时没有信息
</td>
</tr>
</logic:empty>
<logic:notEmpty name="list" scope="request">
<logic:iterate id="company" name="list" scope="request">
<tr>
<td height="20" align="center" valign="middle" nowrap
id="ttc">
${company.nid}
</td>
<td height="20" align="center" valign="middle" nowrap
id="ttc">
${company.companyid}
</td>
<td height="20" align="center" valign="middle" nowrap
id="ttc">
${company.companyname}
</td>
<td align="center" valign="middle" nowrap id="ttc">
${company.linkman}
</td>
<td align="center" valign="middle" nowrap id="ttc">
${company.linkmanduty}
</td>
<td align="center" valign="middle" nowrap id="ttc">
${company.contacttype}
</td>
<td align="center" valign="middle" nowrap id="ttc">
<a
href="${pageContext.request.contextPath}/linkmanInfoManage.do?tag=mod&nid=${company.nid}">修改</a>
||
<a href="#" onclick="deleteinfo(${company.nid})">删除</a>
</td>
</tr>
</logic:iterate>
</logic:notEmpty>
</table>
<br>
<table width="100%" border="1" cellspacing="0"
cellpadding="0" id="ttc">
<tr>
<td height="20" id="ttc">
<div align="center">
${requestScope.pageTool}
</div>
</td>
</tr>
</table>
</td>
<td width="4%">
</td>
</tr>
<tr>
<td height="10" colspan="3">
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</html:form>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -