exteriorlist.jsp
资源名称:(J2EE)oa.rar [点击查看]
上传用户:lm2018
上传日期:2015-12-12
资源大小:30449k
文件大小:4k
源码类别:
Jsp/Servlet
开发平台:
Java
- <%@ page language="java" import="java.util.*" 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="http://java.sun.com/jsp/jstl/core" prefix="c"%>
- <%String path = request.getContextPath();
- String basePath = request.getScheme() + "://"
- + request.getServerName() + ":" + request.getServerPort()
- + path + "/";
- %>
- <script>
- function del(eid,uno){
- location.href="${pageContext.request.contextPath}/ectomere.do?task=del&eid="+eid+"&uno="+uno;
- }
- function edit(eid,uno){
- location.href="${pageContext.request.contextPath}/ectomere.do?task=init&eid="+eid+"&uno="+uno;
- }
- </script>
- ${msg}
- <html:form action="/ectomere">
- <input type="hidden" name="task" value="query">
- <table width=100% border="3" cellpadding="2" cellspacing="2" bordercolor="#3399FF" bgcolor="#99CCFF">
- <tr>
- <td align="right">
- 单位名称:
- </td>
- <td align="left">
- <html:text property="eunit" />
- </td>
- <td align="right">
- 企业类别:
- </td>
- <td align="left">
- <html:select property="etype">
- <html:option value="">请选择</html:option>
- <logic:present scope="request" name="paramlist">
- <logic:iterate id="param1" name="paramlist" scope="request">
- <html:option value="${param1.pid}">${param1.pname}</html:option>
- </logic:iterate>
- </logic:present>
- </html:select>
- <%--
- <SELECT id="selectparm">
- <OPTION value="">请选择</OPTION>
- <c:forEach var="params" items="paramlist">
- <OPTION value="${params.pid}">${params.pname}</OPTION>
- </c:forEach>
- </SELECT>
- --%>
- </td>
- <td align="right">
- 联系人:
- </td>
- <td align="left">
- <html:text property="elinkman" />
- </td>
- </tr>
- <tr>
- <td colspan="6" align="center">
- <input type="submit" value="查询">
- </td>
- </tr>
- </table>
- </html:form>
- <table width=100% border="3" cellpadding="2" cellspacing="2" bordercolor="#3399FF" bgcolor="#99CCFF">
- <TR>
- <td align="center">
- 单位名称
- </td>
- <td align="center">
- 企业类别
- </td>
- <td align="center">
- 联系地址
- </td>
- <td align="center">
- 联系电话
- </td>
- <td align="center">
- 电子邮箱
- </td>
- <td align="center">
- 联系人
- </td>
- <td align="center">
- 备注
- </td>
- <td align="center">
- 录入时间
- </td>
- <td align="center">
- 录入人
- </td>
- <td>
- 操作
- <html:link action="/ectomere?task=add&">[添加]</html:link>
- </td>
- </TR>
- <logic:present name="ectpage" scope="request">
- <logic:present name="ectpage" property="list" scope="request">
- <logic:notEmpty name="ectpage" property="list" scope="request">
- <logic:iterate id="ect" name="ectpage" property="list" scope="request">
- <tr>
- <td align="center">
- ${ect.eunit}
- </td>
- <td align="center">
- ${ect.pname}
- </td>
- <td align="center">
- ${ect.eaddress}
- </td>
- <td align="center">
- ${ect.ephone}
- </td>
- <td align="center">
- ${ect.eemail}
- </td>
- <td align="center">
- ${ect.elinkman}
- </td>
- <td align="center">
- ${ect.ememo}
- </td>
- <td align="center">
- ${ect.eaddtime}
- </td>
- <td align="center">
- ${ect.uname}
- </td>
- <td>
- <a href="javascript:edit('${ect.eid}','${ect.uno}')">编辑</a>
- <a href="javascript:del('${ect.eid}','${ect.uno}')" onclick="return window.confirm('您确定删除信息${ect.eunit}吗?')">删除</a>
- </td>
- </tr>
- </logic:iterate>
- </logic:notEmpty>
- </logic:present>
- </logic:present>
- </table>
- ${ectpage.pageBar}