123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
- <script type="text/javascript">
- var list_load = function(id){
- $("#matchHouseListDataGrid").datagrid({
- rownumbers:true,
- border:false,
- sortOrder:'desc',
- url:whzl.basePath + '/exchangeHouseIntentAction_matchHouseList?exchangeHouseIntent.id='+id,
- checkOnSelect:true,
- selectOnCheck:false,
- loadFilter:function(result){
- if(result.success){
- return result.obj;
- }else{
- $.messager.alert("提示",result.message);
- return ;
- }
- }
- });
- }
- /**居住地点*/
- var addressFormatter = function(value , row , index){
- return row.house.address ;
- };
- /**人员名称*/
- var nameFormatter = function(value , row , index){
- return row.securityPerson.name ;
- };
-
- </script>
- <div class="easyui-layout" data-options="fit:true,border:false">
- <table id="matchHouseListDataGrid" title="房源匹配情况">
- <thead>
- <tr>
- <th data-options="field:'id',checkbox:true,width:30">ID</th>
- <th data-options="field:'name',align:'center',width:90, formatter:nameFormatter">房源登记人</th>
- <th data-options="field:'address',align:'center',width:200, formatter:addressFormatter">登记人房源</th>
- <th data-options="field:'communitieNames',align:'center',width:200">意向房源</th>
- <!--<th data-options="field:'detail',width:60,align:'center'">查看详情</th>
- --></tr>
- </thead>
- </table>
- </div>
|