cols: [
[
{ field: 'title' , title: '旅行社' ,width: 250,event: 'viewReport', style: ' cursor:pointer'},
]
],
page: true,
limit: 10 //每页默认显示的数量
});
table.on('tool(admTable)', function(obj) {
var data = obj.data;
if (obj.event === 'viewReport') {
xadmin.open('详情','{:url('travelShow')}'+'?id='+ data.id,800,640);
}
});