You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gdms/web/home/result_list.jsp

33 lines
1.2 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<%@ page import="java.util.List" %>
<%@ page import="core.process.C_Select" %>
<%@ page import="core.user.User" %><%--
Created by IntelliJ IDEA.
User: lenovo
Date: 2019/1/11
Time: 19:57
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" pageEncoding="UTF-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String id=request.getParameter("id");
int processIndex = (int) session.getAttribute("searchProcessIndex");
User user=(User)session.getAttribute("user");
C_Select process= (C_Select) user.getCondition().get(processIndex);
List<String[]> lm = process.search(id);
pageContext.setAttribute("list",lm);
String type=user.getType();
%>
<c:forEach items="${list}" var="z">
<div class="list-child">
<div class="name"><span class="the-name">${z[2]}</span></div>
<div class="other-msgs">
<div class="one-msg">${'账号'}${z[0]}</div>
<div class="one-msg">${'电话号码'}${z[4]}</div>
<div class="one-msg">${'邮箱地址'}${z[3]}</div>
</div>
<button class="select-it <%=type%>" value="${z[0]}">
选择</button>
</div>
</c:forEach>