📄 chance_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="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<%@ 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=" + id;
}
}
</script>
</head>
<body class="main">
<html:form action="chance">
<html:hidden property="o" value="toList" />
<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';">新建</button>
<button class="common_button" onclick="javascript:doSubmit('toList');">查询</button>
</div>
<table class="query_form_table" border="0" cellPadding="3" cellSpacing="0">
<tr>
<th class="input_title">客户名称</th>
<td class="input_content">
<html:text property="item.chcCustName" />
</td>
<th class="input_title">概要</th>
<td class="input_content">
<html:text property="item.chcTitle" />
</td>
<th class="input_title">联系人</th>
<td class="input_content">
<html:text property="item.chcLinkman" />
</td>
</tr>
</table>
<!-- 列表数据 -->
<br />
<table class="data_list_table" border="0" cellPadding="3" cellSpacing="0">
<tr>
<th onclick="order_by('chcId');">编号</th>
<th onclick="order_by('chcCustName');">客户名称</th>
<th onclick="order_by('chcTitle');">概要</th>
<th onclick="order_by('chcLinkman');">联系人</th>
<th onclick="order_by('chcTel');">联系人电话</th>
<th onclick="order_by('chcCreateDate');">创建时间</th>
<th >操作</th>
</tr>
<logic:iterate id="item" name="chanceForm" property="pageResult.list"
type="org.jb.y272.team0.entity.SalChance">
<tr>
<td class="list_data_number">${item.chcId }</td>
<td class="list_data_text">${item.chcCustName } </td>
<td class="list_data_text">${item.chcTitle } </td>
<td class="list_data_text">${item.chcLinkman } </td>
<td class="list_data_text">${item.chcTel } </td>
<td class="list_data_text">
<bean:write name="item" property="chcCreateDate" format="yyyy年MM月dd日" />
</td>
<td class="list_data_op">
<img onclick="window.location.href='?o=toDispatch&id=${item.chcId }';" title="指派" src="images/bt_linkman.gif" class="op_button" />
<img onclick="window.location.href='?o=toEdit&id=${item.chcId }';" title="编辑" src="images/bt_edit.gif" class="op_button" />
<img onclick="doDel('${item.chcId }');" title="删除" src="images/bt_del.gif" class="op_button" />
</td>
</tr>
</logic:iterate>
<logic:empty name="chanceForm" property="pageResult.list">
<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="chanceForm" /></div>
</td>
</tr>
</table>
</html:form>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -