📄 linkman_list.jsp
字号:
<%@ page language="java" pageEncoding="GBK" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="/WEB-INF/jb-common.tld" prefix="jb" %>
<script src="validate.js" ></script>
<script src="icommon.js" ></script>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
<head>
<title>联系人管理</title>
<link rel="stylesheet" type="text/css" href="styles.css" >
<script>
function doDel(id){
if ( window.confirm("确定删除?") ){
window.location.href = "?o=doDel&id=${linkmanForm.cust.custNo }&lid=" + id;
}
}
</script>
</head>
<body>
<html:form action="linkman">
<html:hidden property="o" value="toList" />
<input type="hidden" name="id" value="${linkmanForm.cust.custNo }" />
<div class="page_title">联系人管理</div>
<div class="button_bar">
<button class="common_button" onclick="help('');">帮助</button>
<button class="common_button" onclick="window.location.href='?o=toAdd&id=${linkmanForm.cust.custNo }';">新建</button>
<button class="common_button" onclick="javascript:history.go(-1);">返回</button>
</div>
<table class="query_form_table" border="0" cellPadding="3" cellSpacing="0">
<tr>
<th>客户编号</th>
<td>${linkmanForm.cust.custNo } </td>
<th>客户名称</th>
<td>${linkmanForm.cust.custName } </td>
</tr>
</table>
<!-- 列表数据 -->
<br />
<table class="data_list_table" border="0" cellPadding="3" cellSpacing="0">
<tr>
<th onclick="order_by('lkmName');">姓名</th>
<th onclick="order_by('lkmSex');">性别</th>
<th onclick="order_by('lkmPostion');">职位</th>
<th onclick="order_by('lkmTel');">办公电话</th>
<th onclick="order_by('lkmMobile');">手机</th>
<th onclick="order_by('lkmMemo');">备注</th>
<th >操作</th>
</tr>
<logic:iterate id="item" name="linkmanForm" property="cust.cstLinkmans"
type="org.jb.y272.team0.entity.CstLinkman">
<tr>
<td class="list_data_text">${item.lkmName } </td>
<td class="list_data_text">${item.lkmSex } </td>
<td class="list_data_text">${item.lkmPostion } </td>
<td class="list_data_text">${item.lkmTel } </td>
<td class="list_data_text">${item.lkmMobile } </td>
<td class="list_data_ltext">${item.lkmMemo } </td>
<td class="list_data_op">
<img onclick="window.location.href='?o=toEdit&id=${linkmanForm.cust.custNo }&lid=${item.lkmId }';" title="编辑" src="images/bt_edit.gif" class="op_button" />
<img onclick="doDel('${item.lkmId }');" title="删除" src="images/bt_del.gif" class="op_button" />
</td>
</tr>
</logic:iterate>
<logic:empty name="linkmanForm" property="cust.cstLinkmans">
<tr><td class="data_cell" colspan="20" style="text-align:center;height:40px;">没有记录</td></tr>
</logic:empty>
<tr>
<td colspan="20" style="padding:0 1px;">
<div class="pager"><jb:pager form="linkmanForm" /></div>
</td>
</tr>
</table>
</html:form>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -