作者 郭文星

123

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