📄 servicelist.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%@ include file="/commons/taglibs.jsp" %>
<html>
<head>
<title>${CompanyName }${ProjectName }</title>
<%@ include file="/commons/meta.jsp" %>
</head>
<body class="bodycolor" topmargin="5">
<table class="title1">
<tr>
<td class="Big"><img src="${ctx }/images/notify_new.gif" align="absmiddle"><span class="big3"> 售后服务信息</span><br>
</td>
</tr>
</table>
<br>
<div align="left">
<fieldset style="width:95%;padding-bottom:5px;">
<legend class="small" align=left>
<b> 快捷操作 </b>
</legend>
<html:form action="service.do" method="post" >
<html:hidden property="p" value="list" />
<table cellspacing="1" class="small" align="left" cellpadding="3">
<tr>
<td nowrap class="TableData"> 客户名称:
<html:select property="clientId">
<html:option value="---请选择---"></html:option>
<html:options collection="clients" property="id" labelProperty="clientName"/>
</html:select>
</td>
<td nowrap class="TableData"> 服务类型:
<html:select property="serviceTypeId">
<html:option value="---请选择---"></html:option>
<html:options collection="serviceTypes" property="id" labelProperty="name"/>
</html:select>
</td>
<td nowrap class="TableData"> 负责人:
<html:select property="employeeId">
<html:option value="---请选择---"></html:option>
<html:options collection="employees" property="id" labelProperty="employeeName"/>
</html:select>
</td>
</tr>
<tr>
<td nowrap class="TableData"> 服务状态:
<html:select property="state">
<html:option value="---请选择---"></html:option>
<html:option value="0">未结束</html:option>
<html:option value="1">已结束</html:option>
</html:select>
</td>
</tr>
<tr>
<td nowrap class="TableData" colspan="2">
<html:submit styleClass="SmallButton" title="模糊查询">快速查询</html:submit>
<input type="button" value="添加销售机会" title="销售机会资料导入" onClick="location.href='${ctx}/service.do?p=edit'" class="SmallButton">
</td>
</tr>
</table>
</html:form>
</fieldset>
</div>
<br>
<c:if test="${empty services }">
<%@ include file="/utility/noData.jsp" %>
</c:if>
<%@ include file="/commons/messages.jsp"%>
<!-- 显示数据信息 -->
<c:if test="${! empty services }">
<table class="tablestyle1">
<tr class="TableHeader">
<td nowrap width="5%" align="center">选择</td>
<td nowrap width="15%" align="center">客户名称</td>
<td nowrap width="10%" align="center">服务类型</td>
<td nowrap width="10%" align="center">负责人</td>
<td nowrap width="15%" align="center">开始时间</td>
<td nowrap width="15%" align="center">结束时间</td>
<td nowrap width="10%" align="center">状态</td>
<td nowrap width="20%" align="center">操作</td>
</tr>
<c:forEach items="${services}" var="item">
<tr class="TableLine1">
<td> <input type="checkbox" name="email_select" value="1" onClick="check_one(self);"></td>
<td nowrap align="center">${item.client.clientName }</td>
<td nowrap align="center">${item.serviceType.name }</td>
<td nowrap align="center">${item.employee.employeeName }</td>
<td nowrap align="center">${item.beginTime }</td>
<td nowrap align="center">${item.endTime }</td>
<td nowrap align="center">
<c:if test="${item.state == 0 }">
未结束
</c:if>
<c:if test="${item.state == 1 }">
已结束
</c:if>
</td>
<td nowrap align="center">
<a href="${ctx}/service.do?p=edit&id=${item.id}">编辑</a> |
<a href="${ctx}/service.do?p=delete&id=${item.id}" onClick="{if(confirm('确定要删除该售后服务信息吗?')){return true;}return false;}">删除</a> |
<a href="${ctx}/service.do?p=info&id=${item.id}">详细信息</a>
</td>
</tr>
</c:forEach>
<tr class="TableControl">
<td colspan="8">
<input type="checkbox" name="allbox" id="allbox_for" onClick="check_all();">
<label for="allbox_for">全选</label>
<input type="button" value="批量删除" class="SmallButton" onClick="delete_mail();" title="删除所选联系人">
</td>
</tr>
<tr>
<pager:pager value="pager" url="service.do" pagerStr="pagerstruts"/>
</tr>
</table>
</c:if>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -