exteriorlist.jsp
上传用户:lm2018
上传日期:2015-12-12
资源大小:30449k
文件大小:4k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <%@ page language="java" import="java.util.*" pageEncoding="GBK"%>
  2. <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
  3. <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
  4. <%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
  5. <%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
  6. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
  7. <%String path = request.getContextPath();
  8. String basePath = request.getScheme() + "://"
  9. + request.getServerName() + ":" + request.getServerPort()
  10. + path + "/";
  11. %>
  12. <script>
  13. function del(eid,uno){
  14. location.href="${pageContext.request.contextPath}/ectomere.do?task=del&eid="+eid+"&uno="+uno;
  15. }
  16. function edit(eid,uno){
  17. location.href="${pageContext.request.contextPath}/ectomere.do?task=init&eid="+eid+"&uno="+uno;
  18. }
  19. </script>
  20. ${msg}
  21. <html:form action="/ectomere">
  22. <input type="hidden" name="task" value="query">
  23. <table width=100% border="3" cellpadding="2" cellspacing="2" bordercolor="#3399FF" bgcolor="#99CCFF">
  24. <tr>
  25. <td align="right">
  26. 单位名称:
  27. </td>
  28. <td align="left">
  29. <html:text property="eunit" />
  30. </td>
  31. <td align="right">
  32. 企业类别:
  33. </td>
  34. <td align="left">
  35. <html:select property="etype">
  36. <html:option value="">请选择</html:option>
  37. <logic:present scope="request" name="paramlist">
  38. <logic:iterate id="param1" name="paramlist" scope="request">
  39. <html:option value="${param1.pid}">${param1.pname}</html:option>
  40. </logic:iterate>
  41. </logic:present>
  42. </html:select>
  43. <%--  
  44. <SELECT id="selectparm">
  45. <OPTION value="">请选择</OPTION>
  46. <c:forEach var="params" items="paramlist">
  47. <OPTION value="${params.pid}">${params.pname}</OPTION>
  48. </c:forEach>
  49. </SELECT>
  50. --%>
  51. </td>
  52. <td align="right">
  53. 联系人:
  54. </td>
  55. <td align="left">
  56. <html:text property="elinkman" />
  57. </td>
  58. </tr>
  59. <tr>
  60. <td colspan="6" align="center">
  61. <input type="submit" value="查询">
  62. </td>
  63. </tr>
  64. </table>
  65. </html:form>
  66. <table width=100% border="3" cellpadding="2" cellspacing="2" bordercolor="#3399FF" bgcolor="#99CCFF">
  67. <TR>
  68. <td align="center">
  69. 单位名称
  70. </td>
  71. <td align="center">
  72. 企业类别
  73. </td>
  74. <td align="center">
  75. 联系地址
  76. </td>
  77. <td align="center">
  78. 联系电话
  79. </td>
  80. <td align="center">
  81. 电子邮箱
  82. </td>
  83. <td align="center">
  84. 联系人
  85. </td>
  86. <td align="center">
  87. 备注
  88. </td>
  89. <td align="center">
  90. 录入时间
  91. </td>
  92. <td align="center">
  93. 录入人
  94. </td>
  95. <td>
  96. 操作
  97. <html:link action="/ectomere?task=add&">[添加]</html:link>
  98. </td>
  99. </TR>
  100. <logic:present name="ectpage" scope="request">
  101. <logic:present name="ectpage" property="list" scope="request">
  102. <logic:notEmpty name="ectpage" property="list" scope="request">
  103. <logic:iterate id="ect" name="ectpage" property="list" scope="request">
  104. <tr>
  105. <td align="center">
  106. ${ect.eunit}
  107. </td>
  108. <td align="center">
  109. ${ect.pname}
  110. </td>
  111. <td align="center">
  112. ${ect.eaddress}
  113. </td>
  114. <td align="center">
  115. ${ect.ephone}
  116. </td>
  117. <td align="center">
  118. ${ect.eemail}
  119. </td>
  120. <td align="center">
  121. ${ect.elinkman}
  122. </td>
  123. <td align="center">
  124. ${ect.ememo}
  125. </td>
  126. <td align="center">
  127. ${ect.eaddtime}
  128. </td>
  129. <td align="center">
  130. ${ect.uname}
  131. </td>
  132. <td>
  133. <a href="javascript:edit('${ect.eid}','${ect.uno}')">编辑</a>
  134. <a href="javascript:del('${ect.eid}','${ect.uno}')" onclick="return window.confirm('您确定删除信息${ect.eunit}吗?')">删除</a>
  135. </td>
  136. </tr>
  137. </logic:iterate>
  138. </logic:notEmpty>
  139. </logic:present>
  140. </logic:present>
  141. </table>
  142. ${ectpage.pageBar}