|
@@ -39,14 +39,14 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
{field: 'mailing_area', title: __('Mailing_area'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
|
|
{field: 'mailing_address', title: __('Mailing_address'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
|
|
{field: 'mailing_phone', title: __('Mailing_phone'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
|
|
- {field: 'status', title: __('状态'), searchList: {"0":__('未审核'),"1":__('已寄出'),"2":__('已拒绝')}, formatter: Table.api.formatter.status},
|
|
|
+ // {field: 'status', title: __('状态'), searchList: {"0":__('未审核'),"1":__('已寄出'),"2":__('已拒绝')}, formatter: Table.api.formatter.status},
|
|
|
{field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
|
|
|
{field: 'updatetime', title: __('Updatetime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
|
|
|
- {
|
|
|
- field: 'operate',
|
|
|
- title: __('Operate'),
|
|
|
- table: table,
|
|
|
- events: Table.api.events.operate,
|
|
|
+ // {
|
|
|
+ // field: 'operate',
|
|
|
+ // title: __('Operate'),
|
|
|
+ // table: table,
|
|
|
+ // events: Table.api.events.operate,
|
|
|
|
|
|
// buttons: [{
|
|
|
// name: 'click',
|
|
@@ -125,14 +125,14 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
// refresh:true,
|
|
|
// },
|
|
|
// ],
|
|
|
- formatter: function (value, row, index) {
|
|
|
- var that = $.extend({}, this);
|
|
|
- $(table).data("operate-del", null); // 列表页面隐藏 .编辑operate-edit - 删除按钮operate-del
|
|
|
- $(table).data("operate-edit", null); // 列表页面隐藏 .编辑operate-edit - 删除按钮operate-del
|
|
|
- that.table = table;
|
|
|
- return Table.api.formatter.operate.call(that, value, row, index);
|
|
|
- },
|
|
|
- }
|
|
|
+ // formatter: function (value, row, index) {
|
|
|
+ // var that = $.extend({}, this);
|
|
|
+ // $(table).data("operate-del", null); // 列表页面隐藏 .编辑operate-edit - 删除按钮operate-del
|
|
|
+ // $(table).data("operate-edit", null); // 列表页面隐藏 .编辑operate-edit - 删除按钮operate-del
|
|
|
+ // that.table = table;
|
|
|
+ // return Table.api.formatter.operate.call(that, value, row, index);
|
|
|
+ // },
|
|
|
+ // }
|
|
|
]
|
|
|
]
|
|
|
});
|