📄 companyview.jsp
字号:
<%@ page contentType="text/html; charset=GBK" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
<meta http-equiv="expires" content="Wed, 26 Feb 1970 08:21:57 GMT" />
<link href="${pageContext.request.contextPath}/image/main.css" rel="stylesheet" type="text/css">
<title>统一集团视图</title>
<script language="javascript">
function search()
{
var tag = document.getElementById("tag");
tag.value = "list";
form1.submit();
}
</script>
<style type="text/css">
<!--
.STYLE1 {
font-size: 14px;
font-weight: bold;
font-family: "宋体";
}
.STYLE2 {
color: #FFFFFF;
font-weight: bold;
}
.STYLE3 {
font-size: 12px;
color: #FF0000;
}
-->
</style>
</head>
<body>
<html:form action="/companyViewAction" styleId="form1" method="POST">
<html:hidden property="tag" styleId="tag" />
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle"><table width="98%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="20" align="center" valign="middle"><span class="STYLE1">统 一 集 团 视 图</span></td>
</tr>
</table>
<table width="98%" border="1" cellpadding="0" cellspacing="0" bordercolor="#D71920">
<tr>
<td align="center" valign="middle"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="10" colspan="3"> </td>
</tr>
<tr>
<td width="4%"> </td>
<td width="92%"><table width="100%" border="1" cellspacing="0" cellpadding="0" id="ttc">
<tr>
<td height="20" colspan="7" align="center" valign="middle" id="ttc">
集团编号:
<html:text property="companyid"></html:text>
集团名称:<html:text property="companyname"></html:text>
集团级别:
<html:select property="companylevel">
<html:option value="">请选择级别</html:option>
<html:option value="省级">省级</html:option>
<html:option value="市级">市级</html:option>
</html:select>
<input type=button value="查询" onClick="search();"/>
</td>
</tr>
<tr>
<td width="14%" height="20" align="center" valign="middle" nowrap id="ttc" background="${pageContext.request.contextPath}/image/newTop_02.jpg">
<span class="STYLE2">集团编号</span>
</td>
<td width="22%" align="center" valign="middle" nowrap id="ttc" background="${pageContext.request.contextPath}/image/newTop_02.jpg">
<span class="STYLE2">集团名称</span>
</td>
<td width="10%" align="center" valign="middle" nowrap id="ttc" background="${pageContext.request.contextPath}/image/newTop_02.jpg">
<span class="STYLE2">集团级别</span>
</td>
<td width="18%" align="center" valign="middle" nowrap id="ttc" background="${pageContext.request.contextPath}/image/newTop_02.jpg">
<span class="STYLE2">行业类别</span>
</td>
<td width="10%" align="center" valign="middle" nowrap id="ttc" background="${pageContext.request.contextPath}/image/newTop_02.jpg">
<span class="STYLE2">上月用户数</span>
</td>
<td width="10%" align="center" valign="middle" nowrap id="ttc" background="${pageContext.request.contextPath}/image/newTop_02.jpg">
<span class="STYLE2">上月收入</span>
</td>
<td width="16%" align="center" valign="middle" nowrap id="ttc" background="${pageContext.request.contextPath}/image/newTop_02.jpg">
<span class="STYLE2">操作</span>
</td>
</tr>
<logic:present name="companyList" scope="request">
<logic:notEmpty name="companyList" scope="request">
<logic:iterate id="companyBean" name="companyList" scope="request">
<tr>
<td height="20" align="center" valign="middle" nowrap id="ttc"> ${companyBean.companyid}</td>
<td align="center" valign="middle" nowrap id="ttc"> ${companyBean.companyname}</td>
<td align="center" valign="middle" nowrap id="ttc"> ${companyBean.companylevel}</td>
<td align="center" valign="middle" nowrap id="ttc"> ${companyBean.callingtype}</td>
<td align="center" valign="middle" nowrap id="ttc"> ${companyBean.ultimouser}</td>
<td align="center" valign="middle" nowrap id="ttc"> ${companyBean.ultimoearning}</td>
<td align="center" valign="middle" nowrap id="ttc">
<a href="${pageContext.request.contextPath}/companyViewAction.do?tag=showview&companyid=${companyBean.companyid}">详细</a>
</td>
</tr>
</logic:iterate>
</logic:notEmpty>
</logic:present>
<tr>
<td height="20" colspan="7" align="center" valign="middle" nowrap id="ttc">
${requestScope.pageTool}
</td>
</tr>
</table></td>
<td width="4%"> </td>
</tr>
<tr>
<td height="10" colspan="3"> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<logic:empty name="companyList" scope="request">
<span class="STYLE3">对不起,没有符合的记录!</span>
</logic:empty>
</html:form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -