日期:2014-05-16 浏览次数:20809 次
{field:'ajbh',title:'案件编号',align:'center', width:fixWidth(0.11), sortable:true}, {field:'aynr',title:'案由',align:'center',width:fixWidth(0.18)}, {field:'dsrxm',title:'当事人姓名',align:'center',width:fixWidth(0.08)}, {field:'hphm',title:'号牌号码',align:'center',width:fixWidth(0.08)}, {field:'zfsj',title:'执法日期',align:'center',width:fixWidth(0.08), sortable:true}, {field:'lrrxm',title:'录入人',align:'center',width:fixWidth(0.08)}, {field:'ajlx',title:'案件类型',align:'center',width:fixWidth(0.09),
function initListTable() { $('#list_table').datagrid({ title:'案件查询列表', iconCls:'icon-save', width:fixWidth(1), height:350, rownumbers:true, loadMsg:'数据加载中,请稍后...', pageNumber:1, pageSize:10, pageList:[30,20,10], collapsible:true, url:'<%=path%>/wzcfcx/wzcfcxAction.do?doaction=showCaseQueryListData', columns:[[ {field:'ck', checkbox:true }, {field:'ajbh',title:'案件编号',align:'center', width:fixWidth(0.11), sortable:true}, {field:'aynr',title:'案由',align:'center',width:fixWidth(0.18)}, {field:'dsrxm',title:'当事人姓名',align:'center',width:fixWidth(0.08)}, {field:'hphm',title:'号牌号码',align:'center',width:fixWidth(0.08)}, {field:'zfsj',title:'执法日期',align:'center',width:fixWidth(0.08), sortable:true}, {field:'lrrxm',title:'录入人',align:'center',width:fixWidth(0.08)}, {field:'ajlx',title:'案件类型',align:'center',width:fixWidth(0.09), formatter:function(value){ if(value=='0'){ return '<font color=red>未确定</font>'; }else if(value=='1'){ return '<font color=red>简易</font>'; }else if(value=='2'){ return '<font color=red>一般</font>'; } } }, {field:'itemmemo',title:'案件状态',align:'center',width:fixWidth(0.09), formatter:function(value){ if(value == '无效'){ return '<font color=red>无效</font>'; }else{ return value; } } }, {field:'yehumc',title:'所在单位',align:'center',width:fixWidth(0.15)} ]], pagination:true, onClickRow:function(rowIndex, rowData){ $('#list_table').datagrid('unselectRow', rowIndex); } }); }