...
|
...
|
@@ -26,7 +26,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
[
|
|
|
{checkbox: true},
|
|
|
{field: 'id', title: __('Id'), operate:false},
|
|
|
{field: 'admin_user_id', title: __('Admin_user_id'), operate:false},
|
|
|
// {field: 'admin_user_id', title: __('Admin_user_id'), operate:false},
|
|
|
{field: 'name', title: __('Name'), operate:'like'},
|
|
|
// {field: 'image', title: __('Image'), operate:false, events: Table.api.events.image, formatter: Table.api.formatter.image},
|
|
|
{field: 'area', title: __('所在地区'), operate:false},
|
...
|
...
|
@@ -77,6 +77,19 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
], operate:false, formatter: Table.api.formatter.buttons
|
|
|
},
|
|
|
|
|
|
{field: 'id', title: __('管理员'), table: table, events: Table.api.events.operate, buttons:
|
|
|
[
|
|
|
{
|
|
|
text: '管理员',
|
|
|
title: '管理员',
|
|
|
icon: 'fa fa-list',
|
|
|
classname: 'btn btn-xs btn-primary btn-dialog',
|
|
|
url: 'house_admin/index?house_id={id}',
|
|
|
extend: 'data-area=\'["80%","80%"]\'',
|
|
|
}
|
|
|
], operate:false, formatter: Table.api.formatter.buttons
|
|
|
},
|
|
|
|
|
|
{field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
|
|
|
// {field: 'updatetime', title: __('Updatetime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
|
|
|
{field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
|
...
|
...
|
|