怎么在dwz的一个页面中放两个表,两个分页标签
1个回答
推荐于2016-09-21 · 知道合伙人互联网行家
关注
展开全部
<div class="pageContent">
<div class="panelBar">
<ul class="toolBar">
<li><a class="add" href="define/defineEdit.action?pubDefine.id=-1" target="navTab" ><span>新建</span></a></li>
</ul>
</div>
<table id="list" class="table" width="100%" layoutH="138" targetType="${targetType}">
<thead>
<tr>
<th width="22"><input type="checkbox" group="orderIndexs" class="checkboxCtrl"></th>
<th orderField="defineName" >公司名称</th>
<th orderField="phone">电话</th>
<th orderField="fax" >传真</th>
<th orderField="contury" >国家</th>
<th orderField="">经营范围</th>
<th orderField="adress">地址</th>
<th width="115"></th>
</tr>
</thead>
<tbody height="210">
<c:forEach var="item" items="${pager.result}" varStatus="pubDefine">
<tr>
<c:if test="${empty lookup}">
<td><input name="orderIndexs" value="${item.id}" type="checkbox"></td>
</c:if>
<td>${item.defineName}</td>
<td>${item.phone}</td>
<td>${item.fax} </td>
<td>${item.contury} </td>
<td>${item.dealArea} </td>
<td>${item.adress} </td>
<td>
<a class="btnDel" href="define/defineRemove.action?ajax=1&pubDefine.id=${item.id}" target="ajaxTodo" title="删除">删除</a>
<a class="btnEdit" href="define/defineEdit.action?pubDefine.id=${item.id}" target="navTab" rel="defineEdit.do" title="客户编辑">编辑</a>
<a class="btnAssign" href="define/defineLinkMan.action?pubDefine.id=${item.id}" target="navTab" rel="defineLinkMan" title="联系人未写" width="800" height="480">联系人未写</a>
</td>
</tr>
</c:forEach>
</tbody>
</table>
<div class="panelBar">
<div class="pages">
<span>每页</span>
<c:set var="pageSizeList" value="${fn:split('1|10|20|50|100', '|')}"/>
<select name="pager.pageSize" onchange="dwzPageBreak({targetType:'${targetType}', numPerPage:this.value})">
<c:forEach var="item" items="${pageSizeList}">
<option value="${item}" ${item eq pager.pageSize ? 'selected="selected"' : ''}>${item}</option>
</c:forEach>
</select>
<span>条,共${pager.count}条</span>
</div>
<div class="pagination" targetType="${targetType}" totalCount="${pager.count}" numPerPage="${pager.pageSize}" pageNumShown="10" currentPage="${pager.pageNo}"></div>
</div>
<div class="panelBar">
<ul class="toolBar">
<li><a class="add" href="define/defineEdit.action?pubDefine.id=-1" target="navTab" ><span>新建</span></a></li>
</ul>
</div>
<table id="list" class="table" width="100%" layoutH="138" targetType="${targetType}">
<thead>
<tr>
<th width="22"><input type="checkbox" group="orderIndexs" class="checkboxCtrl"></th>
<th orderField="defineName" >公司名称</th>
<th orderField="phone">电话</th>
<th orderField="fax" >传真</th>
<th orderField="contury" >国家</th>
<th orderField="">经营范围</th>
<th orderField="adress">地址</th>
<th width="115"></th>
</tr>
</thead>
<tbody height="210">
<c:forEach var="item" items="${pager.result}" varStatus="pubDefine">
<tr>
<c:if test="${empty lookup}">
<td><input name="orderIndexs" value="${item.id}" type="checkbox"></td>
</c:if>
<td>${item.defineName}</td>
<td>${item.phone}</td>
<td>${item.fax} </td>
<td>${item.contury} </td>
<td>${item.dealArea} </td>
<td>${item.adress} </td>
<td>
<a class="btnDel" href="define/defineRemove.action?ajax=1&pubDefine.id=${item.id}" target="ajaxTodo" title="删除">删除</a>
<a class="btnEdit" href="define/defineEdit.action?pubDefine.id=${item.id}" target="navTab" rel="defineEdit.do" title="客户编辑">编辑</a>
<a class="btnAssign" href="define/defineLinkMan.action?pubDefine.id=${item.id}" target="navTab" rel="defineLinkMan" title="联系人未写" width="800" height="480">联系人未写</a>
</td>
</tr>
</c:forEach>
</tbody>
</table>
<div class="panelBar">
<div class="pages">
<span>每页</span>
<c:set var="pageSizeList" value="${fn:split('1|10|20|50|100', '|')}"/>
<select name="pager.pageSize" onchange="dwzPageBreak({targetType:'${targetType}', numPerPage:this.value})">
<c:forEach var="item" items="${pageSizeList}">
<option value="${item}" ${item eq pager.pageSize ? 'selected="selected"' : ''}>${item}</option>
</c:forEach>
</select>
<span>条,共${pager.count}条</span>
</div>
<div class="pagination" targetType="${targetType}" totalCount="${pager.count}" numPerPage="${pager.pageSize}" pageNumShown="10" currentPage="${pager.pageNo}"></div>
</div>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询