cmd
This commit is contained in:
parent
579166b5e9
commit
b50c182e24
|
|
@ -35,7 +35,7 @@
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="control-label col-xs-12 col-sm-2">{:__('Handle_detail')}:</label>
|
<label class="control-label col-xs-12 col-sm-2">{:__('Handle_detail')}:</label>
|
||||||
<div class="col-xs-12 col-sm-8">
|
<div class="col-xs-12 col-sm-8">
|
||||||
<textarea id="c-handle_detail" class="form-control" rows="5" name="row[handle_detail]" cols="50">{$row.handle_detail|htmlentities}</textarea>
|
<textarea id="c-handle_detail" data-rule="required" class="form-control" rows="5" name="row[handle_detail]" cols="50">{$row.handle_detail|htmlentities}</textarea>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
||||||
index_url: 'orders/abnormal/index' + location.search,
|
index_url: 'orders/abnormal/index' + location.search,
|
||||||
add_url: 'orders/abnormal/add',
|
add_url: 'orders/abnormal/add',
|
||||||
edit_url: 'orders/abnormal/edit',
|
edit_url: 'orders/abnormal/edit',
|
||||||
del_url: 'orders/abnormal/del',
|
//del_url: 'orders/abnormal/del',
|
||||||
multi_url: 'orders/abnormal/multi',
|
multi_url: 'orders/abnormal/multi',
|
||||||
import_url: 'orders/abnormal/import',
|
import_url: 'orders/abnormal/import',
|
||||||
table: 'order_abnormal',
|
table: 'order_abnormal',
|
||||||
|
|
@ -42,20 +42,34 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
||||||
{field: 'abnormal_title', title: __('Abnormal_title'), operate: false},
|
{field: 'abnormal_title', title: __('Abnormal_title'), operate: false},
|
||||||
{field: 'status', title: __('Status'), searchList: {"0":__('Status 0'),"1":__('Status 1'),"-1":__('Status -1')}, formatter: Table.api.formatter.status},
|
{field: 'status', title: __('Status'), searchList: {"0":__('Status 0'),"1":__('Status 1'),"-1":__('Status -1')}, formatter: Table.api.formatter.status},
|
||||||
|
|
||||||
{field: 'order.customer', title: __('Order.customer'), operate: 'LIKE'},
|
//{field: 'order.customer', title: __('Order.customer'), operate: 'LIKE'},
|
||||||
{field: 'order.tel', title: __('Order.tel'), operate: 'LIKE'},
|
//{field: 'order.tel', title: __('Order.tel'), operate: 'LIKE'},
|
||||||
// {field: 'order.worker_name', title: __('Order.worker_name'), operate: 'LIKE'},
|
// {field: 'order.worker_name', title: __('Order.worker_name'), operate: 'LIKE'},
|
||||||
// {field: 'order.worker_tel', title: __('Order.worker_tel'), operate: 'LIKE'},
|
// {field: 'order.worker_tel', title: __('Order.worker_tel'), operate: 'LIKE'},
|
||||||
//{field: 'handle_admin_id', title: __('Handle_admin_id')},
|
//{field: 'handle_admin_id', title: __('Handle_admin_id')},
|
||||||
{field: 'handle_admin_user', title: __('Handle_admin_user'), operate: 'LIKE'},
|
|
||||||
{field: 'handle_time', title: __('Handle_time'), operate:false, addclass:'datetimerange', autocomplete:false},
|
|
||||||
{field: 'admin_user', title: __('Admin_user'), operate: 'LIKE'},
|
{field: 'admin_user', title: __('Admin_user'), operate: 'LIKE'},
|
||||||
|
{field: 'handle_admin_user', title: __('Handle_admin_user'), operate: 'LIKE'},
|
||||||
// {field: 'admin_id', title: __('Admin_id')},
|
// {field: 'admin_id', title: __('Admin_id')},
|
||||||
{field: 'create_time', title: __('Create_time'), operate:'RANGE', addclass:'datetimerange', autocomplete:false},
|
{field: 'create_time', title: __('Create_time'), operate:'RANGE', addclass:'datetimerange', autocomplete:false},
|
||||||
|
{field: 'handle_time', title: __('Handle_time'), operate:false, addclass:'datetimerange', autocomplete:false},
|
||||||
|
|
||||||
{field: 'update_time', title: __('Update_time'), operate:false, addclass:'datetimerange', autocomplete:false},
|
{field: 'update_time', title: __('Update_time'), operate:false, addclass:'datetimerange', autocomplete:false},
|
||||||
|
|
||||||
{field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate,
|
{field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate,
|
||||||
formatter: Table.api.formatter.operate,
|
formatter: Table.api.formatter.operate,
|
||||||
|
|
||||||
|
buttons: [
|
||||||
|
{
|
||||||
|
name: 'edit',
|
||||||
|
text:"编辑",
|
||||||
|
title:"编辑",
|
||||||
|
icon: 'fa fa-pencil',
|
||||||
|
//title: __('Edit'),
|
||||||
|
extend: 'data-toggle="tooltip" data-container="body"',
|
||||||
|
classname: 'btn btn-xs btn-success btn-editone',
|
||||||
|
}
|
||||||
|
],
|
||||||
|
|
||||||
// buttons:[
|
// buttons:[
|
||||||
// {
|
// {
|
||||||
// name:"detail",
|
// name:"detail",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user