作者 王智

daima

... ... @@ -67,10 +67,11 @@ class Renwu extends Backend
$row->getRelation('user')->visible(['nickname', 'mobile', 'address', 'address_con', 'car_num', 'color', 'car_type', 'vip']);
$row->getRelation('vip')->visible(['title']);
$row['xi_id']=111;
$row['zhao_id']=222;
}
$list = collection($list)->toArray();
$result = array("total" => $total, "rows" => $list);
return json($result);
}
return $this->view->fetch();
... ...
... ... @@ -43,7 +43,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
searchList: {"1": __('Type 1'), "0": __('Type 0'), "2": __('Type 2')},
formatter: Table.api.formatter.normal
},
// {field: 'xi_id', title: __('Xi_id')},
{field: 'xi_id', title: __('Xi_id')},
{
field: 'xi_type',
title: __('Xi_type'),
... ... @@ -51,7 +51,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
formatter: Table.api.formatter.normal
},
// {field: 'xi_images', title: __('Xi_images'), events: Table.api.events.image, formatter: Table.api.formatter.images},
// {field: 'zhao_id', title: __('Zhao_id')},
{field: 'zhao_id', title: __('Zhao_id')},
{
field: 'zhao_type',
title: __('Zhao_type'),
... ...