作者 郭文星

123

... ... @@ -12,5 +12,6 @@ return [
'Scheduling_type 1' => '滚动排班',
'Scheduling_type 2' => '自主排班',
'Create_time' => '创建时间',
'Car_fleet' => '车队',
'User.username' => '用户名'
];
... ...
... ... @@ -19,6 +19,12 @@
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Car_fleet')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-car_fleet" class="form-control" name="row[car_fleet]" type="text">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Is_work')}:</label>
<div class="col-xs-12 col-sm-8">
... ...
... ... @@ -19,6 +19,12 @@
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Car_fleet')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-car_fleet" class="form-control" name="row[car_fleet]" type="text" value="{$row.car_fleet|htmlentities}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Is_work')}:</label>
<div class="col-xs-12 col-sm-8">
... ...
... ... @@ -28,6 +28,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{field: 'id', title: __('Id')},
{field: 'name', title: __('Name'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
{field: 'phone', title: __('Phone'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
{field: 'car_fleet', title: __('Car_fleet'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
{field: 'is_work', title: __('Is_work'), searchList: {"1":__('Is_work 1'),"2":__('Is_work 2')}, formatter: Table.api.formatter.normal},
{field: 'scheduling_type', title: __('Scheduling_type'), searchList: {"1":__('Scheduling_type 1'),"2":__('Scheduling_type 2')}, formatter: Table.api.formatter.normal},
{field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
... ...