📄 activities.jsp
字号:
<%@ page language="java" pageEncoding="UTF-8" import="entity.IntercourseInfo,java.util.*;"%>
<%@ 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="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>jb-aptech毕业设计项目</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="<%=request.getContextPath() %>/html/css/style.css" rel="stylesheet" type="text/css">
<script src="<%=request.getContextPath() %>/html/script/common.js"></script>
<script type="text/javascript">
function toedit(infoid,cid)
{
document.forms['SearchInfo'].action="<%=request.getContextPath() %>/intercourseInfo.do?operate=editInfo&intercourseid="+infoid+"&cid="+cid;
document.forms['SearchInfo'].submit();
}
function addIntercourseinfo(addid)
{
document.forms['SearchInfo'].action="<%=request.getContextPath() %>/html/cust/cust/activities_add.jsp?&addids="+addid;
document.forms['SearchInfo'].submit();
}
function todeleteIntercourseInfo(objid)
{
document.forms['SearchInfo'].action="<%=request.getContextPath() %>/intercourseInfo.do?operate=deleteinfo&intercourseid="+objid;
document.forms['SearchInfo'].submit();
}
</script>
</head>
<body>
<div class="page_title">客户信息管理 > 客户信息 > 交往记录</div>
<div class="button_bar">
<button class="common_button" onclick="help('');">帮助</button>
<button class="common_button" onclick="addIntercourseinfo('${customers.customersId}');">新建</button>
<button class="common_button" onclick="back();">返回</button>
</div>
<html:form action="/intercourseInfo?operate=SearchInfo" styleId="SearchInfo">
<table class="query_form_table">
<tr>
<INPUT type="hidden" name="intercourseinfoid" id="obj1" value="${customers.customersId}"/>
<th>客户编号</th>
<td>${customers.customersNo}</td>
<th>客户名称</th>
<td>${customers.customersName }</td>
</tr>
</table>
<br />
<table class="data_list_table">
<tr>
<th>时间</th>
<th>地点</th>
<th>概要</th>
<th>详细信息</th>
<th>备注</th>
<th>操作</th>
</tr>
<c:forEach items="${info}" var="Info">
<tr>
<input type="hidden" value="$(Info.intercourseId}"/>
<td class="list_data_text">${Info.intercourseDatatime}</td>
<td class="list_data_text">${Info.intercourseAddress}</td>
<td class="list_data_ltext">${Info.intercourseSummary}</td>
<td class="list_data_ltext">${Info.intercourseRemark}</td>
<td class="list_data_op">${Info.intercourseInfo}</td>
<td class="list_data_op">
<img onclick="toedit('${Info.intercourseId}','${customers.customersId}');" title="编辑" src="<%=request.getContextPath()%>/html/images/bt_edit.gif" class="op_button" />
<img onclick="todeleteIntercourseInfo('${Info.intercourseId}');" title="删除" src="<%=request.getContextPath()%>/html/images/bt_del.gif" class="op_button" />
</td>
</tr>
</c:forEach>
</table>
</html:form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -