作者 wangzhi

222

... ... @@ -2,7 +2,7 @@
return [
'Id' => 'ID',
'Company_holder' => '公司持有人',
// 'Company_holder' => '公司持有人',
'Company_name' => '公司名称',
'Credit' => '信用代码',
'Company_address' => '公司地址',
... ... @@ -22,5 +22,5 @@ return [
'Updatetime' => '更改时间',
'Industry.industry' => '行业',
'Type.type' => '类型',
'User.username' => '用户名'
'User.username' => '公司持有人'
];
... ...
... ... @@ -26,7 +26,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{checkbox: true},
{field: 'id', title: __('Id')},
{field: 'company_holder', title: __('Company_holder')},
// {field: 'company_holder', title: __('Company_holder')},
{field: 'user.username', title: __('User.username')},
{field: 'company_name', title: __('Company_name')},
{field: 'credit', title: __('Credit')},
{field: 'company_address', title: __('Company_address')},
... ... @@ -35,15 +36,14 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{field: 'bank_name', title: __('Bank_name')},
{field: 'bank_num', title: __('Bank_num')},
{field: 'company_tel', title: __('Company_tel')},
{field: 'type_id', title: __('Type_id')},
{field: 'industry_id', title: __('Industry_id')},
// {field: 'type_id', title: __('Type_id')},
{field: 'type.type', title: __('Type.type')},
{field: 'industry.industry', title: __('Industry.industry')},
// {field: 'industry_id', title: __('Industry_id')},
{field: 'status', title: __('Status'), searchList: {"0":__('Status 0'),"1":__('Status 1'),"2":__('Status 2')}, formatter: Table.api.formatter.status},
{field: 'business_avatar', title: __('Business_avatar'), events: Table.api.events.image, formatter: Table.api.formatter.image},
{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: 'industry.industry', title: __('Industry.industry')},
{field: 'type.type', title: __('Type.type')},
{field: 'user.username', title: __('User.username')},
{field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
]
]
... ...